Page 1 of 1

Open a gate with siri.

Posted: Tuesday 25 October 2016 13:13
by Mazzokun
Hi, I have a KMTronic RS485 and in one relè I connected the 2 cables that were connected to a manual push button. In domoticz I set a 1 second delay to turn off the relay and this all works and the gate opens. In domoticz type is Lighting 2, AC, On/Off.
Now I'd like to tell siri to open the gate with this https://www.npmjs.com/package/homebridge-ssh-garagedoor but here comes the problems.. I think I know how to compile the ssh part

Code: Select all

ssh": {
    "user": "pi",
    "host": "127.0.0.1",
    "port": 22,
    "password": "password"
but I don't know how to compile the fields

Code: Select all

 "open": "./open.sh",
  "close": "./close.sh",
  "state": "./check_state.sh",
Someone can help?
Thank you :)