@bpwwer Two things I am seeing.
1) after a restart of WeatherPoly NS if you watch the Node tab you will see it count down from, in my case, 6 nodes to 1 or 2. If you hit restart again it will count up to 6 then drop to 5 nodes. These node count changes also affect ISY-Polisy, meaning the nodes in ISY appear or disappear.
2) from a browser if I type in https://192.168.0.165:8088/acuparse?tempf=23 or http://192.168.0.165:8088/acuparse?tempf=23 neither command make it to the node server. During config I had to change the port becasue ISY-Polisy uses port 8080.
Any thoughts?
Thank you,
Tim
2022-01-30 07:22:57,920 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll
2022-01-30 07:23:08,277 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message stop
2022-01-30 07:23:08,279 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING stop
2022-01-30 07:23:08,281 Command udi_interface.interface INFO interface:_handleInput: Received stop from Polyglot... Shutting Down.
2022-01-30 07:23:08,282 Command udi_interface.interface INFO interface:stop: Disconnecting from MQTT... localhost:1888
2022-01-30 07:23:08,283 Command udi_interface.interface INFO interface:_disconnect: MQTT Graceful disconnection.
2022-01-30 07:23:08,286 MQTT udi_interface.interface DEBUG interface:_startMqtt: MQTT: Done
2022-01-30 07:23:34,901 MainThread udi_interface INFO polylogger:set_basic_config: set_basic_config: enable=True level=30
2022-01-30 07:23:39,977 MainThread udi_interface INFO __init__:<module>: UDI Python Interface for Polyglot version 3 3.0.33 Starting...
2022-01-30 07:23:40,034 MainThread udi_interface.interface INFO interface:__init__: Connect: Network Interface: {'addr': '192.168.0.165', 'netmask': '255.255.255.0', 'broadcast': '192.168.0.255'}
2022-01-30 07:23:40,036 Interface udi_interface.interface INFO interface:_startMqtt: Connecting to MQTT... localhost:1888
2022-01-30 07:23:40,046 MainThread udi_interface.interface WARNING interface:db_getNodeDrivers: nodeserver config has not yet been recieved.
2022-01-30 07:23:40,048 MainThread udi_interface.interface WARNING interface:send: MQTT Send waiting on connection :: {'config': {}}
2022-01-30 07:23:40,698 MQTT udi_interface.interface INFO interface:_connect: MQTT Connected with result code 0 (Success)
2022-01-30 07:23:40,700 MQTT udi_interface.interface INFO interface:_connect: MQTT Subscribing to topic: udi/pg3/ns/clients/00:0d:b9:59:39:b0_6 - MID: 1 Result: 0
2022-01-30 07:23:40,753 MQTT udi_interface.interface INFO interface:_subscribe: MQTT Subscribed Succesfully for Message ID: 1 - QoS: (0,)
2022-01-30 07:23:43,055 MainThread udi_interface.interface INFO interface:addNode: Adding node WeatherPoly(controller) [None]
2022-01-30 07:23:46,338 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message getAll
2022-01-30 07:23:46,340 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING getAll
2022-01-30 07:23:46,342 Thread-1 udi_interface.custom DEBUG custom:load: CUSTOM: load {'Port': '8088', 'Units': 'us', 'IncomingUnits': 'us', 'humidity-main': 'humidity', 'pressure-sealevel': 'baromin', 'rain-daily': 'dailyrainin', 'rain-rate': 'rainin', 'temperature-dewpoint': 'dewptf', 'temperature-main': 'tempf', 'wind-avgwindspeed': 'windspdmph_avg2m', 'wind-winddir': 'winddir', 'wind-windspeed': 'windspeedmph'}
2022-01-30 07:23:46,343 Command udi_interface.custom DEBUG custom:load: CUSTOM: load {}
2022-01-30 07:23:46,343 Thread-1 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking Port / 8088
2022-01-30 07:23:46,344 Command udi_interface.interface DEBUG interface:_handleInput: Key nsdata should be passed to node server.
2022-01-30 07:23:46,345 Thread-1 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking Units / us
2022-01-30 07:23:46,346 Thread-1 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking IncomingUnits / us
2022-01-30 07:23:46,346 Thread-1 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking humidity-main / humidity
2022-01-30 07:23:46,347 Thread-1 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking pressure-sealevel / baromin
2022-01-30 07:23:46,347 Thread-1 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking rain-daily / dailyrainin
2022-01-30 07:23:46,348 Thread-1 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking rain-rate / rainin
2022-01-30 07:23:46,348 Thread-1 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking temperature-dewpoint / dewptf
2022-01-30 07:23:46,349 Thread-1 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking temperature-main / tempf
2022-01-30 07:23:46,349 Thread-1 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking wind-avgwindspeed / windspdmph_avg2m
2022-01-30 07:23:46,350 Thread-1 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking wind-winddir / winddir
2022-01-30 07:23:46,350 Thread-1 udi_interface.custom DEBUG custom:load: CUSTOM: -- checking wind-windspeed / windspeedmph
2022-01-30 07:23:46,351 Thread-1 udi_interface.custom DEBUG custom:clear: CUSTOM: Clear ...saving
2022-01-30 07:23:46,351 Thread-1 udi_interface.custom INFO custom:_save: Sending data notices to Polyglot.
2022-01-30 07:23:46,352 Thread-1 udi_interface.interface DEBUG interface:send: PUBLISHING {'set': [{'key': 'notices', 'value': {}}]}
2022-01-30 07:23:46,353 Thread-1 udi_interface INFO weatherstation:set_configuration: Check for existing configuration value
2022-01-30 07:23:46,354 Thread-1 udi_interface INFO weatherstation:map_nodes: Trying to create a mapping
2022-01-30 07:23:46,355 Thread-1 udi_interface INFO weatherstation:map_nodes: MAPPING humidity to humidity-main
2022-01-30 07:23:46,356 Thread-1 udi_interface INFO weatherstation:map_nodes: MAPPING baromin to pressure-sealevel
2022-01-30 07:23:46,358 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message getNsInfo
2022-01-30 07:23:46,359 Thread-1 udi_interface INFO weatherstation:map_nodes: MAPPING dailyrainin to rain-daily
2022-01-30 07:23:46,360 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING getNsInfo
2022-01-30 07:23:46,360 Thread-1 udi_interface INFO weatherstation:map_nodes: MAPPING rainin to rain-rate
2022-01-30 07:23:46,362 Thread-1 udi_interface INFO weatherstation:map_nodes: MAPPING dewptf to temperature-dewpoint
2022-01-30 07:23:46,362 Thread-1 udi_interface INFO weatherstation:map_nodes: MAPPING tempf to temperature-main
2022-01-30 07:23:46,363 Thread-1 udi_interface INFO weatherstation:map_nodes: MAPPING windspdmph_avg2m to wind-avgwindspeed
2022-01-30 07:23:46,363 Thread-1 udi_interface INFO weatherstation:map_nodes: MAPPING winddir to wind-winddir
2022-01-30 07:23:46,364 Thread-1 udi_interface INFO weatherstation:map_nodes: MAPPING windspeedmph to wind-windspeed
2022-01-30 07:23:46,365 Thread-1 udi_interface INFO weatherstation:map_nodes: Try to create node definition profile based on config.
2022-01-30 07:23:46,366 Thread-1 udi_interface INFO write_profile:write_profile: write_profile: Writing profile/nodedef/nodedefs.xml
2022-01-30 07:23:46,370 Thread-1 udi_interface INFO write_profile:write_profile_zip: write_profile_zip: profile/version.txt as version.txt
2022-01-30 07:23:46,374 Thread-1 udi_interface INFO write_profile:write_profile_zip: write_profile_zip: profile/nodedef/nodedefs.xml as nodedef/nodedefs.xml
2022-01-30 07:23:46,377 Thread-1 udi_interface INFO write_profile:write_profile_zip: write_profile_zip: profile/nls/en_us.txt as nls/en_us.txt
2022-01-30 07:23:46,379 Thread-1 udi_interface INFO write_profile:write_profile_zip: write_profile_zip: profile/editor/editors.xml as editor/editors.xml
2022-01-30 07:23:46,382 Thread-1 udi_interface INFO write_profile:write_profile: write_profile: done.
2022-01-30 07:23:46,382 Thread-1 udi_interface.interface INFO interface:installprofile: Sending Install Profile command to Polyglot.
2022-01-30 07:23:46,383 Thread-1 udi_interface.interface WARNING interface:installprofile: installprofile() is deprecated. Use updateProfile() instead.
2022-01-30 07:23:46,383 Thread-1 udi_interface.interface DEBUG interface:send: PUBLISHING {'installprofile': {'reboot': False}}
2022-01-30 07:23:46,384 Thread-1 udi_interface INFO weatherstation:discover: Creating nodes.
2022-01-30 07:23:46,385 Thread-1 udi_interface INFO weatherstation:discover: Creating Temperature node
2022-01-30 07:23:46,386 Thread-1 udi_interface.interface INFO interface:addNode: Adding node Temperatures(temperature) [None]
2022-01-30 07:23:46,386 Thread-1 udi_interface.interface DEBUG interface:send: PUBLISHING {'addnode': [{'address': 'temperature', 'name': 'Temperatures', 'nodeDefId': 'temperature', 'primaryNode': 'controller', 'drivers': [{'driver': 'GV0', 'value': 0, 'uom': 17}, {'driver': 'ST', 'value': 0, 'uom': 17}], 'hint': 16777215, 'private': None}]}
2022-01-30 07:23:46,388 Thread-1 udi_interface INFO weatherstation:discover: Creating Humidity node
2022-01-30 07:23:46,389 Thread-1 udi_interface.node DEBUG node:_updateDrivers: Update humidity default ST to 0 / 51
2022-01-30 07:23:46,389 Thread-1 udi_interface.interface INFO interface:addNode: Adding node Humidity(humidity) [None]
2022-01-30 07:23:46,390 Thread-1 udi_interface.interface DEBUG interface:send: PUBLISHING {'addnode': [{'address': 'humidity', 'name': 'Humidity', 'nodeDefId': 'humidity', 'primaryNode': 'controller', 'drivers': [{'driver': 'ST', 'value': 0, 'uom': 51}], 'hint': 16777215, 'private': None}]}
2022-01-30 07:23:46,391 Thread-1 udi_interface INFO weatherstation:discover: Creating Pressure node
2022-01-30 07:23:46,392 Thread-1 udi_interface.interface INFO interface:addNode: Adding node Barometric Pressure(pressure) [None]
2022-01-30 07:23:46,392 Thread-1 udi_interface.interface DEBUG interface:send: PUBLISHING {'addnode': [{'address': 'pressure', 'name': 'Barometric Pressure', 'nodeDefId': 'pressure', 'primaryNode': 'controller', 'drivers': [{'driver': 'GV0', 'value': 0, 'uom': 23}], 'hint': 16777215, 'private': None}]}
2022-01-30 07:23:46,394 Thread-1 udi_interface INFO weatherstation:discover: Creating Wind node
2022-01-30 07:23:46,395 Thread-1 udi_interface.interface INFO interface:addNode: Adding node Wind(wind) [None]
2022-01-30 07:23:46,396 Thread-1 udi_interface.interface DEBUG interface:send: PUBLISHING {'addnode': [{'address': 'wind', 'name': 'Wind', 'nodeDefId': 'wind', 'primaryNode': 'controller', 'drivers': [{'driver': 'GV4', 'value': 0, 'uom': 48}, {'driver': 'GV0', 'value': 0, 'uom': 14}, {'driver': 'ST', 'value': 0, 'uom': 48}], 'hint': 16777215, 'private': None}]}
2022-01-30 07:23:46,398 Thread-1 udi_interface INFO weatherstation:discover: Creating Precipitation node
2022-01-30 07:23:46,399 Thread-1 udi_interface.interface INFO interface:addNode: Adding node Precipitation(rain) [None]
2022-01-30 07:23:46,399 Thread-1 udi_interface.interface DEBUG interface:send: PUBLISHING {'addnode': [{'address': 'rain', 'name': 'Precipitation', 'nodeDefId': 'precipitation', 'primaryNode': 'controller', 'drivers': [{'driver': 'GV1', 'value': 0, 'uom': 105}, {'driver': 'ST', 'value': 0, 'uom': 24}], 'hint': 16777215, 'private': None}]}
2022-01-30 07:23:46,400 Thread-1 udi_interface INFO weatherstation:discover: Deleting orphaned light node
2022-01-30 07:23:46,401 Thread-1 udi_interface.interface INFO interface:delNode: Removing node light
2022-01-30 07:23:46,401 Thread-1 udi_interface.interface DEBUG interface:send: PUBLISHING {'removenode': [{'address': 'light'}]}
2022-01-30 07:23:46,402 Thread-1 udi_interface INFO weatherstation:discover: Deleting orphaned lightning node
2022-01-30 07:23:46,403 Thread-1 udi_interface.interface INFO interface:delNode: Removing node lightning
2022-01-30 07:23:46,403 Thread-1 udi_interface.interface DEBUG interface:send: PUBLISHING {'removenode': [{'address': 'lightning'}]}
2022-01-30 07:23:47,534 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message addnode
2022-01-30 07:23:47,535 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING addnode
2022-01-30 07:23:47,538 Thread-3 udi_interface INFO weatherstation:start: Starting WeatherPoly Node Server
2022-01-30 07:23:47,539 Thread-3 udi_interface.interface INFO interface:updateProfile: Sending Install Profile command to Polyglot.
2022-01-30 07:23:47,540 Command udi_interface.interface DEBUG interface:_handleResult: add node response: {'id': '2828ef24-73ba-4fe8-bbd6-af98f8b00cd3', 'uuid': '00:0d:b9:59:39:b0', 'profileNum': 6, 'address': 'controller', 'name': 'WeatherPoly', 'nodeDefId': 'WeatherPoly', 'nls': None, 'hint': '0x00000000', 'controller': 0, 'primaryNode': 'controller', 'private': None, 'isPrimary': 1, 'enabled': 1, 'timeAdded': 1643499288131, 'timeModified': 1643499288131, 'dbVersion': 1}
2022-01-30 07:23:47,540 Thread-3 udi_interface.interface DEBUG interface:send: PUBLISHING {'installprofile': {'reboot': False}}
2022-01-30 07:23:47,665 Thread-3 udi_interface.interface DEBUG interface:setCustomParamsDoc: Sending customparamsdoc to Polyglot.
2022-01-30 07:23:47,667 Thread-3 udi_interface.interface DEBUG interface:send: PUBLISHING {'set': [{'key': 'customparamsdoc', 'value': '<h2>Configuration</h2>\n\n<p>The WeatherPoly node server has the following user configuration\nparameters:</p>\n\n<ul>\n<li>Port : The TCP port to listen on for connections from weather software.</li>\n<li>Units : The units used to display the data. Valid settings are: \'metric\', \'us\', or \'uk\'. The default is \'metric\'</li>\n<li>IncomingUnits: The units used by the data provider. Valid settings are \'metric\', \'us\', and \'uk\'. Default is \'metric\'.</li>\n</ul>\n\n<p>A mapping between the incoming data fields and the node server\'s nodes must be configured. The key is a node and data type combination and the value represents the incoming data field. How a data field is represented depends on the weather software.</p>\n\n<p>Valid nodes are: temperature, humidity, pressure, rain, wind, light, and lightning. See <a href="NODE_VALUE.md">node-value combinations</a> for a full list of node-values that can be used.</p>\n\n<h3>Cumulus software</h3>\n\n<p>Cumulus software allows you to configure what text string is used to represent each value. See the Cumulus documentation for a list of valid tags. A Cumulus HTTP API value of:</p>\n\n<p>http://<node server ip>:8080/cumulus?temp=<#temp>&humidity=<#humidity></p>\n\n<p>Will send temperature and humidity data. This can be mapped to node server nodes using:</p>\n\n<p>temperature-main : temp\nhumidity-main : humidity</p>\n\n<h3>acuparse</h3>\n\n<p>acuparse software for Acurite weather stations https://github.com/acuparse/acuparse can be configured to send data to a generic service. To configure acuparse to send data to WeatherPoly, set the generic URL to:</p>\n\n<p>http://<node server ip>:8080/acuparse</p>\n\n<h4>Configure WeatherPoly with the following mapping:</h4>\n\n<ul>\n<li>temperature-main = tempf</li>\n<li>temperature-dewpoint = dewptf</li>\n<li>humidity-main = humidity</li>\n<li>pressure-sealevel = baromin</li>\n<li>wind-windspeed = windspeedmph</li>\n<li>wind-winddir = winddir</li>\n<li>wind-avgwindspeed = windspdmph_avg2m</li>\n<li>rain-rate = rainin</li>\n<li>rain-daily = dailyrainin</li>\n</ul>\n\n<p>Input units should be set as US.</p>\n\n<h3>WeeWX</h3>\n\n<p>WeeWX data is supported through an extension to WeeWX called weewx-crt which can output the data in Cumulus Real Time format. The weewx-crt extension is configured by setting the realtime_url to:</p>\n\n<p>http://<node server ip>:8080/weewx</p>\n\n<h4>Configure WeatherPoly mappings:</h4>\n\n<p>The real-time data file is a fixed format file with the weather values separated by spaces. This is split so that the space separated value\'s index is mapped to the node servers nodes-values. For example:\n* temperature-main = 2\n* temperature-dewpoint = 3\n* humidity-main = 4\n* etc.</p>\n\n<h3>MeteoBridge</h3>\n\n<p>MeteoBridge data is supported using the Home Weather Station weather network configuration. For the API URL use</p>\n\n<p>http://<node server ip>:8080/</p>\n\n<p>MeteoBridge will send a space separated list of values. These are mapped to the node server\'s nodes using the value\'s position in that list. The table below shows the values and numeric position.</p>\n\n<h4>MeteoBridge Field list</h4>\n\n<p><a href="METEOBRIDGE.md">MeteoBridge field list</a></p>\n'}]}
2022-01-30 07:23:47,669 Thread-3 udi_interface INFO weatherstation:discover: Creating nodes.
2022-01-30 07:23:47,671 Thread-3 udi_interface INFO weatherstation:discover: Creating Temperature node
2022-01-30 07:23:47,671 Thread-3 udi_interface.interface INFO interface:delNode: Removing node temperature
2022-01-30 07:23:47,672 Thread-3 udi_interface.interface DEBUG interface:send: PUBLISHING {'removenode': [{'address': 'temperature'}]}
2022-01-30 07:23:47,674 Thread-3 udi_interface.interface INFO interface:addNode: Adding node Temperatures(temperature) [None]
2022-01-30 07:23:47,676 Thread-3 udi_interface.interface DEBUG interface:send: PUBLISHING {'addnode': [{'address': 'temperature', 'name': 'Temperatures', 'nodeDefId': 'temperature', 'primaryNode': 'controller', 'drivers': [{'driver': 'GV0', 'value': 0, 'uom': 17}, {'driver': 'ST', 'value': 0, 'uom': 17}], 'hint': 16777215, 'private': None}]}
2022-01-30 07:23:47,678 Thread-3 udi_interface INFO weatherstation:discover: Creating Humidity node
2022-01-30 07:23:47,679 Thread-3 udi_interface.interface INFO interface:delNode: Removing node humidity
2022-01-30 07:23:47,681 Thread-3 udi_interface.interface DEBUG interface:send: PUBLISHING {'removenode': [{'address': 'humidity'}]}
2022-01-30 07:23:47,683 Thread-3 udi_interface.node DEBUG node:_updateDrivers: Update humidity default ST to 0 / 51
2022-01-30 07:23:47,684 Thread-3 udi_interface.interface INFO interface:addNode: Adding node Humidity(humidity) [None]
2022-01-30 07:23:47,684 Thread-3 udi_interface.interface DEBUG interface:send: PUBLISHING {'addnode': [{'address': 'humidity', 'name': 'Humidity', 'nodeDefId': 'humidity', 'primaryNode': 'controller', 'drivers': [{'driver': 'ST', 'value': 0, 'uom': 51}], 'hint': 16777215, 'private': None}]}
2022-01-30 07:23:47,685 Thread-3 udi_interface INFO weatherstation:discover: Creating Pressure node
2022-01-30 07:23:47,686 Thread-3 udi_interface.interface INFO interface:delNode: Removing node pressure
2022-01-30 07:23:47,687 Thread-3 udi_interface.interface DEBUG interface:send: PUBLISHING {'removenode': [{'address': 'pressure'}]}
2022-01-30 07:23:47,688 Thread-3 udi_interface.interface INFO interface:addNode: Adding node Barometric Pressure(pressure) [None]
2022-01-30 07:23:47,689 Thread-3 udi_interface.interface DEBUG interface:send: PUBLISHING {'addnode': [{'address': 'pressure', 'name': 'Barometric Pressure', 'nodeDefId': 'pressure', 'primaryNode': 'controller', 'drivers': [{'driver': 'GV0', 'value': 0, 'uom': 23}], 'hint': 16777215, 'private': None}]}
2022-01-30 07:23:47,690 Thread-3 udi_interface INFO weatherstation:discover: Creating Wind node
2022-01-30 07:23:47,691 Thread-3 udi_interface.interface INFO interface:delNode: Removing node wind
2022-01-30 07:23:47,691 Thread-3 udi_interface.interface DEBUG interface:send: PUBLISHING {'removenode': [{'address': 'wind'}]}
2022-01-30 07:23:47,693 Thread-3 udi_interface.interface INFO interface:addNode: Adding node Wind(wind) [None]
2022-01-30 07:23:47,693 Thread-3 udi_interface.interface DEBUG interface:send: PUBLISHING {'addnode': [{'address': 'wind', 'name': 'Wind', 'nodeDefId': 'wind', 'primaryNode': 'controller', 'drivers': [{'driver': 'GV4', 'value': 0, 'uom': 48}, {'driver': 'GV0', 'value': 0, 'uom': 14}, {'driver': 'ST', 'value': 0, 'uom': 48}], 'hint': 16777215, 'private': None}]}
2022-01-30 07:23:47,695 Thread-3 udi_interface INFO weatherstation:discover: Creating Precipitation node
2022-01-30 07:23:47,695 Thread-3 udi_interface.interface INFO interface:delNode: Removing node rain
2022-01-30 07:23:47,696 Thread-3 udi_interface.interface DEBUG interface:send: PUBLISHING {'removenode': [{'address': 'rain'}]}
2022-01-30 07:23:47,697 Thread-3 udi_interface.interface INFO interface:addNode: Adding node Precipitation(rain) [None]
2022-01-30 07:23:47,698 Thread-3 udi_interface.interface DEBUG interface:send: PUBLISHING {'addnode': [{'address': 'rain', 'name': 'Precipitation', 'nodeDefId': 'precipitation', 'primaryNode': 'controller', 'drivers': [{'driver': 'GV1', 'value': 0, 'uom': 105}, {'driver': 'ST', 'value': 0, 'uom': 24}], 'hint': 16777215, 'private': None}]}
2022-01-30 07:23:47,699 Thread-3 udi_interface INFO weatherstation:discover: Deleting orphaned light node
2022-01-30 07:23:47,700 Thread-3 udi_interface.interface INFO interface:delNode: Removing node light
2022-01-30 07:23:47,700 Thread-3 udi_interface.interface DEBUG interface:send: PUBLISHING {'removenode': [{'address': 'light'}]}
2022-01-30 07:23:47,701 Thread-3 udi_interface INFO weatherstation:discover: Deleting orphaned lightning node
2022-01-30 07:23:47,702 Thread-3 udi_interface.interface INFO interface:delNode: Removing node lightning
2022-01-30 07:23:47,703 Thread-3 udi_interface.interface DEBUG interface:send: PUBLISHING {'removenode': [{'address': 'lightning'}]}
2022-01-30 07:23:47,704 Thread-3 udi_interface INFO weatherstation:start: WeatherPoly Node Server Started.
2022-01-30 07:23:48,052 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message shortPoll
2022-01-30 07:23:48,054 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll
2022-01-30 07:23:51,690 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message notices
2022-01-30 07:23:51,692 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING notices
2022-01-30 07:23:51,692 Command udi_interface.custom DEBUG custom:load: CUSTOM: load {}
2022-01-30 07:23:51,731 MQTT udi_interface.interface INFO interface:_message: Successfully set key = notices
2022-01-30 07:23:51,864 MQTT udi_interface.interface INFO interface:_message: custom data response {'customparamsdoc': '<h2>Configuration</h2>\n\n<p>The WeatherPoly node server has the following user configuration\nparameters:</p>\n\n<ul>\n<li>Port : The TCP port to listen on for connections from weather software.</li>\n<li>Units : The units used to display the data. Valid settings are: \'metric\', \'us\', or \'uk\'. The default is \'metric\'</li>\n<li>IncomingUnits: The units used by the data provider. Valid settings are \'metric\', \'us\', and \'uk\'. Default is \'metric\'.</li>\n</ul>\n\n<p>A mapping between the incoming data fields and the node server\'s nodes must be configured. The key is a node and data type combination and the value represents the incoming data field. How a data field is represented depends on the weather software.</p>\n\n<p>Valid nodes are: temperature, humidity, pressure, rain, wind, light, and lightning. See <a href="NODE_VALUE.md">node-value combinations</a> for a full list of node-values that can be used.</p>\n\n<h3>Cumulus software</h3>\n\n<p>Cumulus software allows you to configure what text string is used to represent each value. See the Cumulus documentation for a list of valid tags. A Cumulus HTTP API value of:</p>\n\n<p>http://<node server ip>:8080/cumulus?temp=<#temp>&humidity=<#humidity></p>\n\n<p>Will send temperature and humidity data. This can be mapped to node server nodes using:</p>\n\n<p>temperature-main : temp\nhumidity-main : humidity</p>\n\n<h3>acuparse</h3>\n\n<p>acuparse software for Acurite weather stations https://github.com/acuparse/acuparse can be configured to send data to a generic service. To configure acuparse to send data to WeatherPoly, set the generic URL to:</p>\n\n<p>http://<node server ip>:8080/acuparse</p>\n\n<h4>Configure WeatherPoly with the following mapping:</h4>\n\n<ul>\n<li>temperature-main = tempf</li>\n<li>temperature-dewpoint = dewptf</li>\n<li>humidity-main = humidity</li>\n<li>pressure-sealevel = baromin</li>\n<li>wind-windspeed = windspeedmph</li>\n<li>wind-winddir = winddir</li>\n<li>wind-avgwindspeed = windspdmph_avg2m</li>\n<li>rain-rate = rainin</li>\n<li>rain-daily = dailyrainin</li>\n</ul>\n\n<p>Input units should be set as US.</p>\n\n<h3>WeeWX</h3>\n\n<p>WeeWX data is supported through an extension to WeeWX called weewx-crt which can output the data in Cumulus Real Time format. The weewx-crt extension is configured by setting the realtime_url to:</p>\n\n<p>http://<node server ip>:8080/weewx</p>\n\n<h4>Configure WeatherPoly mappings:</h4>\n\n<p>The real-time data file is a fixed format file with the weather values separated by spaces. This is split so that the space separated value\'s index is mapped to the node servers nodes-values. For example:\n* temperature-main = 2\n* temperature-dewpoint = 3\n* humidity-main = 4\n* etc.</p>\n\n<h3>MeteoBridge</h3>\n\n<p>MeteoBridge data is supported using the Home Weather Station weather network configuration. For the API URL use</p>\n\n<p>http://<node server ip>:8080/</p>\n\n<p>MeteoBridge will send a space separated list of values. These are mapped to the node server\'s nodes using the value\'s position in that list. The table below shows the values and numeric position.</p>\n\n<h4>MeteoBridge Field list</h4>\n\n<p><a href="METEOBRIDGE.md">MeteoBridge field list</a></p>\n'}
2022-01-30 07:23:51,917 MQTT udi_interface.interface INFO interface:_message: Successfully set key = customparamsdoc
2022-01-30 07:23:52,287 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message addnode
2022-01-30 07:23:52,288 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING addnode
2022-01-30 07:23:52,290 Command udi_interface.interface DEBUG interface:_handleResult: add node response: {'id': '29807fd3-6010-4b6e-9643-8de355958074', 'uuid': '00:0d:b9:59:39:b0', 'profileNum': 6, 'address': 'humidity', 'name': 'Humidity', 'nodeDefId': 'humidity', 'nls': None, 'hint': '16777215', 'controller': 0, 'primaryNode': 'controller', 'private': None, 'isPrimary': 0, 'enabled': 1, 'timeAdded': 1643555738067, 'timeModified': 1643556232149, 'dbVersion': 1}
2022-01-30 07:23:52,328 MQTT udi_interface.interface INFO interface:_message: Profile installation finished
2022-01-30 07:23:52,437 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message addnode
2022-01-30 07:23:52,439 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING addnode
2022-01-30 07:23:52,441 Command udi_interface.interface DEBUG interface:_handleResult: add node response: {'id': 'b211e6a1-02b4-4d32-85cd-327bae730caf', 'uuid': '00:0d:b9:59:39:b0', 'profileNum': 6, 'address': 'pressure', 'name': 'Barometric Pressure', 'nodeDefId': 'pressure', 'nls': None, 'hint': '16777215', 'controller': 0, 'primaryNode': 'controller', 'private': None, 'isPrimary': 0, 'enabled': 1, 'timeAdded': 1643555738154, 'timeModified': 1643556232322, 'dbVersion': 1}
2022-01-30 07:23:52,657 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message addnode
2022-01-30 07:23:52,659 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING addnode
2022-01-30 07:23:52,660 Command udi_interface.interface DEBUG interface:_handleResult: add node response: {'id': 'a4b17277-9ccf-456a-b13c-778f4e4ffa00', 'uuid': '00:0d:b9:59:39:b0', 'profileNum': 6, 'address': 'wind', 'name': 'Wind', 'nodeDefId': 'wind', 'nls': None, 'hint': '16777215', 'controller': 0, 'primaryNode': 'controller', 'private': None, 'isPrimary': 0, 'enabled': 1, 'timeAdded': 1643555738466, 'timeModified': 1643556232491, 'dbVersion': 1}
2022-01-30 07:23:52,787 MQTT udi_interface.interface ERROR interface:_message: Invalid command received in message from PG3: 'removenode' [{'address': 'light', 'success': False}]
2022-01-30 07:23:52,911 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message addnode
2022-01-30 07:23:52,912 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING addnode
2022-01-30 07:23:52,914 Command udi_interface.interface DEBUG interface:_handleResult: add node response: {'id': '53dc1903-603e-410f-8095-90633332efb9', 'uuid': '00:0d:b9:59:39:b0', 'profileNum': 6, 'address': 'rain', 'name': 'Precipitation', 'nodeDefId': 'precipitation', 'nls': None, 'hint': '16777215', 'controller': 0, 'primaryNode': 'controller', 'private': None, 'isPrimary': 0, 'enabled': 1, 'timeAdded': 1643555738627, 'timeModified': 1643556232736, 'dbVersion': 1}
2022-01-30 07:23:52,950 MQTT udi_interface.interface ERROR interface:_message: Invalid command received in message from PG3: 'removenode' [{'address': 'lightning', 'success': False}]
2022-01-30 07:23:53,027 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message shortPoll
2022-01-30 07:23:53,029 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll
2022-01-30 07:23:53,370 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message addnode
2022-01-30 07:23:53,372 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING addnode
2022-01-30 07:23:53,373 Command udi_interface.interface DEBUG interface:_handleResult: add node response: {'id': '29807fd3-6010-4b6e-9643-8de355958074', 'uuid': '00:0d:b9:59:39:b0', 'profileNum': 6, 'address': 'humidity', 'name': 'Humidity', 'nodeDefId': 'humidity', 'nls': None, 'hint': '16777215', 'controller': 0, 'primaryNode': 'controller', 'private': None, 'isPrimary': 0, 'enabled': 1, 'timeAdded': 1643555738067, 'timeModified': 1643556233092, 'dbVersion': 1}
2022-01-30 07:23:53,489 MQTT udi_interface.interface INFO interface:_message: Profile installation finished
2022-01-30 07:23:53,939 MQTT udi_interface.interface ERROR interface:_message: Invalid command received in message from PG3: 'removenode' [{'address': 'humidity', 'success': True}]
2022-01-30 07:23:54,144 MQTT udi_interface.interface ERROR interface:_message: Invalid command received in message from PG3: 'removenode' [{'address': 'temperature', 'success': False}]
2022-01-30 07:23:54,242 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message addnode
2022-01-30 07:23:54,244 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING addnode
2022-01-30 07:23:54,246 Command udi_interface.interface DEBUG interface:_handleResult: add node response: {'id': 'b211e6a1-02b4-4d32-85cd-327bae730caf', 'uuid': '00:0d:b9:59:39:b0', 'profileNum': 6, 'address': 'pressure', 'name': 'Barometric Pressure', 'nodeDefId': 'pressure', 'nls': None, 'hint': '16777215', 'controller': 0, 'primaryNode': 'controller', 'private': None, 'isPrimary': 0, 'enabled': 1, 'timeAdded': 1643555738154, 'timeModified': 1643556233715, 'dbVersion': 1}
2022-01-30 07:23:54,281 MQTT udi_interface.interface ERROR interface:_message: Invalid command received in message from PG3: 'removenode' [{'address': 'pressure', 'success': True}]
2022-01-30 07:23:54,489 MQTT udi_interface.interface ERROR interface:_message: Invalid command received in message from PG3: 'removenode' [{'address': 'wind', 'success': True}]
2022-01-30 07:23:54,615 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message addnode
2022-01-30 07:23:54,616 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING addnode
2022-01-30 07:23:54,618 Command udi_interface.interface DEBUG interface:_handleResult: add node response: {'id': 'ce8de222-8b35-4da9-a9fd-a9587a3e7a96', 'uuid': '00:0d:b9:59:39:b0', 'profileNum': 6, 'address': 'wind', 'name': 'Wind', 'nodeDefId': 'wind', 'nls': None, 'hint': '16777215.0', 'controller': 0, 'primaryNode': 'controller', 'private': None, 'isPrimary': 0, 'enabled': 1, 'timeAdded': 1643556234382, 'timeModified': 1643556234382, 'dbVersion': 1}
2022-01-30 07:23:54,657 MQTT udi_interface.interface ERROR interface:_message: Invalid command received in message from PG3: 'removenode' [{'address': 'rain', 'success': True}]
2022-01-30 07:23:54,969 MQTT udi_interface.interface ERROR interface:_message: Invalid command received in message from PG3: 'removenode' [{'address': 'light', 'success': False}]
2022-01-30 07:23:55,068 MQTT udi_interface.interface ERROR interface:_message: Invalid command received in message from PG3: 'removenode' [{'address': 'lightning', 'success': False}]
2022-01-30 07:23:55,212 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message addnode
2022-01-30 07:23:55,213 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING addnode
2022-01-30 07:23:55,215 Command udi_interface.interface DEBUG interface:_handleResult: add node response: {'address': 'temperature'}
2022-01-30 07:23:56,413 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message addnode
2022-01-30 07:23:56,414 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING addnode
2022-01-30 07:23:56,416 Command udi_interface.interface DEBUG interface:_handleResult: add node response: {'id': '876ca813-949f-4156-992b-252d86b2d9a6', 'uuid': '00:0d:b9:59:39:b0', 'profileNum': 6, 'address': 'temperature', 'name': 'Temperatures', 'nodeDefId': 'temperature', 'nls': None, 'hint': '16777215.0', 'controller': 0, 'primaryNode': 'controller', 'private': None, 'isPrimary': 0, 'enabled': 1, 'timeAdded': 1643556232203, 'timeModified': 1643556232203, 'dbVersion': 1}
2022-01-30 07:23:57,521 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message addnode
2022-01-30 07:23:57,522 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING addnode
2022-01-30 07:23:57,524 Command udi_interface.interface DEBUG interface:_handleResult: add node response: {'id': 'ee8fa22c-cd04-40fb-b167-837c538a8cf5', 'uuid': '00:0d:b9:59:39:b0', 'profileNum': 6, 'address': 'rain', 'name': 'Precipitation', 'nodeDefId': 'precipitation', 'nls': None, 'hint': '16777215.0', 'controller': 0, 'primaryNode': 'controller', 'private': None, 'isPrimary': 0, 'enabled': 1, 'timeAdded': 1643556235563, 'timeModified': 1643556235563, 'dbVersion': 1}
2022-01-30 07:23:58,238 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message shortPoll
2022-01-30 07:23:58,239 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll
2022-01-30 07:24:03,233 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message shortPoll
2022-01-30 07:24:03,235 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll
2022-01-30 07:24:08,184 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message shortPoll
2022-01-30 07:24:08,185 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll
2022-01-30 07:24:13,330 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message shortPoll
2022-01-30 07:24:13,332 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll
2022-01-30 07:24:18,429 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message shortPoll
2022-01-30 07:24:18,430 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll
2022-01-30 07:24:23,344 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message shortPoll
2022-01-30 07:24:23,346 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll
2022-01-30 07:24:28,360 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message shortPoll
2022-01-30 07:24:28,361 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll
2022-01-30 07:24:33,382 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message shortPoll
2022-01-30 07:24:33,384 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll
2022-01-30 07:24:37,849 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message longPoll
2022-01-30 07:24:37,850 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING longPoll
2022-01-30 07:24:38,456 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message shortPoll
2022-01-30 07:24:38,458 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll
2022-01-30 07:24:43,490 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message shortPoll
2022-01-30 07:24:43,492 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll
2022-01-30 07:24:48,514 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message shortPoll
2022-01-30 07:24:48,515 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll
2022-01-30 07:24:53,560 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message shortPoll
2022-01-30 07:24:53,562 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll