Hello everyone,
I am close but just can't seem to figure out how to store the a hub variable or a local app variable to contain just the time portion of the sunset & sunrise variables. See the rule below.
The set statement for the rule local variable does set just the time as desired [1st highlight]; however, the value stored in the local variable [AppVariableSunRise & AppVariableSunSet] contain both the date and time. I suspect this is because of the Value format that is define is my problem. If anyone can help me fix my issue I would appreciate it. I have looked through the threads for several hours and this one is eluding me [as always though while looking through the threads though I learn a lot more :-)].
My goal is to only have to have the sunrise and sunset times announced. It is obvious it is for the same day.
I am also writing the values to a file. This is the first time I have written to a file. Is there a way to append to the file and to write the file to a NAS vs. locally to the Hub? Being honest here. I have not researched this one yet. I am just adding this in here since I am already writing this question. Therefor it is fair to make me do my research and not answer.
Honestly being lazy here on this one question. ![]()
As always, appreciate any help and guidance. Hope everyone has a great weekend!
- Don


