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

Help! Shelly 2.5, configuration for outlet, motion sensor and thermostat with ds18b20 sensor #991

Closed skop1986 closed 4 years ago

skop1986 commented 4 years ago

Please help me create a configuration, I don't know what pins to use

i3laze commented 4 years ago

I hope it’s not a single device :) however why not. You were lucky to flash Shelly 2.5 - I hate their smallest pin holes.

Ok, go to HAA online configurator: https://glumb.github.io/haa-configurator/ Use there a template for Shelly 2.5 dual switch to start with. Then remove/add required accessories at the bottom. I also suggest to enable UART or Network logging for initial config troubleshooting.

Your GPIOs are: 0 LED 2 Reset Button 13 Switch1 - input 4 Relay1 - output 5 Switch2 - input 15 Relay2 - output From here: https://tasmota.github.io/docs/devices/Shelly-2.5/

skop1986 commented 4 years ago

Kaya I realized you can only connect one sensor. Here's what I got, can anyone check how it works?

{ "c": { "b": [ { "g": 2, "p": 0, "t": 5 } ] }, "a": [ { "0": { "r": [ { "g": 4, "v": 0 } ] }, "1": { "r": [ { "g": 4, "v": 1 } ] }, "t": 2, "b": [ { "g": 13, "t": 1 }, { "g": 13, "t": 0 } ], "s": 5 }, { "0": { "r": [ { "g": 15, "v": 0 } ] }, "3": { "r": [ { "g": 15, "v": 1 } ] }, "t": 21, "b": [ { "g": 5, "t": 1 } ], "g": 0, "n": 3, "j": 60, "w": 1, "m": 0, "x": 50, "d": 2, "s": 5 } ] }

i3laze commented 4 years ago

Sorry, I had to through my Shelly 2.5 away, cause torn up the pins. So, You’re the tester here) Actually, I suggest you to purchase Sonoff TH16 for such thermo tasks - wiring is much easier.

Regarding JSON it looks promising. Go trial and error.

skop1986 commented 4 years ago

@i3laze

I also lost my shelly pins, they are made there very unreliably. Sonoff TH16 does not fit because of the size, I want to shove shelly into the outlet so that she can control the outlet and the floor heating from there

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.