Java Runtime Environment: openjdk version “17.0.13” 2024-10-15
openHAB version: 4.3.2
Issue of the topic: I’m switching from SmartThings to Zigbee controller. I just setup the Zigbee binding and was able to scan and add two SmartThings contact sensors and a presence sensor. The things status is Online. Since these are contact sensors, I want to create rules for when they are opened or closed. So I open and close the contacts but I don’t see anything in the events.log. I took the battery our of the presence sensor
This is a completely new setup of Openhab.
If logs where generated please post these here using code fences:
2025-02-16 22:06:59.873 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘zigbee:device:7266bb0050:24fd5b0001009a1b’ changed from UNKNOWN to ONLINE
2025-02-16 22:07:12.610 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘zigbee:device:7266bb0050:24fd5b0001009dbc’ changed from UNKNOWN to ONLINE
2025-02-16 22:07:27.175 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing ‘zigbee:device:7266bb0050:24fd5b000108cc6b’ changed from UNKNOWN to ONLINE 2025-02-16T21:10:53Z
select the channel you wish to link to a item
click the green + to add link select either a existing item or create new item give it a unique name and save it then you have a channel linked to a item that will see a event when its state changes.
Also the documentation says some devices with the key word being “some”
I was in the process of creating an item file for this. Thanks for the quick reply.
2025-02-16 23:10:02.159 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'LolasRoomDoor_Contact_Binary_Input' changed from NULL to OFF
That did the trick. Thanks!
I noticed that the devices I added to the Sonoff Binding are now offline in the SmartThings app. I had planned to configure a second Raspberry Pi with another Sonoff Dongle so that my the entire OpenHAB set up would be redundant. I take it that is not possible?
Fundamentally, this is correct, but I’ll reword it slightly. Zigbee devices can only be part of a single network, and there can only be a single coordinator on a network. If you try and add the device to two networks, it will be removed from the first one when you add it to the second.