So i wanted to make my Garage door smart, and available through my phone, and Shelly1 seems to be a good oppertunity to do this. However I'm facing some problems i hope you can help me with. The garage door is operated at the following voltages 400VAC, 230VAC and 24VAC.. Yes, no DC, so because of that i wired the shelly up to use 230VAC since thats the only supported voltage range available. It works fine and i can access the Shelly1's webinterface, and have set it up.
The port already has a remote to operate the port via a toggle, so it switches between opening and closing the port. If i wire the Shelly1's 0 and 1 port up to this, i can Open and close the port fine through the interface. I do however wish to use the SW port to read out the current ports status, but do you have any idea how to do this?
Yesterday i thought i had the right solution by adding a distance sensor from an Arduino that i could place on a fixed position of the garage door frame, along with something to block the distance sensor, on the port itself, triggering it. I would then power it through the 3.3v and GND GPIO ports on the Shelly1 and then attaching the third wire from the sensor to the SW port of the Shelly, which resulted in the Shelly1 and distance sensor blowing up. Ups.. Fortunately i have another Shelly to work with, but before i do anymore experiments i wish to hear some suggestions from in here?