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.
Comments
The solution for who want to know:
first add a string value in better logic, i called it 'harmony' and entered as STRING value 'false' as a default
Create for each harmony event a new flow: (tv kijken, alles uit, radio luisteren)
If: flow activated
and: betterlogic harmony value is 'tv'
then: harmony event 'TV kijken'
then: better logic set harmony value back to false (important!!)
Then create a flow which runs every 10 seconds:
if: on every 10 seconds
and: (leave empty)
then: activate all flows which you created to call harmony events, in my case 'tv kijken' and 'alles uit' and 'radio luisteren'
in your flow which you want to trigger a harmony event do this:
AND: betterlogic 'harmony' set to 'tv'
(the following is not neccesarry but to be sure you get a loop)
AND: betterlogic 'harmony' set to 'false' with a delay of 15 seconds
What happens?
when value is set to 'tv' or 'radio' or 'uit' homey runs every 10 seconds all flows events of harmony your created
In each flow it is checked if the command is for this flow and then execute the harmony command and reset the value back to false (to prevent looping).
You could decrease the 10 seconds if you prefer, but do not to quick....
Using the harmony app this way my problem was gone, now the harmony app is executed and my devices are turned on or off according to the event given, before nothing happened when i used the harmony app directly in a THEN statement to call an action.
Hope this helps if someone got same problem to work around the flow problem.
Nope... I didn't see it yet.
Yes.... Candy can reboot Homey, which restarts all apps...
That may just solve the problem with re-installing...
Got a crash of the app:
Error: connect EHOSTUNREACH 192.168.2.18:5222
at Object.exports._errnoException (util.js:907:11)
at exports._exceptionWithHostPort (util.js:930:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1078:14)
Exit code: 1
Exit signal: null
I was not home at the moment.. seems that the hub was not reachable..
It works fine as long as you don't include teh harmony app in other flows.
But as soon if you submit a harmony command within other flows then harmony app completely crashes or shutdown or ignores teh given command.
Sadly the harmony app is for me complete useless because you cannot intigrade it within any home automation flows, separate commands work fine, but i do not use homey for this, i use my harmony remote for that...
So i hope the developer someday fix this or someone else creates an other app which can be intigrade into flows and actually execute the commands to harmony hub.
Did you guys have everything in one flow? Harmony, lights, etc?? maybe you could start the harmony things in a side flow?
goto to bed: turn of all lights AND all multimedia devices
no one present: switch of TV and turn on radio (for my house pets)
when after 23.00h and nobody home: turn off all multimedia etc
I do not want to contole the individual devices, simply because there is nothing better then an old fashing remote, voice controle (or by app) is to slow.
As mentioned, sadly this app does not what i hoped it would do, it cannot be used within flows, tried is hundred times in a test, works fine, but when i use it in real live it does not work, not once it has worked in a normal flow.
The app itself works, so when i create a flow: turn on TV or switch off all devices and run it then indeed the app turns all off or activate the TV activity.
But when i call/run the flow from within an other flow (go to bed) all activitys in the flow are performed but NOT the harmony activity. The flow where the harmony activity is defined works, when i give a voice command 'turning off devices' Homey anounce this but the actual call to the harmony hub does not happen.
I hoped it would be possible to use IFTTT instead, but sadly also no app or applets for Homey to use in a flow.
For me it is working in this flow:
the bitflip can be triggered from two flows.
One with voice one with a button (homeydash)
Obviously I've seen all the complaints. I've been testing and still am actually. The errors are no longer in the app itself. It's in a library the app uses. I just need more time to pinpoint the issue and probably consult the author of the library for a fix. All I can ask for is your patience.
So to me this is a known bug to the creator of the app and he is working on pinpointing the issue (Brinkie, correct me if I'm wrong!). Before this issue arised (that the app stopped working wthout crashing or a clear reason) it worked fine, in various formats in flows.
So at the moment I just restart the app when I notice it does not work anymore and hope that a permanent fix is near
All conditions are executed but NOT the harmony hub, here nothing happens, all lights go off, all betterlogic values are updated etc etc execpt the command all devices off using the harmony hub is done.
I even made a work around, i setup an other flow. I set the harmony command (uit) in a better logic value, this flow is started (with a delay of 5 seconds) on change harmony value (from none to uit). This flow then runs the harmony all devices turn off command, this flow works when testing etc, but as soon as the real flow (to bed) is run also nothing happens, same as running the harmony command in the flow directly.
I read that is sead that the cause is not within the app but in a library, don't know which library but for me it seems the app should have its own code and should not depend on other 3th party apps or codes.
Maybe i did not understand the cause correctly, but when it is a Homey library then OK, then we have to wait until athom fixes this, but when the library is from an other app (dunno which one) then the library should b included in the harmony app itself to prevent this kind of problems.
I mentioned several times, when runned manually (test) it works, but as soon as it is included in an other flow the harmony part does not work anymore.
Try IFTTT i did today and it seems to working.
You can add a trigger to trigger an action using IFTTT on IFTTT you can add a harmony activity.
I tested it and it worked, i don't know if it is very reliable and if ti works in other flows but it is looking good until now
Have to dive into it, but looks hopefull. Don't need app anymore. Keep you informed!
Tested it and it worked, using IFTTT for the first time my flow worked and shutdown all my multimedia when i went to bed, so until now it works fine.
IFTTT does warn that in some cases the command could take a while to perform, but this did not happen to me (yet), until now it was almost instant.
Whatt applets did you make? Start and End Harmony activity? Doesn't work for me yet. Maybe doing somthing wrong in the settings?
But first you have to add a flow trigger card in Homey for IFTTT, name is such as: 'alle media uit'.
Then wait a few minutes and login into IFTTT using your homey account.
Press add applet, choose homey app adn in the pull down menu the trigger you just created 'alle media uit'.
Then choose/search harmony app and choose 'start activity' and choose 'all AV off'.
Now it should work!
I created for each harmony activity a separate flow with each its own IFTTT applet.
Once all created i can call them from other flowby just trigger the flow of the wanted activity.
Big plus for this way is if the harmony app works fine again you just have to change/update the flow where you trigger the harmony event form IFTTT to the APP and not each independend flow where you use or trigger harmony events, it is very easy to switch how you should control your harmony.
Thnx! I'm gonna look into it!
Works great! ThnX! Don't need the Hub App anymore!
The community points at Homey support. Homey support points at the developer, I am stuck.