Jump to content

KASA starts but fill the log with errors


jkosharek

Recommended Posts

Posted

Migrated my POLISY to the EISY, bought a new KASA License for the EISY and KASA starts but fill the log with this:

2022-12-31 16:39:53,929 MainThread udi_interface      ERROR    udi_interface:write: No module named 'kasa'
2022-12-31 16:39:55,096 MainThread udi_interface      INFO     polylogger:set_basic_config: set_basic_config: enable=True level=30
2022-12-31 16:39:55,479 MainThread udi_interface      INFO     __init__:<module>: UDI Python Interface for Polyglot version 3 3.0.51 Starting...
2022-12-31 16:39:55,481 MainThread udi_interface      ERROR    udi_interface:write: Traceback (most recent call last):
2022-12-31 16:39:55,481 MainThread udi_interface      ERROR    udi_interface:write: File "/var/polyglot/pg3/ns/000db9560bc8_2/kasa-poly.py", line 12, in <module>
2022-12-31 16:39:55,481 MainThread udi_interface      ERROR    udi_interface:write: from nodes import Controller
2022-12-31 16:39:55,482 MainThread udi_interface      ERROR    udi_interface:write: File "/var/polyglot/pg3/ns/000db9560bc8_2/nodes/__init__.py", line 8, in <module>
2022-12-31 16:39:55,482 MainThread udi_interface      ERROR    udi_interface:write: from .SmartDeviceNode      import SmartDeviceNode
2022-12-31 16:39:55,482 MainThread udi_interface      ERROR    udi_interface:write: File "/var/polyglot/pg3/ns/000db9560bc8_2/nodes/SmartDeviceNode.py", line 8, in <module>
2022-12-31 16:39:55,482 MainThread udi_interface      ERROR    udi_interface:write: from kasa import SmartDeviceException
2022-12-31 16:39:55,482 MainThread udi_interface      ERROR    udi_interface:write: ModuleNotFoundError
2022-12-31 16:39:55,483 MainThread udi_interface      ERROR    udi_interface:write: :
2022-12-31 16:39:55,483 MainThread udi_interface      ERROR    udi_interface:write: No module named 'kasa'
2022-12-31 16:39:56,654 MainThread udi_interface      INFO     polylogger:set_basic_config: set_basic_config: enable=True level=30
2022-12-31 16:39:57,034 MainThread udi_interface      INFO     __init__:<module>: UDI Python Interface for Polyglot version 3 3.0.51 Starting...
2022-12-31 16:39:57,035 MainThread udi_interface      ERROR    udi_interface:write: Traceback (most recent call last):
2022-12-31 16:39:57,035 MainThread udi_interface      ERROR    udi_interface:write: File "/var/polyglot/pg3/ns/000db9560bc8_2/kasa-poly.py", line 12, in <module>
2022-12-31 16:39:57,036 MainThread udi_interface      ERROR    udi_interface:write: from nodes import Controller
2022-12-31 16:39:57,036 MainThread udi_interface      ERROR    udi_interface:write: File "/var/polyglot/pg3/ns/000db9560bc8_2/nodes/__init__.py", line 8, in <module>
2022-12-31 16:39:57,036 MainThread udi_interface      ERROR    udi_interface:write: from .SmartDeviceNode      import SmartDeviceNode
2022-12-31 16:39:57,036 MainThread udi_interface      ERROR    udi_interface:write: File "/var/polyglot/pg3/ns/000db9560bc8_2/nodes/SmartDeviceNode.py", line 8, in <module>
2022-12-31 16:39:57,036 MainThread udi_interface      ERROR    udi_interface:write: from kasa import SmartDeviceException
2022-12-31 16:39:57,037 MainThread udi_interface      ERROR    udi_interface:write: ModuleNotFoundError
2022-12-31 16:39:57,037 MainThread udi_interface      ERROR    udi_interface:write: :

Posted

You can try doing a re-install by going into the node server store, selecting Kasa, click the install button and then select re-install into the same slot.  That may help.  You also may then encounter another error trying to start after that.  Getting a node server to start with PG3x version 3.1.16 is unlikely right now.

Posted
On 1/1/2023 at 12:40 PM, bpwwer said:

You can try doing a re-install by going into the node server store, selecting Kasa, click the install button and then select re-install into the same slot.  That may help.  You also may then encounter another error trying to start after that.  Getting a node server to start with PG3x version 3.1.16 is unlikely right now.

PG3x version 3.1.17 resolved this

Posted
On 1/1/2023 at 12:40 PM, bpwwer said:

You can try doing a re-install by going into the node server store, selecting Kasa, click the install button and then select re-install into the same slot.  That may help.  You also may then encounter another error trying to start after that.  Getting a node server to start with PG3x version 3.1.16 is unlikely right now.

After updating PG3x to v3.1.17, I was able to get the KASA NS installed, licensed, and it picked up my TP devices, it shows connected and created Nodes in ISY, but they aren't functional. I deleted the NS from PG3x and it removed the nodes from ISY, re-installed KASA NS and get the same thing. It's like when a node is added to ISY when the Admin Console is open, but I restarted the Admin Console, and even cleared JAVA (deleting the console app), downloaded the new console, connected to EISY and it's the same.

 

Also the nodes KASA created are in the Main tab in ISY Admin Console, but are not available to use within programs.

Posted
2 hours ago, bpwwer said:

What does the node server log show?  Any errors there?

2023-01-04 16:20:38,130 Thread-8   udi_interface.node ERROR    node:setDriver: d847329a946104:TP1 - 4 -  Invalid driver: ST
2023-01-04 16:20:38,130 Thread-8   udi_interface.node ERROR    node:setDriver: d847329a946104:TP1 - 4 -  Invalid driver: ST
2023-01-04 16:20:38,130 Thread-8   udi_interface.node ERROR    node:setDriver: d847329a946105:TP1 - 5 -  Invalid driver: ST
2023-01-04 16:20:38,130 Thread-8   udi_interface.node ERROR    node:setDriver: d847329a946105:TP1 - 5 -  Invalid driver: ST
2023-01-04 16:20:38,130 Thread-8   udi_interface.node ERROR    node:setDriver: d847329a946104:TP1 - 4 -  Invalid driver: ST
2023-01-04 16:20:38,130 Thread-8   udi_interface.node ERROR    node:setDriver: d847329a946104:TP1 - 4 -  Invalid driver: ST
2023-01-04 16:20:38,130 Thread-8   udi_interface.node ERROR    node:setDriver: d847329a946105:TP1 - 5 -  Invalid driver: ST
2023-01-04 16:20:38,130 Thread-8   udi_interface.node ERROR    node:setDriver: d847329a946105:TP1 - 5 -  Invalid driver: ST

 

Guest
This topic is now closed to further replies.

×
×
  • Create New...