Astro Data Display and Automation Tips

I’ve been diving into the world of openHAB2 after migrating from Domoticz, and I must say, it’s been quite an adventure! One of the features I’ve been exploring is the Astro binding, which I’ve installed and configured successfully. The event logs show all the expected data, like sunrise and sunset times, which is fantastic. However, I ran into a bit of a snag when trying to display this data in my UI panel.

I followed some examples online and added a template with the following code:
It’s sunrise is at {{itemValue(‘astro_sun_local_rise_start’)}}
But instead of the sunrise time, I just saw ‘N/A’. I tried a few variations, like using different item names, but nothing worked. After some research, I realized that the item names in my configuration didn’t match the ones being referenced in the template. Once I updated the template with the correct item names, everything started working smoothly!

This experience taught me the importance of double-checking item names and configurations. It’s also made me appreciate how customizable openHAB2 is. If you’re looking to integrate astro data into your setup, I’d highly recommend exploring the binding and experimenting with different templates. The ability to display sunrise and sunset times in a clean, user-friendly interface adds a whole new layer of functionality to my smart home setup!

If anyone has tips on how to further enhance this integration or automate actions based on astro events, I’d love to hear them. Happy tinkering everyone! :star2: