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.69k stars 357 forks source link

[Deprecated] Tested MEPLHAA Scripts Collection #689

Closed GPL71 closed 3 years ago

GPL71 commented 4 years ago

A JSON tested collection. Please add your. FORMAT:

hire-vladimir commented 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
        }
      ]
    }
  ]
}
nowcodingaway commented 3 years ago

{ "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 :)

DFC1990 commented 3 years ago
fourwallz commented 3 years ago

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

rjblake commented 3 years ago

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

rjblake commented 3 years ago

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}]}

branda92 commented 3 years ago
TriderG75 commented 3 years ago

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}]}}]}

Pinout_1

Pinout_2

pilot1981 commented 3 years ago

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}]}}]}

shelly-1-citofono condominiale

don't use the same shelly to open 2 different doors...

lukasa1993 commented 3 years ago

SP1

your setup worked for my sp1-c but it doesn't see power consumption is that even supported ?

nowcodingaway commented 3 years ago

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.

lukasa1993 commented 3 years ago

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

morphix9 commented 3 years ago

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}]}

ChristianH99 commented 3 years ago
ChristianH99 commented 3 years ago
jaysonpriest commented 3 years ago

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}]}

jaysonpriest commented 3 years ago

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}]}]}

jaysonpriest commented 3 years ago

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}]}]}

iotcastro commented 3 years ago

Dimmer MS-105 with external button.

IMG_9905

https://user-images.githubusercontent.com/71277603/104006058-4a6cd700-51a6-11eb-80df-300acc546efb.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_

pilot1981 commented 3 years ago

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}]}}]}]}

pilot1981 commented 3 years ago

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}]}}]}]}

DFC1990 commented 3 years ago

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 ?

radredgreen commented 3 years ago

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}]}]}

ebenasques commented 3 years ago

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 }] } }] }

raphaeleduardo42 commented 3 years ago
pawelosin commented 3 years ago

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}]}

ChristianH99 commented 3 years ago
molgar commented 3 years ago

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}]}]}

hadobedo commented 3 years ago

{ "c":{ "q":850, "b":[ { "g":0, "t":5 } ] }, "a":[ { "t": 30, "r": 12, "g":13, "v":14, "w": 4, "b":[ { "g":0 } ] } ] }

ministr22 commented 3 years ago
10bn commented 3 years ago

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}]}

Trx899 commented 3 years ago

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}]}}]}

box and external

general one

rework1

TYW2S soldar GPIO

cmoscardi commented 3 years ago
{"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!

brkysnol commented 3 years ago

Dimmer MS-105 with external button.

IMG_9905

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 ?

lcges commented 3 years ago
  • 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

asbesto01 commented 3 years ago
raphaeleduardo42 commented 3 years ago

Flash with Serial Port (not easy), followed this Guide.

seiken27 commented 3 years ago

Dimmer MS-105 with external button. IMG_9905 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).

paulzhdanov commented 3 years ago

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.

dbsqp commented 3 years ago
skv6 commented 3 years ago
* Sonoff D1 Dimmer
* Lightbulb
* JSON:

5, 10, 25, 35, 100% - all 100% of power.

dbsqp commented 3 years ago

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.

nickforev commented 3 years ago

Window Covering LoraTap SC500W Roller Shutter 47ef90344e

{"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}]}]}

ianderso commented 3 years ago
seiken27 commented 3 years ago

image

JSON

{"c":{"r":[{"n":0,"s":9600}]},"a":[{"0":{"u":[{"v":"55aa00060005010400010212"}]},"1":{"u":[{"v":"55aa00060005010400010010"}]},"2":{"u":[{"v":"55aa00060005010400010111"}]},"t":45,"o":,"c":,"y1":[{"1":{"u":[{"v":"55aa00060008020200040000000116"}]},"v":1},{"1":{"u":[{"v":"55aa0006000802020004000000051a"}]},"v":5},{"1":{"u":[{"v":"55aa00060008020200040000000a1f"}]},"v":10},{"1":{"u":[{"v":"55aa00060008020200040000000f24"}]},"v":15},{"1":{"u":[{"v":"55aa00060008020200040000001429"}]},"v":20},{"1":{"u":[{"v":"55aa0006000802020004000000192e"}]},"v":25},{"1":{"u":[{"v":"55aa00060008020200040000001e33"}]},"v":30},{"1":{"u":[{"v":"55aa00060008020200040000002338"}]},"v":35},{"1":{"u":[{"v":"55aa0006000802020004000000283d"}]},"v":40},{"1":{"u":[{"v":"55aa00060008020200040000002d42"}]},"v":45},{"1":{"u":[{"v":"55aa00060008020200040000003247"}]},"v":50},{"1":{"u":[{"v":"55aa0006000802020004000000374c"}]},"v":55},{"1":{"u":[{"v":"55aa00060008020200040000003c51"}]},"v":60},{"1":{"u":[{"v":"55aa00060008020200040000004156"}]},"v":65},{"1":{"u":[{"v":"55aa0006000802020004000000465b"}]},"v":70},{"1":{"u":[{"v":"55aa00060008020200040000004b60"}]},"v":75},{"1":{"u":[{"v":"55aa00060008020200040000005065"}]},"v":80},{"1":{"u":[{"v":"55aa0006000802020004000000556a"}]},"v":85},{"1":{"u":[{"v":"55aa00060008020200040000005a6f"}]},"v":90},{"1":{"u":[{"v":"55aa00060008020200040000005f74"}]},"v":95},{"1":{"u":[{"v":"55aa00060008020200040000006479"}]},"v":100}]}]}

Yrouel commented 3 years ago

{"a":[{"t":30,"g": [4,12,14,5],"fa":[4,4,4,15]}]}

whatUwant commented 3 years ago

MagicHome Monochrome (Single Channel) LED controller ZJ-WFMN-C v1.1

This controller seems capable of controlling 2 channels as indicated on the board: `V+` `WW` `CW` with solder joint `CW` disconnected. ![IMG_4821](https://user-images.githubusercontent.com/2762992/116811303-557eb500-ab51-11eb-8b44-d12f4ea6be0b.JPG) ![IMG_4819](https://user-images.githubusercontent.com/2762992/116811312-5adbff80-ab51-11eb-84df-91f64617697a.JPG) ![IMG_4820](https://user-images.githubusercontent.com/2762992/116811315-5b749600-ab51-11eb-9ec5-3826f2d69a20.JPG)

WW channel: 12

{"c":{"b":[{"g":0,"t":5}]},"a":[{"t":30,"g":[12],"b":[{"g":0}]}]}
Hanimaniac commented 3 years ago

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

steini72 commented 3 years ago

LSC Smart Filament LED E14 400 lumen {"c":{"b":[{"g":0,"t":5}]},"a":[{"t":30,"g":[12,14],"s":5,"b":[{"g":0}]}]}

jaysonpriest commented 3 years ago

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}]} image