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.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Official
[APP] Simple HTTP Connector For Flows (2.0.0)
ErikVanDongen
Member
Simple HTTP Connector For Flows
Check it out the full description in the store : https://apps.athom.com/app/com.internet
Feedback is welcome!
Happy hacking!
19-sep-2017: Version 2.0.0 is published.
Minor bugfixes and rewrite to SDK v2
02-01-2017: Version 1.5.0 is published. A lot has happened since 1.3.3. I added support for white-listed unauthorized API calls (check the settings page). Also added more JSONpath logic cards, a POST trigger and XML cards.
08-08-2016: Version 1.3.3 is now published. The better logic card now supports Number typed variables.
02-07-2016: Version 1.3.0 is now published. A new action card for setting Better Logic variables is added.
31-05-2016: Version 1.2.1 is now published. It has now a build in timeout on request of 30 seconds. With the geek http options you can set {"url": "http://www.athom.com", "timeout": milliseconds} if you want a custom timeout.
04-05-2016: Version 1.2.0 is now published in the app store. It allows disabling the authorization on the API (restart app after settings change) and some geeky stuff with http options.
26-04-2016: Update: version 1.0.0 is now released. It has a breaking change for API users: API calls for flow triggers now require the authorization header.
Tagged:
Comments
I installed it, but have no way of testing. The cards showed up
Maybe it is possible to use it with the smarter coffee maker!
can we use this possibly to trigger the philips hue scenes?
You can use @ErikVanDongen app to change the volume of homey
In card "HTTP Post JSON":
And as i read it right, the next update will have an volume option.
The most basic json commands for Kodi are:
A lot of information on what's playing now (not sure if you can put this in the Flows, but if there ever will be something like 'If you ask 'Who is this artist?''-->'Speak the result of this json query'
In which you can remove all properties except one to only get that one result, or leave them all in to get em all. Note that that command only works for audio, not for video.
Also information on time can be requested as follows:
Which works the same as the title/album/artist one.
In all cases, #KodiUrl# should be replaced with your Kodi url and port, which can be found under Kodi settings, as long as UpnP is enabled on Kodi (for me it is 192.168.xx.xx, with port 8080 (I believe that port is standard)).
I will look into doing a bit more work on Kodi support if I have my Homey, but alas.
I have used these commands a while back for a Rainmeter-supported interface of Kodi
https://en.wikipedia.org/wiki/Representational_state_transfer#Example
I will also add condition versions of the cards for checking the response-code.
The volume doesn't appear to change (it's still loud when I use 0.1)
Do the spaces matter between the brackets?
But after removing it, I still have the same problem.
https://forum.athom.com/discussion/comment/6352/#Comment_6352