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.
Flows
Comments
Every song with artist and song title displayed on my lametric wifi clock. I also could ask Homey what song was played.
Apps: HTTP Flow Cards, Better Logic and Lametric.
First create two Better Logic variables called Artist and Song.
Flow 1: Get Radio 2 song info every 30 secs:
Url: http://radiobox2.omroep.nl/data/radiobox2/nowonair/2.json
Flow 2: Parse song and title to Better Logic variables and show it (after 2 secs delay) on Lametric Clock when a new song is found.
JSONpath on condition card: $.results[0].songfile.title
JSONpath on first action: $.results[0].songfile.artist
JSONpath on second action: $.results[0].songfile.title
Flow 3: Hey Homey, What song is this?
I'm using these flows for getting the address of my vehicle. Tools used are the ANWB Connected Car, Open Street Maps Nominatim and Homey Apps HTTP Request Flow Connector and Better Logic.
Flow 1: When I say something with 'beamer' in it, the ANWB Connected Car API is called.
GET JSON trigger object HTTP options:
"json": {
"userId ": 1234
}
}
This returns the following JSON:
Flow 2: JSON object with GPS coordinates is parsed. Better Logic variables Latitude and Longitude are set. OpenStreetMaps is called for retrieving the address associated with the GPS coordinates.
JSONpath Better Logic var first parameters:
$.vehicleLocations[0].latitude and $.vehicleLocations[0].longitude
The numeric values are stored in BetterLogic variables.
GET JSON trigger object HTTP options:
autoLongitude and autoLatitude are the variables which hold the GPS coördinates.
This returns the following JSON:
},
Flow 3: The streetname, housenumber (if available), postalcode and village are put in Better Logic variables which are then sent to my phone (or spoken by Homey or whatever).
Thanks @ErikVanDongen for answering my HTTP Request Flow Connector related questions and even extending it with a new flowcard.
Could you please tell me what I need to fill in the JSON in the flows (Radio2) you've showed?
You can't see the exact line and for me it's all new about JSON and HTTP Flows.
Thanks in advance
What it does when there is motion (or ring) at my door it checks my receiver if it's on and input is cable TV it switches to my PC (is just an android box) and after 30 sec it's moving back to cable TV
For it to work fast the android box needs to be on and the ring app needs to be open
Parts used:
Ring doorbell
Onkyo receiver
Andriod TV box (KM8) with ring doorbell app installed
And ofcourse homey with ring app + onkyo app
For people whining having problems with the voice recognition it can be helpfull to let homey do the hard work
To find words that homey is understanding for you open this url below and try short clear words:
http://"homey's_ip"/manager/speech-input/ <<<<<replace "homey's_ip" with your IP>>>>>>
With this you can also do multiple action with only one word (or how many you want)
In the beginning I had to say:
Start Kodi
Start Addon YouTube
Now only:
tv
It says "Type a sentence". Am I supposed to type and say something? What comes first? Will Homey give feedback?
Please advise.
Problems solved:
Exit Live view screen using HDMI-CEC
Switch back to HDMI channel what you where watching before doorbel rang.
I don't want to switch to ring screen when playing games (xbox/ps)
And I don't want to miss one sec from my movie 1x pause and 1x resume
first 2 flows contain actions for when the doorbell is pressed, used the first trigger on the sensor.
I got a countdown timer build in to prevent spam in the push notification, it has a 3 sec delay because of that.
When the second trigger is closed, (coused by my alarm system, when entrance countdown starts it triggers a output where the input 2 of the sensor is connected to) and its after sunset, it will turn on my entrance hall light as well as any other light in my living room (wich is included in my "all lights on" button).
Trigger: doorbell pressed,
Condition: Countdown timer doorbell not running,
Action: start Countdown timer doorbell 3 seconds & pushover notification!
This is indeed better, thanks for your input!