Search for a post

Hi everyone,

Some time ago I came across a great post here on the forum. It included a script (possibly JavaScript or DSL rule) that collected various Astro Binding events — like sunrise, sunset, moon phases (full, new, etc.) — and visualized them in a single chart using persisted items and something like oh-chart.

Unfortunately, I can’t find that post anymore — even after searching multiple times.

I remember it had:

  • A script that triggered on multiple Astro channels (e.g. sun:rise#event, moon:phase#event)
  • Some logic to convert moon phase to a number or string for charting
  • Items persisted via rrd4j or influxdb
  • A YAML chart definition that combined all events visually

If anyone remembers that post or has a similar working setup, I’d love to get the link or even just the script/snippets. Thanks so much in advance!

Edit: found it Dynamically create items via Rule - #2 by wjones

Maybe you are looking for this?