is it possible to specify a specific time (like 10:00PM) or does everything need to reference a ‘reference time’ like midnight, sunrise, etc. all the examples i see on the Sample-Rules all use reference times
maybe its me (it probably is) but i cannot find the instance of the reference you copied… i see the samples for Rules, List, Create, Get; but no parameter definitions or references… am i missing something? i hate asking such basic questions and i generally try to take a brute force, try-it-and-fail approach to things, its how i learn better (hopefully i don’t ever brick my hub )
In the API reference, whenever you see the symbol > next to a text in the diagram of “REQUEST BODY”, it means you can expand its content to get more details about it.
For example, here, the property “name” doesn’t have more elements under it, but “actions” does:
If you click on the text or the symbol, it will expand.
I could see two ways of interpreting your requirements as the description and example don’t really seem to match up.
If you want to do something at a fixed time you can use the every action and that can include further actions inside it. I don’t think that is what you had in mind.
Your example sounded more like describing something happening after a fixed time. There is a certain ambiguity to that. If you want a light to turn on if a door is opened after the time has passed sunset, at what time would you want it to stop turning on? Midnight? Sunrise the next morning? You can probably use the greaterThan condition with time operands and compare Now and sunset, and I’d guess it would probably only return true up until midnight but I don’t know. I’d use the between condition seen earlier in the thread where you explicitly compare the current time to a start and end time.