I recently migrated to Openhabian 3 on a Raspberry Pi 3+. My setup is simple. I have a Aeotech Z-wave controller, a switched outlet for a lamp in the living room, and a dimmer switch for the outdoor lights on the front of the house. I want to turn all of the lights on as it’s getting dark. I want to turn the floor lamp off at 2am, and the outdoor lights off at dawn.
Nothing is running. I’ve set up everything using the UI this time (mostly following the documentation).
Oh yeah. I’ve got a Yamaha receiver, and I’ve installed the binding for it, but I haven’t set it up in any way.
BTW, when I look at my Things via the UI, every Thing is showing Online.
Here’s my most recent openhab.log:
less openhab.log.7
2021-08-14 02:44:10.147 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Time zone set to 'xxxxx/xxxxx'.
2021-08-14 02:44:10.216 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Location set to 'xx.xxxxxx,xx.xxxxxx'.
2021-08-14 02:44:10.219 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Locale set to 'en_US'.
2021-08-14 02:44:29.041 [INFO ] [.core.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2021-08-14 02:44:35.235 [INFO ] [org.openhab.ui.internal.UIService ] - Started UI on port 8080
2021-08-14 02:44:36.413 [INFO ] [e.automation.internal.RuleEngineImpl] - Rule engine started.
2021-08-14 02:44:37.536 [INFO ] [ab.ui.habpanel.internal.HABPanelTile] - Started HABPanel at /habpanel
2021-08-14 02:44:47.573 [INFO ] [zwave.handler.ZWaveControllerHandler] - Attempting to add listener when controller is null
Here’s my most recent events.log
2021-08-14 02:44:38.898 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'yamahareceiver:yamahaAV:5f9ec1b3_ed59_1900_4530_00a0de90e62f' changed from UNINITIALIZED to INITIALIZING
2021-08-14 02:44:38.975 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'yamahareceiver:yamahaAV:5f9ec1b3_ed59_1900_4530_00a0de90e62f' changed from INITIALIZING to OFFLINE (CONFIGURATION_PENDING): Waiting for connection with Yamaha device
2021-08-14 02:44:39.359 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'yamahareceiver:zone:5f9ec1b3_ed59_1900_4530_00a0de90e62f:Main_Zone' changed from UNINITIALIZED to INITIALIZING
2021-08-14 02:44:39.398 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'yamahareceiver:zone:5f9ec1b3_ed59_1900_4530_00a0de90e62f:Zone_2' changed from UNINITIALIZED to INITIALIZING
2021-08-14 02:44:39.471 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'yamahareceiver:zone:5f9ec1b3_ed59_1900_4530_00a0de90e62f:Main_Zone' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE)
2021-08-14 02:44:39.478 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'yamahareceiver:zone:5f9ec1b3_ed59_1900_4530_00a0de90e62f:Zone_2' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE)
2021-08-14 02:44:39.964 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'astro:sun:local' changed from UNINITIALIZED to INITIALIZING
2021-08-14 02:44:40.021 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'astro:sun:local' changed from INITIALIZING to ONLINE
2021-08-14 02:44:40.338 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'yamahareceiver:yamahaAV:5f9ec1b3_ed59_1900_4530_00a0de90e62f' changed from OFFLINE (CONFIGURATION_PENDING): Waiting for connection with Yamaha device to ONLINE
2021-08-14 02:44:40.443 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'yamahareceiver:zone:5f9ec1b3_ed59_1900_4530_00a0de90e62f:Main_Zone' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
2021-08-14 02:44:40.471 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'yamahareceiver:zone:5f9ec1b3_ed59_1900_4530_00a0de90e62f:Zone_2' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE
2021-08-14 02:44:40.700 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'astro:moon:local' changed from UNINITIALIZED to INITIALIZING
2021-08-14 02:44:40.723 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'astro:moon:local' changed from INITIALIZING to ONLINE
2021-08-14 02:44:47.562 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'zwave:device:2397bc54d3:node2' changed from UNINITIALIZED to UNINITIALIZED (BRIDGE_UNINITIALIZED)
2021-08-14 02:44:47.720 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'zwave:serial_zstick:2397bc54d3' changed from UNINITIALIZED to INITIALIZING
2021-08-14 02:44:47.732 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'zwave:serial_zstick:2397bc54d3' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE): Controller is offline
2021-08-14 02:44:47.772 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'zwave:device:2397bc54d3:node8' changed from UNINITIALIZED to INITIALIZING
2021-08-14 02:44:47.784 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'zwave:device:2397bc54d3:node8' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE): Controller is offline
2021-08-14 02:44:47.789 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'zwave:device:2397bc54d3:node2' changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING
2021-08-14 02:44:47.800 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'zwave:device:2397bc54d3:node2' changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE): Controller is offline
Here’s my lights on code:
triggers:
- id: "1"
configuration:
event: START
channelUID: astro:sun:local:civilDusk#event
type: core.ChannelEventTrigger
conditions: []
actions:
- inputs: {}
id: "2"
configuration:
itemName: ZWaveNode002DZ6HD600WDimmer_Dimmer
command: ON
type: core.ItemCommandAction
- inputs: {}
id: "3"
configuration:
itemName: ZWaveNode008DZR15SceneCapableReceptacle_Switch
command: ON
type: core.ItemCommandAction
And the floor lamp off code (I don’t think I need to include the dimmer off code as it’s similar):
triggers:
- id: "1"
configuration:
time: 02:00
type: timer.TimeOfDayTrigger
conditions: []
actions:
- inputs: {}
id: "2"
configuration:
itemName: ZWaveNode008DZR15SceneCapableReceptacle_Switch
command: OFF
type: core.ItemCommandAction
What am I doing wrong?