Jump to content

Can't control smart plugs from ISY


Athlon

Recommended Posts

Did a new RPi Polyglot install.  I can see the Store - added the Kasa node server - it sees all of the nodes (plugs) and they are in the admin panel.  I cannot turn any of them on or off, however. 

I have a number of smart plugs and they are all working using the Android app on my phone.

I don't know where to look to troubleshoot.

 

Link to comment
Share on other sites

Thanks for jumping in @Jimbo.

Yes - there are errors and warnings in the KASA nodeserver log.  They repeat themselves over and over.

2021-04-14 06:44:34,285 longPoll   polyinterface      WARNING  Controller:discover_new_add_device: Connected:{node.is_connected()} '{node.name}' host is {node.host} same as {dev.host}
2021-04-14 06:44:34,286 longPoll   polyinterface      ERROR    SmartDeviceNode:connect: Landscaping 2: Unable to connect to device 'Landscaping 2' 192.168.1.94 will try again later: You need to await update() to access the data
2021-04-14 06:44:34,293 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Window Candle 2'
2021-04-14 06:44:34,310 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Railroad'
2021-04-14 06:44:34,326 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Office Wall Light'
2021-04-14 06:44:34,335 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Window Candle 3b'
2021-04-14 06:44:34,423 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Window Candle 3a'
2021-04-14 06:44:38,742 longPoll   polyinterface      INFO     Controller:discover_new: done
2021-04-14 06:48:32,641 longPoll   polyinterface      WARNING  Controller:_longPoll: Known device not responding 50c7bf0af476 'Landscaping 2'
2021-04-14 06:48:33,810 longPoll   polyinterface      INFO     SmartDeviceNode:longPoll: SmartStrip 50:D4:F7:EB:6E:E6: Not connected, will retry...
2021-04-14 06:48:33,810 longPoll   polyinterface      WARNING  Controller:_longPoll: Not all devices are connected, running discover to check for them
2021-04-14 06:48:33,810 longPoll   polyinterface      INFO     Controller:discover_new: start
2021-04-14 06:48:34,045 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Heater'
2021-04-14 06:48:34,057 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Humidifier'
2021-04-14 06:48:34,071 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Window Candle 4'
2021-04-14 06:48:34,080 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Office Desk Light'
2021-04-14 06:48:34,090 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Hair Dryer'
2021-04-14 06:48:34,116 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Dining Room Tree'
2021-04-14 06:48:34,117 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'SmartStrip 50:D4:F7:EB:6E:E6'
2021-04-14 06:48:34,129 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Living Room Lights'
2021-04-14 06:48:34,133 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Window Candle 6'
2021-04-14 06:48:34,136 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Banister'
2021-04-14 06:48:34,145 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Guest Room Bed Lights'
2021-04-14 06:48:34,151 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Window Candle 5'
2021-04-14 06:48:34,158 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Student's Tree'
2021-04-14 06:48:34,158 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Mantle'
2021-04-14 06:48:34,160 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Window Candle 1'
2021-04-14 06:48:34,190 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:False 'Landscaping 2'
2021-04-14 06:48:34,190 longPoll   polyinterface      WARNING  Controller:discover_new_add_device: Connected:{node.is_connected()} '{node.name}' host is {node.host} same as {dev.host}
2021-04-14 06:48:34,191 longPoll   polyinterface      ERROR    SmartDeviceNode:connect: Landscaping 2: Unable to connect to device 'Landscaping 2' 192.168.1.94 will try again later: You need to await update() to access the data
2021-04-14 06:48:34,226 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Window Candle 2'
2021-04-14 06:48:34,235 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Window Candle 3a'
2021-04-14 06:48:34,245 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Railroad'
2021-04-14 06:48:34,289 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Office Wall Light'
2021-04-14 06:48:34,292 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Window Candle 3b'
2021-04-14 06:48:38,820 longPoll   polyinterface      INFO     Controller:discover_new: done
2021-04-14 06:52:32,628 longPoll   polyinterface      WARNING  Controller:_longPoll: Known device not responding 50c7bf0af476 'Landscaping 2'
2021-04-14 06:52:34,354 longPoll   polyinterface      INFO     SmartDeviceNode:longPoll: SmartStrip 50:D4:F7:EB:6E:E6: Not connected, will retry...
2021-04-14 06:52:34,354 longPoll   polyinterface      WARNING  Controller:_longPoll: Not all devices are connected, running discover to check for them
2021-04-14 06:52:34,355 longPoll   polyinterface      INFO     Controller:discover_new: start
2021-04-14 06:52:34,568 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Heater'
2021-04-14 06:52:34,593 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Dining Room Tree'
2021-04-14 06:52:34,594 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Hair Dryer'
2021-04-14 06:52:34,602 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Student's Tree'
2021-04-14 06:52:34,606 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Humidifier'
2021-04-14 06:52:34,630 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Mantle'
2021-04-14 06:52:34,631 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Living Room Lights'
2021-04-14 06:52:34,650 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Office Desk Light'
2021-04-14 06:52:34,660 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Window Candle 5'
2021-04-14 06:52:34,660 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Banister'
2021-04-14 06:52:34,661 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Window Candle 6'
2021-04-14 06:52:34,661 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Window Candle 1'
2021-04-14 06:52:34,667 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Guest Room Bed Lights'
2021-04-14 06:52:34,680 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'SmartStrip 50:D4:F7:EB:6E:E6'
2021-04-14 06:52:34,685 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Office Wall Light'
2021-04-14 06:52:34,686 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Window Candle 4'
2021-04-14 06:52:34,698 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:False 'Landscaping 2'
2021-04-14 06:52:34,698 longPoll   polyinterface      WARNING  Controller:discover_new_add_device: Connected:{node.is_connected()} '{node.name}' host is {node.host} same as {dev.host}
2021-04-14 06:52:34,698 longPoll   polyinterface      ERROR    SmartDeviceNode:connect: Landscaping 2: Unable to connect to device 'Landscaping 2' 192.168.1.94 will try again later: You need to await update() to access the data
2021-04-14 06:52:34,765 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Window Candle 2'
2021-04-14 06:52:34,778 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Window Candle 3a'
2021-04-14 06:52:34,786 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Railroad'
2021-04-14 06:52:34,829 longPoll   polyinterface      INFO     Controller:discover_new_add_device: Connected:True 'Window Candle 3b'
2021-04-14 06:52:39,365 longPoll   polyinterface      INFO     Controller:discover_new: done

Once again - all of my plugs are in the admin panel - I get an error when trying to turn one on or off. (Request Failed).

Link to comment
Share on other sites

Yes, it looks like all your devices are available except the one 

2021-04-14 06:52:34,698 longPoll   polyinterface      ERROR    SmartDeviceNode:connect: Landscaping 2: Unable to connect to device 'Landscaping 2' 192.168.1.94 will try again later: You need to await update() to access the data
 

What I mean is to watch the Polyglot log, then control one of the devices and see if an error shows up.  If nothing shows in the NS log, then try again while watching the main Polyglot log.  If nothing shows there either, then check the ISY Nodeservers menu entry for the Kasa NS and confirm the IP address is correct.

 

Link to comment
Share on other sites

7 minutes ago, Jimbo said:

Yes, it looks like all your devices are available except the one 

2021-04-14 06:52:34,698 longPoll   polyinterface      ERROR    SmartDeviceNode:connect: Landscaping 2: Unable to connect to device 'Landscaping 2' 192.168.1.94 will try again later: You need to await update() to access the data
 

What I mean is to watch the Polyglot log, then control one of the devices and see if an error shows up.  If nothing shows in the NS log, then try again while watching the main Polyglot log.  If nothing shows there either, then check the ISY Nodeservers menu entry for the Kasa NS and confirm the IP address is correct.

 

I can check that later today - thank you.

Based on what you said about confirming the IP address I'm wondering if because I've been using Polyglot Cloud (https://polyglot.isy.io/) for months if that could be interfering with this new install on my new RPi. I believe there is a place in the admin console where I can check that?

Link to comment
Share on other sites

2 hours ago, Jimbo said:

Using PGC and PG should not be an issue.  In the Admin Console Nodeservers menu you can check the configuration of each slot and make sure the Kasa slot has the correct IP address for you RPi.  I'm not sure why it wouldn't, but it has happened before...

 

It was the IP address in the Admin console that was the issue.  Thank you for guiding me to that!  All seems okay now ?.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.


  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      36.5k
    • Total Posts
      367.6k
×
×
  • Create New...