Closed GPL71 closed 3 years ago
Device: NITEBIRD Smart LED Strip Lights (16.4ft) Model: SL2-1 Link: https://www.amazon.com/gp/product/B081F46JSY/ Accessory description: LED strip
red = gpio12 green = gpio5 blue = gpio13 button = gpio4
Json:
{
"c": {
"b": [
{
"g": 4,
"t": 5
}
]
},
"a": [
{
"t": 30,
"r": 12,
"g": 5,
"v": 13,
"b": [
{
"g": 4
}
]
}
]
}
{ "c" : { "o" : 1, "l" : 13, "i" : 1 }, "a" : [ { "t" : 1, "0" : { "r" : [ { "g" : 14, "v" : 0 }, { "g" : 1, "v" : 1 } ] }, "1" : { "r" : [ { "g" : 14, "v" : 1 }, { "g" : 1, "v" : 0 } ] }, "b" : [ { "g" : 3, "p" : 1, "t" : 1 }, { "g" : 14, "p" : 1, "t" : 1 }, { "g" : 14, "t" : 0 } ] } ] }
Thank you so much. I can confirm this works.
Will finally go through the hell of updating all my plugs this weekend :)
AVATAR AWP08L
Setup Mode (GPIO0), Button (GPIO13), Relay (GPIO15), LED(GPIO2) LED is only Status LED.
{ "c" : { "o" : 1, "l" : 2, "i" : 1 }, "a" : [ { "t" : 1, "0" : { "r" : [ { "g" : 15, "v" : 0 }, { "g" : 2, "v" : 1 } ] }, "1" : { "r" : [ { "g" : 15, "v" : 1 }, { "g" : 2, "v" : 0 } ] }, "b" : [ { "g" : 13, "p" : 1, "t" : 1 }, { "g" : 15, "p" : 1, "t" : 1 }, { "g" : 15, "t" : 0 } ] } ] }
Device: Shelly 1
Description: Garage Door Opener
{"c":{"z":4,"0":{"r":[{"g":4}]}},"a":[{"t":40,"d":18,"0":{"r":[{"g":4,"v":1,"i":0.8}]},"1":{"a":0},"2":{"r":[{"g":4,"i":2},{"g":4,"v":1,"i":1},{"g":4,"v":1,"i":3}]},"3":{"a":2}}]}
@aleroot
Device ---- NODE MCU ESP 8266E Accessory description --- FAN, LIGHTS, 16.0A SOCKET, BATTEN LED Json ----- CAN ANY ONE HELP PLEASE ?
Posted in the wrong area - this is for Working Tested configs
Device: NodeMCU ESP8266 / Wemos D1 Mini Pro Accessory Description: Garage Door Opener + Light (2-Relays), 2x Reed switches for Open & Closed status and DHT22 Temperature Sensor (AM2302). If the door is opening and you close it mid cycle, it will change direction to close. Note that this is specific to a Hormann door opener in my code and may need modification for others.In addition, the 2-channel relay is a LOW triggered relay, so code amended to ensure it doesn't trigger opening on power cycle. One of the LEDs is turned on permanently to show power state. GPIOs used as follows:
JSON (with Domoticz update): removed as the HTTP causes an issue with automations (in my case turned light on at night, off when closed). I think this may be due to the HTTP being sent at same time as Homekit hub trying to send automation and ESP cannot handle this. Further investigation needed. JSON (without Domoticz update): {"c":{"0":{"r":[{"g":5,"v":1},{"g":2,"v":0}]},"n":"GDC-D1-1","l":1,"o":0,"b":[{"g":0,"t":5}]},"a":[{"0":{"r":[{"g":5,"i":0.5}]},"1":{"r":[{"g":5,"i":0.5}]},"2":{"r":[{"g":5,"v":1,"i":1.5},{"g":5,"i":0.5}]},"3":{"a":2},"t":40,"d":30,"c":40,"e":50,"f3":[{"g":14,"t":0}],"f4":[{"g":14}],"f2":[{"g":12,"t":0}],"f5":[{"g":12}],"b":[{"g":0}],"s":0},{"1":{"s":[{"a":1}]},"b":[],"s":0},{"0":{"r":[{"g":4,"v":1}]},"1":{"r":[{"g":4,"v":0}]},"t":2,"s":5,"b":[]},{"t":24,"n":2,"g":13,"j":30}]}
Garage Door
Garage door with opening and closing sensors (Sonoff Mini - Realy GPIO12 - Opening sensor GPIO16 - Closing sensor GPIO4) + Setup Mode
{"c":{"l":13,"b":[{"g":0,"t":5}],"n":"your-hostname","0":{"r":[{"g":12}]}},"a":[{"t":40,"d":20,"f3":[{"g":16,"t":0}],"f4":[{"g":16}],"f2":[{"g":4,"t":0}],"f5":[{"g":4}],"0":{"r":[{"g":12,"v":1,"i":1.0}]},"1":{"a":0},"2":{"r":[{"g":12,"v":1,"i":1.0},{"g":12,"i":3.0},{"g":12,"v":1,"i":4.0}]},"3":{"a":2},"10":{"a":0}},{"i":0.5,"1":{"s":[{"a":1}]}}]}
Gosund WB4 RGBW Bulb https://www.amazon.com/Gosund-Changing-Compatible-Multicolor-Required/dp/B08G4279YJ/ref=sr_1_6?dchild=1&keywords=gosund+wb4&qid=1608921608&sr=8-6 (Tested) Wasn't able to flash via Tuya Convert
Json for managing a led RGBW bulb and a dummy switch that allows you to enter in setup mode by pressing it once.
Json:
RGBW {"c":{"q":850,"b":[{"g":0,"t":5}]},"a":[{"t":30,"r":12,"g":13,"v":14,"w":4,"b":[{"g":0}]},{"i":0.5,"1": {"s":[{"a":1}]}}]}
convert doorbell ELVOX 6200 to smart: open door + tricky doorbell
{"c":{"n":"citofocondo","0":{"r":[{"g":4}]}},"a":[{"t":4,"i":3,"0":{"r":[{"g":4,"v":1,"i":0.5}]},"1":{"r":[{"g":4}]}},{"t":13,"f0":[{"g":5,"p":0,"i":1,"t":0}]},{"i":0.5,"1":{"s":[{"a":1}]}}]}
don't use the same shelly to open 2 different doors...
SP1
your setup worked for my sp1-c but it doesn't see power consumption is that even supported ?
SP1
your setup worked for my sp1-c but it doesn't see power consumption is that even supported ?
Probably supports it but I’ve not tried.
As it happens. I have an issue with the plug stopping working after about a week. I have to turn it off and on again to get it back up and running. It’s like it doesn’t auto reconnect to the WiFi. So I’ve not quite figured out the problem yet.
SP1
your setup worked for my sp1-c but it doesn't see power consumption is that even supported ?
Probably supports it but I’ve not tried.
As it happens. I have an issue with the plug stopping working after about a week. I have to turn it off and on again to get it back up and running. It’s like it doesn’t auto reconnect to the WiFi. So I’ve not quite figured out the problem yet.
wierd, i just set up mine so i'll report if it does same
Shelly 1 as Garage door opener with 1 magnetic reed sensor (close)
{"c":{"0":{"r":[{"g":4}]},"l":13,"b":[{"g":0,"t":5}]},"a":[{"0":{"r":[{"g":4,"v":1,"i":0.5}]},"1":{"a":0},"2":{"r":[{"g":4,"i":1.5},{"g":4,"v":1,"i":0.5},{"g":4,"v":1,"i":2}]},"3":{"a":2},"t":40,"d":52,"f3":[{"g":3,"t":0}],"f4":[{"g":3,"t":1}],"s":0,"b":[{"g":5,"p":0,"i":1,"t":0}]},{"1":{"s":[{"a":1}]},"i":0.5,"b":[],"s":0}]}
Sonoff S55
Waterproof Wifi Smart Socket
{"c":{"l":13,"i":1,"sn":"S55-1","n":"S55-1"},"a":[{"t":2,"s":5,"0":{"r":[{"g":12,"v":0},{"g":13,"v":1}]},"1":{"r":[{"g":12,"v":1},{"g":13,"v":0}]},"b":[{"g":0,"p":1}]}]}
{"c":{"l":13,"i":1,"sn":"Gosund1","n":"Gosund1"},"a":[{"t":2,"s":5,"0":{"r":[{"g":14,"v":0},{"g":1,"v":1}]},"1":{"r":[{"g":14,"v":1},{"g":1,"v":0}]},"b":[{"g":3,"p":1}]}]}
Kogan 10W Ambient 1050lm RGBW Bulb RGBW bulb; Model KASB10RB22HA and KASB10RE27HA (E27 version): Flashed with Tuya 2. JSON tested and now working with all colours:
{"c":{"q": 850,"b":[{"g":0}]},"a":[{"t":30,"r":4,"g":12,"v":14,"w":5,"fr":40,"fg":4,"fv":4,"s":5}]}
DETA 62120HA Smart Plug Base Plug Smart Plug: Flashed with Tuya 2 JSON tested and working with indicator LED and concealed button: {"c":{"b":[{"g":1,"t":5}]},"a":[{"t":2,"0":{"r":[{"g":14,"v":0},{"g":13,"v":1}]},"1":{"r":[{"g":14,"v":1},{"g":13,"v":0}]},"b":[{"g":1}]}]}
DETA Deta 6930HA Smart Plug Smart Plug: Flashed with Tuya 2 JSON tested and working with indicator LED and concealed button: {"c":{"b":[{"g":1,"t":5}]},"a":[{"t":2,"0":{"r":[{"g":14,"v":0},{"g":13,"v":1}]},"1":{"r":[{"g":14,"v":1},{"g":13,"v":0}]},"b":[{"g":1}]}]}
Dimmer MS-105 with external button.
{"c":{"r":[{"n":0,"s":9600}],"n":"Dimmer","b":[{"g":0,"t":5}]},"a":[{"t":30,"b":[{"g":0}],"0":{"u":[{"v":"55aa0006000501010001000d"}]},"1":{"u":[{"v":"55aa0006000501010001010e"}]},"y0":[{"v":1,"0":{"u":[{"v":"55aa00060008020200040000000a1f"}]}},{"v":5,"0":{"u":[{"v":"55aa00060008020200040000003247"}]}},{"v":10,"0":{"u":[{"v":"55aa00060008020200040000002e43"}]}},{"v":15,"0":{"u":[{"v":"55aa000600080202000400000098ad"}]}},{"v":20,"0":{"u":[{"v":"55aa0006000802020004000000c5da"}]}},{"v":25,"0":{"u":[{"v":"55aa0006000802020004000000fd12"}]}},{"v":30,"0":{"u":[{"v":"55aa0006000802020004000001253b"}]}},{"v":35,"0":{"u":[{"v":"55aa0006000802020004000001596f"}]}},{"v":40,"0":{"u":[{"v":"55aa00060008020200040000018ea4"}]}},{"v":45,"0":{"u":[{"v":"55aa0006000802020004000001c1d7"}]}},{"v":50,"0":{"u":[{"v":"55aa0006000802020004000001f208"}]}},{"v":55,"0":{"u":[{"v":"55aa0006000802020004000002263d"}]}},{"v":60,"0":{"u":[{"v":"55aa0006000802020004000002586f"}]}},{"v":65,"0":{"u":[{"v":"55aa000600080202000400000289a0"}]}},{"v":70,"0":{"u":[{"v":"55aa0006000802020004000002c0d7"}]}},{"v":75,"0":{"u":[{"v":"55aa0006000802020004000002ea01"}]}},{"v":80,"0":{"u":[{"v":"55aa00060008020200040000032038"}]}},{"v":85,"0":{"u":[{"v":"55aa00060008020200040000035169"}]}},{"v":90,"0":{"u":[{"v":"55aa00060008020200040000037f97"}]}},{"v":95,"0":{"u":[{"v":"55aa0006000802020004000003b7cf"}]}},{"v":100,"0":{"u":[{"v":"55aa0006000802020004000003e800"}]}}]}]}
shelly 2.5 used to control n.2 lights:
{"c":{"l":0,"i":1,"n":"lucexxx","b":[{"g":2,"t":5}],"0":{"r":[{"g":16}]}},"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}]}},{"t":22,"h":0,"n":5,"j":5,"y0":[{"v":75,"r":1,"0":{"m":[{"g":1},{"g":2}]}}]}]}
shelly 2.5 used to control n.1 light and n.1 wall outlet:
{"c":{"l":0,"i":1,"n":"lucexxx","b":[{"g":2,"t":5}],"0":{"r":[{"g":16}]}},"a":[{"t":2,"s":5,"0":{"r":[{"g":4}]},"1":{"r":[{"g":4,"v":1}]}},{"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}]}},{"t":22,"h":0,"n":5,"j":5,"y0":[{"v":75,"r":1,"0":{"m":[{"g":1},{"g":2}]}}]}]}
shelly 2.5 used to control n.2 lights:
- n.2 external physical button attached to control two onboard relay that control attached lights
- dummy switch to enter in setup mode
- control of over temperature: shelly 2.5 shutdown went temperature is greater than 75 grade celsius
- built-in button used to enter in setup mode
{"c":{"l":0,"i":1,"n":"lucexxx","b":[{"g":2,"t":5}],"0":{"r":[{"g":16}]}},"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}]}},{"t":22,"h":0,"n":5,"j":5,"y0":[{"v":75,"r":1,"0":{"m":[{"g":1},{"g":2}]}}]}]}
Thank you for sharing your Json :-)
Could you explain why you Set GPIO 16 to 0 on boot ? Its the IRQ, right ?
Gosund WP6 Smart Plug {"c":{"l":13,"b":[{"g":3,"t":5}]},"a":[{"t":2,"0":{"r":[{"g":14},{"g":1,"v":1}]},"1":{"r":[{"g":14,"v":1},{"g":1}]},"b":[{"g":3}]}]}
5Channel MagicHome controller:
{ "c": { "o": 1, "n": "LEDnet", "b": [{ "g": 0, "t": 5 }] }, "a": [{ "t": 30, "r": 14, "g": 12, "v": 13, "cw": 5, "ww": 15, "b": [{ "g": 0 }] }, { "i": 0.5, "1": { "s": [{ "a": 0 }] } }, { "i": 0.5, "1": { "s": [{ "a": 1 }] } }] }
{ "c": { "l": 2, "b": [{ "g": 16, "t": 5 }, { "g": 5, "t": 5 }, { "g": 4, "t": 5 }], "i": 1, "n": "haa-corredor" }, "a": [ { "t": 1, "0": { "r": [{ "g": 13, "v": 0 }] }, "1": { "r": [{ "g": 13, "v": 1 }] }, "b": [{ "g": 16 }], "s": 5 }, { "t": 1, "0": { "r": [{ "g": 12, "v": 0 }] }, "1": { "r": [{ "g": 12, "v": 1 }] }, "b": [{ "g": 5 }] }, { "t": 1, "0": { "r": [{ "g": 14, "v": 0 }] }, "1": { "r": [{ "g": 14, "v": 1 }] }, "b": [{ "g": 4 }] } ] }
Blitz SHP-2 outlet and occupancy sensor with power measure and dummy switch;
GPIO01 Serial RXD and LED1 (blue) inv
GPIO03 Serial TXD and Button
GPIO04 BL0937 or HJL-01 CF power
GPIO05 BL0937 or HJL-01 CF1 current / voltage
GPIO12 BL0937 or HJL-01 Sel output (0 = Voltage)
GPIO13 LED2 (red) inv
GPIO14 Relay (0 = Off, 1 = On)
{"c":{"o":4,"l":1,"n":"pralnia-pralka","ct":7,"b":[{"g":3,"t":5}]},"a":[{"t":2,"0":{"r":[{"g":14},{"g":13,"v":1}]},"1":{"r":[{"g":14,"v":1},{"g":13}]},"s":5,"b":[{"g":3}]},{"t":76,"j":30,"c0":4,"c1":5,"sl":12,"vf":0.16,"cf":0.1,"pf":1.706,"y2":[{"v":0,"r":1,"0":{"m":[{"g":2,"v":1}]}},{"v":2,"r":1,"0":{"m":[{"g":2,"v":0}]}}]},{"t": 1}]}
{ "c":{ "sn":"ESP01-1", "n":"ESP01-1" }, "a":[ { "t":24, "g":2, "n":1 } ] }
Or with very simple dummy button for accessing setup mode:
{ "c":{ "sn":"ESP01-1", "n":"ESP01-1" }, "a":[ { "t":1 }, { "t":24, "g":2, "n":1 } ] }
Sonoff Basic working as both a classical switch and an occupancy sensor. It will regularly ping two IPS, 192.168.2.11 and 192.168.2.12, change state to Occupied if any of them responds.
{"c":{"l":13,"b":[{"g":0,"t":5}]},"a":[{"0":{"r":[{"g":12}]},"1":{"r":[{"g":12,"v":1}]},"b":[{"g":0 }]},{"t":6},{"h":0,"d":30,"0":{"m":[{"g":2}]},"1":{"m":[{"g":3,"v":-1},{"g":2,"v":1}]},"p1":[{"h":"192.168.2.11","i":1,"r":1},{"h":"192.168.2.12","i":1,"r":1}]}]}
{ "c":{ "q":850, "b":[ { "g":0, "t":5 } ] }, "a":[ { "t": 30, "r": 12, "g":13, "v":14, "w": 4, "b":[ { "g":0 } ] } ] }
Atom 7w Smart Lightbulb RGBCWW / RGBWCT
https://templates.blakadder.com/athom_LB017W.html
{"c":{"o":1,"q":977},"a":[{"t":30,"r":4,"g":12,"v":14,"cw":5,"ww":13,"d":0.2,"st":65535,"e":10,"s":1},{"1":{"s":[{"a":1}]},"i":0.5}]}
WIFI DIMMER MODULE MS-105
https://es.aliexpress.com/item/33012242667.html?spm=a2g0s.9042311.0.0.4ee363c0QmFAEA (It is a different version of the one sold by MOESHOUSE and previously posted Json by iotcastro, this device requires some welding and rework for full compatibility with HK)
Json: {"c":{"r":[{"n":0,"s":9600}],"b":[{"g":0,"t":5}]},"a":[{"t":30,"b":[{"g":0,"m":1,"p":0}],"0":{"u":[{"v":"55aa0006000501010001000d"}]},"1":{"u":[{"v":"55aa0006000501010001010e"}]},"y0":[{"v":1,"0":{"u":[{"v":"55aa00060008020200040000000a1f"}]}},{"v":5,"0":{"u":[{"v":"55aa00060008020200040000003247"}]}},{"v":10,"0":{"u":[{"v":"55aa00060008020200040000002e43"}]}},{"v":15,"0":{"u":[{"v":"55aa000600080202000400000098ad"}]}},{"v":20,"0":{"u":[{"v":"55aa0006000802020004000000c5da"}]}},{"v":25,"0":{"u":[{"v":"55aa0006000802020004000000fd12"}]}},{"v":30,"0":{"u":[{"v":"55aa0006000802020004000001253b"}]}},{"v":35,"0":{"u":[{"v":"55aa0006000802020004000001596f"}]}},{"v":40,"0":{"u":[{"v":"55aa00060008020200040000018ea4"}]}},{"v":45,"0":{"u":[{"v":"55aa0006000802020004000001c1d7"}]}},{"v":50,"0":{"u":[{"v":"55aa0006000802020004000001f208"}]}},{"v":55,"0":{"u":[{"v":"55aa0006000802020004000002263d"}]}},{"v":60,"0":{"u":[{"v":"55aa0006000802020004000002586f"}]}},{"v":65,"0":{"u":[{"v":"55aa000600080202000400000289a0"}]}},{"v":70,"0":{"u":[{"v":"55aa0006000802020004000002c0d7"}]}},{"v":75,"0":{"u":[{"v":"55aa0006000802020004000002ea01"}]}},{"v":80,"0":{"u":[{"v":"55aa00060008020200040000032038"}]}},{"v":85,"0":{"u":[{"v":"55aa00060008020200040000035169"}]}},{"v":90,"0":{"u":[{"v":"55aa00060008020200040000037f97"}]}},{"v":95,"0":{"u":[{"v":"55aa0006000802020004000003b7cf"}]}},{"v":100,"0":{"u":[{"v":"55aa0006000802020004000003e800"}]}}]},{"i":0.5,"1":{"s":[{"a":1}]}}]}
After some testing done by iotcastro and myself, overheating is not a concern on this device. For instance, after 30 min. with a 100 W incandescent bulb load temperature never exceeded 50 deg. C. In case extra safety is desired due loads near or above the 150W limit a DS18B20 temperature sensor can be added to switch off the device if customizable temperature treshold is reached. (DS18B20 connected to GPIO5)
Json below is configured for a maximum temperature of 65 deg. C. configured as hidden accesori ("h":0) to don´t show temperature in home app.
{"c":{"r":[{"n":0,"s":9600}],"b":[{"g":0,"t":5}]},"a":[{"t":30,"b":[{"g":0,"m":1,"p":0}],"0":{"u":[{"v":"55aa0006000501010001000d"}]},"1":{"u":[{"v":"55aa0006000501010001010e"}]},"y0":[{"v":1,"0":{"u":[{"v":"55aa00060008020200040000000a1f"}]}},{"v":5,"0":{"u":[{"v":"55aa00060008020200040000003247"}]}},{"v":10,"0":{"u":[{"v":"55aa00060008020200040000002e43"}]}},{"v":15,"0":{"u":[{"v":"55aa000600080202000400000098ad"}]}},{"v":20,"0":{"u":[{"v":"55aa0006000802020004000000c5da"}]}},{"v":25,"0":{"u":[{"v":"55aa0006000802020004000000fd12"}]}},{"v":30,"0":{"u":[{"v":"55aa0006000802020004000001253b"}]}},{"v":35,"0":{"u":[{"v":"55aa0006000802020004000001596f"}]}},{"v":40,"0":{"u":[{"v":"55aa00060008020200040000018ea4"}]}},{"v":45,"0":{"u":[{"v":"55aa0006000802020004000001c1d7"}]}},{"v":50,"0":{"u":[{"v":"55aa0006000802020004000001f208"}]}},{"v":55,"0":{"u":[{"v":"55aa0006000802020004000002263d"}]}},{"v":60,"0":{"u":[{"v":"55aa0006000802020004000002586f"}]}},{"v":65,"0":{"u":[{"v":"55aa000600080202000400000289a0"}]}},{"v":70,"0":{"u":[{"v":"55aa0006000802020004000002c0d7"}]}},{"v":75,"0":{"u":[{"v":"55aa0006000802020004000002ea01"}]}},{"v":80,"0":{"u":[{"v":"55aa00060008020200040000032038"}]}},{"v":85,"0":{"u":[{"v":"55aa00060008020200040000035169"}]}},{"v":90,"0":{"u":[{"v":"55aa00060008020200040000037f97"}]}},{"v":95,"0":{"u":[{"v":"55aa0006000802020004000003b7cf"}]}},{"v":100,"0":{"u":[{"v":"55aa0006000802020004000003e800"}]}}]},{"t":22,"h":0,"n":3,"g":5,"j":30,"y0":[{"v":65,"r":1,"0":{"m":[{"g":1,"v":0}]}}]},{"i":0.5,"1":{"s":[{"a":1}]}}]}
{"c":{"o":0},"a":[{"0":{"r":[{"g":14,"v":0}]},"1":{"r":[{"g":14,"v":1}]},"t":1,"b":[{"g":4,"p":1,"t":1}]}]}
Thanks for all the work on this project!
Dimmer MS-105 with external button.
VIDEO-2021-01-08-11-31-57.mp4 {"c":{"r":[{"n":0,"s":9600}],"n":"Dimmer","b":[{"g":0,"t":5}]},"a":[{"t":30,"b":[{"g":0}],"0":{"u":[{"v":"55aa0006000501010001000d"}]},"1":{"u":[{"v":"55aa0006000501010001010e"}]},"y0":[{"v":1,"0":{"u":[{"v":"55aa00060008020200040000000a1f"}]}},{"v":5,"0":{"u":[{"v":"55aa00060008020200040000003247"}]}},{"v":10,"0":{"u":[{"v":"55aa00060008020200040000002e43"}]}},{"v":15,"0":{"u":[{"v":"55aa000600080202000400000098ad"}]}},{"v":20,"0":{"u":[{"v":"55aa0006000802020004000000c5da"}]}},{"v":25,"0":{"u":[{"v":"55aa0006000802020004000000fd12"}]}},{"v":30,"0":{"u":[{"v":"55aa0006000802020004000001253b"}]}},{"v":35,"0":{"u":[{"v":"55aa0006000802020004000001596f"}]}},{"v":40,"0":{"u":[{"v":"55aa00060008020200040000018ea4"}]}},{"v":45,"0":{"u":[{"v":"55aa0006000802020004000001c1d7"}]}},{"v":50,"0":{"u":[{"v":"55aa0006000802020004000001f208"}]}},{"v":55,"0":{"u":[{"v":"55aa0006000802020004000002263d"}]}},{"v":60,"0":{"u":[{"v":"55aa0006000802020004000002586f"}]}},{"v":65,"0":{"u":[{"v":"55aa000600080202000400000289a0"}]}},{"v":70,"0":{"u":[{"v":"55aa0006000802020004000002c0d7"}]}},{"v":75,"0":{"u":[{"v":"55aa0006000802020004000002ea01"}]}},{"v":80,"0":{"u":[{"v":"55aa00060008020200040000032038"}]}},{"v":85,"0":{"u":[{"v":"55aa00060008020200040000035169"}]}},{"v":90,"0":{"u":[{"v":"55aa00060008020200040000037f97"}]}},{"v":95,"0":{"u":[{"v":"55aa0006000802020004000003b7cf"}]}},{"v":100,"0":{"u":[{"v":"55aa0006000802020004000003e800"}]}}]}]}
Hey, buddy, which one is the Gpio pin ?
- 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}}]}
not working
{"c":{"b":[{"g":3,"t":5}],"s":5,"n":"HAA-Tomada_Ekaza"},"a":[{"t":2,"0":{"r":[{"g":14},{"g":13,"v":1}],"m":[[2,2]]},"1":{"r":[{"g":14,"v":1},{"g":13}]},"b":[{"g":3}]},{"t":1,"d":7200,"0":{"m":[[1,0]]},"1":{"m":[[1,1]],"r":[{"g":13,"v":1,"i":0.5},{"g":13,"v":0,"i":1},{"g":13,"v":1,"i":1.5},{"g":13,"v":0,"i":2},{"g":13,"v":1,"i":2.5},{"g":13,"v":0,"i":3}]},"b":[{"g":3,"t":2}]},{"t":75,"d":7200,"c0":4,"c1":5,"sl":12,"j":10,"vf":0.16256,"cf":0.04071,"co":-0.15,"pf":6.07695,"po":-10}]}
Flash with Serial Port (not easy), followed this Guide.
Dimmer MS-105 with external button. VIDEO-2021-01-08-11-31-57.mp4 {"c":{"r":[{"n":0,"s":9600}],"n":"Dimmer","b":[{"g":0,"t":5}]},"a":[{"t":30,"b":[{"g":0}],"0":{"u":[{"v":"55aa0006000501010001000d"}]},"1":{"u":[{"v":"55aa0006000501010001010e"}]},"y0":[{"v":1,"0":{"u":[{"v":"55aa00060008020200040000000a1f"}]}},{"v":5,"0":{"u":[{"v":"55aa00060008020200040000003247"}]}},{"v":10,"0":{"u":[{"v":"55aa00060008020200040000002e43"}]}},{"v":15,"0":{"u":[{"v":"55aa000600080202000400000098ad"}]}},{"v":20,"0":{"u":[{"v":"55aa0006000802020004000000c5da"}]}},{"v":25,"0":{"u":[{"v":"55aa0006000802020004000000fd12"}]}},{"v":30,"0":{"u":[{"v":"55aa0006000802020004000001253b"}]}},{"v":35,"0":{"u":[{"v":"55aa0006000802020004000001596f"}]}},{"v":40,"0":{"u":[{"v":"55aa00060008020200040000018ea4"}]}},{"v":45,"0":{"u":[{"v":"55aa0006000802020004000001c1d7"}]}},{"v":50,"0":{"u":[{"v":"55aa0006000802020004000001f208"}]}},{"v":55,"0":{"u":[{"v":"55aa0006000802020004000002263d"}]}},{"v":60,"0":{"u":[{"v":"55aa0006000802020004000002586f"}]}},{"v":65,"0":{"u":[{"v":"55aa000600080202000400000289a0"}]}},{"v":70,"0":{"u":[{"v":"55aa0006000802020004000002c0d7"}]}},{"v":75,"0":{"u":[{"v":"55aa0006000802020004000002ea01"}]}},{"v":80,"0":{"u":[{"v":"55aa00060008020200040000032038"}]}},{"v":85,"0":{"u":[{"v":"55aa00060008020200040000035169"}]}},{"v":90,"0":{"u":[{"v":"55aa00060008020200040000037f97"}]}},{"v":95,"0":{"u":[{"v":"55aa0006000802020004000003b7cf"}]}},{"v":100,"0":{"u":[{"v":"55aa0006000802020004000003e800"}]}}]}]} https://es.aliexpress.com/item/4001091273900.html?spm=a2g0o.productlist.0.0.273d344exQ56Qv&algo_pvid=0e7daac1-a3f8-4b5f-8428-df70158f7963&algo_expid=0e7daac1-a3f8-4b5f-8428-df70158f7963-2&btsid=0b0a556e16101021439954077e9680&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_
Hey, buddy, which one is the Gpio pin ?
With these dimmers, there are no other GPIO's connected besides the RX/TX (IO1/IO3) which is used for the MCU. You will have connect/solder wires onto the wifi board (well on my version anyway).
Relay with interlock function:
{ "c":{"l":13,"i":0,"b":[{"g":0,"t":5}],"n":"haarelay"}, "a":[{ "0":{"r":[{"g":5,"v":1}] }, "1":{"r":[{"g":5,"v":0}], "m":[[ 2, 0 ]] }, "b":[{"g":0}] },{ "0":{"r":[{"g":4,"v":1}] }, "1":{"r":[{"g":4,"v":0}], "m":[[ 1, 0 ]] }, "b":[{"g":0}] }] }
The config is for NodeMCU with inverted 0/1 state. For SonoffSV or others pls change "v":1 -> 0 and vice versa.
* Sonoff D1 Dimmer * Lightbulb * JSON:
5, 10, 25, 35, 100% - all 100% of power.
Re Sonoff D1 Dimmer values. I thought the same but you need to select/tap brightness and wait i.e. not drag and wait. The hardware has automatic dimming between values and if you drag in goes a bit crazy doing constant updates. Also the brightness "v" is currently the raw % of waveform clipping and so I think is not really linear real-world brightness.
Window Covering LoraTap SC500W Roller Shutter
{"c":{"l":3,"b":[{"g":2,"t":5}]},"a":[{"0":{"r":[{"g":13},{"g":12,"v":1}]},"1":{"r":[{"g":14,"v":1},{"g":12}]},"2":{"r":[{"g":14},{"g":12}]},"3":{"r":[{"g":13},{"g":14,"i":1}]},"4":{"r":[{"g":14,"i":1},{"g":12}]},"t":45,"o":18,"c":14,"f":70,"f0":[{"g":5,"p":0,"t":0}],"f1":[{"g":4,"p":0,"t":0}],"f2":[{"g":5},{"g":4}]}]}
{"c":{"o":1,"l":2,"i":1},"a":[{"0":{"r":[{"g":14,"v":0}]},"1":{"r":[{"g":14,"v":1}]},"t":1,"b":[{"g":0,"t":1}],"s":0}]}
https://www.aliexpress.com/item/4000960070851.html?spm=a2g0o.cart.0.0.c6653c0030xCGM&mp=1
Note this is the battery powered model with a separate USB Wifi to RF transmitter dongle. This allows for good battery life compared to having wifi built onboard, so ideal for blinds that aren't close to a powerpoint.
cannot be flashed using tuya-convert, usb dongle has to be opened to be flashed via serial (runs a TYWE3S). It is difficult to open the USB dongle without marking the case (mine are marked so you can tell it's been opened but they can be hidden anyway), then use pliers to pull out the two pcb boards slowly bit by bit on each one as there is a ribbon cable joining the two.
you have to set the upper limit and lower limit on the motor as per manual instructions that come with the device.
also in my json, make sure you enter your set opening and close times (o & c) which you can do by running a timer and initiating a close and open from the motor module.
Any changes done manually via on the motor unit or remote is not updated in the home app (HAA does not support this function yet)
RF runs on 915Mhz so you cannot use a broadlink RMx to learn the RF commands. This means each motor requires it's own USB dongle. I have 8 blinds next to each other which means 8 dongles......
JSON
{"c":{"r":[{"n":0,"s":9600}]},"a":[{"0":{"u":[{"v":"55aa00060005010400010212"}]},"1":{"u":[{"v":"55aa00060005010400010010"}]},"2":{"u":[{"v":"55aa00060005010400010111"}]},"t":45,"o":
Teckin SB50 Amazon IT Photo gallery
Another revision of this RGBW lightbulb
Power board designated as "LM99XE2_Power_Board_V1.7" and LED board as "LM99XE2 LED V1.3"
Differs from previous revision in that White is at GPIO5 instead of GPIO13
{"a":[{"t":30,"g": [4,12,14,5],"fa":[4,4,4,15]}]}
MagicHome Monochrome (Single Channel) LED controller
ZJ-WFMN-C v1.1
WW
channel: 12
{"c":{"b":[{"g":0,"t":5}]},"a":[{"t":30,"g":[12],"b":[{"g":0}]}]}
Shelly RGBW2 4 Water Valves (Sprinkler) Setup -& Update Switch
{"c":{"l":13,"b":[{"g":0,"t":5}]}, "a":[{"0":{"r":[{"g":12,"v":0}]},"1":{"r":[{"g":12,"v":1}]}, "t":20,"s":0,"w":1,"d":3600,"f0":[]},{"0":{"r":[{"g":15,"v":0}]},"1": {"r":[{"g":15,"v":1}]}, "t":20, "s":0,"w":1,"d":3600,"f0":[]},{"0":{"r":[{"g":14,"v":0}]},"1": {"r":[{"g":14,"v":1}]}, "t":20, "s":0,"w":1,"d":3600,"f0":[]},{"0":{"r": [{"g":4,"v":0}]},"1":{"r":[{"g":4,"v":1}]}, "t":20,"s":0,"w":1,"d":3600,"f0":[]},{"1":{"s":[{"a":1}]}},{"1":{"s":[{"a":2}]}}]}
I use the Shelly with 24V DC and a 24V DC 8 Channel Relais Module to control the 24V AC Valves
LSC Smart Filament LED E14 400 lumen {"c":{"b":[{"g":0,"t":5}]},"a":[{"t":30,"g":[12,14],"s":5,"b":[{"g":0}]}]}
Deta Grid Connect Smart Quad Gang Touch Light Switch available at https://www.bunnings.com.au/deta-grid-connect-smart-quad-gang-touch-light-switch_p0161015
Available at Bunnings. Flashed with Fullhaaboot.bin using this technique https://blog.mikejmcguire.com/2020/05/22/deta-grid-connect-3-and-4-gang-light-switches-and-home-assistant/ JSON used: {"c":{"l":0,"b":[{"g":0,"t":5}]},"a":[{"0":{"r":[{"g":5}]},"1":{"r":[{"g":5,"v":1}]},"b":[{"g":16}],"s":0},{"0":{"r":[{"g":14}]},"1":{"r":[{"g":14,"v":1}]},"b":[{"g":4}],"s":0},{"0":{"r":[{"g":12}]},"1":{"r":[{"g":12,"v":1}]},"b":[{"g":3}],"s":0},{"0":{"r":[{"g":15}]},"1":{"r":[{"g":15,"v":1}]},"t":1,"b":[{"g":13,"t":1}],"s":0}]}
A JSON tested collection. Please add your. FORMAT: