tested on another mosquitto server with authentication, I changed parameters on your addon but I am not receiving any mqtt packet… so it is not due to mqtt auth
yes, exactly
and you use the mqtt_test.py you have hot this kind of return ?
# python3 mqtt_test.py
{'success': True, 'text': 'Connection Accepted.'}
yes, and information is published on my mqtt thread:
2026-01-25 18:52:32,280 INFO MQTT_HOST : 192.168.1.13 - MQTT_PORT : 1883
{‘success’: True, ‘text’: ‘Connection Accepted.’}
what is the sensor sending this kind of packets ?
no RSSI at the end (ie something like (-65)) before the \r\n
emonGLCD , it is sending only temperature
other logs:
2026-01-25 19:38:06,022 DEBUG b'OK 10 182 2 3 0 0 0 2 0 81 88 251 0 184 11 184 11 184 11 184 11 184 11 1 0 0 0\r\n'
2026-01-25 19:38:08,124 DEBUG ******************************
2026-01-25 19:38:08,124 DEBUG b’OK 24 245 8\r\n’
2026-01-25 19:38:11,227 DEBUG ******************************
2026-01-25 19:38:11,227 DEBUG b’OK 8 187 3 205 0 0 0 229 88\r\n’
2026-01-25 19:38:14,330 DEBUG ******************************
2026-01-25 19:38:14,330 DEBUG b’OK 21 108 8\r\n’
2026-01-25 19:38:15,131 DEBUG ******************************
2026-01-25 19:38:15,131 DEBUG b’OK 23 189 8\r\n’
2026-01-25 19:38:15,932 DEBUG ******************************
2026-01-25 19:38:15,933 DEBUG b’OK 10 214 2 4 0 1 0 2 0 132 88 251 0 184 11 184 11 184 11 184 11 184 11 1 0 0 0\r\n’
2026-01-25 19:38:16,934 DEBUG ******************************
2026-01-25 19:38:16,934 DEBUG b’OK 8 190 3 201 0 0 0 7 89\r\n’
great so the mqtt part is working. the problem is from the sensor side. if there is no rssi the packet is thrown away. As i dont have any emonGLCD, I cannot test from my side
The code must probably be adapted to fit to emonGLCD packets ?
key part is here :
I can ignore GLCD, but I need info from a emonTX and a emonTX v2 (in order):
2026-01-25 19:38:16,934 DEBUG b’OK 8 190 3 201 0 0 0 7 89\r\n’
2026-01-25 19:38:15,933 DEBUG b’OK 10 214 2 4 0 1 0 2 0 132 88 251 0 184 11 184 11 184 11 184 11 184 11 1 0 0 0\r\n’
with emontx it should work, but your payloads seem not to have any RSSI ? dont know why
see mines. The 2 first are not good the last one starts with OK and with rssi (-73) is fine
2026-01-25 19:49:01,780 DEBUG b’OK 8 36 7 0 0 9 1 0 0 18 3 0 0 125 0 0 0 100 0 0 0 91 0’
2026-01-25 19:49:01,780 INFO no end of line received - incomplete packet
2026-01-25 19:49:01,884 DEBUG ******************************
2026-01-25 19:49:01,884 DEBUG b’ 0 0 57 90 190 0 184 11 184 11 184 11 184 11 184 11 0 0 0 0 (-70) \r\n’
2026-01-25 19:49:31,470 DEBUG ******************************
2026-01-25 19:49:31,470 DEBUG b’OK 8 126 2 0 0 15 1 0 0 28 1 0 0 127 0 0 0 95 0 0 0 91 0 0 0 244 90 190 0 184 11 184 11 184 11 184 11 184 11 0 0 0 0 (-73) \r\n’
2026-01-25 19:52:29,554 DEBUG ******************************
anyway, this addon is experimental.
so why it wasn’t published on mqtt?
those extracts are from my addon, not yours. and yes in my ecosystem, the packet was published
in your extracts, I’ve never seen any (-xx)
so that’s why I say your payloads do not seem to have any rssi
are you sensors very far from the base ? which kind of receiver do you use ?
I’m using 2 emongcld, 1 emontx v1 and 1 emontx v2.
how to troubleshoot ? is possible to check if RSSI is present and ignore it if missing?
ex this one is fine for you?
2026-01-25 21:59:33,521 DEBUG b'OK 10 214 5 5 0 0 0 2 0 145 88 248 0 184 11 184 11 184 11 184 11 184 11 1 0 0 0\r\n'
How can I try to fix your Python code on my installation? What folder should I go to?
I was asking about the receiver..those are transmitters…
On your homeassistant installation, you may have a usb key or something else to receive radio data
Cf this documentation
sorry, for receiver I am using an rfm69 mounted on gpio interface on my raspberry.
Can’t you just use emonhub?
Help - docker install of emonhub and emoncms - Getting Started - OpenEnergyMonitor Community
Perhaps I’m missing something obvious.
I’m using emonhub on another installation but I would to migrate to homeassistant
@alexandrecuer - I thought your emoncms add-on had emonhub as well?
can I change python code on homeassistant? I am not so expert on docker on homeassistant.
where is a folder where I can access the python code of jeelib_sniffer.py?