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
but I had to trigger it manually.
I have the 0.0.5 version of the app and the 0.10.1 firmware.
The moving of the chess pieces I can follow but playing it, no way.
Still I want to try to help with the sun event problems.
In Excel the calculation is done internally in numbers.
The presentation can in a lot of different types, like money, date and time, lots of number-formats, ect.
So, if you change the time 17:36 in 1056 (17*60+36.) Then 20 minutes before becomes 1036.
Calculating 1036 back you get 17:16 to display.
This can be done in functions you make. HMS2Num and Num2HMS.
What I don't no is how you have to put that 17:16 some where in Homey to let it do what 17:36 do, if you do it by hand
in a flow-card. Maybe Homey works already intern with numbers.
Because of the different timezones where Homey would be used, there shall be a lot of cases where the using of UT in calculation are really needed. Also for using the JD (JulianDate) is that a better way in e.g the apps.
Another problem is when you have different offsets with the same trigger in different flows. The first arg is used also in the other flows.
When there is a new version, I will let you know this here. Using an offset of 0 should be working ok. I have also implemented in the meantime the 'and' function. But this is not published yet.
If you have two card with the same event: I can only fire
Homey.manager('flow').trigger(eventname);
which will fire both events, of course I can then check:
});
and check when of the card reaches the trigger+offset, but then I need to restart all timers again.
So maybe in another release.