Jump to content

Can't add nodes from any nodeservers


Recommended Posts

Posted
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

 

  • Like 1
Posted (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

image.png.5a95396d51d860e6ae20945d4b762d23.png

 

BTW, thanks much for creating this nodeserver... I never could count this stuff accurately before.

Edited by MrBill
Posted
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
Posted

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.

  • 2 weeks later...
Posted

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

 

Posted
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.

Posted

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

 

Posted (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 by DennisC
Posted
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.

Posted

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

 

Posted
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?

Posted

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

 

 

Posted

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

Posted

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?

Posted

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

 

Posted
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.

Posted

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

Posted

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.

 

Posted

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

Posted
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.

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      37.2k
    • Total Posts
      372.4k
×
×
  • Create New...