Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team

Question
Bluesbirdy 3
Hi Y'all,
I spend hours and hours looking for an answer (if any ...) to my self induced problem.
I use the 'Sun_calc' device for displaying sunset, dusk, sunrise etc. etc. in my HC3.
Works like charm.
I created Global Variables and they are correctly displaying e.g. "17:05" and "17:35" for sunset and dusk.
But I would like to use the time difference between those values ( i.e. 30 in this case), so I can use that value somewhere else.
I like to put that value into another Global Variable, so I can use it in any scene I want.
I haven't the faintest idea how I can convert those string values into 'minutes' so I can do math on them.
Anybody?
Tnx in advance.
Edited by Bluesbirdy6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.