2 Relay Module - Start Inverted

guantolento
Posts: 127
Joined: Saturday 01 October 2016 14:48
Target OS: Raspberry Pi
Domoticz version: LastBeta
Location: Italy BG
Contact:

2 Relay Module - Start Inverted

Postby guantolento » Friday 17 February 2017 20:24

Godd evening to everyone.
I have the 2 relay channel as in photo.

WhatsApp Image 2017-02-16 at 21.06.05.jpeg
WhatsApp Image 2017-02-16 at 21.06.05.jpeg (93.42 KiB) Viewed 131 times


I don't touch the jumper. I connect the GND to GND PI3, VCC to +5V PI3 and IN1 to a pin of PI3. I follow the wiki to export as output the pin bcm 17 in my case.
When the PI3 start, pin 17 is in V 0 (from gpio readall) and the relay is fisical On and in Domoticz the virtual switch is Off. If i connected a light, i need to use the Com-Nc on the relay (because the relay is in security mode). But in this situation if the Pi3 shutdown the light put On forever.
It's possible to export the pin 17 in V 1, the ralay is fisical Off and in Domoticz the virtual switch is Off ???
RPI2 + Z Stick Gen 5 + System Alive Checker + Weather Underground + MB Sensor + Dummy + 1 Wall Plug NodOn + 3 Danfoss Room Sensor + 7 Danfoss Z Thermostat + 1 Swiid Chord + 9 Fibaro FGS222 2x1.5Kw

Return to “Raspberry Pi GPIO ( WiringPi )”

Who is online

Users browsing this forum: No registered users and 1 guest