smartechru / homebridge-relays

This Homebridge plugin controls 4 relays through Apple Home App.
MIT License
16 stars 13 forks source link

My relay times out #5

Closed robiotik closed 3 years ago

robiotik commented 4 years ago

Hello, I can't control my relay, this comes in the console :(

[2020-5-12 17:41:13] [Relay-1] Relay status for 'Relay-1', pin 3 is true [2020-5-12 17:41:14] [Relay-1] Relay for 'Relay-1', pin 3 timed out.

Alsharifi commented 4 years ago

That message is not an indication of why you cannot control your relay, that is supposed to be displayed when "duration_ms" expires. confirm that you are addressing the physical pin and not GIPO address.

duration_ms | If given, accessory will stay ON for this many milliseconds, then turn OFF. Timer resets if accessory is turned ON again while it is still ON.(Default: 0/None)