staromeste / homebridge-http-advanced-accessory

Supports all devices on HomeBridge Platform / Bridges devices to http
Apache License 2.0
67 stars 23 forks source link

Discrete Off URL #17

Open iainternet opened 4 years ago

iainternet commented 4 years ago

Hiya I'm sorry if this is a simple question but I can't figure it out. I have set up a Switch service. I have created a regex mapper and SetOn URL and it is working great to power on and watch the status change. However, my switch has a separate URL for toggling the power off. Can you please let me know how I can turn the switch off again - I have tried adding a URL "setOff": but no dice.

Thanks!

staromeste commented 4 years ago

You can use the "{value}" placeholder and put the entire URL inside it!

On Tue, 11 Feb 2020 at 01:46, iainternet notifications@github.com wrote:

Hiya I'm sorry if this is a simple question but I can't figure it out. I have set up a Switch service. I have created a regex mapper and SetOn URL and it is working great to power on and watch the status change. However, my switch has a separate URL for toggling the power off. Can you please let me know how I can turn the switch off again - I have tried adding a URL "setOff": but no dice.

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/staromeste/homebridge-http-advanced-accessory/issues/17?email_source=notifications&email_token=ABBP2MITKLFOBQF7FCXOC3LRCHYNVA5CNFSM4KSYI462YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IMNM4TA, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBP2MN5BYWZ5GWQD3ZSJQ3RCHYNVANCNFSM4KSYI46Q .