simplextech Posted December 11, 2020 Posted December 11, 2020 8 minutes ago, MrBill said: are they included in the program count? Yes they are included in the program count. 1
DennisC Posted December 11, 2020 Posted December 11, 2020 @simplextechcould you list what is included in the total count? I looked thru the documentation but didn't see it. Thanks
simplextech Posted December 11, 2020 Posted December 11, 2020 13 minutes ago, DennisC said: @simplextechcould you list what is included in the total count? I looked thru the documentation but didn't see it. Thanks Everyone wants documentation Total Nodes: z-wave, insteon, nodeserver nodes, and now device folders Scenes: well...scenes Programs: programs and folders Individual counts for nodeserver nodes, z-wave, insteon devices, state variables, integer variables 1
MrBill Posted December 11, 2020 Posted December 11, 2020 (edited) 37 minutes ago, simplextech said: Everyone wants documentation Total Nodes: z-wave, insteon, nodeserver nodes, and now device folders Scenes: well...scenes Programs: programs and folders Individual counts for nodeserver nodes, z-wave, insteon devices, state variables, integer variables I believe that total nodes also includes scenes: 79+294+0+74+3=450 BTW, thanks much for creating this nodeserver... I never could count this stuff accurately before. Edited December 11, 2020 by MrBill
simplextech Posted December 11, 2020 Posted December 11, 2020 22 minutes ago, MrBill said: BTW, thanks much for creating this nodeserver... I never could count this stuff accurately before. Me neither! I had the same problem of trying to figure out how much of things I had and there wasn't anything... so... this was born. The total is below: total_nodes_count = node_count + scene_count + folder_count
DennisC Posted December 12, 2020 Posted December 12, 2020 Is it normal to need to restart the nodeserver to obtain updated counts? I was working on ISY this morning and added several device folders and nodes. I tried query, re-discover, and update profile with restarting the admin console after each attempt. The only way I got an update was to restart the nodeserver in Polyglot.
simplextech Posted December 12, 2020 Posted December 12, 2020 3 minutes ago, DennisC said: Is it normal to need to restart the nodeserver to obtain updated counts? No, not normal.
xlurkr Posted December 22, 2020 Posted December 22, 2020 I hope you don't mind me jumping in with a help request. Once I get going I can help troubleshoot. I'm trying to install the Inventory NS as the first NS on my new Polisy. I got it from the store and installed it. It shows up in the dashboard, but always as "Disconnected", no matter what combination of buttons I push. When I restarted the AC, it showed up in the list of Node Servers, but when I choose "Add all nodes" nothing happens. Am I missing a step? -Tom
simplextech Posted December 23, 2020 Posted December 23, 2020 8 minutes ago, xlurkr said: I hope you don't mind me jumping in with a help request. Once I get going I can help troubleshoot. I'm trying to install the Inventory NS as the first NS on my new Polisy. I got it from the store and installed it. It shows up in the dashboard, but always as "Disconnected", no matter what combination of buttons I push. When I restarted the AC, it showed up in the list of Node Servers, but when I choose "Add all nodes" nothing happens. Am I missing a step? -Tom In the Polyglot Web UI. Did you configure the nodeserver with the IP of your ISY, Username and Password for access? Once configured. Restart the nodeserver. There's nothing else to "add" or touch from the Admin Console.
xlurkr Posted December 23, 2020 Posted December 23, 2020 From your instructions, I thought I was supposed to do that. But the NS's configuration page has, under "Advanced Configuration", only shortPoll and longPoll parameters. I don't see a username and password anywhere. -Tom
xlurkr Posted December 23, 2020 Posted December 23, 2020 Do I need to create custom parameters for these 3 things? -Tom
DennisC Posted December 23, 2020 Posted December 23, 2020 (edited) If you scroll all the way down to the bottom of the page you should see a section called Custom Configuration Parameters. There should be 5 of them and you need to enter your IP, user name, and password. If you don't see that the nodeserver didn't install correctly. Edited December 23, 2020 by DennisC
simplextech Posted December 23, 2020 Posted December 23, 2020 38 minutes ago, xlurkr said: Do I need to create custom parameters for these 3 things? -Tom As mentioned by @DennisC if you don't see the parameters already named then the nodeserver did not install correctly. Are you installing this on Polisy or rPi? This does NOT work in Polyglot Cloud.
xlurkr Posted December 23, 2020 Posted December 23, 2020 Thanks both. Installed on Polisy. Custom Configuration is there, but there are no predefined entries. That's why I asked if I need to add them. I have already removed it and reinstalled it once, with the same behavior both times. Next step? -Tom
simplextech Posted December 23, 2020 Posted December 23, 2020 30 minutes ago, xlurkr said: Thanks both. Installed on Polisy. Custom Configuration is there, but there are no predefined entries. That's why I asked if I need to add them. I have already removed it and reinstalled it once, with the same behavior both times. Next step? -Tom Anything in your logs? Polyglot Logs and NodeServer logs? When you go to the configuration page do you see the instructions box? If not then the nodeserver is not running. It needs to be started and if it won't start then something else is wrong. What's your Polyglot version?
xlurkr Posted December 23, 2020 Posted December 23, 2020 I don't think it is starting. I never get an instructions box. The Poly log is empty. The Polisy log has some exceptions in it. I will send those tomorrow when I am awake enough to check for sensitive contents. -Tom
xlurkr Posted December 23, 2020 Posted December 23, 2020 When I try to start the NS, this is what shows up in the Polisy log: 2020-12-23 09:04:24 [polyglot] info: ISY-Inventory(1): Processing command: start 2020-12-23 09:04:24 [polyglot] info: NS: Starting Local NodeServer ISY-Inventory profile number 1 :: Version 0.1.1 2020-12-23 09:04:24 [polyglot] error: NSChild STDERR: ISY-Inventory: Traceback (most recent call last): File "./inventory-poly.py", line 4, in <module> import polyinterface ModuleNotFoundError: No module named 'polyinterface' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "./inventory-poly.py", line 6, in <module> import pgc_interface as polyinterface ModuleNotFoundError: No module named 'pgc_interface' 2020-12-23 09:04:25 [polyglot] info: ISY-Inventory(1): NodeServer Disconnected. -Tom
simplextech Posted December 23, 2020 Posted December 23, 2020 Did you install from the "store" or manually? It looks like the install script was not executed. You will need to delete the NodeServer and I'd recommend deleting it from the Polisy as well. Login to the Polisy as the admin user and delete the entire directory of the nodeserver in /var/polyglot/nodeservers After it's deleted then try the install from the store. Also is your Polisy up to date on updates?
xlurkr Posted December 23, 2020 Posted December 23, 2020 Installed from store. Twice, with same result. Polisy says it's up-to-date, but I'm not sure, given the recent thread about FreeBSD updates. I have not updated them manually to 12.2 or whatever. I will login and delete the directory later today and retry. -Tom
simplextech Posted December 23, 2020 Posted December 23, 2020 14 minutes ago, xlurkr said: Installed from store. Twice, with same result. I just deleted from Polyglot and removed the files from Polisy and installed from the store. It installed and started without any errors/problems. I'm pretty sure a removal of the files and then a fresh install will resolve this.
xlurkr Posted December 23, 2020 Posted December 23, 2020 I just deleted the NS, then uninstalled it from the Polisy. I had not done that before. When I reinstalled it, I got this in the log: 2020-12-23 11:02:45 [polyglot] info: NSChild cloneRepo: Successfully cloned ISY-Inventory into NodeServer directory. 2020-12-23 11:02:53 [polyglot] error: NSChild: Install failed - Non-zero exit code: 1 2020-12-23 11:02:53 [polyglot] error: NSChild: ISY-Inventory cloneRepo: Error: runInstallProcess: undefined 2020-12-23 11:02:53 [polyglot] error: Error: runInstallProcess: undefined at runInstallProcess (/snapshot/polyglot-v2/lib/modules/children.js:45:11) at <anonymous> at process._tickCallback (internal/process/next_tick.js:188:7) 2020-12-23 11:02:53 [polyglot] error: NSResponse: Success: false - cloneRepo: Error: runInstallProcess: undefined I looked back at the log, and it also reported these errors the original time I installed it from the store. Later I will login and delete the directories as you suggested, but I thought I'd show you this first in case it sets off any bells. -Tom
simplextech Posted December 23, 2020 Posted December 23, 2020 How did you remove the files? Did you change to the directory and delete the files? Or did you delete the entire directory? It looks like the .git information is still present meaning you deleted the files but not all of them. Delete the top level directory to delete everything. cd /var/polyglot/nodeservers sudo rm -rf ISY-Inventory If you did remove the entire directory then something else is wrong...... It makes no sense for it to install/work for me on Polisy but not for you doing the same things.
xlurkr Posted December 23, 2020 Posted December 23, 2020 Sorry, thought I was clear. I hadn't logged in at all, just uninstalled the NS from the GUI, which I hadn't tried before. It warns you that it's going to delete the files and directory, and I said OK. Rebooted, attempted to reinstall the NS, and got the errors in the log that I posted above. Next step is to log in and delete the directory myself, after uninstalling again. I'm taking it slowly, b/c it's obviously possible to do damage this way. I'm trying as much as I can to use the Policy like the appliance it's supposed to be before manually intervening. I hope you understand. Back soon. -Tom
simplextech Posted December 23, 2020 Posted December 23, 2020 1 minute ago, xlurkr said: I'm taking it slowly, b/c it's obviously possible to do damage this way. I'm trying as much as I can to use the Policy like the appliance it's supposed to be before manually intervening. I hope you understand. Back soon. Yup no worries. Delete from Polyglot as you did. Then check and delete the files from the Polisy. Then try the install from scratch.
Recommended Posts