A Shelly i3 would make a perfect Homekit stateless button.
Can it be done using the current firmware?
It has three channels. Would it be possible to make it show up as 3 stateless buttons in Homekit?
You can install HAA to Shelly i3, and you could create 3 stateless buttons in HomeKit, or 2 buttons and one movement sensor, or which you want. You have 3 digital binary inputs.
Just received the Shelly i3's. Will test asap.
Do you happen to know the GPIO numbers for the inputs? it's not on their official website.
You can follow circuit tracks, or you can setup a simple homekit switch and attach a GPIO number to it, and then change GPIO number and test it. You can create a bunch of switches too.


Here's the inner workings of the i3 with circuit tracks from input to the ESP
@lociii awesome! danke
Don't expect too much. I couldn't get it running with ESPHome as the inputs are floating and I didn't find any way to make them behave correctly.
I am not into the hardware side of things, but isn't this wat the pull-up resistor is for?
There's a config setting for it in HAA.
Usually yes, but with pullup enabled, there is no signal at all.
I mean, try your luck. I didn't have some :)
Thx. I will see if i can get it working.
@lociii what sort of connector or cables are you using to flash the i3?
I soldered cables to a male/male header pin with 1,27mm pitch, but i can't get a decent connection to the ftdi adapter.
are there any standardized connectors around?
I used a self made 1.27 pitch connector too. You have to make sure they do in deep enough and are all pretty much the same length.
just soldered some wires to the (small) connector. see pin-out on the picture. I flashed it the usual way like all other Sonoffs and Shelly's and it works perfect. I'm not using Tasmota or anything, build my own MQTT code for such IoT devices.

@AndreWillems was there anything special you had to change on your code to get the inputs working? Is it publicly available?
@AndreWillems was there anything special you had to change on your code to get the inputs working? Is it publicly available?
@lociii, no nothing special. obviously changes the inputs based on the 3 switches from this Shelly device. Flashed it serial once and after I use OTA. drop me a mail if you want my source code.
@AndreWillems can you share the json configuration you used?
@AndreWillems can you share the json configuration you used?
sorry @gijsstegehuis, I'm not using HAA or Tasmota. just wrote my own code once for Sonoff/Shelly and used this for Shelly I3 as well. no JSON config files.... but hopefully the picture with IO's can help you/others to make the appropriate JSON file ?
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.
Hi AndreWillems
Could you provide your code to flash to the i3?
I tried esphome but can鈥檛 get the floating inputs to behave correctly.
I managed to get it working. You need to add a delayed_on_off. See my sample config here:
https://github.com/esphome/issues/issues/1459
For anyone stumbling upon this issue:
https://github.com/mongoose-os-apps/shelly-homekit just released version 2.5.0 which has support for Shelly i3
Most helpful comment
sorry @gijsstegehuis, I'm not using HAA or Tasmota. just wrote my own code once for Sonoff/Shelly and used this for Shelly I3 as well. no JSON config files.... but hopefully the picture with IO's can help you/others to make the appropriate JSON file ?