Comments (11)
ok. thanks for the screenshots.
I might add it anyways at some point so that battery can be monitored
from switchbot-mqtt-ble-esp32.
there is currently no documentation
if switchbot releases some documentation then sure
from switchbot-mqtt-ble-esp32.
I was thinking about it and I might be able to reverse engineer if you send me a few screenshots from your android or iphone
I would need you to install an app that shows the advertised data published by the remote device MAC address. I would need a number of screenshots to see what changes in the data
The android app that I use is called "nRF Connect for Mobile" made by "Nordic Semiconductor ASA". There are many BLE apps that can provide this data though
If it publishes similar to the motion/contact sensor I can probably get it to work. The data should be fairly simple as we only care about 3 things
- Battery
Take at least 1 screenshot without pressing the remote. Does it publish advertised data? - a push up
Push the up button a couple times and try to take a screenshot right after each press. At least 3 screenshots - a push down
Push the down button a couple times and try to take a screenshot right after each press. At least 3 screenshots
Make sure to clearly define which screenshot is which when you send them to me.
I just need screenshots similar to this.... (this is for the bot, I would need them for remote)
from switchbot-mqtt-ble-esp32.
A similar request for screenshot was made here in #27
Originally posted by @BangerTech in #27 (comment)
from switchbot-mqtt-ble-esp32.
May you instruct me how to get the screenshots of the others please?
from switchbot-mqtt-ble-esp32.
exact same way, just do a new scan right after you push the buttons. (click the 3 dots ellipses and click refresh and rescan). as close as possible right after clicking the button. Do it a couple times. Try to put next to each screenshot 1st time pushed up, 2nd time pushed up, 3rd time pushed up
The line where it says "Service Data" I am expecting that to change
from switchbot-mqtt-ble-esp32.
I'm assuming that the button works by connecting directly to the device it is linked to.
I am hoping that it also advertises a count of the number of button pushes also. If it does not then I don't think I can support it. Otherwise I would have to fake the esp32 as a switchbot device and that wouldnt work or would be a ton of work
from switchbot-mqtt-ble-esp32.
based on what you already sent my guess is your battery level is either 100% or 66%... let me know which one makes sense
from switchbot-mqtt-ble-esp32.
Battery level is 100%.
The service data is different today, strange.
Pressing the physical button on the switch-remote, clicking "refresh" in the app, service-data has not changed.
from switchbot-mqtt-ble-esp32.
so in the service data the "64" is the battery. 64 hexidecimal converted to decimal value = 100 %
So there is no difference even between scans of pressing up and down? if so then I don't think I can support it
only thing I see different is the 42 changed to a 62. if you only pushed "up" the 4 in 42 could have changed to a 6, maybe meaning you pushed up 2 times?? but if you say it isnt changing all the time then probably not.
it looks like I can only collect the battery level, which doesn't help much
it sounds like these are made to directly interact with another switchbot curtain or bot only. that sucks
My guess is you would connect to the remote with the switchbot app. It will program the remote with the bot MAC address you want to link it to and store that info in the remote. Then when you press the remote it will make similar BLE calls to control the bot
since it would be a device to device connection I can't capture that data
this is probably why there is no documentation for it
Only last thing I can think of is maybe if you don't already have it linked to a device it might broadcast different service data, but I doubt it
let me know if you ever see anything different though if you continue trying
from switchbot-mqtt-ble-esp32.
I think you guess it correct. Thanks.
from switchbot-mqtt-ble-esp32.
Related Issues (20)
- sensor.esp32_linkquality (WiFi signal level) show as "rssi" instead of "dBm"
- No device HOT 8
- Create Unlimited timers HOT 1
- No Wifi connection HOT 5
- Opening one side of the curtain HOT 2
- No bug. A Question... Sleeping a Bot
- Fingerprint keypad HOT 1
- New Curtain user at firmware 6.0 - can't control but receives illuminance, battery, etc.
- Curtain firmware v6.3 safe to update? HOT 2
- Question: Is the SwitchBot Remote One Touch Button supported?
- SwitchBot Blind tilt HOT 5
- Issue with adding SwitchBot meter: Outdoor Hygrometer Thermometer HOT 13
- Warnings when using with Home Assistant 2023.8.0 HOT 22
- Fingerbot Bot support HOT 2
- Hardware Test - ESP32-S3 HOT 1
- Esp32 module regularly unavailable in HA HOT 1
- status code 7 HOT 1
- Error when compiling: 'class CRC32' has no member named 'update' HOT 1
- Cannot get motion sensor state HOT 1
- ESP Devices stop working after a view hours to days HOT 4
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 switchbot-mqtt-ble-esp32.