tlightne Posted June 30, 2022 Posted June 30, 2022 The developer listed in the store is @TangoWhiskey1 Not sure if anybody is supporting this Node server any longer but It runs with out error on PG2 but I get the following errors un PG3.: 6-29 12:02:18,652 Thread-3 udi_interface INFO Shelly_RGBW2_Nodeserver:auto_find_devices: Controller: Found 1 devices: 2022-06-29 12:02:18,653 Thread-3 udi_interface ERROR udi_interface:write: Exception in thread 2022-06-29 12:02:18,654 Thread-3 udi_interface ERROR udi_interface:write: Thread-3 2022-06-29 12:02:18,654 Thread-3 udi_interface ERROR udi_interface:write: : 2022-06-29 12:02:18,655 Thread-3 udi_interface ERROR udi_interface:write: Traceback (most recent call last): 2022-06-29 12:02:18,656 Thread-3 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner 2022-06-29 12:02:18,660 Thread-3 udi_interface ERROR udi_interface:write: self.run() 2022-06-29 12:02:18,661 Thread-3 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.8/threading.py", line 870, in run 2022-06-29 12:02:18,665 Thread-3 udi_interface ERROR udi_interface:write: self._target(*self._args, **self._kwargs) 2022-06-29 12:02:18,666 Thread-3 udi_interface ERROR udi_interface:write: File "./Shelly_RGBW2_Nodeserver.py", line 180, in on_discover 2022-06-29 12:02:18,668 Thread-3 udi_interface ERROR udi_interface:write: dev_found = self.auto_find_devices() 2022-06-29 12:02:18,669 Thread-3 udi_interface ERROR udi_interface:write: File "./Shelly_RGBW2_Nodeserver.py", line 129, in auto_find_devices 2022-06-29 12:02:18,671 Thread-3 udi_interface ERROR udi_interface:write: self.device_nodes[isy_addr] = [clened_dev_name, ipAddr] 2022-06-29 12:02:18,672 Thread-3 udi_interface ERROR udi_interface:write: NameError 2022-06-29 12:02:18,672 Thread-3 udi_interface ERROR udi_interface:write: : 2022-06-29 12:02:18,673 Thread-3 udi_interface ERROR udi_interface:write: name 'clened_dev_name' is not defined 2022-06-29 12:02:57,731 Thread-5 udi_interface.custom INFO custom:_save: Sending data notices to Polyglot. 2022-06-29 12:02:57,733 Thread-5 udi_interface ERROR udi_interface:write: Exception in thread 2022-06-29 12:02:57,734 Thread-5 udi_interface ERROR udi_interface:write: Thread-5 2022-06-29 12:02:57,735 Thread-5 udi_interface ERROR udi_interface:write: : 2022-06-29 12:02:57,735 Thread-5 udi_interface ERROR udi_interface:write: Traceback (most recent call last): 2022-06-29 12:02:57,736 Thread-5 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner 2022-06-29 12:02:57,741 Thread-5 udi_interface ERROR udi_interface:write: self.run() 2022-06-29 12:02:57,742 Thread-5 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.8/threading.py", line 870, in run 2022-06-29 12:02:57,745 Thread-5 udi_interface ERROR udi_interface:write: self._target(*self._args, **self._kwargs) 2022-06-29 12:02:57,747 Thread-5 udi_interface ERROR udi_interface:write: File "./Shelly_RGBW2_Nodeserver.py", line 65, in parameterHandler 2022-06-29 12:02:57,748 Thread-5 udi_interface ERROR udi_interface:write: if device_name[:device_name.index('_')+1] not in _NETWORK_DEVICE_IDS.values(): 2022-06-29 12:02:57,749 Thread-5 udi_interface ERROR udi_interface:write: ValueError 2022-06-29 12:02:57,750 Thread-5 udi_interface ERROR udi_interface:write: : 2022-06-29 12:02:57,751 Thread-5 udi_interface ERROR udi_interface:write: substring not found 2022-06-29 12:02:57,904 MQTT udi_interface.interface INFO interface:_message: Successfully set key = notices 2022-06-29 12:03:04,667 Command udi_interface.interface INFO interface:_handleInput: Received stop from Polyglot... Shutting Down. 2022-06-29 12:03:04,669 Command udi_interface.interface INFO interface:stop: Disconnecting from MQTT... localhost:1888 2022-06-29 12:03:04,670 Command udi_interface.interface INFO interface:_disconnect: MQTT Graceful disconnection. 2022-06-29 12:03:12,244 MainThread udi_interface INFO polylogger:set_basic_config: set_basic_config: enable=True level=30 2022-06-29 12:03:14,800 MainThread udi_interface INFO __init__:<module>: UDI Python Interface for Polyglot version 3 3.0.46 Starting... 2022-06-29 12:03:15,541 MainThread udi_interface.interface INFO interface:__init__: Initialization received from Polyglot V3 3.0.63 [ISY: 5.4.4, Slot: 4] 2022-06-29 12:03:15,543 MainThread udi_interface.interface INFO interface:__init__: Connect: Network Interface: {'addr': '192.168.1.87', 'netmask': '255.255.255.0', 'broadcast': '192.168.1.255'} 2022-06-29 12:03:15,544 Interface udi_interface.interface INFO interface:_startMqtt: Connecting to MQTT... localhost:1888 2022-06-29 12:03:15,550 MainThread udi_interface DEBUG Shelly_RGBW2_Nodeserver:__init__: Entered init 2022-06-29 12:03:15,630 MainThread udi_interface.interface WARNING interface:send: MQTT Send waiting on connection :: {'set': [{'key': 'customparamsdoc', 'value': '<h1>Shelly RGBW2 Configuration</h1>\n\n<p>This configuration is usually set automatically when the Node server is started, or can be updated using the "Discover" button above. However, you can manually set the values if you wish to.</p>\n\n<p>To manually add a device, use the Device ID found in the Settings->Device Info->DeviceID of the RGBW2 web page as the key, add the prefix "RGBW2<em>" to it, and use the IPV4 address as the value in a Custom Configuration Parameter of the Node server Configuration. For example if the device ID on the RGBW2 is 123ABC and it is at address 192.168.1.1, the custom parameter values are:\nKey: RGBW2</em>123ABC\nValue 192.168.1.1</p>\n\n<p>If you remove a RGBW2 from your system, delete the corresponding name/address entry in the Custom Configuration Parameter area of the Node server Configuration.</p>\n'}]} 2022-06-29 12:03:15,636 MQTT udi_interface.interface INFO interface:_connect: MQTT Connected with result code 0 (Success) 2022-06-29 12:03:15,638 MQTT udi_interface.interface INFO interface:_connect: MQTT Subscribing to topic: udi/pg3/ns/clients/00:0d:b9:59:41:e4_4 - MID: 1 Result: 0 2022-06-29 12:03:15,663 MQTT udi_interface.interface INFO interface:_subscribe: MQTT Subscribed Succesfully for Message ID: 1 - QoS: (0,) 2022-06-29 12:03:18,636 MainThread udi_interface.interface INFO interface:updateProfile: Sending Install Profile command to Polyglot. 2022-06-29 12:03:18,641 MainThread udi_interface INFO Shelly_RGBW2_Nodeserver:start: Controller: Started ShellyRGBW2 Node Server 2022-06-29 12:03:18,642 MainThread udi_interface.custom INFO custom:_save: Sending data notices to Polyglot. 2022-06-29 12:03:18,643 MainThread udi_interface INFO Shelly_RGBW2_Nodeserver:start: Waiting for a valid user config 2022-06-29 12:03:18,694 MQTT udi_interface.interface INFO interface:_message: custom data response {'customparamsdoc': '<h1>Shelly RGBW2 Configuration</h1>\n\n<p>This configuration is usually set automatically when the Node server is started, or can be updated using the "Discover" button above. However, you can manually set the values if you wish to.</p>\n\n<p>To manually add a device, use the Device ID found in the Settings->Device Info->DeviceID of the RGBW2 web page as the key, add the prefix "RGBW2<em>" to it, and use the IPV4 address as the value in a Custom Configuration Parameter of the Node server Configuration. For example if the device ID on the RGBW2 is 123ABC and it is at address 192.168.1.1, the custom parameter values are:\nKey: RGBW2</em>123ABC\nValue 192.168.1.1</p>\n\n<p>If you remove a RGBW2 from your system, delete the corresponding name/address entry in the Custom Configuration Parameter area of the Node server Configuration.</p>\n'} 2022-06-29 12:03:18,735 MQTT udi_interface.interface INFO interface:_message: Successfully set key = customparamsdoc 2022-06-29 12:03:18,955 Thread-1 udi_interface.custom INFO custom:_save: Sending data notices to Polyglot. 2022-06-29 12:03:18,960 Thread-1 udi_interface ERROR udi_interface:write: Exception in thread 2022-06-29 12:03:18,962 Thread-1 udi_interface ERROR udi_interface:write: Thread-1 2022-06-29 12:03:18,966 Thread-1 udi_interface ERROR udi_interface:write: : 2022-06-29 12:03:18,969 Thread-1 udi_interface ERROR udi_interface:write: Traceback (most recent call last): 2022-06-29 12:03:18,970 Thread-1 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner 2022-06-29 12:03:18,972 MQTT udi_interface.interface INFO interface:_message: Successfully set key = notices 2022-06-29 12:03:18,977 Thread-1 udi_interface ERROR udi_interface:write: self.run() 2022-06-29 12:03:18,978 Thread-1 udi_interface ERROR udi_interface:write: File "/usr/local/lib/python3.8/threading.py", line 870, in run 2022-06-29 12:03:18,982 Thread-1 udi_interface ERROR udi_interface:write: self._target(*self._args, **self._kwargs) 2022-06-29 12:03:18,983 Thread-1 udi_interface ERROR udi_interface:write: File "./Shelly_RGBW2_Nodeserver.py", line 65, in parameterHandler 2022-06-29 12:03:18,985 Thread-1 udi_interface ERROR udi_interface:write: if device_name[:device_name.index('_')+1] not in _NETWORK_DEVICE_IDS.values(): 2022-06-29 12:03:18,986 Thread-1 udi_interface ERROR udi_interface:write: ValueError 2022-06-29 12:03:18,986 Thread-1 udi_interface ERROR udi_interface:write: : 2022-06-29 12:03:18,987 Thread-1 udi_interface ERROR udi_interface:write: substring not found 2022-06-29 12:03:19,071 MQTT udi_interface.interface INFO interface:_message: Successfully set key = notices 2022-06-29 12:03:19,232 MQTT udi_interface.interface INFO interface:_message: Profile installation finished 2022-06-29 12:03:23,673 MainThread udi_interface.custom INFO custom:_save: Sending data notices to Polyglot. 2022-06-29 12:03:23,675 MainThread udi_interface INFO Shelly_RGBW2_Nodeserver:start: Waiting for a valid user config 2022-06-29 12:03:23,806 MQTT udi_interface.interface INFO interface:_message: Successfully set key = notices 2022-06-29 12:03:28,683 MainThread udi_interface.custom INFO custom:_save: Sending data notices to Polyglot. 2022-06-29 12:03:28,685 MainThread udi_interface INFO Shelly_RGBW2_Nodeserver:start: Waiting for a valid user config 2022-06-29 12:03:28,779 MQTT udi_interface.interface INFO interface:_message: Successfully set key = notices 2022-06-29 12:03:33,694 MainThread udi_interface.custom INFO custom:_save: Sending data notices to Polyglot. 2022-06-29 12:03:33,696 MainThread udi_interface INFO Shelly_RGBW2_Nodeserver:start: Waiting for a valid user config 2022-06-29 12:03:33,781 MQTT udi_interface.interface INFO interface:_message: Successfully set key = notices 2022-06-29 12:03:38,701 MainThread udi_interface.custom INFO custom:_save: Sending data notices to Polyglot. 2022-06-29 12:03:38,703 MainThread udi_interface INFO Shelly_RGBW2_Nodeserver:start: Waiting for a valid user config 2022-06-29 12:03:38,792 MQTT udi_interface.interface INFO interface:_message: Successfully set key = notices 2022-06-29 12:03:43,705 MainThread udi_interface.custom INFO custom:_save: Sending data notices to Polyglot. 2022-06-29 12:03:43,707 MainThread udi_interface INFO Shelly_RGBW2_Nodeserver:start: Waiting for a valid user config 2022-06-29 12:03:43,802 MQTT udi_interface.interface INFO interface:_message: Successfully set key = notices 2022-06-29 12:03:48,852 MainThread udi_interface.custom INFO custom:_save: Sending data notices to Polyglot. 2022-06-29 12:03:48,854 MainThread udi_interface INFO Shelly_RGBW2_Nodeserver:start: Waiting for a valid user config 2022-06-29 12:03:48,950 MQTT udi_interface.interface INFO interface:_message: Successfully set key = notices 2022-06-29 12:03:53,951 MainThread udi_interface.custom INFO custom:_save: Sending data notices to Polyglot. 2022-06-29 12:03:53,953 MainThread udi_interface INFO Shelly_RGBW2_Nodeserver:start: Waiting for a valid user config 2022-06-29 12:03:54,059 MQTT udi_interface.interface INFO interface:_message: Successfully set key = notices 2022-06-29 12:03:58,971 MainThread udi_interface.custom INFO custom:_save: Sending data notices to Polyglot. 2022-06-29 12:03:58,974 MainThread udi_interface INFO Shelly_RGBW2_Nodeserver:start: Waiting for a valid user config 2022-06-29 12:03:59,063 MQTT udi_interface.interface INFO interface:_message: Successfully set key = notices 2022-06-29 12:04:04,001 MainThread udi_interface.custom INFO custom:_save: Sending data notices to Polyglot. 2022-06-29 12:04:04,003 MainThread udi_interface INFO Shelly_RGBW2_Nodeserver:start: Waiting for a valid user config 2022-06-29 12:04:04,091 MQTT udi_interface.interface INFO interface:_message: Successfully set key = notices 2022-06-29 12:04:09,033 MainThread udi_interface.custom INFO custom:_save: Sending data notices to Polyglot. 2022-06-29 12:04:09,036 MainThread udi_interface INFO Shelly_RGBW2_Nodeserver:start: Waiting for a valid user config 2022-06-29 12:04:09,147 MQTT udi_interface.interface INFO interface:_message: Successfully set key = notices 2022-06-29 12:04:14,085 MainThread udi_interface.custom INFO custom:_save: Sending data notices to Polyglot. 2022-06-29 12:04:14,088 MainThread udi_interface INFO Shelly_RGBW2_Nodeserver:start: Waiting for a valid user config 2022-06-29 12:04:14,175 MQTT udi_interface.interface INFO interface:_message: Successfully set key = notices 2022-06-29 12:04:19,184 MainThread udi_interface.custom INFO custom:_save: Sending data notices to Polyglot. 2022-06-29 12:04:19,186 MainThread udi_interface INFO Shelly_RGBW2_Nodeserver:start: Waiting for a valid user config 2022-06-29 12:04:19,285 MQTT udi_interface.interface INFO interface:_message: Successfully set key = notices 2022-06-29 12:04:24,195 MainThread udi_interface.custom INFO custom:_save: Sending data notices to Polyglot. 2022-06-29 12:04:24,198 MainThread udi_interface INFO Shelly_RGBW2_Nodeserver:start: Waiting for a valid user config 2022-06-29 12:04:24,293 MQTT udi_interface.interface INFO interface:_message: Successfully set key = notices 2022-06-29 12:04:27,603 Command udi_interface.interface INFO interface:_handleInput: Received stop from Polyglot... Shutting Down. 2022-06-29 12:04:27,605 Command udi_interface.interface INFO interface:stop: Disconnecting from MQTT... localhost:1888 2022-06-29 12:04:27,606 Command udi_interface.interface INFO interface:_disconnect: MQTT Graceful disconnection. 2022-06-29 12:04:29,200 MainThread udi_interface.custom INFO custom:_save: Sending data notices to Polyglot. 2022-06-29 12:04:29,202 MainThread udi_interface INFO Shelly_RGBW2_Nodeserver:start: Waiting for a valid user config Thank you...
bpwwer Posted June 30, 2022 Posted June 30, 2022 Refresh the store, verify that version 2.0.1 of the node server shows up and restart the node server. Let me know if it works. 1
tlightne Posted June 30, 2022 Author Posted June 30, 2022 @bpwwer The errors are gone however it is not building the nodes. It does the device discovery and updates the configuration. I suspect it is a naming issue. The name of the node is RGBW2_D8CA43. That is autogenerated during discovery. PG2 has no issue with that name but I believe PG3 has an issue with it. Thank you
bpwwer Posted June 30, 2022 Posted June 30, 2022 PG3 doesn't really care about the name. The ISY may have some restrictions, but that would be the same for both PG3 and PG2. The address on the other hand has more restrictions and probably more likely to cause a failure. Can you PM me a log package?
tlightne Posted July 2, 2022 Author Posted July 2, 2022 @bpwwer Sent you another Log package Friday evening. Still see errors. Thank you..
Recommended Posts