First off, excuse my noobneess when it comes to code, Great with electronics, not so much code.
I have been trying to get the mentions Rpi cover to work for the last few days, and the information on the Components page is lacking quite a bit.
When the cover is loaded out of the box you get the following setup
3.3V constant applied to the relay output pin (checked with multi-meter) This is nice if your using a sainsmart relay which I’m believe is an active low relay (low signal triggers the relay)
Sensor pin shows “ON” when there is an open circuit. Closing the circuit turns it off, This is opposite logic to what the cover wants to see, A reed switch installed closing said switch when the garage door is closed, at the moment home assistant see’s the closed switch as open.
Now where I’m having trouble is reversing the inputs and outputs in the config file for this cover.
So far changes I have made either fail or crash home assistant.
I can make a GPIO sensor and switch on the same ports, but they have no effect on the cover.
binary_sensor:
- platform: rpi_gpio
ports:
11: PIR Office
23: Garage Door
invert_logic: true
How every this inverts both GPIO’s, cant get my syntax right fo invert just one.
Thanks
Bryden