Announcement

Collapse
No announcement yet.

Creating a &hs.URLAction from a CURL command

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • alexbk66
    replied
    Bond plugin released

    https://forums.homeseer.com/forum/wi...ig-screenshots

    Leave a comment:


  • alexbk66
    replied
    FYI, I have a BETA for testing
    https://forums.homeseer.com/forum/de...rite-one/page5

    Leave a comment:


  • MattL0
    replied
    Originally posted by AllHailJ View Post
    You can call curl from an event. I do this for wget as shown below

    Click image for larger version

Name:	Screenshot from 2020-01-04 09-10-31.png
Views:	79
Size:	21.5 KB
ID:	1351774
    Thanks for this.

    Leave a comment:


  • dhellis
    replied
    works great, simple and exactly what I needed, thank you!!

    Leave a comment:


  • AllHailJ
    replied
    You can call curl from an event. I do this for wget as shown below

    Click image for larger version

Name:	Screenshot from 2020-01-04 09-10-31.png
Views:	79
Size:	21.5 KB
ID:	1351774

    Leave a comment:


  • dhellis
    started a topic Creating a &hs.URLAction from a CURL command

    Creating a &hs.URLAction from a CURL command

    I am looking to do basic control of a fan I have that is controlled through Bond. I know there is another topic of a possible plugin being developed for Bond but for now, a basic hs.URLAction command is needed or mini script that I can execute that is equivalent to a CURL command.

    I know the following works when I execute this CURL command in linux from my
    HomeTroller Zee S2:

    curl -H "BOND-Token: xxxxxxxxxxxxxxxx" -X PUT -i http://192.168.1.xxx/v2/devices/0000...ns/ToggleLight -d {}

    Can someone convert the above into a URLAction or mini script that I can execute in an event please?

    Thank you.
Working...
X