strange , still same , tryd with 2 versions… “lvl_cm”:null,“lvl_in”:null}
uptime
103
version
v1.8.1
mqtt
true
serial
false
disc
true
ohdisc
false
env
esp32dev-ble
uptime
55
version
7f542c
mqtt
true
serial
false
disc
true
env
esp32dev-ble
“manufacturerdata”:“c5000744d54f0106240000000800124e028af9f753be”,“rssi”:-87,“txpower”:0,“brand”:“Onset”,“model”:“Hobo Water Level Sensor”,“model_id”:“HOBOMX2001”,“type”:“UNIQ”,“lvl_cm”:null,“lvl_in”:null}
DigiH
March 26, 2025, 5:32pm
43
7f542c
Hmm, with the 7f542c OMG development build, can you Clean/Full Clean before building and uploading, just to make sure the very latest devlopment state of Decoder is being pulled down.
“manufacturerdata”:“c5000744d54f0106240000000800124e028af9f753be” is giving me
{"brand":"Onset","model":"Hobo Water Level Sensor","model_id":"HOBOMX2001","type":"UNIQ","lvl_cm":-20.70006281,"lvl_in":-8.149631028}
when running it as a test case.
Is this HOBO sensor support in Theengs app also ? I could try there also
DigiH
March 26, 2025, 5:48pm
45
It is not supported in the Theengs App so far.
DigiH
March 27, 2025, 12:54pm
46
Can you try with a pre-built binary of the development test builds?
One gateway, many technologies: MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, LoRa, beacons detection, mi flora / mi jia / LYWSD02/ Mi Scale compatibility, SMS & LORA.
and I choose from the list esp32dev-ble?
DigiH
March 27, 2025, 1:32pm
48
Correct, assuming this was also the environment you previously used to build.
version “7f542c”
still same
app is showing negatine
packet is coming ,but gateway dont decode if its negative
and I tried putting the sensor deeper in the water, as soon as positive numbers come in, the gateway starts showing them too:
N: [ OMG->MQTT ] topic: home/OMG_ESP32_BLE_test4/BTtoMQTT/EDD8E2A2CC0A msg: {“id”:“ED:D8:E2:A2:CC:0A”,“mac_type”:1,“adv_type”:0,“manufacturerdata”:“c5000744d54f0106240000000800124e028a40cb8f3c”,“rssi”:-86,“txpower”:0,“brand”:“Onset”,“model”:“Hobo Water Level Sensor”,“model_id”:“HOBOMX2001”,“type”:“UNIQ”,“lvl_cm”:1.755297,“lvl_in”:0.691062}
but as long as it is negative it show this “null”.
{“id”:“ED:D8:E2:A2:CC:0A”,“mac_type”:1,“adv_type”:0,“manufacturerdata”:“c5000744d54f0106240000000800124e028afe4ec5bd”,“rssi”:-82,“txpower”:0,“brand”:“Onset”,“model”:“Hobo Water Level Sensor”,“model_id”:“HOBOMX2001”,“type”:“UNIQ”,“lvl_cm”:null,“lvl_in”:null}
DigiH
March 27, 2025, 2:03pm
50
Possibly 32-bit min/max issue I assume, even though the values should be well within the limits.
Could you run this connected to your VSC setup and watch the logging? You should see an entry with
extracted value from …
before the Hobo decoding. Can you see these?
I don’t understand what that means…
DigiH
March 27, 2025, 2:10pm
52
Can you attach the gateway to your computer and in VSC view the serial log.
Alternatively log into the WebUI and go to Console, to monitor the logging there.
aa ok serial logger , i am using arduino serial logger
and copied these lines, but you can’t see anything different from there
when positive water level:
N: BT Device detected: ED:D8:E2:A2:CC:0A
N: [ OMG->MQTT ] topic: home/OMG_ESP32_BLE_test4/BTtoMQTT/EDD8E2A2CC0A msg: {“id”:“ED:D8:E2:A2:CC:0A”,“mac_type”:1,“adv_type”:0,“manufacturerdata”:“c5000744d54f0106240000000800124e028a109b943c”,“rssi”:-89,“txpower”:0,“brand”:“Onset”,“model”:“Hobo Water Level Sensor”,“model_id”:“HOBOMX2001”,“type”:“UNIQ”,“lvl_cm”:1.814035,“lvl_in”:0.714187}
when negative water level:
N: BT Device detected: ED:D8:E2:A2:CC:0A
N: [ OMG->MQTT ] topic: home/OMG_ESP32_BLE_test4/BTtoMQTT/EDD8E2A2CC0A msg: {“id”:“ED:D8:E2:A2:CC:0A”,“mac_type”:1,“adv_type”:0,“manufacturerdata”:“c5000744d54f0106240000000800124e028a873c12be”,“rssi”:-88,“txpower”:0,“brand”:“Onset”,“model”:“Hobo Water Level Sensor”,“model_id”:“HOBOMX2001”,“type”:“UNIQ”,“lvl_cm”:null,“lvl_in”:null}
DigiH
March 27, 2025, 2:47pm
54
Could you try another build yourself, with changing the decoder URL in PlatformIO.ini from the current
decoder = https://github.com/theengs/decoder.git#development
to
decoder = https://github.com/DigiH/decoder.git#max
Rebuild and upload.
I don’t know how to do this, I’ve never used platformIO or VSC
DigiH
March 27, 2025, 3:00pm
56
Sorry, I was under the impression you had created your own builds previously.
Let me start a test build run, which should be ready in about 90 minutes for you to test.
DigiH
March 27, 2025, 4:06pm
57
@mortenx
Can you reload the development test upload page, so that it shows SHA: e719bb at the top of the page, then upload the esp32dev-ble binary from that build.
One gateway, many technologies: MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, LoRa, beacons detection, mi flora / mi jia / LYWSD02/ Mi Scale compatibility, SMS & LORA.
updated version , but stil same…
N: Scan begin
T: Creating BLE buffer
N: BT Device detected: ED:D8:E2:A2:CC:0A
T: getDeviceByMac ED:D8:E2:A2:CC:0A
T: Processing BLE data ED:D8:E2:A2:CC:0A
T: Decoder found device: HOBOMX2001
T: getDeviceByMac ED:D8:E2:A2:CC:0A
T: update ED:D8:E2:A2:CC:0A
T: Origin: /BTtoMQTT/EDD8E2A2CC0A
T: Enqueue JSON
T: Queue length: 1
T: Dequeue JSON
N: [ OMG->MQTT ] topic: home/OMG_ESP32_BLE_test4/BTtoMQTT/EDD8E2A2CC0A msg: {“id”:“ED:D8:E2:A2:CC:0A”,“mac_type”:1,“adv_type”:0,“manufacturerdata”:“c5000744d54f0106240200000800124e028aaa173cbe”,“rssi”:-86,“txpower”:0,“brand”:“Onset”,“model”:“Hobo Water Level Sensor”,“model_id”:“HOBOMX2001”,“type”:“UNIQ”,“lvl_cm”:null,“lvl_in”:null}
Can you say why xiaomi thermometer show uuid and service data in logs but hobo sensor dont?
T: Creating BLE buffer
N: BT Device detected: A4:C1:38:9E:00:BA
T: getDeviceByMac A4:C1:38:9E:00:BA
T: Get services data number: 1
T: Converted service data (13) to a4c1389e00ba00cd2c3d0ace2d
T: Service data: a4c1389e00ba00cd2c3d0ace2d
T: Service data UUID: 0x181a
T: Processing BLE data A4:C1:38:9E:00:BA
T: Decoder found device: LYWSD03MMC/MJWSD05MMC_ATC
T: getDeviceByMac A4:C1:38:9E:00:BA
T: update A4:C1:38:9E:00:BA
T: Origin: /BTtoMQTT/A4C1389E00BA
T: Enqueue JSON
T: Queue length: 1
T: Dequeue JSON
N: [ OMG->MQTT ] topic: home/OMG_ESP32_BLE_test4/BTtoMQTT/A4C1389E00BA msg: {“id”:“A4:C1:38:9E:00:BA”,“mac_type”:0,“adv_type”:0,“name”:“ATC_9E00BA”,“rssi”:-44,“servicedata”:“a4c1389e00ba00cd2c3d0ace2d”,“servicedatauuid”:“0x181a”,“brand”:“Xiaomi”,“model”:“TH Sensor”,“model_id”:“LYWSD03MMC/MJWSD05MMC_ATC”,“type”:“THB”,“tempc”:20.5,“tempf”:68.9,“hum”:44,“batt”:61,“volt”:2.766,“mac”:“A4:C1:38:9E:00:BA”}
DigiH
March 27, 2025, 4:43pm
59
I was already expecting that My bad, I forgot some vital change in that build new test build already running and should be ready in about 50 minutes, with new SHA: 08118d
DigiH
March 27, 2025, 5:24pm
60
SHA: 08118d ready for testing
yeees
now its working great, tnx
[ OMG->MQTT ] topic: home/OMG_ESP32_BLE_test4/BTtoMQTT/EDD8E2A2CC0A msg: {“id”:“ED:D8:E2:A2:CC:0A”,“rssi”:-81,“txpower”:0,“brand”:“Onset”,“model”:“Hobo Water Level Sensor”,“model_id”:“HOBOMX2001”,“type”:“UNIQ”,“lvl_cm”:-18.35063,“lvl_in”:-7.224658}