Can this http connector get a value from a php or textfile?
Would like to get the 5th value from this file http://www.sundshult.se/clientraw.txt
Then use that as a device in Homey
The app can parse json and xml files only.
Dear Erik,
Something broke after 2.0.10 update yesterday. Flows have been working flawlessly for half a year, but not since yesterday.
I use GET JSON path better logic cards in different flows (example screenshot below). When testing the flow it executes with a green check mark, but the Better logic variable never updates. Any ideas what could be wrong?
The behaviour is exactly the same with other flows, but with different URL:s / API:s.
Any help is appreciated!
But looks more like a dot too many?
In .datum it says ā¦datum.
Found my mistake with v .10. Will fix it right away and submit it to the app store.
V 2.0.11 submitted to the appstore.
The external access url is changed with Homey V2:
https://homeycloudid.connect.athom.com/api/app/com.internet/event/trigger
(connect instead of homey)
Is there any way to detect if a http request failed?
Say if I poll an api and that URL is offline, then log or execute something else?
Iām using a json card and it works great but the server Iām getting my data from has been down for maintenance often so I would like to be able to know if that happens within a flow.
Found the solution in the conditions card for HTTP app! Thanks!
Thanks for the quick response Erik. Will try it out as soon as update is live.
Itās live now!
Hello,
Iām trying to send flow actions to my EventGhost service running on a PC in the same local network using http.
I got the Eventghost webserver up and running and it happily logs events if I open up a browser from another client on the same network and just type in āhttp://192.168.0.10/?helloā
Using your app I tried setting up the A20 GET request to do the same but I get no reaction on the target side, after a while the flow card shows a red warning triangle with the number 1.
Any idea what I am missing?
Homey runs ver 2.1.2 and your app is running 2.0.11
Cheers!
EDIT: Answering my own question.
I forgot that I had a stricter than usual firewall rule on my router dropping all unspecified traffic between my wireless network and the wired one housing the server i tried to connect to.
Welp, that was embarrasing. All works fine now.
Thanks for a great app!
V 2.0.11 confirmed working. Thanks alot!
Hello! Iām using this app for several things and itās awesome! So thanks a lot for making that possible!
Iām wondering, is there a way to use this app to start my pc (WOL) by an http request?
I know there is a special WOL app for this, but I like to keep my homey clean. So, as less apps installed as possible, but without missing featuresā¦
BTW, there is no link to this thread on the homey appstore.
WOL works on a lower level than HTTP, so you wonāt be able to make it work using an HTTP request.
Exactly. WOL wonāt be part of the HTTP app.
Iāam starting with the HTTP Connecter.
I want to sent a request to Homey.
Whet I test the flow in Homey it works, but when I post my url in my browser I get a error:
{ācodeā:401,āerrorā:ānot_logged_inā,āerror_descriptionā:āYou need to log in to access this resourceā}
My HTTP get: https://cloudidā¦connect.athom.com/api/app/com.internet/home
What am I doing wrong?
Have you enabled/disabled authorization in the app settings screen?
How to make flow in order to pass authorization (Content-Type = multipart / form-data). I am trying to get authorization by API https://www.saures.ru/upload/iblock/efd/SAURES-API-polzovatelskoe-v.3.12.pdf ?
Maybe I can not write off correctly from https://github.com/irritanterik/homey-http-request-actions#advanced-http-options
I want to get these values, shown in the picture
Itāll be quite a difficult process, because you first need to log in, extract the sid
value, put that in a variable, and then use different flows that use the sid
and make other requests. Perhaps itās easier to implement using HomeyScript (but you need to know how to program JavaScript for that).