jmaferreira / homebridge-garage-door-shelly1

Homebridge plugin for a simple web-based garage
MIT License
9 stars 4 forks source link

Error getting options.uri is a required argument - showing no response in Homekit #7

Closed bublaales closed 3 years ago

bublaales commented 3 years ago

Hello,

can someone help me solve what is wrong with settings?

I keep getting this error in Homebridge log - error getting options.uri is a required argument.

If I click on gate in Homebridge Accessories the gate will open and at that time it also shows status in Homekit app. Once it’s done it shows No response in Homekit app.

Homebridge also show wrong status of the gate even if I change statusValueOpen to 1.

Do I have to change also something in Shelly app?

This is my current settings:

{ "name": "Gate", "http_method": "GET", "openURL": "http://192.168.x.xxx/relay/0?turn=on", "closeURL": "http://192.168.x.xxx/relay/0?turn=on", "openTime": 31, "closeTime": 32, "autoLock": false, "autoLockDelay": 60, "polling": true, "pollInterval": 60, "statusKey": "$.inputs[0].input", "statusValueOpen": "1", "statusValueClosed": "0", "statusValueOpening": "2", "statusValueClosing": "3", "manufacturer": "Shelly", "model": "Shelly 1", "debug": true, "accessory": "GarageDoorOpener" }

Thank you for any suggestions how to solve this error. Ales

309EBD84-DABD-4496-A4A0-909792C0D8B0 9EEE83F6-B5AA-4844-9767-C77203827E18 21AF36B5-E060-4191-8EE7-1B3B45B67858 07E8DC85-CC53-4663-AC7E-DF9358CDB952

bublaales commented 3 years ago

I’m sorry I just forgot “ "statusURL": "http://192.168.x.xxx/status"”. It’s all good now!