Most appear to work fine, for example, getSunriseAndSunset returns:
{"sunrise":"2024-05-30T12:24:00+0000","sunset":"2024-05-31T03:51:00+0000"}
as expected.
But one: timeToday
is causing an error:
{"error":true,"type":"java.lang.Exception","message":"An unexpected error occurred."}
"What are you expecting timeToday to return? Sounds a bit like now()."
I'm hoping it gives me the local time on the hub. I'm writing a custom (off hub) app, and I need to make sure the app's time is the same as the hub's time.
I do remember having an issue with one of the calls but I didn't really need it. I think this one was probably it. But the other two work for me:
getTomorrowsSunrise
getTodaysSunset