Closed praepoke closed 5 years ago
Hello,
Strange, by the time did you updated the sensor firmware ? Did you try to disconnect and reconnect the gateway ?
hi, no i did not update anything (gateway or sensors) none of the 5 send their data other than what i pasted. and yes i've tried to restart the gateway multiple times, tried to restart the sensors as well (remove the battery)
nothing helped :/
Hmm curious. Did you try with another esp32 and the last version ?
not yet. i've ordered another esp32 and will try to flash the one i have. will get back to you
hi, well i tried everything i could understand, not a big dev and platformio took a toll on me. anyways, tried flashing 0.9.1 to another esp and didn't have muche more luck tried 0.9.2 and no luck either. the sensors are not even reported to mqtt
Is your phone connected to them?
nop
I seem to have the same problem here. I have 2 sensor which have been working for a couple of month without an issue and 2 days ago they both stopped reporting temperature/humidity/battery, all i get is the service data. I will check the version of OMG and try to restart both sensors as well as gateway and report back.
Edit: Restarting gateway seems to have fixed it for now.
finally received my new esp32s. and flashed 0.9.2 on it. Seems to work from time to time. it doesn't catch as much points as before. one more question, i can see it sees my mi band 3. anyway it can catch heartbeat/steps ? thanks
Seems to work from time to time. it doesn't catch as much points as before.
Did you had the same ble interval in config_BT.h
anyway it can catch heartbeat/steps ?
Do you see a service data field for your mi band ?
servicedata a21e0000 servicedatauuid 0000fee0-0000-1000-8000-00805f9b34fb
1e = 30 does this correspond to a real value on your mi band?
So far as i can tell, the first 4 digits gives you step counter a21e ->1ea2 = 7842 steps.
Hello,
I have integrated miband into this branch, would it be possible to test it? https://github.com/1technophile/OpenMQTTGateway/tree/miband-steps
Hello,
I've been using OMG 0.8.1 for a couple of month now to get the data from a mijia temp/humid sensor. It's been working great until for some reason i had to move the gateway thus rebooting it.
The gateway seems to be working fine, i get some data from the sensors but not the temperature/humidity/battery. i have 5 of them and none report data but they do work if i poll using an app on my phone.
here is what i get when connected to serial BLE DISTANCE : 12.61 Pub json into: home/bt/home_presence/OpenMQTTGateway {"id":"58:2d:34:34:4d:f9","name":"MJ_HT_V1","rssi":-83,"distance":12.61001} Get service data Pub json into: home/bt/OpenMQTTGateway/BTtoMQTT/582D34344DF9 {"id":"58:2d:34:34:4d:f9","name":"MJ_HT_V1","rssi":-83,"distance":12.61001,"servicedata":"caab91251972","servicedatauuid":"0000ffff-0000-1000-8000-00805f9b34fb"}
and in mqtt : home/bt/home_presence/OpenMQTTGateway {"id":"58:2d:34:34:4d:f9","name":"MJ_HT_V1","rssi":-83,"distance":12.61001} home/bt/OpenMQTTGateway/BTtoMQTT/582D34344DF9 {"id":"58:2d:34:34:4d:f9","name":"MJ_HT_V1","rssi":-83,"distance":12.61001,"servicedata":"caab91251972","servicedatauuid":"0000ffff-0000-1000-8000-00805f9b34fb"}
anything i'm missing ?
thanks