Jump to content

Kasa Node for HS300 install problem


Recommended Posts

Posted

I have a Kasa HS300 6 outlet plug strip and I want to install the node server on my eisy.  I previously had the trial version of the node, so I deleted that, purchased the current paid version and installed that.  Going to the admin console I selected Kasa, but was unsure how to proceed from there.  My choices are ADD NODE or ADD ALL NODES. Selecting Add Node gives me a list of Kasa devices but no model numbers.  I might guess at any of the first four, but then I get a window asking for Name(whose name?), Node Address, Primary Node Address(what is this?), so I stopped there.  So far the Kasa Controller shows up in the admin console Device list, but no outlets. Searching the wiki's etc. I found one that said all this should be automatic and #1 do NOT open the Node Servers option.  General info about installing node servers does not help. I believe I am up to date with Kasa 3.1.4, PG3x 3.2.17 & IoX 5.7.1.  I've been at this for over three hours now, and it's very frustrating. I just stopped the server and will wait for help.

LOG Follows:

2024-12-22 12:42:29.797 MainThread udi_interface      INFO     polylogger:set_basic_config: set_basic_config: enable=True level=30
2024-12-22 12:42:29.798 MainThread udi_interface      INFO     __init__:<module>: UDI interface initializing
2024-12-22 12:42:29.798 MainThread udi_interface      INFO     __init__:<module>: User=0021b9026837_4
2024-12-22 12:42:29.798 MainThread udi_interface      INFO     __init__:<module>: Home=/var/polyglot/pg3/ns/0021b9026837_4
2024-12-22 12:42:29.798 MainThread udi_interface      INFO     __init__:<module>: Node Server Path=/var/polyglot/pg3/ns/0021b9026837_4
2024-12-22 12:42:29.798 MainThread udi_interface      INFO     __init__:<module>: PG3INIT=eyJ1dWlkIjoiMDA6MjE6Yjk6MDI6Njg6MzciLCJwcm9maWxlTnVtIjo0LCJsb2dMZXZlbCI6IldBUk5JTkciLCJ0b2tlbiI6Ik0/VGwqSndEZ2tOJkN4V2EiLCJtcXR0SG9zdCI6ImxvY2FsaG9zdCIsIm1xdHRQb3J0Ijo4ODgzLCJzZWN1cmUiOjEsImlzUEczeCI6dHJ1ZSwicGczVmVyc2lvbiI6IjMuMi4xNyIsImlzeVZlcnNpb24iOiI1LjcuMSIsImVkaXRpb24iOiJTdGFuZGFyZCJ9
2024-12-22 12:42:29.798 MainThread udi_interface      INFO     __init__:<module>: Loading interface module
2024-12-22 12:42:29.834 MainThread udi_interface      INFO     interface:<module>: Loading MQTT module
2024-12-22 12:42:30.334 MainThread udi_interface      INFO     interface:<module>: MQTT module loaded
2024-12-22 12:42:30.558 MainThread udi_interface      INFO     __init__:<module>: Loading udi_interface module
2024-12-22 12:42:30.559 MainThread udi_interface      INFO     __init__:<module>: Loading node module
2024-12-22 12:42:30.559 MainThread udi_interface      INFO     __init__:<module>: Loading custom module
2024-12-22 12:42:30.559 MainThread udi_interface      INFO     __init__:<module>: Loading isy module
2024-12-22 12:42:30.559 MainThread udi_interface      INFO     __init__:<module>: Loading OAuth module
2024-12-22 12:42:30.560 MainThread udi_interface      INFO     __init__:<module>: UDI interface initialized
2024-12-22 12:42:30.560 MainThread udi_interface      INFO     __init__:<module>: UDI Python Interface for Polyglot version 3 3.3.14 Starting...
2024-12-22 12:42:30.659 MainThread udi_interface.interface INFO     interface:__init__: Initialization received from Polyglot V3 3.2.17  [ISY: 5.7.1, Slot: 4]
2024-12-22 12:42:30.659 MainThread udi_interface.interface INFO     interface:__init__: Connect: Network Interface: {'addr': '192.168.1.38', 'netmask': '255.255.255.0', 'broadcast': '192.168.1.255'}
2024-12-22 12:42:30.660 Interface  udi_interface.interface INFO     interface:_startMqtt: Connecting to MQTT... localhost:8883
2024-12-22 12:42:30.660 MainThread udi_interface.interface WARNING  interface:db_getNodeDrivers: tplkasactl not found in database.
2024-12-22 12:42:30.660 Interface  udi_interface.interface INFO     interface:_startMqtt: Using SSL cert: 0021b9026837_4.cert key: 0021b9026837_4.key ca: /usr/local/etc/ssl/certs/ud.ca.cert
2024-12-22 12:42:30.660 MainThread udi_interface.interface INFO     interface:addNode: Adding node Kasa Controller(tplkasactl) [None]
2024-12-22 12:42:30.660 MainThread udi_interface.interface INFO     interface:setController: Using node "tplkasactl", driver "ST" for connection status.
2024-12-22 12:42:30.661 Interface  udi_interface.interface INFO     interface:_startMqtt: MQTT keepalive is 300 seconds.
2024-12-22 12:42:30.710 MQTT       udi_interface.interface INFO     interface:_connect: MQTT Connected with Reason code: Success
2024-12-22 12:42:30.710 MQTT       udi_interface.interface INFO     interface:_connect: MQTT Subscribing to topic: udi/pg3/ns/clients/00:21:b9:02:68:37_4 -  MID: 2 Result: MQTTErrorCode.MQTT_ERR_SUCCESS
2024-12-22 12:42:30.752 MQTT       udi_interface.interface INFO     interface:_subscribe: MQTT Subscribed Successfully for Message ID: 2. Reason codes: ['Granted QoS 0']
2024-12-22 12:42:30.836 Thread-5   udi_interface      WARNING  Controller:handler_data: No custom data
2024-12-22 12:42:30.980 Thread-11  udi_interface      WARNING  Controller:handler_start: Waiting for all to be loaded params=None data=True... cnt=600
2024-12-22 12:42:32.152 Thread-12  udi_interface.interface WARNING  interface:db_getNodeDrivers: 5091e3a14343 not found in database.
2024-12-22 12:42:32.239 Thread-20  udi_interface      WARNING  Controller:handler_data: No custom data
2024-12-22 12:42:35.241 Thread-12  udi_interface.interface WARNING  interface:db_getNodeDrivers: 5091e3a1434301 not found in database.
2024-12-22 12:42:35.242 Thread-12  udi_interface.interface WARNING  interface:db_getNodeDrivers: 5091e3a1434302 not found in database.
2024-12-22 12:42:35.242 Thread-12  udi_interface.interface WARNING  interface:db_getNodeDrivers: 5091e3a1434303 not found in database.
2024-12-22 12:42:35.243 Thread-12  udi_interface.interface WARNING  interface:db_getNodeDrivers: 5091e3a1434304 not found in database.
2024-12-22 12:42:35.243 Thread-12  udi_interface.interface WARNING  interface:db_getNodeDrivers: 5091e3a1434305 not found in database.
2024-12-22 12:42:35.243 Thread-12  udi_interface.interface WARNING  interface:db_getNodeDrivers: 5091e3a1434306 not found in database.
2024-12-22 12:42:35.402 Thread-12  udi_interface.interface WARNING  interface:db_getNodeDrivers: 5091e3a1434301 not found in database.
2024-12-22 12:42:35.403 Thread-12  udi_interface.interface WARNING  interface:db_getNodeDrivers: 5091e3a1434302 not found in database.
2024-12-22 12:42:35.403 Thread-12  udi_interface.interface WARNING  interface:db_getNodeDrivers: 5091e3a1434303 not found in database.
2024-12-22 12:42:35.404 Thread-12  udi_interface.interface WARNING  interface:db_getNodeDrivers: 5091e3a1434304 not found in database.
2024-12-22 12:42:35.404 Thread-12  udi_interface.interface WARNING  interface:db_getNodeDrivers: 5091e3a1434305 not found in database.
2024-12-22 12:42:35.405 Thread-12  udi_interface.interface WARNING  interface:db_getNodeDrivers: 5091e3a1434306 not found in database.
2024-12-22 13:09:07.511 MainThread udi_interface      INFO     polylogger:set_basic_config: set_basic_config: enable=True level=30
2024-12-22 13:09:07.511 MainThread udi_interface      INFO     __init__:<module>: UDI interface initializing
2024-12-22 13:09:07.512 MainThread udi_interface      INFO     __init__:<module>: User=0021b9026837_4
2024-12-22 13:09:07.512 MainThread udi_interface      INFO     __init__:<module>: Home=/var/polyglot/pg3/ns/0021b9026837_4
2024-12-22 13:09:07.512 MainThread udi_interface      INFO     __init__:<module>: Node Server Path=/var/polyglot/pg3/ns/0021b9026837_4
2024-12-22 13:09:07.512 MainThread udi_interface      INFO     __init__:<module>: PG3INIT=eyJ1dWlkIjoiMDA6MjE6Yjk6MDI6Njg6MzciLCJwcm9maWxlTnVtIjo0LCJsb2dMZXZlbCI6IldBUk5JTkciLCJ0b2tlbiI6Ik0/VGwqSndEZ2tOJkN4V2EiLCJtcXR0SG9zdCI6ImxvY2FsaG9zdCIsIm1xdHRQb3J0Ijo4ODgzLCJzZWN1cmUiOjEsImlzUEczeCI6dHJ1ZSwicGczVmVyc2lvbiI6IjMuMi4xNyIsImlzeVZlcnNpb24iOiI1LjcuMSIsImVkaXRpb24iOiJTdGFuZGFyZCJ9
2024-12-22 13:09:07.512 MainThread udi_interface      INFO     __init__:<module>: Loading interface module
2024-12-22 13:09:07.549 MainThread udi_interface      INFO     interface:<module>: Loading MQTT module
2024-12-22 13:09:08.051 MainThread udi_interface      INFO     interface:<module>: MQTT module loaded
2024-12-22 13:09:08.277 MainThread udi_interface      INFO     __init__:<module>: Loading udi_interface module
2024-12-22 13:09:08.278 MainThread udi_interface      INFO     __init__:<module>: Loading node module
2024-12-22 13:09:08.278 MainThread udi_interface      INFO     __init__:<module>: Loading custom module
2024-12-22 13:09:08.278 MainThread udi_interface      INFO     __init__:<module>: Loading isy module
2024-12-22 13:09:08.279 MainThread udi_interface      INFO     __init__:<module>: Loading OAuth module
2024-12-22 13:09:08.279 MainThread udi_interface      INFO     __init__:<module>: UDI interface initialized
2024-12-22 13:09:08.279 MainThread udi_interface      INFO     __init__:<module>: UDI Python Interface for Polyglot version 3 3.3.14 Starting...
2024-12-22 13:09:08.353 MainThread udi_interface.interface INFO     interface:__init__: Initialization received from Polyglot V3 3.2.17  [ISY: 5.7.1, Slot: 4]
2024-12-22 13:09:08.353 MainThread udi_interface.interface INFO     interface:__init__: Connect: Network Interface: {'addr': '192.168.1.38', 'netmask': '255.255.255.0', 'broadcast': '192.168.1.255'}
2024-12-22 13:09:08.354 Interface  udi_interface.interface INFO     interface:_startMqtt: Connecting to MQTT... localhost:8883
2024-12-22 13:09:08.354 MainThread udi_interface.interface WARNING  interface:db_getNodeDrivers: tplkasactl not found in database.
2024-12-22 13:09:08.354 Interface  udi_interface.interface INFO     interface:_startMqtt: Using SSL cert: 0021b9026837_4.cert key: 0021b9026837_4.key ca: /usr/local/etc/ssl/certs/ud.ca.cert
2024-12-22 13:09:08.354 MainThread udi_interface.interface INFO     interface:addNode: Adding node Kasa Controller(tplkasactl) [None]
2024-12-22 13:09:08.355 MainThread udi_interface.interface INFO     interface:setController: Using node "tplkasactl", driver "ST" for connection status.
2024-12-22 13:09:08.355 Interface  udi_interface.interface INFO     interface:_startMqtt: MQTT keepalive is 300 seconds.
2024-12-22 13:09:08.406 MQTT       udi_interface.interface INFO     interface:_connect: MQTT Connected with Reason code: Success
2024-12-22 13:09:08.407 MQTT       udi_interface.interface INFO     interface:_connect: MQTT Subscribing to topic: udi/pg3/ns/clients/00:21:b9:02:68:37_4 -  MID: 2 Result: MQTTErrorCode.MQTT_ERR_SUCCESS
2024-12-22 13:09:08.450 MQTT       udi_interface.interface INFO     interface:_subscribe: MQTT Subscribed Successfully for Message ID: 2. Reason codes: ['Granted QoS 0']
2024-12-22 13:18:53.241 Thread-203 udi_interface      ERROR    udi_interface:write: Exception in thread
2024-12-22 13:18:53.241 Thread-203 udi_interface      ERROR    udi_interface:write: Thread-203
2024-12-22 13:18:53.242 Thread-203 udi_interface      ERROR    udi_interface:write: :
2024-12-22 13:18:53.242 Thread-203 udi_interface      ERROR    udi_interface:write: Traceback (most recent call last):
2024-12-22 13:18:53.242 Thread-203 udi_interface      ERROR    udi_interface:write: File "/usr/local/lib/python3.9/threading.py", line 980, in _bootstrap_inner
2024-12-22 13:18:53.242 Thread-203 udi_interface      ERROR    udi_interface:write: self.run()
2024-12-22 13:18:53.243 Thread-203 udi_interface      ERROR    udi_interface:write: File "/usr/local/lib/python3.9/threading.py", line 917, in run
2024-12-22 13:18:53.243 Thread-203 udi_interface      ERROR    udi_interface:write: self._target(*self._args, **self._kwargs)
2024-12-22 13:18:53.243 Thread-203 udi_interface      ERROR    udi_interface:write: File "/var/polyglot/pg3/ns/0021b9026837_4/nodes/Controller.py", line 461, in handler_typed_data
2024-12-22 13:18:53.244 Thread-203 udi_interface      ERROR    udi_interface:write: self.add_manual_devices()
2024-12-22 13:18:53.244 Thread-203 udi_interface      ERROR    udi_interface:write: File "/var/polyglot/pg3/ns/0021b9026837_4/nodes/Controller.py", line 140, in add_manual_devices
2024-12-22 13:18:53.244 Thread-203 udi_interface      ERROR    udi_interface:write: res = future.result()
2024-12-22 13:18:53.244 Thread-203 udi_interface      ERROR    udi_interface:write: File "/usr/local/lib/python3.9/concurrent/futures/_base.py", line 446, in result
2024-12-22 13:18:53.244 Thread-203 udi_interface      ERROR    udi_interface:write: return self.__get_result()
2024-12-22 13:18:53.245 Thread-203 udi_interface      ERROR    udi_interface:write: File "/usr/local/lib/python3.9/concurrent/futures/_base.py", line 391, in __get_result
2024-12-22 13:18:53.245 Thread-203 udi_interface      ERROR    udi_interface:write: raise self._exception
2024-12-22 13:18:53.245 Thread-203 udi_interface      ERROR    udi_interface:write: File "/var/polyglot/pg3/ns/0021b9026837_4/nodes/Controller.py", line 147, in _add_manual_devices
2024-12-22 13:18:53.245 Thread-203 udi_interface      ERROR    udi_interface:write: LOGGER.info(f"Adding manual device {mdev['address']}")
2024-12-22 13:18:53.245 Thread-203 udi_interface      ERROR    udi_interface:write: KeyError
2024-12-22 13:18:53.245 Thread-203 udi_interface      ERROR    udi_interface:write: :
2024-12-22 13:18:53.245 Thread-203 udi_interface      ERROR    udi_interface:write: 'address'
 

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)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      37.2k
    • Total Posts
      372.4k
×
×
  • Create New...