Comments (7)
Sadly, as you said, no battery information. I wonder how Home Assistant does it via the SwitchBot Integration...
With active scanning or even by connection I would assume ;)
With OpenMQTTGateway you would be able to have different scanning intervals for passive scanning and active scanning, which would allow to egt the battery level only every hour or so.
Closing as I'm merging this additional SwitchBot Meter (Plus) manufacturerdata & name only decoder.
from decoder.
Hi @johannes-z
Do you know which firmware version your SwitchBot Meter has?
I'm just wondering if it constantly send its name "name": "WoSensorTHP" when you scan passively, as with the majority of devices the name only gets broadcast during active scanning.
Also other users with the three kind of SwitchBot Meters do not get any name broadcast during passive scanning.
from decoder.
@DigiH Thanks for your reply!
I installed the switchbot app; it reports V0.6
.
from decoder.
I'm just really curious as to why you are getting "name": "WoSensorTHP" with passive scanning, while others with the same model don't even get a name broadcast during active scanning - so wondering if it might be hardware revision/firmware related.
So I don't think we can just replace the current active scan dependant decoder, but could possibly add one with a passive only, but name related model condition.
Could you have a look with MQTT Explorer to see if the history of your SwitchBot Meter's MQTT messages all have the name included?
from decoder.
Here are the messages sent via MQTT. All of them include the name.
{"manufacturerdata": "6909f3a55d0e57214a0109962f", "name": "WoSensorTHP", "id": "F3:A5:5D:0E:57:21", "rssi": -67, "mfr": "Woan Technology (Shenzhen) Co., Ltd."}
{"manufacturerdata": "6909f3a55d0e57214a0109962f", "name": "WoSensorTHP", "id": "F3:A5:5D:0E:57:21", "rssi": -67, "mfr": "Woan Technology (Shenzhen) Co., Ltd."}
{"manufacturerdata": "6909f3a55d0e5721490100972f", "name": "WoSensorTHP", "id": "F3:A5:5D:0E:57:21", "rssi": -67, "mfr": "Woan Technology (Shenzhen) Co., Ltd."}
{"manufacturerdata": "6909f3a55d0e57214801009732", "name": "WoSensorTHP", "id": "F3:A5:5D:0E:57:21", "rssi": -67, "mfr": "Woan Technology (Shenzhen) Co., Ltd."}
{"manufacturerdata": "6909f3a55d0e57214601009738", "name": "WoSensorTHP", "id": "F3:A5:5D:0E:57:21", "rssi": -67, "mfr": "Woan Technology (Shenzhen) Co., Ltd."}
{"manufacturerdata": "6909f3a55d0e5721410908964e", "name": "WoSensorTHP", "id": "F3:A5:5D:0E:57:21", "rssi": -67, "mfr": "Woan Technology (Shenzhen) Co., Ltd."}
{"manufacturerdata": "6909f3a55d0e57213e0908965b", "name": "WoSensorTHP", "id": "F3:A5:5D:0E:57:21", "rssi": -67, "mfr": "Woan Technology (Shenzhen) Co., Ltd."}
{"manufacturerdata": "6909f3a55d0e57213c0908965b", "name": "WoSensorTHP", "id": "F3:A5:5D:0E:57:21", "rssi": -67, "mfr": "Woan Technology (Shenzhen) Co., Ltd."}
{"manufacturerdata": "6909f3a55d0e57213b0900975b", "name": "WoSensorTHP", "id": "F3:A5:5D:0E:57:21", "rssi": -67, "mfr": "Woan Technology (Shenzhen) Co., Ltd."}
{"manufacturerdata": "6909f3a55d0e5721380105983c", "name": "WoSensorTHP", "id": "F3:A5:5D:0E:57:21", "rssi": -67, "mfr": "Woan Technology (Shenzhen) Co., Ltd."}
from decoder.
I've added a manufacturerdata & name only decoder for the SwitchBot Meter (Plus)
No battery info AFAIK in the manufacturerdata though.
Can you build your own version of Decoder or install the PR test build artifact for verification of the PR?
https://github.com/theengs/decoder/actions/runs/7977440614/artifacts/1260257517
from decoder.
Yay, it works:
{
"manufacturerdata": "6909f3a55d0e5721670100972d",
"name": "WoSensorTHP",
"id": "xxx",
"rssi": -68,
"brand": "SwitchBot",
"model": "Meter (Plus)",
"model_id": "THX1/W230150X",
"type": "THB",
"tempc": 23,
"tempf": 73.4,
"hum": 45,
"mac": "xxx"
}
Sadly, as you said, no battery information. I wonder how Home Assistant does it via the SwitchBot Integration...
from decoder.
Related Issues (20)
- No mqtt data on iOS HOT 4
- Automatic versioning to easily build development versions from Git
- Report HHCCJCY01HHCC battery HOT 3
- Add support for INKBIRD IAM-T1 Air Quality Monitor HOT 3
- BM2 fails to decode HOT 29
- more Mopeka Gas Level sensor options, extended range bit HOT 1
- Mi Band 7 ( NO NFC _ NO PRO ) HOT 2
- Support request for ThermoPro TP357S HOT 7
- Incorrect humidity value for Govee H5072/75 when temperature below 0 degree celsius HOT 4
- Include decoding support for SwitchBot Curtain 3 HOT 12
- Add support for PAX Calima HOT 2
- wifi inkbird HOT 1
- Integration of BLE connections to decoder
- add support for e-volve/fitdays smart scale HOT 24
- Switchbot Meter Plus sometimes detected as Tile tracker HOT 7
- SwitchBot Meter models passive broadcast decoding HOT 12
- ScanAndDecode.ino connect or not connect ? HOT 1
- Mi band 7 no steps HOT 1
- Is Theengs supported running in Windows? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from decoder.