Jump to content

Temp and humid not working....


EWhite
Go to solution Solved by TriLife,

Recommended Posts

40 minutes ago, EWhite said:

Dunno whats gong on.. but since you fixed the BME280 sensor, my analog is no longer working..

I'm wildly guess that you have it on the same device and as a result the key of the analog sensor changed names from Range to Range1 or something...

Please send me the output of a 'Status 10' 

and see if the key of your analog sensor matches the sensor-id of your node configuration...

If that's not it, it'll take me until next year to fix it😝

Cheers.

 

Edited by TriLife
Link to comment

nothing changed to my knowledge...

01:58:11.267 MQT: tele/ChickCoop/STATE = {"Time":"2024-01-01T01:58:11","Uptime":"0T05:40:33","UptimeSec":20433,"Heap":20,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"POWER":"OFF","Wifi":{"AP":1,"SSId":"IoT_whitehouse","BSSId":"1E:51:B4:49:DF:B2","Channel":4,"Mode":"11n","RSSI":94,"Signal":-53,"LinkCount":1,"Downtime":"0T00:00:24"}}
01:58:11.314 MQT: tele/ChickCoop/SENSOR = {"Time":"2024-01-01T01:58:11","ANALOG":{"Range":1220},"BME280":{"Temperature":35.7,"Humidity":74.0,"DewPoint":28.2,"Pressure":991.5},"PressureUnit":"hPa","TempUnit":"F"}

also the analog is showing 4 boxes in AC:

image.thumb.png.3cb7b4677caa55b09b7629c2691923a4.png

my status10:

image.thumb.png.8df5b21d4d4749021b155e27ecf9c98e.png

 

log from NS when i do a query:

2023-12-31 19:01:31,617 MQTT       udi_interface.interface DEBUG    interface:_message: QUEUING incoming message query
2023-12-31 19:01:31,618 Command    udi_interface.interface DEBUG    interface:_parseInput: DEQUEING query
2023-12-31 19:01:31,619 Command    udi_interface      DEBUG    mqtt-poly:query: QUERY: Range
2023-12-31 19:01:31,620 Command    udi_interface      DEBUG    mqtt-poly:query: QT: cmnd/ChickCoop/Status
2023-12-31 19:01:31,622 Command    udi_interface.node INFO     node:reportDrivers: Updating All Drivers to ISY for ChickCoop2(chickcoop2)
2023-12-31 19:01:31,632 Thread-1   udi_interface.interface DEBUG    interface:_send: PUBLISHING {'set': [{'address': 'chickcoop2', 'driver': 'ST', 'value': 1, 'uom': 2, 'text': None}, {'address': 'chickcoop2', 'driver': 'GV0', 'value': '0', 'uom': 56, 'text': None}, {'address': 'chickcoop2', 'driver': 'GV1', 'value': '0', 'uom': 56, 'text': None}, {'address': 'chickcoop2', 'driver': 'GV2', 'value': '0', 'uom': 56, 'text': None}, {'address': 'chickcoop2', 'driver': 'GV3', 'value': '0', 'uom': 56, 'text': None}]}
2023-12-31 19:01:31,746 Thread-5   udi_interface      DEBUG    mqtt-poly:_on_message: Received _on_message {"StatusSNS":{"Time":"2024-01-01T02:01:31","ANALOG":{"Range":1222},"BME280":{"Temperature":35.7,"Humidity":74.0,"DewPoint":28.2,"Pressure":991.5},"PressureUnit":"hPa","TempUnit":"F"}} from stat/ChickCoop/STATUS10
2023-12-31 19:01:31,748 Thread-5   udi_interface      INFO     mqtt-poly:_on_message: ANALOG Payload = {"StatusSNS":{"Time":"2024-01-01T02:01:31","ANALOG":{"Range":1222},"BME280":{"Temperature":35.7,"Humidity":74.0,"DewPoint":28.2,"Pressure":991.5},"PressureUnit":"hPa","TempUnit":"F"}}, Topic = stat/ChickCoop/STATUS10
2023-12-31 19:01:31,748 Thread-5   udi_interface      INFO     mqtt-poly:_on_message: _OA: Range
2023-12-31 19:01:31,749 Thread-5   udi_interface      DEBUG    mqtt-poly:_get_device_address_from_sensor_id: GDA1: stat/ChickCoop/STATUS10  Range
2023-12-31 19:01:31,750 Thread-5   udi_interface      DEBUG    mqtt-poly:_get_device_address_from_sensor_id: DLT: [{'id': 'ChickCoop2', 'type': 'analog', 'sensor_id': 'Range', 'status_topic': 'tele/ChickCoop/SENSOR', 'cmd_topic': 'cmnd/ChickCoop/power', 'extra_status_topic': 'stat/ChickCoop/STATUS10'}, {'id': 'Temp1', 'type': 'TempHumid', 'sensor_id': 'AM2301', 'status_topic': 'tele/Temp1/SENSOR', 'cmd_topic': 'cmnd/Temp1/power', 'extra_status_topic': 'stat/Temp1/STATUS10'}, {'id': 'Temp3', 'type': 'analog', 'sensor_id': 'Range', 'status_topic': 'tele/Temp1/SENSOR', 'cmd_topic': 'cmnd/Temp1/power', 'extra_status_topic': 'stat/Temp1/STATUS10'}, {'id': 'ChickCoop1', 'type': 'TempHumidPress', 'sensor_id': 'BME280', 'status_topic': 'tele/ChickCoop/SENSOR', 'cmd_topic': 'cmnd/ChickCoop/power', 'extra_status_topic': 'stat/ChickCoop/STATUS10'}, {'id': 'ST1', 'type': 'TempHumid', 'sensor_id': 'AM2301', 'status_topic': 'tele/StorageTrailer/SENSOR', 'cmd_topic': 'cmnd/StorageTrailer/power', 'extra_status_topic': 'stat/StorageTrailer/STATUS10'}, {'id': 'ST2', 'type': 'switch', 'status_topic': 'stat/StorageTrailer/POWER', 'cmd_topic': 'cmnd/StorageTrailer/power'}, {'id': 'shopstorage', 'type': 'switch', 'status_topic': 'stat/shopstorage/POWER', 'cmd_topic': 'cmnd/shopstorage/power'}, {'id': 'shopoutside', 'type': 'switch', 'status_topic': 'stat/shopsouthwall/POWER1', 'cmd_topic': 'cmnd/shopsouthwall/POWER1'}, {'id': 'shopmain', 'type': 'switch', 'status_topic': 'stat/shopsouthwall/POWER2', 'cmd_topic': 'cmnd/shopsouthwall/POWER2'}, {'id': 'Temp2', 'type': 'switch', 'status_topic': 'stat/Temp1/POWER', 'cmd_topic': 'cmnd/Temp1/power'}, {'id': 'ChickCoop3', 'type': 'switch', 'status_topic': 'stat/ChickCoop/POWER', 'cmd_topic': 'cmnd/ChickCoop/power'}, {'id': 'STlights', 'type': 'switch', 'status_topic': 'stat/TrailerLights/POWER', 'cmd_topic': 'cmnd/TrailerLights/command/power'}, {'id': 'DeckLites', 'type': 'switch', 'status_topic': 'stat/decklitesplug/POWER', 'cmd_topic': 'cmnd/decklitesplug/power'}, {'id': 'ShopHeatLamp', 'type': 'switch', 'status_topic': 'stat/ShopHeatLamp/POWER', 'cmd_topic': 'cmnd/ShopHeatLamp/power'}, {'id': 'EriksLight', 'type': 'switch', 'status_topic': 'stat/EriksFan/POWER1', 'cmd_topic': 'cmnd/EriksFan/power1'}, {'id': 'EriksFan', 'type': 'ifan', 'status_topic': 'stat/EriksFan/Result', 'cmd_topic': 'cmnd/EriksFan/FanSpeed'}]
2023-12-31 19:01:31,751 Thread-5   udi_interface      DEBUG    mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'ChickCoop2', 'type': 'analog', 'sensor_id': 'Range', 'status_topic': 'tele/ChickCoop/SENSOR', 'cmd_topic': 'cmnd/ChickCoop/power', 'extra_status_topic': 'stat/ChickCoop/STATUS10'}
2023-12-31 19:01:31,752 Thread-5   udi_interface      DEBUG    mqtt-poly:_get_device_address_from_sensor_id: NODE_ID: chickcoop2, stat/ChickCoop/STATUS10, Range
2023-12-31 19:01:31,753 Thread-5   udi_interface      DEBUG    mqtt-poly:_get_device_address_from_sensor_id: NODE_ID2: chickcoop2
2023-12-31 19:01:31,754 Thread-5   udi_interface      DEBUG    mqtt-poly:updateInfo: XXX Range, {'StatusSNS': {'Time': '2024-01-01T02:01:31', 'ANALOG': {'Range': 1222}, 'BME280': {'Temperature': 35.7, 'Humidity': 74.0, 'DewPoint': 28.2, 'Pressure': 991.5}, 'PressureUnit': 'hPa', 'TempUnit': 'F'}} 
2023-12-31 19:01:31,755 Thread-5   udi_interface.node DEBUG    node:setDriver: chickcoop2:ChickCoop2 No change in ST's value
2023-12-31 19:01:31,756 Thread-5   udi_interface      DEBUG    mqtt-poly:updateInfo: sensor_id UpdateInfo: Range
2023-12-31 19:01:31,757 Thread-5   udi_interface.node ERROR    node:setDriver: chickcoop2:ChickCoop2 Invalid driver: GPV
2023-12-31 19:01:31,758 Thread-5   udi_interface      INFO     mqtt-poly:updateInfo: M-analog Range:  1222
2023-12-31 19:01:31,758 Thread-5   udi_interface      INFO     mqtt-poly:_on_message: _OBM: BME280
2023-12-31 19:01:31,759 Thread-5   udi_interface      DEBUG    mqtt-poly:_get_device_address_from_sensor_id: GDA1: stat/ChickCoop/STATUS10  BME280
2023-12-31 19:01:31,760 Thread-5   udi_interface      DEBUG    mqtt-poly:_get_device_address_from_sensor_id: DLT: [{'id': 'ChickCoop2', 'type': 'analog', 'sensor_id': 'Range', 'status_topic': 'tele/ChickCoop/SENSOR', 'cmd_topic': 'cmnd/ChickCoop/power', 'extra_status_topic': 'stat/ChickCoop/STATUS10'}, {'id': 'Temp1', 'type': 'TempHumid', 'sensor_id': 'AM2301', 'status_topic': 'tele/Temp1/SENSOR', 'cmd_topic': 'cmnd/Temp1/power', 'extra_status_topic': 'stat/Temp1/STATUS10'}, {'id': 'Temp3', 'type': 'analog', 'sensor_id': 'Range', 'status_topic': 'tele/Temp1/SENSOR', 'cmd_topic': 'cmnd/Temp1/power', 'extra_status_topic': 'stat/Temp1/STATUS10'}, {'id': 'ChickCoop1', 'type': 'TempHumidPress', 'sensor_id': 'BME280', 'status_topic': 'tele/ChickCoop/SENSOR', 'cmd_topic': 'cmnd/ChickCoop/power', 'extra_status_topic': 'stat/ChickCoop/STATUS10'}, {'id': 'ST1', 'type': 'TempHumid', 'sensor_id': 'AM2301', 'status_topic': 'tele/StorageTrailer/SENSOR', 'cmd_topic': 'cmnd/StorageTrailer/power', 'extra_status_topic': 'stat/StorageTrailer/STATUS10'}, {'id': 'ST2', 'type': 'switch', 'status_topic': 'stat/StorageTrailer/POWER', 'cmd_topic': 'cmnd/StorageTrailer/power'}, {'id': 'shopstorage', 'type': 'switch', 'status_topic': 'stat/shopstorage/POWER', 'cmd_topic': 'cmnd/shopstorage/power'}, {'id': 'shopoutside', 'type': 'switch', 'status_topic': 'stat/shopsouthwall/POWER1', 'cmd_topic': 'cmnd/shopsouthwall/POWER1'}, {'id': 'shopmain', 'type': 'switch', 'status_topic': 'stat/shopsouthwall/POWER2', 'cmd_topic': 'cmnd/shopsouthwall/POWER2'}, {'id': 'Temp2', 'type': 'switch', 'status_topic': 'stat/Temp1/POWER', 'cmd_topic': 'cmnd/Temp1/power'}, {'id': 'ChickCoop3', 'type': 'switch', 'status_topic': 'stat/ChickCoop/POWER', 'cmd_topic': 'cmnd/ChickCoop/power'}, {'id': 'STlights', 'type': 'switch', 'status_topic': 'stat/TrailerLights/POWER', 'cmd_topic': 'cmnd/TrailerLights/command/power'}, {'id': 'DeckLites', 'type': 'switch', 'status_topic': 'stat/decklitesplug/POWER', 'cmd_topic': 'cmnd/decklitesplug/power'}, {'id': 'ShopHeatLamp', 'type': 'switch', 'status_topic': 'stat/ShopHeatLamp/POWER', 'cmd_topic': 'cmnd/ShopHeatLamp/power'}, {'id': 'EriksLight', 'type': 'switch', 'status_topic': 'stat/EriksFan/POWER1', 'cmd_topic': 'cmnd/EriksFan/power1'}, {'id': 'EriksFan', 'type': 'ifan', 'status_topic': 'stat/EriksFan/Result', 'cmd_topic': 'cmnd/EriksFan/FanSpeed'}]
2023-12-31 19:01:31,761 Thread-5   udi_interface      DEBUG    mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'ChickCoop2', 'type': 'analog', 'sensor_id': 'Range', 'status_topic': 'tele/ChickCoop/SENSOR', 'cmd_topic': 'cmnd/ChickCoop/power', 'extra_status_topic': 'stat/ChickCoop/STATUS10'}
2023-12-31 19:01:31,762 Thread-5   udi_interface      DEBUG    mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'Temp1', 'type': 'TempHumid', 'sensor_id': 'AM2301', 'status_topic': 'tele/Temp1/SENSOR', 'cmd_topic': 'cmnd/Temp1/power', 'extra_status_topic': 'stat/Temp1/STATUS10'}
2023-12-31 19:01:31,763 Thread-5   udi_interface      DEBUG    mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'Temp3', 'type': 'analog', 'sensor_id': 'Range', 'status_topic': 'tele/Temp1/SENSOR', 'cmd_topic': 'cmnd/Temp1/power', 'extra_status_topic': 'stat/Temp1/STATUS10'}
2023-12-31 19:01:31,764 Thread-5   udi_interface      DEBUG    mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'ChickCoop1', 'type': 'TempHumidPress', 'sensor_id': 'BME280', 'status_topic': 'tele/ChickCoop/SENSOR', 'cmd_topic': 'cmnd/ChickCoop/power', 'extra_status_topic': 'stat/ChickCoop/STATUS10'}
2023-12-31 19:01:31,765 Thread-5   udi_interface      DEBUG    mqtt-poly:_get_device_address_from_sensor_id: NODE_ID: chickcoop1, stat/ChickCoop/STATUS10, BME280
2023-12-31 19:01:31,766 Thread-5   udi_interface      DEBUG    mqtt-poly:_get_device_address_from_sensor_id: NODE_ID2: chickcoop1
2023-12-31 19:01:31,767 Thread-5   udi_interface      DEBUG    mqtt-poly:updateInfo: BBB BME280, {'StatusSNS': {'Time': '2024-01-01T02:01:31', 'ANALOG': {'Range': 1222}, 'BME280': {'Temperature': 35.7, 'Humidity': 74.0, 'DewPoint': 28.2, 'Pressure': 991.5}, 'PressureUnit': 'hPa', 'TempUnit': 'F'}} 
2023-12-31 19:01:31,768 Thread-5   udi_interface.node DEBUG    node:setDriver: chickcoop1:ChickCoop1 No change in ST's value
2023-12-31 19:01:31,768 Thread-5   udi_interface.node DEBUG    node:setDriver: chickcoop1:ChickCoop1 No change in CLITEMP's value
2023-12-31 19:01:31,769 Thread-5   udi_interface.node DEBUG    node:setDriver: chickcoop1:ChickCoop1 No change in CLIHUM's value
2023-12-31 19:01:31,770 Thread-5   udi_interface.node DEBUG    node:setDriver: chickcoop1:ChickCoop1 No change in DEWPT's value
2023-12-31 19:01:31,771 Thread-5   udi_interface.node DEBUG    node:setDriver: chickcoop1:ChickCoop1 No change in BARPRES's value
2023-12-31 19:01:31,772 Thread-5   udi_interface      INFO     mqtt-poly:_on_message: Payload = {"StatusSNS":{"Time":"2024-01-01T02:01:31","ANALOG":{"Range":1222},"BME280":{"Temperature":35.7,"Humidity":74.0,"DewPoint":28.2,"Pressure":991.5},"PressureUnit":"hPa","TempUnit":"F"}}, Topic = stat/ChickCoop/STATUS10
2023-12-31 19:01:31,773 Thread-5   udi_interface      DEBUG    mqtt-poly:_dev_by_topic: STATUS TO DEVICES = chickcoop1
2023-12-31 19:01:31,774 Thread-5   udi_interface      DEBUG    mqtt-poly:updateInfo: BBB BME280, {'StatusSNS': {'Time': '2024-01-01T02:01:31', 'ANALOG': {'Range': 1222}, 'BME280': {'Temperature': 35.7, 'Humidity': 74.0, 'DewPoint': 28.2, 'Pressure': 991.5}, 'PressureUnit': 'hPa', 'TempUnit': 'F'}} 
2023-12-31 19:01:31,775 Thread-5   udi_interface.node DEBUG    node:setDriver: chickcoop1:ChickCoop1 No change in ST's value
2023-12-31 19:01:31,776 Thread-5   udi_interface.node DEBUG    node:setDriver: chickcoop1:ChickCoop1 No change in CLITEMP's value
2023-12-31 19:01:31,777 Thread-5   udi_interface.node DEBUG    node:setDriver: chickcoop1:ChickCoop1 No change in CLIHUM's value
2023-12-31 19:01:31,778 Thread-5   udi_interface.node DEBUG    node:setDriver: chickcoop1:ChickCoop1 No change in DEWPT's value
2023-12-31 19:01:31,779 Thread-5   udi_interface.node DEBUG    node:setDriver: chickcoop1:ChickCoop1 No change in BARPRES's value
2023-12-31 19:01:32,000 MQTT       udi_interface.interface INFO     interface:_message: Successfully set chickcoop2 :: ST to 1 UOM 2
2023-12-31 19:01:32,001 MQTT       udi_interface.interface INFO     interface:_message: Successfully set chickcoop2 :: GV0 to 0 UOM 56
2023-12-31 19:01:32,002 MQTT       udi_interface.interface INFO     interface:_message: Successfully set chickcoop2 :: GV1 to 0 UOM 56
2023-12-31 19:01:32,003 MQTT       udi_interface.interface INFO     interface:_message: Successfully set chickcoop2 :: GV2 to 0 UOM 56
2023-12-31 19:01:32,004 MQTT       udi_interface.interface INFO     interface:_message: Successfully set chickcoop2 :: GV3 to 0 UOM 56

 

Link to comment

It looks like you still have the old analog node in there..

In PG3X, STOP the plug in, click on NODES and delete n010_chickcoop2 and any other analog nodes you have. Then hit RESTART.

Each analog node should only have one analog reading in it.

Happy New Year!

Link to comment
Posted (edited)

I have 2 analog nodes.. they are separate devices...with separate names .( i kept the old chicken coop node for testing)

I deleted both analog nodes and restarted, it created them back with no change.

 

Edited by EWhite
Link to comment

here is my list:

[ 
{"id": "ChickCoop2", "type": "analog", "sensor_id": "Range", "status_topic": "tele/ChickCoop/SENSOR", "cmd_topic": "cmnd/ChickCoop/power"}, 
{"id": "Temp1", "type": "TempHumid", "sensor_id": "AM2301", "status_topic": "tele/Temp1/SENSOR", "cmd_topic": "cmnd/Temp1/power"}, 
{"id": "Temp3", "type": "analog", "sensor_id": "Range", "status_topic": "tele/Temp1/SENSOR", "cmd_topic": "cmnd/Temp1/power"}, 
{"id": "ChickCoop1", "type": "TempHumidPress", "sensor_id": "BME280", "status_topic": "tele/ChickCoop/SENSOR", "cmd_topic": "cmnd/ChickCoop/power"}, 
{"id": "ST1", "type": "TempHumid", "sensor_id": "AM2301", "status_topic": "tele/StorageTrailer/SENSOR", "cmd_topic": "cmnd/StorageTrailer/power"}, 
{"id": "ST2", "type": "switch", "status_topic": "stat/StorageTrailer/POWER", "cmd_topic": "cmnd/StorageTrailer/power"}, 
{"id": "shopstorage", "type": "switch", "status_topic": "stat/shopstorage/POWER", "cmd_topic": "cmnd/shopstorage/power"}, 
{"id": "shopoutside", "type": "switch", "status_topic": "stat/shopsouthwall/POWER1", "cmd_topic": "cmnd/shopsouthwall/POWER1"}, 
{"id": "shopmain", "type": "switch", "status_topic": "stat/shopsouthwall/POWER2", "cmd_topic": "cmnd/shopsouthwall/POWER2"}, 
{"id": "Temp2", "type": "switch", "status_topic": "stat/Temp1/POWER", "cmd_topic": "cmnd/Temp1/power"}, 
{"id": "ChickCoop3", "type": "switch", "status_topic": "stat/ChickCoop/POWER", "cmd_topic": "cmnd/ChickCoop/power"}, 
{"id": "STlights", "type": "switch", "status_topic": "stat/TrailerLights/POWER", "cmd_topic": "cmnd/TrailerLights/command/power"}, 
{"id": "DeckLites", "type": "switch", "status_topic": "stat/decklitesplug/POWER", "cmd_topic": "cmnd/decklitesplug/power"}, 
{"id": "ShopHeatLamp", "type": "switch", "status_topic": "stat/ShopHeatLamp/POWER", "cmd_topic": "cmnd/ShopHeatLamp/power"}, 
{"id": "EriksLight", "type": "switch", "status_topic": "stat/EriksFan/POWER1", "cmd_topic": "cmnd/EriksFan/power1"}, 
{"id": "EriksFan", "type": "ifan", "status_topic": "stat/EriksFan/Result", "cmd_topic": "cmnd/EriksFan/FanSpeed"} 
]

 

Link to comment
2 hours ago, EWhite said:

I have 2 analog nodes.. they are separate devices...with separate names .( i kept the old chicken coop node for testing)

I deleted both analog nodes and restarted, it created them back with no change.

 

Ok, let me have a look at this. I'll ping you.

Edited by TriLife
Link to comment

There was a foul-up when merging with a PR.

Please install V0.0.34 from the Beta-Store and let me know how this looks.

You should have 1 node per analog channel, not 4 like before

All others should work as per normal

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...