Jump to content

PG3 Kasa TP-Link Node Server 3.1.4


Recommended Posts

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
Link to comment

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?

Link to comment
  • 2 months later...

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
Link to comment
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)

 

Link to comment
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
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      36.6k
    • Total Posts
      367.8k
×
×
  • Create New...