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.73k stars 360 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:

chillmelon commented 3 years ago
tlagarto commented 3 years ago

I used this TH10 to control 2 things in a bathroom: 1) the temperature | by using the thermostat to control the underfloor valves by Homekit automation (the underfloor valve has another Sonoff mini attached). 2) the humidity | by connecting the TH 10 switch to a air duct fan if the humidity goes above 90% and until goes bellow 85%

tlagarto commented 3 years ago

A normal motion sensor connected to S terminals of the Sonoff Mini to turn on a light. When the light is turned on, a notification is sent to activate the virtual motion sensor on HomeKit.

tlagarto commented 3 years ago

Used to activate a buzz-lock at the pedestrian gate. When pressed it will power the lock (to unlock) for 2 secs. In HomeKit it shows as a lock.

DarrenBishop 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.

Sorry to ask, but where do you 'select/tap' ? If you mean in the Apple Home app, I am all setup, connected to a dimmable LED strip, but they either come on or go off - no difference in brightness in between.

I'm wondering if my LED strip driver is not dimmable (as separate from LED strip).

dbsqp commented 3 years ago

Sorry to ask, but where do you 'select/tap' ? If you mean in the Apple Home app, I am all setup, connected to a dimmable LED strip, but they either come on or go off - no difference in brightness in between.

I'm wondering if my LED strip driver is not dimmable (as separate from LED strip).

Yes in the Apple Home app. FYI the D1 is leading-edge dimmer which is not great for some applications (such as LEDs). Shelly Dimmer2 is better as can run as either leading or trailing edge mode.

DarrenBishop commented 3 years ago

Sorry to ask, but where do you 'select/tap' ? If you mean in the Apple Home app, I am all setup, connected to a dimmable LED strip, but they either come on or go off - no difference in brightness in between. I'm wondering if my LED strip driver is not dimmable (as separate from LED strip).

Yes in the Apple Home app. FYI the D1 is leading-edge dimmer which is not great for some applications (such as LEDs). Shelly Dimmer2 is better as can run as either leading or trailing edge mode.

Ok thanks for letting me know.

I now have a dimmable LED strip with a dimmable driver (for sure), yet there is no dimming observed; just on and off. Not sure if a leading edge D1 would cause this or not.

jaysonpriest commented 3 years ago

Mirabella Genio Smart Strip Light 3m Flashed with Tuya Convert: If new firmware will need to be done using direct hardware flashing.

JSON: {"c": {"b": [{"g": 0,"t": 5}]},"a": [{"t": 30,"g": [ 4, 12, 14, 5],"b": [{"g": 0}]}]}

https://www.costco.com.au/Home-Furniture/Lighting/Home-Decor-Lighting/Mirabella-Genio-Smart-Strip-Light-3m-3pk/p/53449

jaysonpriest commented 3 years ago

Kogan Smarter Home RGB-CW-WW LED light strip (2m and 5m) Flashed using hardware flashing technique

JSON: {"c": {"b": [{"g": 0,"t": 5}]},"a": [{"t": 30,"g": [ 4, 12, 14, 5, 13 ],"b": [{"g": 0}]}]}

https://www.kogan.com/au/buy/kogan-smarterhome-rgb-cool-warm-white-smart-led-light-strip-2m/

jaysonpriest commented 3 years ago

Kogan Smarter Home PowerStrip (3 outlet + USB) Flashed using hardware flashing technique

JSON: {"c":{"l":1,"i":0,"b":[{"g":0,"t":5}]},"a":[{"t":2,"0":{"r":[{"g":15}]},"1":{"r":[{"g":15,"v":1}]},"b":[{"g":0,"t":1}]},{"t":2,"0":{"r":[{"g":13}]},"1":{"r":[{"g":13,"v":1}]},"b":[{"g":0,"t":2}]},{"t":2,"0":{"r":[{"g":14}]},"1":{"r":[{"g":14,"v":1}]},"b":[{"g":0,"t":3}]},{"t":2,"0":{"r":[{"g":3}]},"1":{"r":[{"g":3,"v":1}]},"b":[{"g":0,"t":4}]}]}

https://www.kogan.com/au/buy/kogan-smarterhome-smart-power-board-with-usb-ports-energy-meter/

nikogeek commented 3 years ago
  • Tomada Inteligente 16A EKAZA EKNX-T005 / NX-SM400
  • Outlet, Programming Switch for turn it off in 2 hours, Contact Sensor for Power Measure (calibrated with a 550W blender, not sure about the current but it seens to be right). The LED is being controlled to show the status of the outlet, not system.
  • Json: {"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.

Hello! some time i read it and now i can't find the json of a zemismart yours 3 gang. I wanted to know if you have for 2 gang and 1 gang? Thanks a lot

RavenSystem commented 3 years ago

Please, use following instructions to submit new JSON configurations:

https://github.com/RavenSystem/esp-homekit-devices/discussions/categories/json-collection