This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.

The Homey Community has been moved to https://community.athom.com.

This forum is now read-only for archive purposes.

URL based device calls

I don't know if it's possible, but is there a way to make URL calls to turn off or on devices? Domoticz offers this feature and it makes it easy to integrate with other services.

I use HA bridge (it simulates a hue bridge and devices can be activated through on and off urls) to link some 433 devices to my amazon Echo Dot. I now need to install domoticz to make URL calls. It would be nice if I could use homey as central hub for my devices and the amazon echo for voice control (which is way better then homey).

Comments

  • This is possible if the app-developer build this in:
    https://developers.athom.com/library/api/
  • Or make your OWN webhooks or use http flow cards 
  • bierre said:
    I don't know if it's possible, but is there a way to make URL calls to turn off or on devices? Domoticz offers this feature and it makes it easy to integrate with other services.

    I use HA bridge (it simulates a hue bridge and devices can be activated through on and off urls) to link some 433 devices to my amazon Echo Dot. I now need to install domoticz to make URL calls. It would be nice if I could use homey as central hub for my devices and the amazon echo for voice control (which is way better then homey).
    You mean, trigger an device with a URL or JSON command?
    The app HTTP request flowkaarten is something to try.. I read out and set status of my WoonVeilig alarm system.
    Works great!

  • lexlex Member
    I use a Sonoff wifi enabled relay board (with 'ESP Easy' as firmware). 
    It can be controlled with 'HTTP request flow cards' and GET commands like 'http://192.168.2.9/control?cmd=GPIO,12,0' and 'http://192.168.2.9/control?cmd=GPIO,12,1'
  • @lex
    I use esp easy in combination with Homey. Homey can receive and send to a esp easy device. I use the http request flowcharts for this. To receive a message from esp easy listen to:  
    Trigger a flow by sending a GET request to one of the next API-endpoints:
    http://<LocalIP>/api/app/com.internet/:event:
    http://<LocalIP>/api/app/com.internet/whitelist/:event:
    https://<AthomCloudId>.homey.athom.com/api/app/com.internet/:event: Add /:value: if you want to pass a value to the trigger card, this will make it available in the 'value'-token. All values will be defined as strings. Example:  http://192.168.0.100/api/app/com.internet/whitelist/externallights/on

    Within esp easy you use the generic http protocol as communication protocol and you can add the url in the advanced tab under templates. You can also use rules under esp easy to send the http get command.
    For sending an http request to esp easy use the http get card and fill in the correct url:
    http://<LocalIP-ESP>/control?cmd=lcd,1,1,Welkom-thuis to put a text on a connected display
    http://<LocalIP-esp>/control?cmd=gpio2,1 to make a gpio pin 2
     You could also use MQTT to communicate between an esp easy and Homey.

    Gr. Remco

  • Martijn said:
    bierre said:
    I don't know if it's possible, but is there a way to make URL calls to turn off or on devices? Domoticz offers this feature and it makes it easy to integrate with other services.

    I use HA bridge (it simulates a hue bridge and devices can be activated through on and off urls) to link some 433 devices to my amazon Echo Dot. I now need to install domoticz to make URL calls. It would be nice if I could use homey as central hub for my devices and the amazon echo for voice control (which is way better then homey).
    You mean, trigger an device with a URL or JSON command?
    The app HTTP request flowkaarten is something to try.. I read out and set status of my WoonVeilig alarm system.
    Works great!

    Hi Martijn, im new in working with  HTTP request but woud like to read out and set status of my WoonVeilig alarm system. I have ended the contract with woonveilig but would like to use the keypad to start new flows in homey, but also to switch on the  Alarm (Sound). I have access my Woonveilig with putty, en see that i can read and change setings, I would like to get and set these settings within Homey. please give some instructions
    Kind regard,

    Ale

  • Hi Martijn, im new in working with  HTTP request but woud like to read out and set status of my WoonVeilig alarm system. I have ended the contract with woonveilig but would like to use the keypad to start new flows in homey, but also to switch on the  Alarm (Sound). I have access my Woonveilig with putty, en see that i can read and change setings, I would like to get and set these settings within Homey. please give some instructions
    Kind regard,

    Ale

Sign In or Register to comment.