Hi all.
I am new to OH3. Been using OH2 for years. So I recreated my rules to use the Astro Binding.
I installed the Binding. I configured it as a thing and setup a channel with a offset of -15 minutes
UID: astro:sun:local
label: Local Sun
thingTypeUID: astro:sun
configuration:
useMeteorologicalSeason: false
interval: 300
geolocation: -25.786903432400702,28.325961828231815
Sorry for the image but there is no code option that I can see here.
Here is the rule
configuration: {}
triggers:
- id: "1"
configuration:
thingUID: astro:sun:local
channelUID: astro:sun:local:set#event
type: core.ChannelEventTrigger
conditions: []
actions:
- inputs: {}
id: "2"
configuration:
itemName: LapaLights
command: ON
type: core.ItemCommandAction
- inputs: {}
id: "3"
configuration:
itemName: FountainLights
command: ON
type: core.ItemCommandAction
- inputs: {}
id: "4"
configuration:
itemName: GarageDoorLights
command: ON
type: core.ItemCommandAction
I also linked a text item and can see the correct Date / Time
But the rule will not fire at that time. I know the actions work as all will switch on if I click on the run icon where you set-up the rule.
What am I missing?