Feature request: HOBO bluetooth sensors

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}

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

It is not supported in the Theengs App so far.

Can you try with a pre-built binary of the development test builds?

and I choose from the list esp32dev-ble?

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}


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…

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}

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

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.

@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.

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”}

I was already expecting that :frowning: My bad, I forgot some vital change in that build :frowning: new test build already running and should be ready in about 50 minutes, with new SHA: 08118d

SHA: 08118d ready for testing :crossed_fingers:

yeees

now its working great, tnx :slight_smile:

[ 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}