Jump to content

PG3 Kasa TP-Link Node Server 3.1.4


Recommended Posts

Posted (edited)

The Polyglot Version 3 Node Server for Kasa TP-Link 3.1.4 is released.  See the Release Notes for all information.

IMPORTANT: You must have the latest updates released 12/03/2023 for this to install.  If you are not sure, please 'Update Modules' and reboot when complete before installing.  Thanks to @Michel Kohanim for the fixes.

 

Edited by Jimbo.Automates
Change to 3.1.4
Posted

I have upgraded to the new release, but after the upgrade, it shows that the current version on the ISY dashboard is still at version 3.0.22.  I have tried stopping Kasa, upgrading then starting the node.  It shows the current version is 3..1.0 after the upgrade, but when I start the node server, it reverts back to 3.0.22.  Am I doing something wrong?

Posted

I'm seeing the same behavior.  I tried updating, reinstalling, starting and stopping but the displayed version changes back to 3.0.22. I seems like the new version is installed, there are new timeout options.

  • 2 months later...
Posted (edited)

Upgraded to 3.1.1 it seems successfully, however the PG3 dashboard shows it as "Disconnected" , the ns seems to be restarting over and over.  I see this in the log 

2023-11-26 09:37:47,933 MainThread udi_interface      INFO     __init__:<module>: UDI Python Interface for Polyglot version 3 3.2.4 Starting...
2023-11-26 09:37:47,935 MainThread udi_interface      ERROR    udi_interface:write: Traceback (most recent call last):
  File "/var/polyglot/pg3/ns/0021b902628f_16/kasa-poly.py", line 12, in <module>
    from nodes import VERSION,Controller
  File "/var/polyglot/pg3/ns/0021b902628f_16/nodes/__init__.py", line 9, in <module>
    from .SmartDeviceNode      import SmartDeviceNode
  File "/var/polyglot/pg3/ns/0021b902628f_16/nodes/SmartDeviceNode.py", line 8, in <module>
    from kasa import SmartDeviceException
ModuleNotFoundError: No module named 'kasa'
2023-11-26 09:37:49,168 MainThread udi_interface      INFO     polylogger:set_basic_config: set_basic_config: enable=True level=30
2023-11-26 09:37:49,168 MainThread udi_interface      INFO     __init__:<module>: UDI interface initializing
2023-11-26 09:37:49,168 MainThread udi_interface      INFO     __init__:<module>: User=0021b902628f_16

repeatedly. I'm on PG3 3.2.16. I've restarted PG3 as well as reinstalled the plugin with no effect.

Edited by glarsen
Posted
14 minutes ago, glarsen said:

Upgraded to 3.1.1 it seems successfully, however the PG3 dashboard shows it as "Disconnected" even though it appears to be running.  Actions directed to it function properly, yet the ns seems to be restarting over and over.  I see this in the log 

2023-11-26 09:37:47,933 MainThread udi_interface      INFO     __init__:<module>: UDI Python Interface for Polyglot version 3 3.2.4 Starting...
2023-11-26 09:37:47,935 MainThread udi_interface      ERROR    udi_interface:write: Traceback (most recent call last):
  File "/var/polyglot/pg3/ns/0021b902628f_16/kasa-poly.py", line 12, in <module>
    from nodes import VERSION,Controller
  File "/var/polyglot/pg3/ns/0021b902628f_16/nodes/__init__.py", line 9, in <module>
    from .SmartDeviceNode      import SmartDeviceNode
  File "/var/polyglot/pg3/ns/0021b902628f_16/nodes/SmartDeviceNode.py", line 8, in <module>
    from kasa import SmartDeviceException
ModuleNotFoundError: No module named 'kasa'
2023-11-26 09:37:49,168 MainThread udi_interface      INFO     polylogger:set_basic_config: set_basic_config: enable=True level=30
2023-11-26 09:37:49,168 MainThread udi_interface      INFO     __init__:<module>: UDI interface initializing
2023-11-26 09:37:49,168 MainThread udi_interface      INFO     __init__:<module>: User=0021b902628f_16

repeatedly. I'm on PG3 3.2.16. I've restarted PG3 as well as reinstalled the plugin with no effect.

Have you completed this update? 

 

This is needed for: 

5. Added Rust to dev packages (needed for Kasa)

 

Posted
DId the last version depend on Rust too?  It ran ok.
Not when initially released, but dependencies were updated at some point which caused the problem for new installs or updating to the latest.

Sent from my Pixel 8 Pro using Tapatalk

Posted
Do I need to open a ticket with UDI?  Or do you have a suggestion to fix?
I'd try and upgrade modules again and after rebooting reinstall plugin. If still fails submit a ticket and include a new dowl log package.

Sent from my Pixel 8 Pro using Tapatalk

Posted

same issue here, just ended up waiting a long while (read ate dinner, cleaned up, and sat on couch) and then re-installed  All of the sudden it connected and shows the nodes as well.  

  • Like 1
Posted

I tried uninstallating, rebooting and reinstalling, all with no success.  And it's been over 24 hours now so it doesn't seem that anything is changing.

Posted

I'm having a problem similar to @glarsen in trying to upgrade the Kasa node server.  I've tried upgrading packages and reinstalling the node server several times but it continues to show as disconnected and won't start.  The logs exhibit a similar message:  

ModuleNotFoundError: No module named 'kasa'

 

Posted

I am on IoX 5.7.1, PG3x Version 3.2.16, and Kasa 3.1.1. I updated, rebooted, reinstalled and get the same error

ModuleNotFoundError: No module named 'kasa'

I put in a ticket. 

Posted
3 hours ago, jkosharek said:

I am on IoX 5.7.1, PG3x Version 3.2.16, and Kasa 3.1.1. I updated, rebooted, reinstalled and get the same error

ModuleNotFoundError: No module named 'kasa'

I put in a ticket. 

 

I am having the same issue here. I just upgraded to IoX 5.7.1, PG3x 3.2.16, with a fresh install of the Kasa 3.1.1 trial. The log just shows the Kasa python app restarting over and over because it cannot find the kasa module when trying to initialize the service...

2023-11-28 02:06:13,696 MainThread udi_interface      INFO     __init__:<module>: UDI Python Interface for Polyglot version 3 3.2.5 Starting...
2023-11-28 02:06:13,698 MainThread udi_interface      ERROR    udi_interface:write: Traceback (most recent call last):
  File "/var/polyglot/pg3/ns/0021b902670b_1/kasa-poly.py", line 12, in <module>
    from nodes import VERSION,Controller
  File "/var/polyglot/pg3/ns/0021b902670b_1/nodes/__init__.py", line 9, in <module>
    from .SmartDeviceNode      import SmartDeviceNode
  File "/var/polyglot/pg3/ns/0021b902670b_1/nodes/SmartDeviceNode.py", line 8, in <module>
    from kasa import SmartDeviceException
ModuleNotFoundError: No module named 'kasa'

Since there is already a ticket, you can just +1 me to that. ;)

  • Like 1
Posted
8 hours ago, jkosharek said:

I am on IoX 5.7.1, PG3x Version 3.2.16, and Kasa 3.1.1. I updated, rebooted, reinstalled and get the same error

ModuleNotFoundError: No module named 'kasa'

I put in a ticket. 

Same here!  @jkosharek  Let us know how they respond to your ticket.

  • Like 1
Guest
This topic is now closed to further replies.

×
×
  • Create New...