I have sonoff devices and I would like to control the D0 D1 D2 and D3 pins that go to the 433MHz module.
Basically the idea is to read trough these pins the position of a switch that today controls the roller shutter of the window.
Is there a way to get this signals by software?
Ideally the sonoff module should be an Inching/self-locking Switch with the possibility to read D0, D1, D2 and D3 (e.g. with a connector like the one of the sonoff th10/th16), so that the switch that today control the roller shutter could be connected to D0-3 in order to know the position of the switch and therefore control manually as well as by remote control the roller shutter of the window.