Jimbo.Automates Posted September 23, 2023 Posted September 23, 2023 (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 December 16, 2023 by Jimbo.Automates Change to 3.1.4
Chris McKean Posted September 23, 2023 Posted September 23, 2023 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?
mjrush Posted September 23, 2023 Posted September 23, 2023 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.
Jimbo.Automates Posted September 23, 2023 Author Posted September 23, 2023 @Chris McKean, @mjrush, my bad. You actually have the 3.1.0 but it just displays the wrong version. Re-install in the same slot and it will now show the correct version.
glarsen Posted November 26, 2023 Posted November 26, 2023 (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 November 26, 2023 by glarsen
Jimbo.Automates Posted November 26, 2023 Author Posted November 26, 2023 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)
glarsen Posted November 26, 2023 Posted November 26, 2023 (edited) Yes, I'm at 5.7.1_2 Edited November 26, 2023 by glarsen
Jimbo.Automates Posted November 26, 2023 Author Posted November 26, 2023 Yes, I'm at 5.7.1_2Strange because it looks like install of plugin failed. Please download log package and PM to me.Sent from my Pixel 8 Pro using Tapatalk
Jimbo.Automates Posted November 26, 2023 Author Posted November 26, 2023 4 minutes ago, glarsen said: Done The install log shows: error: can't find Rust compiler So the last upgrade modules must not have completed.
glarsen Posted November 26, 2023 Posted November 26, 2023 (edited) DId the last version depend on Rust too? It ran ok. Edited November 26, 2023 by glarsen
Jimbo.Automates Posted November 26, 2023 Author Posted November 26, 2023 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
glarsen Posted November 26, 2023 Posted November 26, 2023 Do I need to open a ticket with UDI? Or do you have a suggestion to fix?
glarsen Posted November 26, 2023 Posted November 26, 2023 And I see the rust installation in /usr/local, including the compiler in bin, so I dunno.
Jimbo.Automates Posted November 26, 2023 Author Posted November 26, 2023 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
atmarosi Posted November 27, 2023 Posted November 27, 2023 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. 1
glarsen Posted November 27, 2023 Posted November 27, 2023 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.
dwengrovitz Posted November 28, 2023 Posted November 28, 2023 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'
Himalayan Possum Posted November 28, 2023 Posted November 28, 2023 I'm getting ModuleNotFoundError: No module named 'kasa' as well, after upgrading packages, rebooting, and reinstalling the Kasa node server.
Jimbo.Automates Posted November 28, 2023 Author Posted November 28, 2023 Please download log package and submit a ticket and include that zip file.Sent from my Pixel 8 Pro using Tapatalk
jkosharek Posted November 28, 2023 Posted November 28, 2023 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.
Merlin Posted November 28, 2023 Posted November 28, 2023 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. 1
Whitehambone Posted November 28, 2023 Posted November 28, 2023 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. 1
Recommended Posts