You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Managed to get API Token for Xiaomi Phillips Smart LED Ball Lamp using Packet Sender as explained here https://github.com/jghaanstra/com.xiaomi-miio/blob/master/docs/obtain_token.md (Method 2): "In the last 16 bytes (32 characters) of the devices response is the device token". I noticed generated token is different on every lamp reset (5 time turn on/off).
Received package is (hex): 21 31 00 20 00 00 00 00 04 3E 66 4D 00 00 00 0D 15 74 20 45 60 FC C9 8A 82 69 A4 14 AD A2 C2 D6 . The problem is this bytes can not be converted to plain ACSII characters that can be put to light.yaml file. How to get 32 characters from 16 bytes (what decode method, ideas) ?
Hi.
Managed to get API Token for Xiaomi Phillips Smart LED Ball Lamp using Packet Sender as explained here https://github.com/jghaanstra/com.xiaomi-miio/blob/master/docs/obtain_token.md (Method 2): "In the last 16 bytes (32 characters) of the devices response is the device token". I noticed generated token is different on every lamp reset (5 time turn on/off).
Received package is (hex): 21 31 00 20 00 00 00 00 04 3E 66 4D 00 00 00 0D 15 74 20 45 60 FC C9 8A 82 69 A4 14 AD A2 C2 D6 . The problem is this bytes can not be converted to plain ACSII characters that can be put to light.yaml file. How to get 32 characters from 16 bytes (what decode method, ideas) ?
name: Xiaomi Philips Smart LED Ball
host: 192.168.130.67
token: YOUR_TOKEN
model: philips.light.bulb
The text was updated successfully, but these errors were encountered: