Jump to content

'Controller' object has no attribute 'nodes'


DGaylord

Recommended Posts

Posted

Trying to convert from PG2 to PG3 version.  PG2 version was working correctly.  I uninstalled it and installed the PG3 version.  I added API key and host name.  Node server and controller get added to ISY (on Polisy) but no device nodes are identified.

API key seems to be accepted.  Port 3001 is forwarded to Polisy.  Log attached.

Thanks in advance for any ideas.

debug.log

Posted

Try version 4.0.1 just released to store.  Refresh the store listing and verify it's showing version 4.0.1 then restart the node server.

Posted

I updated to 4.0.1.  Restarted NS.  Restarted PG3.  Restarted ISY.  Now I have two nodes in Admin console:  Rachio Bridge and Autumn Bliss (my controller name) no zones or schedules in either one.  Now log file (attached) shows that the zones are detected but they are still not appearing in the Admin Console.

debug 4.0.1.log

  • Like 1
Posted

That made it 1 setup further.  The error now seems to be about the controller (not bridge) not being a parent.

 

 
Discovering nodes on Rachio Controller Rachio-Lake (80a589e0a70c)
2022-04-22 15:35:35,866 Thread-8 udi_interface INFO rachio-poly:discover: 16 Rachio zones found on "Rachio-Lake" controller. Adding to ISY
2022-04-22 15:35:35,867 Thread-8 udi_interface ERROR rachio-poly:discover: Error discovering and adding Zones on Rachio Controller Rachio-Lake (80a589e0a70c): 'RachioController' object has no attribute 'parent'
2022-04-22 15:35:35,867 Thread-8 udi_interface INFO rachio-poly:discover: 2 Rachio schedules found on "Rachio-Lake" controller. Adding to ISY
2022-04-22 15:35:35,868 Thread-8 udi_interface ERROR rachio-poly:discover: Error discovering and adding Schedules on Rachio Controller Rachio-Lake (80a589e0a70c): 'RachioController' object has no attribute 'parent'
2022-04-22 15:35:35,868 Thread-8 udi_interface INFO rachio-poly:discover: 3 Rachio Flex schedules found on "Rachio-Lake" controller. Adding to ISY
2022-04-22 15:35:35,869 Thread-8 udi_interface ERROR rachio-poly:discover: Error discovering and adding Flex Schedules on Rachio Controller Rachio-Lake (80a589e0a70c): 'RachioController' object has no attribute 'parent'
Posted

For whatever it's worth, as I converted from PG2 to PG3 version I noticed that the recommended default Port had changed from the previous version.  I believe PG2 was recommended to be 4001 and PG3 is recommended for 3001.  I did reconfigure my port forwarding to 3001.  This probably is of no help; but figured I better mention it.

Posted

Looking at the code for the PG2 version, the port is set to 3001. Maybe you changed yours at some point?

Try version 4.0.3.  I'm still trying to understand the relationship between the various nodes in this node server.

  • Like 1
Posted

It looks like everything is working now.  All of the Zones and Schedules came in and all are updating correctly.  I'll keep an eye on it for the next couple of days but from what I can tell now it looks like you got it.

Thanks for the perseverance!

Posted
17 hours ago, DGaylord said:

It looks like everything is working now.  All of the Zones and Schedules came in and all are updating correctly.  I'll keep an eye on it for the next couple of days but from what I can tell now it looks like you got it.

Thanks for the perseverance!

I also have all the zones and schedules and will keep an eye on it.

Posted

My most important use of this NS is to have a couple of zones triggered to run their schedule based upon logic using the Ecowitt NS which uses soil moisture sensors to trigger watering only when needed.  Today there was a need for watering and the Ecowitt NS called for it but the Rachio NS threw an error, 'RachioController' object has no attribute 'r_api', when ISY sent the Start command to the zone.  The same behavior can be duplicated using the Admin Console to manually enable any of the zones.

Please see the last two lines of the log file for the error.debug 4.0.3 Write Error.logdebug 4.0.3 Write Error.logdebug 4.0.3 Write Error.logdebug 4.0.3 Write Error.log

Posted

I've done just some limited testing with 4.0.4; but now I can programatically turn zones and programs on again.  Cautiously optimistic that everything is 100% functional now.

Posted

FYI - even when on current version, dashboard says there is a new version available. Not sure what causes that but the store says 4.0.4 and the node server detail screen says 4.0.4.

  • 1 month later...
Posted

Having issues, can anyone provide a simple/fast explanation of the configuration. I have the API key. What host? already populated port 3001. nodeAdditionInterval? 

  • 4 months later...
Posted

I'm having a similar issue with setting up my Rachio Node server.  I am getting this error: 

Quote

2022-11-12 05:35:35,633 Thread-3 udi_interface ERROR rachio-poly:testWebSocketConnectivity: Error reaching specified host:port externally (http://a.b.c.d:3001). Please ensure entries are correct and the appropriate firewall ports have been opened (for local installs): [Errno 8] Name does not resolve 2022-11-12 05:35:35,635 Thread-3 udi_interface ERROR rachio-poly:parameterHandler: Webhook connectivity test failed, exiting

(except I changed my external IP address to a.b.c.d.)

I tried setting my router to forward port 3001 to my Polisy and that didn't work.  I also tried to set this port to my Rachio (because that made more sense to me, despite the instructions for the Node server stating to set it up to the Polisy) and this didn't work.  

I also don't understand "local installs".  wouldn't almost all Rachio installs be "local"?  and also:  if my Polisy is local to my Rachio, why does it need to connect to it from outside?

any suggestions would be appreciated.  

Posted

I somehow figured this one out.  trial and error, I guess.  but to answer my questions for other users having similar problems:

the IP address does have to be set to to the external address.

the 3001 (or whatever you choose) port has to be forwarded to the Polisy internal IP address.

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.4k
×
×
  • Create New...