Hi,
have a questions for an item definition with an offset parameter.
I have activated the Astro Binding and now want to create several event items, with different offsets.
E.g. 20 minutes before sunset, 30 minutes after sunrise, etc…
Have found a Website, where this was realized with an offset parameter in the Item Binding.
DateTime Sonnenaufgang_Time “Sonnenaufgang [%1$tH:%1$tM]” (Astro) { astro=“planet=sun, type=rise, property=start” }
And an Item with the offset parameter defined:
// Event 20min nach Sonnenaufgang
Switch Sonnenaufgang_20A_Event { astro=“planet=sun, type=rise, property=start, offset=20” }
But far as i know, this is the old binding definition.
Now, i will create different types fo sunrise offsets. Could you please tell me, how the syntax should look like for openhab 2.2?
Thanks and regards
danyo