Hi SwitchBot team & community!
I would like to integrate SwitchBot on my android app.
I'm able to connect to device and list his bluetooth services and characteristics.
but I'm stuck on how to trigger it , this require having the exact format of data to write into a specific characteristic.
Actually, i've used the same method as the python : https://github.com/OpenWonderLabs/python-host/blob/master/switchbot.py , write on ' cba20002-224d-11e6-9fb8-0002a5d5c51b' with values :
570100 : for Press
570101 : for Turn On
570102 : for Turn Off
I even changed the value format to hexa, but the switch is not responding :(
In addition to that, I need some other informations like:
- How can get the battery level ?
- what's the purpose of the notify characteristic 'cba20003-224d-11e6-9fb8-0002a5d5c51b' ?
- what's the purpose of the service '0000fec7-0000-1000-8000-00805f9b34fb'?
Do you have any idea about those details ? or is there any specs or documentation that provide them ?
Any help would be appreciated :)