-
Notifications
You must be signed in to change notification settings - Fork 0
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
32 #1
Comments
Hello, sorry for the late reply. Do you know how to read the raw data that your device sends? If so, I could use it to find out why your particular device is not working. It may be a newer hardware version with a different data layout. There is an issue topic here that I started to collect different data layouts to improve the documentation of the protocol. |
I have an nRF52840 Bluetooth LE logger dongle, I can provide a dump from that, I can also provide the Service dump.
2024-01-27 17:13:33,158 __main__ INFO: starting scan...
2024-01-27 17:13:38,691 __main__ INFO: connecting to device...
2024-01-27 17:13:45,785 __main__ INFO: connected
2024-01-27 17:13:45,786 __main__ INFO: [Service] cba20d00-224d-11e6-9fb8-0002a5d5c51b (Handle: 14): Unknown
2024-01-27 17:13:45,786 __main__ INFO: [Characteristic] cba20002-224d-11e6-9fb8-0002a5d5c51b (Handle: 15): Unknown (write-without-response,write)
2024-01-27 17:13:45,786 __main__ INFO: [Characteristic] cba20003-224d-11e6-9fb8-0002a5d5c51b (Handle: 17): Unknown (notify)
2024-01-27 17:13:45,845 __main__ INFO: [Descriptor] 00002902-0000-1000-8000-00805f9b34fb (Handle: 19): Client Characteristic Configuration, Value: bytearray(b'')
2024-01-27 17:13:45,845 __main__ INFO: disconnecting...
2024-01-27 17:13:45,847 __main__ INFO: disconnected
AdvertisementData(manufacturer_data={2409: b'\xeb\xef\x13\xa0\x1d\x0c\x9a\x03\x05\x98\xa1\x00'},
service_data={'0000fd3d-0000-1000-8000-00805f9b34fb': b'w\x00d'}, rssi=-67)
This device is called "WoIOSensorTH"
I am really interested in pulling the Temp and humidity from it, but just can't get the right info.
Is any of this helpful?
Thanks for any help you can provide.
Dean Krueger
…On Sat, Feb 3, 2024, at 2:24 PM, Moritz wrote:
Hello, sorry for the late reply. Do you know how to read the raw data that your device sends? If so, I could use it to find out why your particular device is not working. It may be a newer hardware version with a different data layout. There is an issue topic here <OpenWonderLabs/SwitchBotAPI-BLE#33> that I started to collect different data layouts to improve the documentation of the protocol.
—
Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAGLATRBW7TP74ELVGKSDMLYR2FGPAVCNFSM6AAAAABBY624C2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRVGQZTKMJQGY>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Looking at your data and aligning it as in the referenced issue, it looks like this:
Obviously your sensor uses a different format. Your temperature is probably set to Fahrenheit, which would mean that 32° is internally 0° (Celsius). Did Homebridge show any logs like "Received invalid manufacturer data for ..."? It should, as your device's manufacturer data is shorter than my plugin expects. If you can generate some of this manufacturer data with the corresponding temperature and humidity (as displayed on the device - ideally in degrees Celsius) we could try to figure out the format of your device. Ideally you would provide a few different values. Providing the MAC address of your device (or just checking that it is part of the manufacturer data) would be also helpful. |
Hello, I am trying to use your plug-in with my SwitchBot. When I get the bridge added to HomeKit my temp always reads 32 humidity reads zero. I have the MAC address in the plugin, when I run the Bluetooth scan on the Raspi 4, I see the devices MAC address.
I have tried reseting the device, removed it from the SwitchBot iOS app.
Any idea's?
Thanks
Dean Krueger
The text was updated successfully, but these errors were encountered: