I had some messy eisy issues and I am hoping someone can help with the last broken item.
Data from my Sonoff/Tasmota AM2301 and DS18B20 sensors is not populating in the mqtt NS or Eisy UI after things went wonky.
My stability problems started while adding a new temperature sensor to my mqtt devices.yaml file and I am still unsure why. Sonoff devices and all zwave nodes became unresponsive, and all my Programs disappeared from the UI. After a reboot the eisy was in an initializing system loop and would not recover. UI stability came back after I upgraded packages to 5.80 via the UI and rebooted. I also upgraded the mqtt NS to 0.0.34 which defaulted the port back to 1884 when I am running port 1883 on a standalone broker. After a bunch of needless troubleshooting I discovered the port issue and thought I was good when the Sonoff switch devices started working properly. However, the sensor values are still not populating in the NS or UI, yet I see MQTT messages with correct sensor data in the debug log. Lastly, values look are fine in the tasmota UI as well as Home assitant.
I deleted the nodes in the NS and UI, restarted the MQTT NS and UI but no change.
I deleted and reinstalled the 0.0.34 NS but no change
Sorry for the all detailed drama, does anyone have any ideas why sensor data is not populating?
Thank you in advance.
Alan
Debug Log
2024-01-09 00:00:49,042 Thread-5 udi_interface DEBUG mqtt-poly:_on_message: Received _on_message {"Time":"2024-01-09T06:00:48","AM2301":{"Temperature":37.8,"Humidity":67.0,"DewPoint":27.8},"TempUnit":"F"} from tele/attictemp/SENSOR
2024-01-09 00:00:49,043 Thread-5 udi_interface INFO mqtt-poly:_on_message: _OAM: AM2301
2024-01-09 00:00:49,043 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: GDA1: tele/attictemp/SENSOR AM2301
2024-01-09 00:00:49,043 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: DLT: [{'id': 'shellytest1', 'type': 'switch', 'status_topic': 'stat/shellytest1/POWER', 'cmd_topic': 'cmnd/shellytest1/power'}, {'id': 'sonoff1', 'type': 'switch', 'status_topic': 'stat/sonoff1/POWER', 'cmd_topic': 'cmnd/sonoff1/power'}, {'id': 'basementlight', 'type': 'switch', 'status_topic': 'stat/basementlight/POWER', 'cmd_topic': 'cmnd/basementlight/power'}, {'id': 'benchrgbw', 'type': 'switch', 'status_topic': 'stat/benchrgbw/POWER', 'cmd_topic': 'cmnd/benchrgbw/power'}, {'id': 'sensornode1', 'type': 'sensor', 'status_topic': 'tele/sonoff2/SENSOR', 'cmd_topic': 'cmnd/sensor2/POWER'}, {'id': 'outsidetemp', 'type': 'Temp', 'status_topic': 'tele/outsidetemp/SENSOR', 'cmd_topic': 'cmnd/outsidetemp/POWER', 'sensor_id': 'SINGLE_SENSOR', 'extra_status_topic': 'stat/outsidetemp/STATUS10'}, {'id': 'outsideswitch', 'type': 'switch', 'status_topic': 'stat/outsidetemp/POWER', 'cmd_topic': 'cmnd/outsidetemp/power'}, {'id': 'masterbathfan', 'type': 'switch', 'status_topic': 'stat/masbathfan/POWER', 'cmd_topic': 'cmnd/masbathfan/power'}, {'id': 'masterbathtemp', 'type': 'TempHumid', 'status_topic': 'tele/masterbathtemp/SENSOR', 'cmd_topic': 'cmnd/masterbathtemp/POWER', 'sensor_id': 'SINGLE_SENSOR', 'extra_status_topic': 'stat/masterbathtemp/STATUS10'}, {'id': 'shedenclosuretemp', 'type': 'TempHumid', 'status_topic': 'tele/shedenclosuretemp/SENSOR', 'cmd_topic': 'cmnd/shedenclosuretemp/POWER', 'sensor_id': 'SINGLE_SENSOR', 'extra_status_topic': 'stat/shedenclosuretemp/STATUS10'}, {'id': 'shedenclosuretempswitch', 'type': 'switch', 'status_topic': 'stat/shedenclosuretemp/POWER', 'cmd_topic': 'cmnd/shedenclosuretemp/power'}, {'id': 'shopaircomp', 'type': 'switch', 'status_topic': 'stat/shopaircomp/POWER', 'cmd_topic': 'cmnd/shopaircomp/power'}, {'id': 'attictemp', 'type': 'TempHumid', 'status_topic': 'tele/attictemp/SENSOR', 'cmd_topic': 'cmnd/attictemp/POWER', 'sensor_id': 'SINGLE_SENSOR', 'extra_status_topic': 'stat/attictemp/STATUS10'}, {'id': 'shellybench', 'type': 'switch', 'status_topic': 'shellies/shellyrgbw/color/0/status', 'cmd_topic': 'shellies/shellyrgbw/color/0/power'}, {'id': 'shopaircleaner', 'type': 'switch', 'status_topic': 'stat/shopaircleaner/POWER', 'cmd_topic': 'cmnd/shopaircleaner/power'}, {'id': 'diningroomoutlet', 'type': 'switch', 'status_topic': 'stat/diningroomoutlet/POWER', 'cmd_topic': 'cmnd/diningroomoutlet/power'}, {'id': 'mainbathlights', 'type': 'switch', 'status_topic': 'stat/mainbathlights/POWER', 'cmd_topic': 'cmnd/mainbathlights/power'}, {'id': 'DiningDivider', 'type': 'switch', 'status_topic': 'stat/diningdivider/POWER', 'cmd_topic': 'cmnd/diningdivider/power'}, {'id': 'diningwindows', 'type': 'switch', 'status_topic': 'stat/diningwindows/POWER', 'cmd_topic': 'cmnd/diningwindows/power'}, {'id': 'bedmotionleft', 'type': 'sensor', 'status_topic': 'stat/bedmotionleft/SENSOR', 'cmd_topic': 'cmnd/bedmotionleft/power'}, {'id': 'shedenclosureheater', 'type': 'switch', 'status_topic': 'stat/shedenclosureheater/POWER', 'cmd_topic': 'cmnd/shedenclosureheater/power'}, {'id': 'garageenclosureheater', 'type': 'switch', 'status_topic': 'stat/garageenclosureheater/POWER', 'cmd_topic': 'cmnd/garageenclosureheater/power'}, {'id': 'shedtemp', 'type': 'TempHumid', 'status_topic': 'tele/shedtemp/SENSOR', 'cmd_topic': 'cmnd/shedtemp/POWER', 'sensor_id': 'SINGLE_SENSOR', 'extra_status_topic': 'stat/shedtemp/STATUS10'}, {'id': 'garagetempnew', 'type': 'TempHumid', 'status_topic': 'tele/garagetempnew/SENSOR', 'cmd_topic': 'cmnd/garagetempnew/POWER', 'sensor_id': 'SINGLE_SENSOR', 'extra_status_topic': 'stat/garagetempnew/STATUS10'}]
2024-01-09 00:00:49,043 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'shellytest1', 'type': 'switch', 'status_topic': 'stat/shellytest1/POWER', 'cmd_topic': 'cmnd/shellytest1/power'}
2024-01-09 00:00:49,043 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'sonoff1', 'type': 'switch', 'status_topic': 'stat/sonoff1/POWER', 'cmd_topic': 'cmnd/sonoff1/power'}
2024-01-09 00:00:49,043 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'basementlight', 'type': 'switch', 'status_topic': 'stat/basementlight/POWER', 'cmd_topic': 'cmnd/basementlight/power'}
2024-01-09 00:00:49,043 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'benchrgbw', 'type': 'switch', 'status_topic': 'stat/benchrgbw/POWER', 'cmd_topic': 'cmnd/benchrgbw/power'}
2024-01-09 00:00:49,044 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'sensornode1', 'type': 'sensor', 'status_topic': 'tele/sonoff2/SENSOR', 'cmd_topic': 'cmnd/sensor2/POWER'}
2024-01-09 00:00:49,044 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'outsidetemp', 'type': 'Temp', 'status_topic': 'tele/outsidetemp/SENSOR', 'cmd_topic': 'cmnd/outsidetemp/POWER', 'sensor_id': 'SINGLE_SENSOR', 'extra_status_topic': 'stat/outsidetemp/STATUS10'}
2024-01-09 00:00:49,044 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'outsideswitch', 'type': 'switch', 'status_topic': 'stat/outsidetemp/POWER', 'cmd_topic': 'cmnd/outsidetemp/power'}
2024-01-09 00:00:49,044 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'masterbathfan', 'type': 'switch', 'status_topic': 'stat/masbathfan/POWER', 'cmd_topic': 'cmnd/masbathfan/power'}
2024-01-09 00:00:49,044 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'masterbathtemp', 'type': 'TempHumid', 'status_topic': 'tele/masterbathtemp/SENSOR', 'cmd_topic': 'cmnd/masterbathtemp/POWER', 'sensor_id': 'SINGLE_SENSOR', 'extra_status_topic': 'stat/masterbathtemp/STATUS10'}
2024-01-09 00:00:49,044 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'shedenclosuretemp', 'type': 'TempHumid', 'status_topic': 'tele/shedenclosuretemp/SENSOR', 'cmd_topic': 'cmnd/shedenclosuretemp/POWER', 'sensor_id': 'SINGLE_SENSOR', 'extra_status_topic': 'stat/shedenclosuretemp/STATUS10'}
2024-01-09 00:00:49,044 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'shedenclosuretempswitch', 'type': 'switch', 'status_topic': 'stat/shedenclosuretemp/POWER', 'cmd_topic': 'cmnd/shedenclosuretemp/power'}
2024-01-09 00:00:49,044 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'shopaircomp', 'type': 'switch', 'status_topic': 'stat/shopaircomp/POWER', 'cmd_topic': 'cmnd/shopaircomp/power'}
2024-01-09 00:00:49,044 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'attictemp', 'type': 'TempHumid', 'status_topic': 'tele/attictemp/SENSOR', 'cmd_topic': 'cmnd/attictemp/POWER', 'sensor_id': 'SINGLE_SENSOR', 'extra_status_topic': 'stat/attictemp/STATUS10'}
2024-01-09 00:00:49,045 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'shellybench', 'type': 'switch', 'status_topic': 'shellies/shellyrgbw/color/0/status', 'cmd_topic': 'shellies/shellyrgbw/color/0/power'}
2024-01-09 00:00:49,045 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'shopaircleaner', 'type': 'switch', 'status_topic': 'stat/shopaircleaner/POWER', 'cmd_topic': 'cmnd/shopaircleaner/power'}
2024-01-09 00:00:49,045 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'diningroomoutlet', 'type': 'switch', 'status_topic': 'stat/diningroomoutlet/POWER', 'cmd_topic': 'cmnd/diningroomoutlet/power'}
2024-01-09 00:00:49,045 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'mainbathlights', 'type': 'switch', 'status_topic': 'stat/mainbathlights/POWER', 'cmd_topic': 'cmnd/mainbathlights/power'}
2024-01-09 00:00:49,045 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'DiningDivider', 'type': 'switch', 'status_topic': 'stat/diningdivider/POWER', 'cmd_topic': 'cmnd/diningdivider/power'}
2024-01-09 00:00:49,045 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'diningwindows', 'type': 'switch', 'status_topic': 'stat/diningwindows/POWER', 'cmd_topic': 'cmnd/diningwindows/power'}
2024-01-09 00:00:49,045 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'bedmotionleft', 'type': 'sensor', 'status_topic': 'stat/bedmotionleft/SENSOR', 'cmd_topic': 'cmnd/bedmotionleft/power'}
2024-01-09 00:00:49,045 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'shedenclosureheater', 'type': 'switch', 'status_topic': 'stat/shedenclosureheater/POWER', 'cmd_topic': 'cmnd/shedenclosureheater/power'}
2024-01-09 00:00:49,045 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'garageenclosureheater', 'type': 'switch', 'status_topic': 'stat/garageenclosureheater/POWER', 'cmd_topic': 'cmnd/garageenclosureheater/power'}
2024-01-09 00:00:49,046 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'shedtemp', 'type': 'TempHumid', 'status_topic': 'tele/shedtemp/SENSOR', 'cmd_topic': 'cmnd/shedtemp/POWER', 'sensor_id': 'SINGLE_SENSOR', 'extra_status_topic': 'stat/shedtemp/STATUS10'}
2024-01-09 00:00:49,046 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: GDA2: {'id': 'garagetempnew', 'type': 'TempHumid', 'status_topic': 'tele/garagetempnew/SENSOR', 'cmd_topic': 'cmnd/garagetempnew/POWER', 'sensor_id': 'SINGLE_SENSOR', 'extra_status_topic': 'stat/garagetempnew/STATUS10'}
2024-01-09 00:00:49,046 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: NODE_ID2: None
2024-01-09 00:00:49,046 Thread-5 udi_interface ERROR mqtt-poly:_on_message: Failed to process message 'NoneType' object has no attribute 'updateInfo'
2024-01-09 00:01:09,895 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message shortPoll
2024-01-09 00:01:09,895 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll
2024-01-09 00:02:09,897 MQTT udi_interface.interface DEBUG interface:_message: QUEUING incoming message shortPoll
2024-01-09 00:02:09,897 Command udi_interface.interface DEBUG interface:_parseInput: DEQUEING shortPoll
2024-01-09 00:02:55,882 Thread-5 udi_interface DEBUG mqtt-poly:_on_message: Received _on_message {"Time":"2024-01-09T06:02:55","AM2301":{"Temperature":35.4,"Humidity":73.2,"DewPoint":27.7},"TempUnit":"F"} from tele/garagetempnew/SENSOR
2024-01-09 00:02:55,883 Thread-5 udi_interface INFO mqtt-poly:_on_message: _OAM: AM2301
2024-01-09 00:02:55,883 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: GDA1: tele/garagetempnew/SENSOR AM2301
2024-01-09 00:02:55,883 Thread-5 udi_interface DEBUG mqtt-poly:_get_device_address_from_sensor_id: DLT: [{'id': 'shellytest1', 'type': 'switch', 'status_topic': 'stat/shellytest1/POWER', 'cmd_topic': 'cmnd/shellytest1/power'}, {'id': 'sonoff1', 'type': 'switch', 'status_topic': 'stat/sonoff1/POWER', 'cmd_topic': 'cmnd/sonoff1/power'}, {'id': 'basementlight', 'type': 'switch', 'status_topic': 'stat/basementlight/POWER', 'cmd_topic': 'cmnd/basementlight/power'}, {'id': 'benchrgbw', 'type': 'switch', 'status_topic': 'stat/benchrgbw/POWER', 'cmd_topic': 'cmnd/benchrgbw/power'}, {'id': 'sensornode1', 'type': 'sensor', 'status_topic': 'tele/sonoff2/SENSOR', 'cmd_topic': 'cmnd/sensor2/POWER'}, {'id': 'outsidetemp', 'type': 'Temp', 'status_topic': 'tele/outsidetemp/SENSOR', 'cmd_topic': 'cmnd/outsidetemp/POWER', 'sensor_id': 'SINGLE_SENSOR', 'extra_status_topic': 'stat/outsidetemp/STATUS10'}, {'id': 'outsideswitch', 'type': 'switch', 'status_topic': 'stat/outsidetemp/POWER', 'cmd_topic': 'cmnd/outsidetemp/p
NS Install Log
Installing collected packages: paho-mqtt, setuptools, python-dotenv, pip, markdown2, pyisy, udi_interface
WARNING: The script dotenv is installed in '/var/polyglot/pg3/ns/0021b9026135_11/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts pip, pip3 and pip3.9 are installed in '/var/polyglot/pg3/ns/0021b9026135_11/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script markdown2 is installed in '/var/polyglot/pg3/ns/0021b9026135_11/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed markdown2-2.4.12 paho-mqtt-1.6.1 pip-23.2.1 pyisy-2.1.7 python-dotenv-1.0.0 setuptools-65.5.1 udi_interface-3.2.6
devices.yaml
devices:
- id: "shellytest1"
type: "switch"
status_topic: "stat/shellytest1/POWER"
cmd_topic: "cmnd/shellytest1/power"
- id: "sonoff1"
type: "switch"
status_topic: "stat/sonoff1/POWER"
cmd_topic: "cmnd/sonoff1/power"
- id: "basementlight"
type: "switch"
status_topic: "stat/basementlight/POWER"
cmd_topic: "cmnd/basementlight/power"
- id: "benchrgbw"
type: "switch"
status_topic: "stat/benchrgbw/POWER"
cmd_topic: "cmnd/benchrgbw/power"
- id: "sensornode1"
type: "sensor"
status_topic: "tele/sonoff2/SENSOR"
cmd_topic: "cmnd/sensor2/POWER"
- id: "outsidetemp"
type: "Temp"
status_topic: "tele/outsidetemp/SENSOR"
cmd_topic: "cmnd/outsidetemp/POWER"
- id: "outsideswitch"
type: "switch"
status_topic: "stat/outsidetemp/POWER"
cmd_topic: "cmnd/outsidetemp/power"
- id: "masterbathfan"
type: "switch"
status_topic: "stat/masbathfan/POWER"
cmd_topic: "cmnd/masbathfan/power"
- id: "masterbathtemp"
type: "TempHumid"
status_topic: "tele/masterbathtemp/SENSOR"
cmd_topic: "cmnd/masterbathtemp/POWER"
- id: "shedenclosuretemp"
type: "TempHumid"
status_topic: "tele/shedenclosuretemp/SENSOR"
cmd_topic: "cmnd/shedenclosuretemp/POWER"
- id: "shedenclosuretempswitch"
type: "switch"
status_topic: "stat/shedenclosuretemp/POWER"
cmd_topic: "cmnd/shedenclosuretemp/power"
- id: "shopaircomp"
type: "switch"
status_topic: "stat/shopaircomp/POWER"
cmd_topic: "cmnd/shopaircomp/power"
- id: "attictemp"
type: "TempHumid"
status_topic: "tele/attictemp/SENSOR"
cmd_topic: "cmnd/attictemp/POWER"
- id: "shellybench"
type: "switch"
status_topic: "shellies/shellyrgbw/color/0/status"
cmd_topic: "shellies/shellyrgbw/color/0/power"
- id: "shopaircleaner"
type: "switch"
status_topic: "stat/shopaircleaner/POWER"
cmd_topic: "cmnd/shopaircleaner/power"
- id: "diningroomoutlet"
type: "switch"
status_topic: "stat/diningroomoutlet/POWER"
cmd_topic: "cmnd/diningroomoutlet/power"
- id: "mainbathlights"
type: "switch"
status_topic: "stat/mainbathlights/POWER"
cmd_topic: "cmnd/mainbathlights/power"
- id: "DiningDivider"
type: "switch"
status_topic: "stat/diningdivider/POWER"
cmd_topic: "cmnd/diningdivider/power"
- id: "diningwindows"
type: "switch"
status_topic: "stat/diningwindows/POWER"
cmd_topic: "cmnd/diningwindows/power"
- id: "bedmotionleft"
type: "sensor"
status_topic: "stat/bedmotionleft/SENSOR"
cmd_topic: "cmnd/bedmotionleft/power"
- id: "shedenclosureheater"
type: "switch"
status_topic: "stat/shedenclosureheater/POWER"
cmd_topic: "cmnd/shedenclosureheater/power"
- id: "garageenclosureheater"
type: "switch"
status_topic: "stat/garageenclosureheater/POWER"
cmd_topic: "cmnd/garageenclosureheater/power"
- id: "shedtemp"
type: "TempHumid"
status_topic: "tele/shedtemp/SENSOR"
cmd_topic: "cmnd/shedtemp/POWER"
- id: "garagetempnew"
type: "TempHumid"
status_topic: "tele/garagetempnew/SENSOR"
cmd_topic: "cmnd/garagetempnew/POWER"