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.

How let Homey tell the time after 12:00 as AM time

canedjecanedje Member
edited March 2018 in Questions & Help
Hoeye is telling every hour the time.
That works fine.

But i like that Homey is telling the time after 12 hour as "time - 12 hour"
I tried severall things but i do not get it done.
I tried for example:


That is not working. Any ideas? Or is it not possible?

Comments

  • You first need to put the time in a numeric value
    Then do the calculations on the numeric value
    (using the default logic app myself, not better logic)



    I made a very nice clock myself as well, using my old Casio Melody watch as example :)

    It does the following:
    Chimes every hour and tells time in "human" fashion (It is 1 o'clock instead of 13 o'clock)
    Chimes every half hour and tells the time in human fashion (it is half past 2)
    At noon it plays Westminster chime (big ben) and says time in human fashion

    On my birthday it sings Happy birthday each hour
    On Christmas is sings Jingle bells every hour
    The clock only speaks and chimes when someone is awake.

    At first glance it seems simple to make a clock, but you soon find out many flows to make the chimes work.

  • Tiyrell said:
    You first need to put the time in a numeric value
    Then do the calculations on the numeric value
    (using the default logic app myself, not better logic)



    I made a very nice clock myself as well, using my old Casio Melody watch as example :)

    It does the following:
    Chimes every hour and tells time in "human" fashion (It is 1 o'clock instead of 13 o'clock)
    Chimes every half hour and tells the time in human fashion (it is half past 2)
    At noon it plays Westminster chime (big ben) and says time in human fashion

    On my birthday it sings Happy birthday each hour
    On Christmas is sings Jingle bells every hour
    The clock only speaks and chimes when someone is awake.

    At first glance it seems simple to make a clock, but you soon find out many flows to make the chimes work.

    Hahahaha very nice thanks
  • canedjecanedje Member
    edited March 2018
    I'm doing something wrong again.
    I do made number variables in better logic "tijd" and "tijd na 12".
    And try to use it in the default logic app. The result is zero.
    You did make number vars in the standard logic app? How make this vars?


    EDIT: It looks like it is working
  •  :) Nice :)
  • canedjecanedje Member
    edited March 2018
    Thanks for the help. It is working nice now
    One question what or why to use {{ and }} in the "Bereken een numerieke variabele"?
    Is there somewhere userguide how to use the logic cards ?
  • @canedje
    The user guide is right in the card itself, check the information icon :wink:
  • caseda said:
    @canedje
    The user guide is right in the card itself, check the information icon :wink:
    oeps.. never looked at it :#
Sign In or Register to comment.