Closed macjl closed 5 years ago
Thanks for your quick reply. Is there a way to downgrade to the v0.0.5 release to be able to use old configs?
Hello,
I was finally able to produce a valid JSon for 0.0.6 by analysing the code. Here it is :
{"c":{"l":13,"i":1},"h":[{"t":1,"a":{"0":{"r":[{"g":12,"v":0}]},"1":{"r":[{"g":12,"v":1}]}},"b":[{"g":0},{"g":2}]}]}
=> Sonoff Basic with button on GPIO 2 and GPIO 0, and Relay on GPIO 12.
I could suggest to change this sentence in documentation :
"a" Actions: Actions performed on each state of the accessory. Are defined by a integer number.
I search long time to understand what it means. And in the source code, it's commented as an array which confuses me a lot. But it's just a list of states. Why not :
"a" Actions: List of actions performed on relays, at each state of accessory. Are defined by a integer number starting at 0.
And if someone want the the Sonoff S20 example with new JSon format:
Sonoff S20/S26 without UART output, with status LED and working button:
{"c":{"l":13,"i":1},"h":[{"t":2,"a":{"0":{"r":[{"g":12,"v":0}]},"1":{"r":[{"g":12,"v":1}]}},"b":[{"g":0}]}]}
I need a template for sonoff touch t1 2 channel with new Json format. Can You help me?
"h": "v": What is this parametr?
From Wiki :
"h" HomeKit Accessories This section is mandatory. It contains an array of HomeKit accessories.
"v": Value: 0: Low, normally off. 1: High, normally on.
There was a small commotion. Is now the description of HAA Templates https://github.com/RavenSystem/esp-homekit-devices/wiki/HAA-Templates and the description https://github.com/RavenSystem/esp-homekit-devices/wiki/Home-Accessory-Architect is compatible with HAA version 0.0.7?
There was a small commotion. Is now the description of HAA Templates https://github.com/RavenSystem/esp-homekit-devices/wiki/HAA-Templates and the description https://github.com/RavenSystem/esp-homekit-devices/wiki/Home-Accessory-Architect is compatible with HAA version 0.0.7?
Yes.
All documentation is updated.
Hello,
The Wiki page of HAA templates seems not up to date with the new release of HAA v0.0.6 : https://github.com/RavenSystem/esp-homekit-devices/releases https://github.com/RavenSystem/esp-homekit-devices/wiki/HAA-Templates
I'm trying to install a new Sonoff Basic with this JSON inspired from Templates, and it doesn't work : {"c":{"l":13,"i":1},"a":[{"t":1,"r":[{"g":12}],"b":[{"g":0,"p":1,"t":1},{"g":2,"p":1,"t":1}]}]}
Regards