Jump to content

After NS Restart Nodes disappear


TJF1960

Recommended Posts

Posted

@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=&lt;#temp>&amp;humidity=&lt;#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=&lt;#temp>&amp;humidity=&lt;#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

 

Capture12.JPG

Posted

I am seeing same behavior.  Also, the node server is not receiving the rest call from weewx.  It is setup the same, I configured the same port and on PG2 it was working fine.  As said above, if you restart the node server it deletes all the nodes on ISY (you can watch them go) and then recreates them.

If I hit stop it doesn't act like it stops, have to refresh the browser to see it is not running.

2-01-31 23:01:47,800 MainThread udi_interface.interface INFO     interface:addNode: Adding node WeatherPoly(controller) [None]

2022-01-31 23:01:47,939 MQTT       udi_interface.interface DEBUG    interface:_message: QUEUING incoming message getAll

2022-01-31 23:01:47,940 Command    udi_interface.interface DEBUG    interface:_parseInput: DEQUEING getAll

2022-01-31 23:01:47,943 Thread-1   udi_interface.custom DEBUG    custom:load: CUSTOM: load {'Port': '8081', 'Units': 'us', 'IncomingUnits': 'metric', 'humidity-inside': '23', 'humidity-main': '3', 'pressure-station': '10', 'pressure-trend': '18', 'rain-daily': '9', 'rain-hourly': '47', 'rain-monthly': '19', 'rain-rate': '8', 'rain-yearly': '20', 'rain-yesterday': '21', 'temperature-dewpoint': '4', 'temperature-heatindex': '41', 'temperature-inside': '22', 'temperature-main': '2', 'temperature-max': '26', 'temperature-min': '28', 'temperature-windchill': '24', 'wind-avgwindspeed': '5', 'wind-gustdir': '46', 'wind-gustspeed': '40', 'wind-winddir': '7', 'wind-windspeed': '6'}

2022-01-31 23:01:47,945 Command    udi_interface.custom DEBUG    custom:load: CUSTOM: load {}

2022-01-31 23:01:47,945 Thread-1   udi_interface.custom DEBUG    custom:load: CUSTOM:  -- checking Port / 8081

2022-01-31 23:01:47,946 Command    udi_interface.interface DEBUG    interface:_handleInput: Key nsdata should be passed to node server.

2022-01-31 23:01:47,947 Thread-1   udi_interface.custom DEBUG    custom:load: CUSTOM:  -- checking Units / us

2022-01-31 23:01:47,949 Thread-1   udi_interface.custom DEBUG    custom:load: CUSTOM:  -- checking IncomingUnits / metric

2022-01-31 23:01:47,949 Thread-1   udi_interface.custom DEBUG    custom:load: CUSTOM:  -- checking humidity-inside / 23

2022-01-31 23:01:47,950 Thread-1   udi_interface.custom DEBUG    custom:load: CUSTOM:  -- checking humidity-main / 3

2022-01-31 23:01:47,951 Thread-1   udi_interface.custom DEBUG    custom:load: CUSTOM:  -- checking pressure-station / 10

2022-01-31 23:01:47,951 Thread-1   udi_interface.custom DEBUG    custom:load: CUSTOM:  -- checking pressure-trend / 18

2022-01-31 23:01:47,952 Thread-1   udi_interface.custom DEBUG    custom:load: CUSTOM:  -- checking rain-daily / 9

2022-01-31 23:01:47,952 Thread-1   udi_interface.custom DEBUG    custom:load: CUSTOM:  -- checking rain-hourly / 47

2022-01-31 23:01:47,953 Thread-1   udi_interface.custom DEBUG    custom:load: CUSTOM:  -- checking rain-monthly / 19

2022-01-31 23:01:47,954 Thread-1   udi_interface.custom DEBUG    custom:load: CUSTOM:  -- checking rain-rate / 8

2022-01-31 23:01:47,954 Thread-1   udi_interface.custom DEBUG    custom:load: CUSTOM:  -- checking rain-yearly / 20

2022-01-31 23:01:47,955 Thread-1   udi_interface.custom DEBUG    custom:load: CUSTOM:  -- checking rain-yesterday / 21

2022-01-31 23:01:47,956 Thread-1   udi_interface.custom DEBUG    custom:load: CUSTOM:  -- checking temperature-dewpoint / 4

2022-01-31 23:01:47,956 Thread-1   udi_interface.custom DEBUG    custom:load: CUSTOM:  -- checking temperature-heatindex / 41

2022-01-31 23:01:47,957 Thread-1   udi_interface.custom DEBUG    custom:load: CUSTOM:  -- checking temperature-inside / 22

2022-01-31 23:01:47,957 Thread-1   udi_interface.custom DEBUG    custom:load: CUSTOM:  -- checking temperature-main / 2

2022-01-31 23:01:47,958 Thread-1   udi_interface.custom DEBUG    custom:load: CUSTOM:  -- checking temperature-max / 26

2022-01-31 23:01:47,959 Thread-1   udi_interface.custom DEBUG    custom:load: CUSTOM:  -- checking temperature-min / 28

2022-01-31 23:01:47,959 Thread-1   udi_interface.custom DEBUG    custom:load: CUSTOM:  -- checking temperature-windchill / 24

2022-01-31 23:01:47,960 Thread-1   udi_interface.custom DEBUG    custom:load: CUSTOM:  -- checking wind-avgwindspeed / 5

2022-01-31 23:01:47,961 Thread-1   udi_interface.custom DEBUG    custom:load: CUSTOM:  -- checking wind-gustdir / 46

2022-01-31 23:01:47,962 Thread-1   udi_interface.custom DEBUG    custom:load: CUSTOM:  -- checking wind-gustspeed / 40

2022-01-31 23:01:47,962 Thread-1   udi_interface.custom DEBUG    custom:load: CUSTOM:  -- checking wind-winddir / 7

2022-01-31 23:01:47,963 Thread-1   udi_interface.custom DEBUG    custom:load: CUSTOM:  -- checking wind-windspeed / 6

2022-01-31 23:01:47,963 Thread-1   udi_interface.custom DEBUG    custom:clear: CUSTOM: Clear  ...saving

2022-01-31 23:01:47,964 Thread-1   udi_interface.custom INFO     custom:_save: Sending data notices to Polyglot.

2022-01-31 23:01:47,965 Thread-1   udi_interface.interface DEBUG    interface:send: PUBLISHING {'set': [{'key': 'notices', 'value': {}}]}

2022-01-31 23:01:47,967 Thread-1   udi_interface      INFO     weatherstation:set_configuration: Check for existing configuration value

2022-01-31 23:01:47,967 Thread-1   udi_interface      INFO     weatherstation:map_nodes: Trying to create a mapping

2022-01-31 23:01:47,968 Thread-1   udi_interface      INFO     weatherstation:map_nodes: MAPPING 23 to humidity-inside

2022-01-31 23:01:47,969 Thread-1   udi_interface      INFO     weatherstation:map_nodes: MAPPING 3 to humidity-main

2022-01-31 23:01:47,969 Thread-1   udi_interface      INFO     weatherstation:map_nodes: MAPPING 10 to pressure-station

2022-01-31 23:01:47,970 Thread-1   udi_interface      INFO     weatherstation:map_nodes: MAPPING 18 to pressure-trend

2022-01-31 23:01:47,971 Thread-1   udi_interface      INFO     weatherstation:map_nodes: MAPPING 9 to rain-daily

2022-01-31 23:01:47,971 Thread-1   udi_interface      INFO     weatherstation:map_nodes: MAPPING 47 to rain-hourly

2022-01-31 23:01:47,972 Thread-1   udi_interface      INFO     weatherstation:map_nodes: MAPPING 19 to rain-monthly

2022-01-31 23:01:47,973 Thread-1   udi_interface      INFO     weatherstation:map_nodes: MAPPING 8 to rain-rate

2022-01-31 23:01:47,973 Thread-1   udi_interface      INFO     weatherstation:map_nodes: MAPPING 20 to rain-yearly

2022-01-31 23:01:47,974 Thread-1   udi_interface      INFO     weatherstation:map_nodes: MAPPING 21 to rain-yesterday

2022-01-31 23:01:47,975 Thread-1   udi_interface      INFO     weatherstation:map_nodes: MAPPING 4 to temperature-dewpoint

2022-01-31 23:01:47,977 MQTT       udi_interface.interface DEBUG    interface:_message: QUEUING incoming message getNsInfo

2022-01-31 23:01:47,978 Thread-1   udi_interface      INFO     weatherstation:map_nodes: MAPPING 41 to temperature-heatindex

2022-01-31 23:01:47,979 Command    udi_interface.interface DEBUG    interface:_parseInput: DEQUEING getNsInfo

2022-01-31 23:01:47,980 Thread-1   udi_interface      INFO     weatherstation:map_nodes: MAPPING 22 to temperature-inside

2022-01-31 23:01:47,981 Thread-1   udi_interface      INFO     weatherstation:map_nodes: MAPPING 2 to temperature-main

2022-01-31 23:01:47,982 Thread-1   udi_interface      INFO     weatherstation:map_nodes: MAPPING 26 to temperature-max

2022-01-31 23:01:47,983 Thread-1   udi_interface      INFO     weatherstation:map_nodes: MAPPING 28 to temperature-min

2022-01-31 23:01:47,983 Thread-1   udi_interface      INFO     weatherstation:map_nodes: MAPPING 24 to temperature-windchill

2022-01-31 23:01:47,984 Thread-1   udi_interface      INFO     weatherstation:map_nodes: MAPPING 5 to wind-avgwindspeed

2022-01-31 23:01:47,984 Thread-1   udi_interface      INFO     weatherstation:map_nodes: MAPPING 46 to wind-gustdir

2022-01-31 23:01:47,985 Thread-1   udi_interface      INFO     weatherstation:map_nodes: MAPPING 40 to wind-gustspeed

2022-01-31 23:01:47,986 Thread-1   udi_interface      INFO     weatherstation:map_nodes: MAPPING 7 to wind-winddir

2022-01-31 23:01:47,986 Thread-1   udi_interface      INFO     weatherstation:map_nodes: MAPPING 6 to wind-windspeed

2022-01-31 23:01:47,987 Thread-1   udi_interface      INFO     weatherstation:map_nodes: Try to create node definition profile based on config.

2022-01-31 23:01:47,989 Thread-1   udi_interface      INFO     write_profile:write_profile: write_profile: Writing profile/nodedef/nodedefs.xml

2022-01-31 23:01:47,993 Thread-1   udi_interface      INFO     write_profile:write_profile_zip: write_profile_zip: profile/version.txt as version.txt

2022-01-31 23:01:47,997 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-31 23:01:48,000 Thread-1   udi_interface      INFO     write_profile:write_profile_zip: write_profile_zip: profile/editor/editors.xml as editor/editors.xml

2022-01-31 23:01:48,003 Thread-1   udi_interface      INFO     write_profile:write_profile_zip: write_profile_zip: profile/nodedef/nodedefs.xml as nodedef/nodedefs.xml

2022-01-31 23:01:48,006 Thread-1   udi_interface      INFO     write_profile:write_profile: write_profile: done.

2022-01-31 23:01:48,007 Thread-1   udi_interface.interface INFO     interface:installprofile: Sending Install Profile command to Polyglot.

2022-01-31 23:01:48,007 Thread-1   udi_interface.interface WARNING  interface:installprofile: installprofile() is deprecated. Use updateProfile() instead.

2022-01-31 23:01:48,008 Thread-1   udi_interface.interface DEBUG    interface:send: PUBLISHING {'installprofile': {'reboot': False}}

2022-01-31 23:01:48,010 Thread-1   udi_interface      INFO     weatherstation:discover: Creating nodes.

2022-01-31 23:01:48,011 Thread-1   udi_interface      INFO     weatherstation:discover: Creating Temperature node

2022-01-31 23:01:48,013 MQTT       udi_interface.interface DEBUG    interface:_message: QUEUING incoming message shortPoll

2022-01-31 23:01:48,013 Thread-1   udi_interface.interface INFO     interface:addNode: Adding node Temperatures(temperature) [None]

2022-01-31 23:01:48,015 Command    udi_interface.interface DEBUG    interface:_parseInput: DEQUEING shortPoll

2022-01-31 23:01:48,016 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': 'GV2', 'value': 0, 'uom': 17}, {'driver': 'GV4', 'value': 0, 'uom': 17}, {'driver': 'ST', 'value': 0, 'uom': 17}, {'driver': 'GV15', 'value': 0, 'uom': 17}, {'driver': 'GV16', 'value': 0, 'uom': 17}, {'driver': 'GV1', 'value': 0, 'uom': 17}], 'hint': 16777215, 'private': None}]}

2022-01-31 23:01:48,019 Thread-1   udi_interface      INFO     weatherstation:discover: Creating Humidity node

2022-01-31 23:01:48,020 Thread-1   udi_interface.node DEBUG    node:_updateDrivers: Update humidity default ST to 0 / 51

2022-01-31 23:01:48,022 MQTT       udi_interface.interface DEBUG    interface:_message: QUEUING incoming message notices

2022-01-31 23:01:48,022 Thread-1   udi_interface.interface INFO     interface:addNode: Adding node Humidity(humidity) [None]

2022-01-31 23:01:48,024 Command    udi_interface.interface DEBUG    interface:_parseInput: DEQUEING notices

2022-01-31 23:01:48,025 Thread-1   udi_interface.interface DEBUG    interface:send: PUBLISHING {'addnode': [{'address': 'humidity', 'name': 'Humidity', 'nodeDefId': 'humidity', 'primaryNode': 'controller', 'drivers': [{'driver': 'GV0', 'value': 0, 'uom': 51}, {'driver': 'ST', 'value': 0, 'uom': 51}], 'hint': 16777215, 'private': None}]}

2022-01-31 23:01:48,026 Command    udi_interface.custom DEBUG    custom:load: CUSTOM: load {}

2022-01-31 23:01:48,028 Thread-1   udi_interface      INFO     weatherstation:discover: Creating Pressure node

2022-01-31 23:01:48,030 Thread-1   udi_interface.interface INFO     interface:addNode: Adding node Barometric Pressure(pressure) [None]

2022-01-31 23:01:48,030 Thread-1   udi_interface.interface DEBUG    interface:send: PUBLISHING {'addnode': [{'address': 'pressure', 'name': 'Barometric Pressure', 'nodeDefId': 'pressure', 'primaryNode': 'controller', 'drivers': [{'driver': 'ST', 'value': 0, 'uom': 23}, {'driver': 'GV1', 'value': 0, 'uom': 25}], 'hint': 16777215, 'private': None}]}

2022-01-31 23:01:48,032 Thread-1   udi_interface      INFO     weatherstation:discover: Creating Wind node

2022-01-31 23:01:48,033 Thread-1   udi_interface.interface INFO     interface:addNode: Adding node Wind(wind) [None]

2022-01-31 23:01:48,034 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': 'GV2', 'value': 0, 'uom': 14}, {'driver': 'GV1', 'value': 0, 'uom': 48}, {'driver': 'GV0', 'value': 0, 'uom': 14}, {'driver': 'ST', 'value': 0, 'uom': 48}], 'hint': 16777215, 'private': None}]}

2022-01-31 23:01:48,036 Thread-1   udi_interface      INFO     weatherstation:discover: Creating Precipitation node

2022-01-31 23:01:48,037 Thread-1   udi_interface.interface INFO     interface:addNode: Adding node Precipitation(rain) [None]

2022-01-31 23:01:48,038 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': 'GV0', 'value': 0, 'uom': 105}, {'driver': 'GV3', 'value': 0, 'uom': 105}, {'driver': 'ST', 'value': 0, 'uom': 24}, {'driver': 'GV4', 'value': 0, 'uom': 105}, {'driver': 'GV6', 'value': 0, 'uom': 105}], 'hint': 16777215, 'private': None}]}

2022-01-31 23:01:48,039 Thread-1   udi_interface      INFO     weatherstation:discover: Deleting orphaned light node

2022-01-31 23:01:48,040 Thread-1   udi_interface.interface INFO     interface:delNode: Removing node light

2022-01-31 23:01:48,041 Thread-1   udi_interface.interface DEBUG    interface:send: PUBLISHING {'removenode': [{'address': 'light'}]}

2022-01-31 23:01:48,042 Thread-1   udi_interface      INFO     weatherstation:discover: Deleting orphaned lightning node

2022-01-31 23:01:48,043 Thread-1   udi_interface.interface INFO     interface:delNode: Removing node lightning

2022-01-31 23:01:48,043 Thread-1   udi_interface.interface DEBUG    interface:send: PUBLISHING {'removenode': [{'address': 'lightning'}]}

2022-01-31 23:01:48,049 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = notices

2022-01-31 23:01:48,178 MQTT       udi_interface.interface DEBUG    interface:_message: QUEUING incoming message addnode

2022-01-31 23:01:48,179 Command    udi_interface.interface DEBUG    interface:_parseInput: DEQUEING addnode

2022-01-31 23:01:48,182 Thread-3   udi_interface      INFO     weatherstation:start: Starting WeatherPoly Node Server

2022-01-31 23:01:48,184 Thread-3   udi_interface.interface INFO     interface:updateProfile: Sending Install Profile command to Polyglot.

2022-01-31 23:01:48,185 Command    udi_interface.interface DEBUG    interface:_handleResult: add node response: {'id': '26b33782-5f46-4357-928c-eb11e240c36c', 'uuid': '00:0d:b9:52:c1:80', 'profileNum': 9, 'address': 'controller', 'name': 'WeatherPoly', 'nodeDefId': 'WeatherPoly', 'nls': None, 'hint': '0x00000000', 'controller': 0, 'primaryNode': 'controller', 'private': None, 'isPrimary': 1, 'enabled': 1, 'timeAdded': 1643689747722, 'timeModified': 1643689747722, 'dbVersion': 1}

2022-01-31 23:01:48,185 Thread-3   udi_interface.interface DEBUG    interface:send: PUBLISHING {'installprofile': {'reboot': False}}

2022-01-31 23:01:48,355 Thread-3   udi_interface.interface DEBUG    interface:setCustomParamsDoc: Sending customparamsdoc to Polyglot.

2022-01-31 23:01:48,356 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=&lt;#temp>&amp;humidity=&lt;#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-31 23:01:48,358 Thread-3   udi_interface      INFO     weatherstation:discover: Creating nodes.

2022-01-31 23:01:48,359 Thread-3   udi_interface      INFO     weatherstation:discover: Creating Temperature node

2022-01-31 23:01:48,359 Thread-3   udi_interface.interface INFO     interface:delNode: Removing node temperature

2022-01-31 23:01:48,360 Thread-3   udi_interface.interface DEBUG    interface:send: PUBLISHING {'removenode': [{'address': 'temperature'}]}

2022-01-31 23:01:48,362 Thread-3   udi_interface.interface INFO     interface:addNode: Adding node Temperatures(temperature) [None]

2022-01-31 23:01:48,363 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': 'GV2', 'value': 0, 'uom': 17}, {'driver': 'GV4', 'value': 0, 'uom': 17}, {'driver': 'ST', 'value': 0, 'uom': 17}, {'driver': 'GV15', 'value': 0, 'uom': 17}, {'driver': 'GV16', 'value': 0, 'uom': 17}, {'driver': 'GV1', 'value': 0, 'uom': 17}], 'hint': 16777215, 'private': None}]}

2022-01-31 23:01:48,364 Thread-3   udi_interface      INFO     weatherstation:discover: Creating Humidity node

2022-01-31 23:01:48,365 Thread-3   udi_interface.interface INFO     interface:delNode: Removing node humidity

2022-01-31 23:01:48,366 Thread-3   udi_interface.interface DEBUG    interface:send: PUBLISHING {'removenode': [{'address': 'humidity'}]}

2022-01-31 23:01:48,368 Thread-3   udi_interface.node DEBUG    node:_updateDrivers: Update humidity default ST to 0 / 51

2022-01-31 23:01:48,368 Thread-3   udi_interface.interface INFO     interface:addNode: Adding node Humidity(humidity) [None]

2022-01-31 23:01:48,369 Thread-3   udi_interface.interface DEBUG    interface:send: PUBLISHING {'addnode': [{'address': 'humidity', 'name': 'Humidity', 'nodeDefId': 'humidity', 'primaryNode': 'controller', 'drivers': [{'driver': 'GV0', 'value': 0, 'uom': 51}, {'driver': 'ST', 'value': 0, 'uom': 51}], 'hint': 16777215, 'private': None}]}

2022-01-31 23:01:48,371 Thread-3   udi_interface      INFO     weatherstation:discover: Creating Pressure node

2022-01-31 23:01:48,371 Thread-3   udi_interface.interface INFO     interface:delNode: Removing node pressure

2022-01-31 23:01:48,372 Thread-3   udi_interface.interface DEBUG    interface:send: PUBLISHING {'removenode': [{'address': 'pressure'}]}

2022-01-31 23:01:48,374 Thread-3   udi_interface.interface INFO     interface:addNode: Adding node Barometric Pressure(pressure) [None]

2022-01-31 23:01:48,375 Thread-3   udi_interface.interface DEBUG    interface:send: PUBLISHING {'addnode': [{'address': 'pressure', 'name': 'Barometric Pressure', 'nodeDefId': 'pressure', 'primaryNode': 'controller', 'drivers': [{'driver': 'ST', 'value': 0, 'uom': 23}, {'driver': 'GV1', 'value': 0, 'uom': 25}], 'hint': 16777215, 'private': None}]}

2022-01-31 23:01:48,376 Thread-3   udi_interface      INFO     weatherstation:discover: Creating Wind node

2022-01-31 23:01:48,377 Thread-3   udi_interface.interface INFO     interface:delNode: Removing node wind

2022-01-31 23:01:48,377 Thread-3   udi_interface.interface DEBUG    interface:send: PUBLISHING {'removenode': [{'address': 'wind'}]}

2022-01-31 23:01:48,379 Thread-3   udi_interface.interface INFO     interface:addNode: Adding node Wind(wind) [None]

2022-01-31 23:01:48,380 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': 'GV2', 'value': 0, 'uom': 14}, {'driver': 'GV1', 'value': 0, 'uom': 48}, {'driver': 'GV0', 'value': 0, 'uom': 14}, {'driver': 'ST', 'value': 0, 'uom': 48}], 'hint': 16777215, 'private': None}]}

2022-01-31 23:01:48,381 Thread-3   udi_interface      INFO     weatherstation:discover: Creating Precipitation node

2022-01-31 23:01:48,382 Thread-3   udi_interface.interface INFO     interface:delNode: Removing node rain

2022-01-31 23:01:48,383 Thread-3   udi_interface.interface DEBUG    interface:send: PUBLISHING {'removenode': [{'address': 'rain'}]}

2022-01-31 23:01:48,385 Thread-3   udi_interface.interface INFO     interface:addNode: Adding node Precipitation(rain) [None]

2022-01-31 23:01:48,386 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': 'GV0', 'value': 0, 'uom': 105}, {'driver': 'GV3', 'value': 0, 'uom': 105}, {'driver': 'ST', 'value': 0, 'uom': 24}, {'driver': 'GV4', 'value': 0, 'uom': 105}, {'driver': 'GV6', 'value': 0, 'uom': 105}], 'hint': 16777215, 'private': None}]}

2022-01-31 23:01:48,387 Thread-3   udi_interface      INFO     weatherstation:discover: Deleting orphaned light node

2022-01-31 23:01:48,388 Thread-3   udi_interface.interface INFO     interface:delNode: Removing node light

2022-01-31 23:01:48,389 Thread-3   udi_interface.interface DEBUG    interface:send: PUBLISHING {'removenode': [{'address': 'light'}]}

2022-01-31 23:01:48,390 Thread-3   udi_interface      INFO     weatherstation:discover: Deleting orphaned lightning node

2022-01-31 23:01:48,391 Thread-3   udi_interface.interface INFO     interface:delNode: Removing node lightning

2022-01-31 23:01:48,391 Thread-3   udi_interface.interface DEBUG    interface:send: PUBLISHING {'removenode': [{'address': 'lightning'}]}

2022-01-31 23:01:48,393 Thread-3   udi_interface      INFO     weatherstation:start: WeatherPoly Node Server Started.

2022-01-31 23:01:48,494 MQTT       udi_interface.interface DEBUG    interface:_message: QUEUING incoming message addnode

2022-01-31 23:01:48,495 Command    udi_interface.interface DEBUG    interface:_parseInput: DEQUEING addnode

2022-01-31 23:01:48,497 Command    udi_interface.interface DEBUG    interface:_handleResult: add node response: {'id': 'ed9085ae-f475-4e41-8967-aa58daebfbfd', 'uuid': '00:0d:b9:52:c1:80', 'profileNum': 9, 'address': 'temperature', 'name': 'Temperatures', 'nodeDefId': 'temperature', 'nls': None, 'hint': '16777215', 'controller': 0, 'primaryNode': 'controller', 'private': None, 'isPrimary': 0, 'enabled': 1, 'timeAdded': 1643691483025, 'timeModified': 1643691708348, 'dbVersion': 1}

2022-01-31 23:01:48,574 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=&lt;#temp>&amp;humidity=&lt;#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-31 23:01:48,697 MQTT       udi_interface.interface INFO     interface:_message: Successfully set key = customparamsdoc

2022-01-31 23:01:48,830 MQTT       udi_interface.interface DEBUG    interface:_message: QUEUING incoming message addnode

2022-01-31 23:01:48,832 Command    udi_interface.interface DEBUG    interface:_parseInput: DEQUEING addnode

2022-01-31 23:01:48,834 Command    udi_interface.interface DEBUG    interface:_handleResult: add node response: {'id': 'c0746f83-7cb1-4edf-8c14-61f22ab5b991', 'uuid': '00:0d:b9:52:c1:80', 'profileNum': 9, 'address': 'humidity', 'name': 'Humidity', 'nodeDefId': 'humidity', 'nls': None, 'hint': '16777215', 'controller': 0, 'primaryNode': 'controller', 'private': None, 'isPrimary': 0, 'enabled': 1, 'timeAdded': 1643691483092, 'timeModified': 1643691708604, 'dbVersion': 1}

2022-01-31 23:01:48,878 MQTT       udi_interface.interface INFO     interface:_message: Profile installation finished

2022-01-31 23:01:48,920 MQTT       udi_interface.interface DEBUG    interface:_message: QUEUING incoming message addnode

2022-01-31 23:01:48,921 Command    udi_interface.interface DEBUG    interface:_parseInput: DEQUEING addnode

2022-01-31 23:01:48,923 Command    udi_interface.interface DEBUG    interface:_handleResult: add node response: {'id': '4c6a8d07-a50e-41d1-a158-83f9b7a4f3fb', 'uuid': '00:0d:b9:52:c1:80', 'profileNum': 9, 'address': 'pressure', 'name': 'Barometric Pressure', 'nodeDefId': 'pressure', 'nls': None, 'hint': '16777215', 'controller': 0, 'primaryNode': 'controller', 'private': None, 'isPrimary': 0, 'enabled': 1, 'timeAdded': 1643691483263, 'timeModified': 1643691708754, 'dbVersion': 1}

2022-01-31 23:01:49,215 MQTT       udi_interface.interface DEBUG    interface:_message: QUEUING incoming message addnode

2022-01-31 23:01:49,217 Command    udi_interface.interface DEBUG    interface:_parseInput: DEQUEING addnode

2022-01-31 23:01:49,220 Command    udi_interface.interface DEBUG    interface:_handleResult: add node response: {'id': '23280b2a-9a68-4027-b460-107ae2707b06', 'uuid': '00:0d:b9:52:c1:80', 'profileNum': 9, 'address': 'wind', 'name': 'Wind', 'nodeDefId': 'wind', 'nls': None, 'hint': '16777215', 'controller': 0, 'primaryNode': 'controller', 'private': None, 'isPrimary': 0, 'enabled': 1, 'timeAdded': 1643691483403, 'timeModified': 1643691708972, 'dbVersion': 1}

2022-01-31 23:01:49,413 MQTT       udi_interface.interface DEBUG    interface:_message: QUEUING incoming message addnode

2022-01-31 23:01:49,415 Command    udi_interface.interface DEBUG    interface:_parseInput: DEQUEING addnode

2022-01-31 23:01:49,417 Command    udi_interface.interface DEBUG    interface:_handleResult: add node response: {'id': '8ae43c48-33df-4d74-86fe-34ff286e9810', 'uuid': '00:0d:b9:52:c1:80', 'profileNum': 9, 'address': 'rain', 'name': 'Precipitation', 'nodeDefId': 'precipitation', 'nls': None, 'hint': '16777215', 'controller': 0, 'primaryNode': 'controller', 'private': None, 'isPrimary': 0, 'enabled': 1, 'timeAdded': 1643691483547, 'timeModified': 1643691709071, 'dbVersion': 1}

2022-01-31 23:01:49,453 MQTT       udi_interface.interface ERROR    interface:_message: Invalid command received in message from PG3: 'removenode' [{'address': 'light', 'success': False}]

2022-01-31 23:01:49,621 MQTT       udi_interface.interface ERROR    interface:_message: Invalid command received in message from PG3: 'removenode' [{'address': 'lightning', 'success': False}]

2022-01-31 23:01:49,941 MQTT       udi_interface.interface INFO     interface:_message: Profile installation finished

2022-01-31 23:01:50,145 MQTT       udi_interface.interface ERROR    interface:_message: Invalid command received in message from PG3: 'removenode' [{'address': 'temperature', 'success': True}]

2022-01-31 23:01:50,337 MQTT       udi_interface.interface ERROR    interface:_message: Invalid command received in message from PG3: 'removenode' [{'address': 'humidity', 'success': True}]

2022-01-31 23:01:50,578 MQTT       udi_interface.interface ERROR    interface:_message: Invalid command received in message from PG3: 'removenode' [{'address': 'pressure', 'success': True}]

2022-01-31 23:01:50,723 MQTT       udi_interface.interface ERROR    interface:_message: Invalid command received in message from PG3: 'removenode' [{'address': 'wind', 'success': True}]

2022-01-31 23:01:50,807 MQTT       udi_interface.interface ERROR    interface:_message: Invalid command received in message from PG3: 'removenode' [{'address': 'rain', 'success': True}]

2022-01-31 23:01:51,075 MQTT       udi_interface.interface ERROR    interface:_message: Invalid command received in message from PG3: 'removenode' [{'address': 'light', 'success': False}]

2022-01-31 23:01:51,204 MQTT       udi_interface.interface ERROR    interface:_message: Invalid command received in message from PG3: 'removenode' [{'address': 'lightning', 'success': False}]

2022-01-31 23:01:57,188 MQTT       udi_interface.interface DEBUG    interface:_message: QUEUING incoming message shortPoll

2022-01-31 23:01:57,190 Command    udi_interface.interface DEBUG    interface:_parseInput: DEQUEING shortPoll

2022-01-31 23:01:57,987 MQTT       udi_interface.interface DEBUG    interface:_message: QUEUING incoming message shortPoll

2022-01-31 23:01:57,988 Command    udi_interface.interface DEBUG    interface:_parseInput: DEQUEING shortPoll

2022-01-31 23:02:02,190 MQTT       udi_interface.interface DEBUG    interface:_message: QUEUING incoming message shortPoll

2022-01-31 23:02:02,192 Command    udi_interface.interface DEBUG    interface:_parseInput: DEQUEING shortPoll

  • 1 month later...
Posted

I just published version 2.0.1 that fixes at least some of the issues.  Restarting the node server will automatically do the update to the new version.

  • Like 3
  • 2 weeks later...
Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      37.1k
    • Total Posts
      371.5k
×
×
  • Create New...