Closed GPL71 closed 3 years ago
This Json is a modified RavenSystem's configuration
This Json is by RavenSystem
Blitzwolf BW-LT11 Led strip
GPIO0: Button1,GPIO4: PWM1, GPIO5: PWM4, GPIO12: PWM2, GPIO14: PWM3
JSON: {"c":{"b":[{"g":0,"t":5}]},"a":[{"t":30,"r":4,"g":12,"v":14,"w":5,"b":[{"g":0}]}]}
GPIO1: led, GPIO3: button, GPIO14: relay
JSON: {"c":{"l":1,"b":[{"g":3,"t":5}]},"a":[{"t":2,"0":{"r":[{"g":14}]},"1":{"r":[{"g":14,"v":1}]},"b":[{"g":3}]}]}
Power Strip SA-P402A with 5 function button
Setup Mode (GPIO0), 5 Outlets (including USB)
JSON {"c":{"l":3,"i":1,"b":[{"g":0,"t":5}]},"a":[{"t":2,"0":{"r":[{"g":12}]},"1":{"r":[{"g":12,"v":1}]},"b":[{"g":1}]},{"t":2,"0":{"r":[{"g":14}]},"1":{"r":[{"g":14,"v":1}]},"b":[{"g":1,"t":2}]},{"t":2,"0":{"r":[{"g":4}]},"1":{"r":[{"g":4,"v":1}]},"b":[{"g":1,"t":3}]},{"t":2,"0":{"r":[{"g":13}]},"1":{"r":[{"g":13,"v":1}]},"b":[{"g":1,"t":4}]},{"t":2,"0":{"r":[{"g":5}]},"1":{"r":[{"g":5,"v":1}]},"b":[{"g":1,"t":5}]}]}
Sonoff TH 16
Setup Mode (GPIO0), Thermostat (GPIO14, DS18B20, max temperature 75 degrees Celsius)
JSON {"c":{"l":13,"b":[{"g":0,"t":5}]},"a":[{"t":21,"n":3,"s":5,"x":75,"g":14,"0":{"r":[{"g":12}]},"1":{"a":0},"3":{"r":[{"g":12,"v":1}]},"b":[{"g":0}],"5":{"a":0}}]}
Switch, temperature sensor and leak sensor
Setup Mode (GPIO0), temperature sensor (GPIO5, DS18B20), leak sensor (GPIO14)
JSON {"c":{"l":2,"i":1,"b":[{"g":0,"t":5}]},"a":[{"0":{"r":[{"g":12}]},"1":{"r":[{"g":12,"v":1}]},"b":[{"g":0}]},{"t":22,"n":3,"g":5},{"t":7,"f1":[{"g":14,"t":1}],"f0":[{"g":14,"t":0}]}]}
{"c":{"o":1,"l": 3,"i":1,"b":[{"g":1,"t":5}]},
"a":[
{"t":2,"0":{"r":[{"g": 12,"v":0}]},"1":{"r":[{"g":12,"v":1}]}},
{"t":2,"0":{"r":[{"g":14,"v":0}]},"1":{"r":[{"g": 14,"v":1}]}},
{"t":2,"0":{"r":[{"g":13,"v":0}]},"1":{"r":[{"g":13,"v":1}]}},
{"t":2,"0":{"r":[{"g":4,"v":0}]},"1":{"r":[{"g":4,"v":1}]}},
{"t":2,"0":{"r":[{"g":5,"v":0}]},"1":{"r":[{"g":5,"v":1}]}},
{"t":3,"f0":[{"g":1}],"f1":[{"g":1,"t":2}],"f2":[{"g":1,"t":3}]}
]}
Mirabella Genio LED GLS Globe RGBW #883 I002339 (BC) or #I002338 (ES) from Kmart AU Does not work with model I002608 from Woolworths
{"a":[{"t":30,"r":4,"g":12,"v":14,"w":5,"s":1}]}
Pressing physical button will turn power on/off Also creates 2 accessories for Setup mode and OTA update
{"c":{"n":"brilliant-bl20925","l":13,"b":[{"g":3,"t":5}],"i":1},"a":[{"0":{"r":[{"g":14}]},"1":{"r":[{"g":14,"v":1}]},"t":2,"b":[{"g":3,"t":1}],"s":5},{"1":{"s":[{"a":1}]}},{"i":0.5,"1":{"s":[{"a":2}]}}]}
Kogan SmarterHome 5W Smart Dimmable LED Filament Bulb ST-20 (E27)
https://www.kogan.com/au/buy/kogan-smarterhome-5w-smart-dimmable-led-filament-bulb-st-20-e27/
{"a":[{"t":30,"w":14,"s":1}]}
Mirabella Genio WiFI LED G95 #1002747 (ES)
{"a":[{"t":30,"v":14,"w":12,"s":1}]}
{"c":{"l":13,"b":[{"g":0,"t":5}]},"a":[{"0":{"r":[{"g":15}]},"1":{"r":[{"g":15,"v":1}]},"b":[{"g":14}],"s":0},{"0":{"r":[{"g":12}]},"1":{"r":[{"g":12,"v":1}]},"b":[{"g":0}],"s":0},{"0":{"r":[{"g":5}]},"1":{"r":[{"g":5,"v":1}]},"b":[{"g":9}],"s":0},{"0":{"r":[{"g":4}]},"1":{"r":[{"g":4,"v":1}]},"b":[{"g":10}],"s":0},{"t":1,"b":[],"s":0,"i":0.6}]}
Shelly 1 pulse switch gives a 1 sec. pulse, then returns to the off position
{"a":[ { "t": 1, "d": 1, "0":{"r":[{"g":4}]}, "1":{"r":[{"g":4,"v":1,"i":1}]}, "b":[{"g":5,"p":0},{"g":5,"t":0}]}]}
Blitzwolf BW-LT21
tested: {"c":{"n":"Led-BW-LT21"},"a":[{"t":30,"r":14,"g":12,"v":5,"w":15}]}
ESP-01S + Relay v4 https://aliexpress.ru/item/32843645421.html?spm=a2g0s.9042311.0.0.264d33edkHTRIc Relay GPIO - 0 - defolt, Button -GPOI 2 ( on defoult butten on relay conectet to RST!) {"c":{"l":13,"b":[{"g":2,"t":5}],"i":0,"n":"ESP_01S"},"a":[{"0":{"r":[{"g":0,"v":1}]},"1":{"r":[{"g":0,"v":0}]},"b":[{"g":2}],"s":0}]}
ESP01 with Relay v.4 GPIO0 add switch GPIO3
json {"c":{"l":13},"a":[{"t":1,"0":{"r":[{"g":0,"v":0}]},"1":{"r":[{"g":0,"v":1}]},"b":[{"g":3,"t":1},{"g":3,"t":0}]}]}
LSC Smart Connect Smart Power Plug from Action
https://github.com/arendst/Tasmota/wiki/LSC-Smart-Connect-Smart-Power-Plug
{"c":{"l":4,"b":[{"g":14,"t":5}]},"a":[{"0":{"r":[{"g":12}]},"1":{"r":[{"g":12,"v":1}]},"b":[{"g":14}]}]}
Blitzwolf bw-ss1
https://www.aliexpress.com/item/4000615022697.html AVATTO US/AU Wall Switch SYS-WS 01/02/03
GPIO13 Relay1
GPIO15 Relay2
GPIO4 Relay3
GPIO16 Button1
GPIO5 Button2
GPIO3 (RXD0) Button3
GPIO12 LED1
GPIO1 (TXD0) LED2
GPIO14 LED3
GPIO0 Status LED
For a 2-gang switch;
{
"c": {
"l": 0,
"b": [{"g": 16, "t": 5}]
},
"a": [
{
"t": 1,
"0": {"r": [{"g": 13, "v": 0}, {"g": 12, "v": 1}]},
"1": {"r": [{"g": 13, "v": 1}, {"g": 12, "v": 0}]},
"b": [{"g": 16, "t": 1}]
},
{
"t": 1,
"0": {"r": [{"g": 4, "v": 0}, {"g": 14, "v": 1}]},
"1": {"r": [{"g": 4, "v": 1}, {"g": 14, "v": 0}]},
"b": [{"g": 1, "t": 1}]
}
]
}
All Smart Plugs with Tuya ESP Chip tested:
Wifi Smart Plug GPIO Configuration
"n"
-> "name-your-outlet"
off
Formatted:
{
"c": {
"l": 13,
"n": "name-your-outlet",
"b": [
{
"g": 4,
"t": 5
}
]
},
"a": [
{
"0": {
"r": [
{
"g": 12,
"v": 1
},
{
"g": 14,
"v": 0
}
]
},
"1": {
"r": [
{
"g": 12,
"v": 0
},
{
"g": 14,
"v": 1
}
]
},
"b": [
{
"g": 4,
"t": 1,
"p": 1
}
],
"s": 0
}
]
}
One-Liner:
{"c":{"l":13,"n":"name-your-outlet","b":[{"g":4,"t":5}]},"a":[{"0":{"r":[{"g":12,"v":1},{"g":14,"v":0}]},"1":{"r":[{"g":12,"v":0},{"g":14,"v":1}]},"b":[{"g":4,"t":1,"p":1}],"s":0}]}
Shelly 1 used to control water valve; on switch of GPIO5 I attached external physical button stateless to control manually water valve; I added also a dummy switch to enter in setup mode:
{"a":[{"t":20,"d":3600,"0":{"r":[{"g":4}]},"1":{"r":[{"g":4,"v":1}]},"b":[{"g":5,"p":0}]},{"i":0.5,"1":{"s":[{"a":1}]}}]}
Sonoff basic + si7021 DescLamp whit Temp+Hum
{"c":{"l":13,"b":[{"g":0,"t":5}]},"a":[{"0":{"r":[{"g":12}]},"1":{"r":[{"g":12,"v":1}]},"b":[{"g":0}],"s":0},{"t":24,"b":[],"n":4,"g":14,"j":90}]}
Teckin SP22 Smart Plug
{"c":{"l":3,"b":[{"g":1,"t":5}]},"a":[{"0":{"r":[{"g":14}]},"1":{"r":[{"g":14,"v":1}]},"t":2,"b":[{"g":1}]}]}
Shelly 2.5 2 switch for lightbulb with initial state Dummy switch to enter in setup mode
{"c":{"l":0,"i":1},"a":[{"s":5,"0":{"r":[{"g":4}]},"1":{"r":[{"g":4,"v":1}]},"b":[{"g":13,"p":0},{"g":13,"t":0}]},{"s":5,"0":{"r":[{"g":15}]},"1":{"r":[{"g":15,"v":1}]},"b":[{"g":5,"p":0},{"g":5,"t":0}]},{"1":{"s":[{"a":1}]}}]}
Universal IR device https://gearbest.app.link/7kIjGiVCz5 (Tested Type B - 2 versions) https://a.aliexpress.com/_d7NKf18 (Not tested) https://s.click.aliexpress.com/e/_d7qlxvI (Tested) https://www.connectsmarthome.com.au/garden.html (Tested) (Thanks to carminedelia, micheletorrini, PSB and Ajax on Discord)
Type C version successfully flashed with Tuya-convert too
This json is for managing a Samsung TV with an IR device (see links above). IR commands can be found here : https://github.com/RavenSystem/esp-homekit-devices/wiki/IR-Codes-Database. Also available Philips and LG IR commands. Json has also an IP function to know if smart Tv is On or Off using ping and a dummy switch that allows you to enter in setup mode by pressing it once. If you have pairing issues, use first the short json (below) to pair and then, when correctly paired replace the short json with the right one.
Short Json (for pairing)
{"c":{"t":14,"ct":31,"l":4,"i":0,"p":"J(J(AcAcAcDFAc","b":[{"g":13,"t":5}]},"a":[{"t":60,"xa":0,"i":[{"n":"MENU","0":{"i": [{"r":2,"c":"CeCfAaBcAaAbC"}]}},{"n":"SOURCE","0":{"i":[{"r":2,"c":"CeCeAhG"}]}},{"n":"MUTE","0":{"i":[{"r":2,"c":"CeCeDhD"}]}}]},{"1":{"s":[{"a":1}]}}]}
If you need more commands in this part, you have to add more {"n":"XXXXX","0":{"i":[{"r":2,"c":"XXXXX"}]}} before pairing (Max 8? - to test)
For Samsung smart Tv 2016+ found those http commands: {"n":"NETFLIX","0":{"h":[{"h":"192.168.1.100","p":8001,"m":2,"u":"ws/apps/Netflix"}]}} {"n":"PRIME","0":{"h":[{"h":"192.168.1.100","p":8001,"m":2,"u":"api/v2/applications/3201512006785"}]}} {"n":"YouTube","0":{"h":[{"h":"192.168.1.100","p":8001,"m":2,"u":"ws/apps/YouTube"}]}} {"n":"Disney+","0":{"h":[{"h":"192.168.1.100","p":8001,"m":2,"u":"ws/apps/Disney+"}]}} {"n":"SPOTIFY","0":{"h":[{"h":"192.168.1.100","p":8001,"m":2,"u":"api/v2/applications/3201606009684"}]}}
For Samsung smart Tv 2020 found those http commands: {"n":"NETFLIX","0":{"h":[{"h":"192.168.1.100","p":8001,"m":2,"u":"api/v2/applications/3201907018807"}]}} {"n":"PRIME","0":{"h":[{"h":"192.168.1.100","p":8001,"m":2,"u":"api/v2/applications/3201910019365"}]}} {"n":"YouTube","0":{"h":[{"h":"192.168.1.100","p":8001,"m":2,"u":"api/v2/applications/111299001912"}]}} {"n":"Disney+","0":{"h":[{"h":"192.168.1.100","p":8001,"m":2,"u":"api/v2/applications/3201901017640"}]}} {"n":"AppleTv","0":{"h":[{"h":"192.168.1.100","p":8001,"m":2,"u":"api/v2/applications/3201807016597"}]}} {"n":"Browser","0":{"h":[{"h":"192.168.1.100","p":8001,"m":2,"u":"api/v2/applications/org.tizen.browser"}]}}
Json:
{"c":{"t":14,"ct":31,"l":4,"i":0,"p":"J(J(AcAcAcDFAc","b":[{"g":13,"t":5}]},"a":[{"t":60,"xa":0,"i":[{"n":"MENU","0":{"i": [{"r":2,"c":"CeCfAaBcAaAbC"}]}},{"n":"SOURCE","0":{"i":[{"r":2,"c":"CeCeAhG"}]}},{"n":"MUTE","0":{"i":[{"r":2,"c":"CeCeDhD"}]}}],"0":{"i":[{"r":4,"c":"CeChBbDbBa"}]},"1":{"i":[{"r":4,"c":"CeCeAbBbAaBbBa"}]},"6":{"i":[{"r":2,"c":"CeCjBaEbA"}]},"7":{"i":[{"r":2,"c":"CeCeAdBbDbA"}]},"8":{"i":[{"r":2,"c":"CeCeAaAbBbAaBbA"}]},"9":{"i":[{"r":2,"c":"CeCfAcBaAaCbA"}]},"10":{"i":[{"r":2,"c":"CeChAaBaCaAbA"}]},"11":{"i":[{"r":2,"c":"CeChBaAaCbAaA"}]},"13":{"i":[{"r":2,"c":"CeCeBaAaBcAaAbA"}]},"17":{"i":[{"r":2,"c":"CeCeEhC"}]},"22":{"i":[{"r":2,"c":"CeCeChE"}]},"23":{"i":[{"r":2,"c":"CeCeBaAfAaD"}]},"q0":[{"h":"192.168.1.100","r":0,"i":1}],"q1":[{"h":"192.168.1.100","r":1,"i":1}]},{"1":{"s":[{"a":1}]}}]}
If ir commands like volume up/down are repeated you can put "r":1 instead "r":2
Tv_actions
More Samsung IR commands:
On/Off: CeCfAfAaF
On: CeCeAbBbAaBbBa
Off: CeChBbDbBa
CH+: CeCfAbAcAaBaC
CH-: CeCiAcDaC
V+: CeCeChE
V-: CeCeBaAfAaD
Menu: CeCfAaBcAaAbC
Mute: CeCeDhD
Up: CeCjBaEbA
Down: CeCeAdBbDbA
Left: CeCeAaAbBbAaBbA
Right: CeCfAcBaAaCbA
Ok: CeChAaBaCaAbA
Back: CeChBaAaCbAaA
Exit: CeCeAaBaAcAbAaB
Source: CeCeAhG
Tools: CeCeBaAbAcAaBaA
Content: CeCeAbDbBdA
CH List: CeCeBaAaBcAaAbA
Play: CeCeCcAdCaA
Pause: CeCfAaAbAaAaAaBaA
Info: CeCeEhC
Hdmi: CeCeBaAcAbAaCa
Hdmi1: CeCeAbAaCaBaAc
Hdmi2: CeCfEaBeAa
Hdmi3: CeCfAdCaDb
Hdmi4: CeCeAaAcBaAaCb
Stop: CeCfBcAaAbCaA
1: CeCgAeBaECeCgAeBaE
2: CeCeAaAfAaE
3: CeCfBeAbE
4: CeChAdCaD
5: CeCeAbAeBaD
6: CeCfAaAdAaAaD
7: CeCgBdBbD
8: CeCeAaBeAbD
9: CeCfCdAcD
0: CeCeAcAdCaC
Cogomma Type B
Cogomma Type B - Ver 2
Avatto S07
SPETU Wifi Water Smart Valve https://a.aliexpress.com/_dYF5qxo (Tested. Thanks to micheletorrini on Discord)
Json for managing a smart water valve. The 2 onboard leds (red and blue) have been used. It has a dummy switch too that allows you to enter in setup mode by pressing it once.
Parameter "w":
can be changed with 0,1,2,3 values for different valve types. Added "d":0
to disable in app HomeKit valve timer.
Json:
{"c":{"l":5},"a":[{"t":20,"w":3,"d":0,"s":5,"0":{"r":[{"g":12},{"g":4,"v":0}]},"1":{"r":[{"g":12,"v":1},{"g":4,"v":1}]},"b":[{"g":13,"p":1,"t":1}]},{"i":0.5,"1":{"s":[{"a":1}]}}]}
Gpio list: https://templates.blakadder.com/jinvoo_SM-AW713-v2.html
Jinvoo Smart Wi-Fi Touch panel US 3 https://www.amazon.it/dp/B07NJM13RB/ref=cm_sw_r_cp_api_i_QxTLEbDJ5SZC7 (Tested. Thanks to branda92 on Discord)
The json manages the 3 gangs of the device and adds a dummy switch too that allows you to enter in setup mode by pressing it once. WARNING : Problems with the flashing procedure (see photos and note below)
Json:
{"c":{"l":0,"i":1,"b":[{"g":12,"t":5}]},"a":[{"0":{"r":[{"g":13}]},"1":{"r":[{"g":13,"v":1}]},"b":[{"g":12}]},{"0":{"r":[{"g":4}]},"1":{"r":[{"g":4,"v":1}]},"b":[{"g":3}]},{"0":{"r":[{"g":15}]},"1":{"r":[{"g":15,"v":1}]},"b":[{"g":5}]},{"i":0.5,"1":{"s":[{"a":1}]}}]}
Gpio list: https://templates.blakadder.com/jinvoo_SM-SW101-3.html
Note: The flashing problem was caused by the chip U4 presence. This chip manages the 3 capacitive touch buttons and has its serial pin connected to the TYWE3S Rx pin. So we had to desolder U4, flash TYWE3S and then solder U4 again. I suppose that disconnecting pins 5 and 6 (maybe only pin 5) is enough.
Electrodragon Wifi IoT SPDT Relay Board Based on ESP8266 https://www.electrodragon.com/product/wifi-iot-relay-board-spdt-based-esp8266/ (Tested. Thanks to jvog85 on Discord)
The json manages a windows covering and also adds a dummy switch that allows you to enter in setup mode by pressing it once. Gpio4/5 were connected to 3 state switch (up/neutral/down)
Json:
{"c":{"l":16,"b":[{"g":2,"t":5}]},"a":[{"t":45,"o":20,"c":19,"f":70,"0":{"r":[{"g":13},{"g":12,"v":1}]},"1":{"r":[{"g":13,"v":1},{"g":12}]},"2":{"r":[{"g":13},{"g":12}]},"3":{"r":[{"g":13},{"g":12,"i":1}]},"4":{"r":[{"g":13,"i":1},{"g":12}]},"f0":[{"g":5,"t":0,"p":0}],"f1":[{"g":4,"t":0,"p":0}],"f2":[{"g":5,"t":1},{"g":4,"t":1}]},{"i":0.5,"1":{"s":[{"a":1}]}}]}
Gpio list: https://templates.blakadder.com/electrodragon_board.html
Tuya Smart Switch, DS102 (3 gang) https://s.click.aliexpress.com/e/_dTvq6e2
The json manages the 3 gangs of the device, and goes into setup mode by holding the left side switch for 5 seconds
Json {"c": {"l":0,"b":[{"g":12,"t":5}]},"a":[ {"0":{"r":[{"g":15}, {"g":1,"v":1}]},"1":{"r":[{"g":15,"v":1},{"g":1,"v":0}]}, "b":[{"g":5}]},{"0":{"r":[{"g":13}, {"g":16,"v":1}]},"1":{"r":[{"g":13,"v":1},{"g":16,"v":0}]}, "b":[{"g":12}]},{"0":{"r":[{"g":4}, {"g":14,"v":1}]},"1":{"r":[{"g":4,"v":1}, {"g":14,"v":0}]}, "b":[{"g":3}]}]}
GPIO list: https://templates.blakadder.com/DS-102_3.html
Shelly 1 1 switch for lightbulb with initial state and dummy switch to enter in setup mode:
{"a":[{"s":5,"0":{"r":[{"g":4}]},"1":{"r":[{"g":4,"v":1}]},"b":[{"g":5,"p":0},{"g":5,"t":0}]},{"i":0.5,"1":{"s":[{"a":1}]}}]}
SONOFF 4ch 4 Water Valve with timer, made with haajc v0.6 Json: {"c":{"o":0,"l":13,"i":0,"b":[{"g":0,"t":5}]},"a":[{"0":{"r":[{"g":15,"v":0}]},"1":{"r":[{"g":15,"v":1}]},"t":20,"b":[{"g":14,"t":1,"p":0}],"s":0,"w":0,"d":3600,"f0":[]},{"0":{"r":[{"g":4,"v":0}]},"1":{"r":[{"g":4,"v":1}]},"t":20,"b":[{"g":10,"t":1,"p":0}],"s":0,"w":0,"d":3600,"f0":[]},{"0":{"r":[{"g":5,"v":0}]},"1":{"r":[{"g":5,"v":1}]},"t":20,"b":[{"g":9,"t":1}],"s":0,"w":0,"d":3600},{"0":{"r":[{"g":12,"v":0}]},"1":{"r":[{"g":12,"v":1}]},"t":20,"b":[{"g":0,"t":1}],"s":0,"w":0,"d":3600,"f0":[]}]}
SONOFF 4ch 2 timer water valves and 2 switches, made with haajc v0.6 Json:
{"c":{"o":0,"l":13,"i":0,"b":[{"g":0,"t":5}]},"a":[{"0":{"r":[{"g":12,"v":0}]},"1":{"r":[{"g":12,"v":1}]},"t":20,"b":[{"g":0,"t":1,"p":0}],"s":0,"w":0,"d":3600,"f0":[]},{"0":{"r":[{"g":5,"v":0}]},"1":{"r":[{"g":5,"v":1}]},"t":20,"b":[{"g":9,"t":1,"p":0}],"s":0,"w":0,"d":3600,"f0":[]},{"0":{"r":[{"g":15,"v":0}]},"1":{"r":[{"g":15,"v":1}]},"t":1,"b":[{"g":14,"t":1}],"s":0},{"0":{"r":[{"g":4,"v":0}]},"1":{"r":[{"g":4,"v":1}]},"t":1,"b":[{"g":10,"t":1}],"s":0}]}
JSON: {"c":{"l":13,"i":1,"b":[{"g":0,"t":5}]},"a":[{"t":4,"s":5,"i":1,"1":{"r":[{"g":12,"v":0}]},"0":{"r":[{"g":12,"v":1,"i":0.5}]},"b":[{"g":0,"p":1,"t":1}]},{"i":0.5,"1":{"s":[{"a":1}]}}]}
Electrodragon ESP LED Strip Board, Mosfet Drive https://www.electrodragon.com/product/esp-led-strip-board/ (Tested)
Json for managing a led strip and a dummy switch that allows you to enter in setup mode by pressing it once.
Json:
RGB {"c":{"q":850,"b":[{"g":0,"t":5}]},"a":[{"t":30,"r":15,"g":13,"v":12,"b":[{"g":0}]},{"i":0.5,"1":{"s": [{"a":1}]}}]}
RGBW {"c":{"q":850,"b":[{"g":0,"t":5}]},"a":[{"t":30,"r":15,"g":13,"v":12,"w":14,"b":[{"g":0}]},{"i":0.5,"1": {"s":[{"a":1}]}}]}
Zemismart Curtain Motor and Rail
Inexpensive automatic curtain solution. It uses a WiFi usb dongle. Inside the usb dongle is an esp8266 which can be flashed with HAA using Tuya-Convert . The esp8266 chip communicates with a secondary mcu inside the motor housing. With the below json the curtain motor can be controlled through the home app however when controlling manually or with the provided RF remote the status is not updated in the home app as this is not (yet) supported by HAA.
JSON:
{
"c": {
"r": [{
"n": 2,
"s": 9600
}]
},
"a": [{
"t": 45,
"o": 13,
"c": 13,
"0": {
"u": [{
"v": "55aa00060005660400010075"
}]
},
"1": {
"u": [{
"v": "55aa00060005660400010176"
}]
},
"2": {
"u": [{
"v": "55aa00060005660400010277"
}]
},
"y1": [{
"v": 1,
"1": {
"u": [{
"v": "55aa00060008650200040000000179"
}]
}
}, {
"v": 5,
"1": {
"u": [{
"v": "55aa0006000865020004000000057d"
}]
}
}, {
"v": 10,
"1": {
"u": [{
"v": "55aa00060008650200040000000a82"
}]
}
}, {
"v": 15,
"1": {
"u": [{
"v": "55aa00060008650200040000000f87"
}]
}
}, {
"v": 20,
"1": {
"u": [{
"v": "55aa0006000865020004000000148c"
}]
}
}, {
"v": 25,
"1": {
"u": [{
"v": "55aa00060008650200040000001991"
}]
}
}, {
"v": 30,
"1": {
"u": [{
"v": "55aa00060008650200040000001e96"
}]
}
}, {
"v": 35,
"1": {
"u": [{
"v": "55aa0006000865020004000000239b"
}]
}
}, {
"v": 40,
"1": {
"u": [{
"v": "55aa000600086502000400000028a0"
}]
}
}, {
"v": 45,
"1": {
"u": [{
"v": "55aa00060008650200040000002da5"
}]
}
}, {
"v": 50,
"1": {
"u": [{
"v": "55aa000600086502000400000032aa"
}]
}
}, {
"v": 55,
"1": {
"u": [{
"v": "55aa000600086502000400000037af"
}]
}
}, {
"v": 60,
"1": {
"u": [{
"v": "55aa00060008650200040000003cb4"
}]
}
}, {
"v": 65,
"1": {
"u": [{
"v": "55aa000600086502000400000041b9"
}]
}
}, {
"v": 70,
"1": {
"u": [{
"v": "55aa000600086502000400000046be"
}]
}
}, {
"v": 75,
"1": {
"u": [{
"v": "55aa00060008650200040000004bc3"
}]
}
}, {
"v": 80,
"1": {
"u": [{
"v": "55aa000600086502000400000050c8"
}]
}
}, {
"v": 85,
"1": {
"u": [{
"v": "55aa000600086502000400000055cd"
}]
}
}, {
"v": 90,
"1": {
"u": [{
"v": "55aa00060008650200040000005ad2"
}]
}
}, {
"v": 95,
"1": {
"u": [{
"v": "55aa00060008650200040000005fd7"
}]
}
}, {
"v": 100,
"1": {
"u": [{
"v": "55aa000600086502000400000064dc"
}]
}
}
]
},
{
"1": {
"s": [{
"a": 1
}]
},
"i": 1
}]
}
Sonoff Basic R2 with Switch connected to GPIO 3 (RX) and GND :
{"c":{"l":13,"b":[{"g":0,"t":5}]},"a":[{"0":{"r":[{"g":12}]},"1":{"r":[{"g":12,"v":1}]},"b":[{"g":0},{"g":3},{"g":3,"t":0}]}]}
json for garage door? sonoff basic r2 (dry contact) HAA homekit pls (with stop/pause)
Hi All :) I need a sprinkler string for Sonoff BASIC ... can you help me?
A JSON tested collection. Please add your. FORMAT: