Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more Mopeka Gas Level sensor options, extended range bit #421

Open
mhaberler opened this issue Sep 28, 2023 · 1 comment
Open

more Mopeka Gas Level sensor options, extended range bit #421

mhaberler opened this issue Sep 28, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@mhaberler
Copy link

I saw this PR, which seems to handle quite a wide range of Mopeka sensors:

robsweet/dbus-ble-sensors@4a01ef0

beyond the additional sensor types and fluid types, the change really relevant is handling the extened time range (TankLevelExtension)

I have no need for this, I do not have a tank which needs this range, nor do I have a sensor with extended range

notice first bye of manufacturer data which is 0x03 vs 0x0c - according to https://github.com/robsweet/dbus-ble-sensors/blob/master/src/mopeka.c#L226-L232 I would think both of the following sensors have the extension bit NOT set:

This is a Pro:

N: Send on /BTtoMQTT/D639AE4FCD0C msg {"id":"D6:39:AE:4F:CD:0C","mac_type":1,"adv_type":0,"manufacturerdata":"5900034e4250004fcd0c66d9","rssi":-54,"brand":"Mopeka/Lippert","model":"Pro Check (Universal)/BottleCheck Sensor","model_id":"M1017","type":"UNIQ","cidc":false,"tempc":26,"tempf":78.8,"lvl_cm":2.907907,"lvl_in":1.144845,"sync":false,"volt":2.4375,"batt":36.53846,"quality":0,"accx":102,"accy":-39}

This is a Pro Universal:

{"id":"D8:C6:11:CA:12:55","mac_type":1,"adv_type":0,"manufacturerdata":"59000c5f3ac440ca1255d514","rssi":-81,"brand":"Mopeka/Lippert","model":"Pro Check (Universal)/BottleCheck Sensor","model_id":"M1017","type":"UNIQ","cidc":false,"tempc":18,"tempf":64.4,"lvl_cm":7.670883,"lvl_in":3.020033,"sync":false,"volt":2.96875,"batt":100,"quality":1,"accx":-43,"accy":20}

just a note if the need arises

@DigiH
Copy link
Member

DigiH commented Sep 29, 2023

Thanks for this, I didn't know it yet.

Not having a Mopeka myself either, it's always relying on others with the devices to help with the decoders. Some user data I do have though has 0x06, which seems to be missing from the commit. Definitely something to look into.

So far I've never seen any data with > 0x80 yet to verify the TankLevelExtension.

@DigiH DigiH added the enhancement New feature or request label Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants