RavenSystem / esp-homekit-devices

Advanced firmware to add native Apple HomeKit and custom configurations, compatible with any SoC based on ESP32, ESP32-S, ESP32-C and ESP8266 series. (Shelly, Sonoff, Electrodragon, Tuya...)
Other
2.76k stars 361 forks source link

Sonoff TH LED blue #1228

Closed pixidixi88 closed 3 years ago

pixidixi88 commented 4 years ago

Hello, I would like to use blue LED in my Sonoff TH and present it in the home app as standard switch. It doesn't work. What is wrong with below json.

Thank You!

{ "c": { "b": [ { "g": 0, "t": 5 } ] }, "a": [ { "0": { "r": [ { "g": 12 } ] }, "1": { "r": [ { "g": 12, "v": 1 } ] }, "b": [], "s": 0 }, { "0": { "r": [ { "g": 13, "v": 1 } ] }, "1": { "r": [ { "g": 13, "v": 0 } ] }, "t": 1, "b": [], "s": 0, "f0": [] }, { "t": 3, "b": [], "s": 0, "f0": [ { "g": 0, "t": 1 } ], "f1": [ { "g": 0, "t": 2 } ], "f2": [ { "g": 0, "t": 3 } ] } ] }

xrust83 commented 4 years ago

{"c":{"b":[{"g":0,"t":5}]},"a":[{"0":{"r":[{"g":12}]},"1":{"r":[{"g":12,"v":1}]},"b":[],"s":0},{"0":{" r ":[{" g ":13," v ":1}]}," 1 ":{" r ":[{"g":13,"v":0}]},"t":1,"b":[],"s":0,"f0":[]},{"t":3,"b":[],"s":0,"f0":[{"g":0,"t":1}],"f1":[{"g":0,"t":2}],"f2":[{"g":0,"t":3}]}]}

https://glumb.github.io/haa-configurator/

pixidixi88 commented 4 years ago

Yes, I did it in the configurator and also copy paste from above post but still it doesn't work.

xrust83 commented 4 years ago

{"c":{"b":[{"g":0,"t":5}]},"a":[{"0":{"r":[{"g":12},{"g":13,"v":0}]},"1":{"r":[{"g":12,"v":1},{"g":13,"v":1}]},"b":[],"s":0},{"t":3,"b":[],"s":0,"f0":[{"g":0,"t":1}],"f1":[{"g":0,"t":2}],"f2":[{"g":0,"t":3}]}]}

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.