i get the following message: Serial port already in use
that is from events.log
2018-06-13 12:36:52.676 [hingStatusInfoChangedEvent] - ‘plugwise:stick:demostick’ changed from UNINITIALIZED to INITIALIZING
2018-06-13 12:36:54.690 [hingStatusInfoChangedEvent] - ‘plugwise:stick:demostick’ changed from INITIALIZING to OFFLINE (COMMUNICATION_ERROR): Serial port already in use
2018-06-13 12:36:54.720 [hingStatusInfoChangedEvent] - ‘plugwise:circle:democircle’ changed from UNINITIALIZED to INITIALIZING
2018-06-13 12:36:54.735 [hingStatusInfoChangedEvent] - ‘plugwise:circle:democircle’ changed from INITIALIZING to OFFLINE (BRIDGE_OFFLINE)
You might need to prefix the command with sudo if the process runs as another user.
It could also be another openHAB binding that is using the same serial port.
Thanks…
from fuser -n file /dev/ttyUSB0 came zero response, i think it was not in use
what i then tried was systemctl stop openhab2 systemctl start openhab2
(with pi-password)
and…
now it’s working…no wait…
(events.log)
2018-06-13 21:58:14.099 [hingStatusInfoChangedEvent] - ‘plugwise:stick:demostick’ changed from UNINITIALIZED to INITIALIZING
2018-06-13 21:58:14.163 [hingStatusInfoChangedEvent] - ‘plugwise:circle:democircle’ changed from UNINITIALIZED to UNINITIALIZED (BRIDGE_UNINITIALIZED)
2018-06-13 21:58:14.195 [hingStatusInfoChangedEvent] - ‘plugwise:stick:demostick’ changed from INITIALIZING to ONLINE
2018-06-13 21:58:14.288 [hingStatusInfoChangedEvent] - ‘plugwise:circle:democircle’ changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING
2018-06-13 21:58:14.390 [hingStatusInfoChangedEvent] - ‘plugwise:circle:democircle’ changed from INITIALIZING to OFFLINE (CONFIGURATION_PENDING)
2018-06-13 21:58:14.513 [hingStatusInfoChangedEvent] - ‘plugwise:stick:ThingID_Bridge_PlugwiseStick_5f2522e0’ changed from UNINITIALIZED to INITIALIZING
2018-06-13 21:58:14.703 [me.event.ThingUpdatedEvent] - Thing ‘plugwise:stick:demostick’ has been updated.
2018-06-13 21:58:14.802 [hingStatusInfoChangedEvent] - ‘plugwise:circle:democircle’ changed from OFFLINE (CONFIGURATION_PENDING) to ONLINE (CONFIGURATION_PENDING)
2018-06-13 21:58:14.916 [me.event.ThingUpdatedEvent] - Thing ‘plugwise:circle:democircle’ has been updated.
2018-06-13 21:58:14.921 [hingStatusInfoChangedEvent] - ‘plugwise:circle:democircle’ changed from ONLINE (CONFIGURATION_PENDING) to ONLINE
2018-06-13 21:58:16.062 [me.event.ThingUpdatedEvent] - Thing ‘plugwise:circle:democircle’ has been updated.
2018-06-13 21:58:16.514 [hingStatusInfoChangedEvent] - ‘plugwise:stick:ThingID_Bridge_PlugwiseStick_5f2522e0’ changed from INITIALIZING to OFFLINE (COMMUNICATION_ERROR): Serial port already in use
Yes! Solved!
I tried discovery a few times, but no items in inbox showed up. …
When i opened PaperUI > Inbox it showed all circle’s in my network.
I think discovery and display in Inbox takes some time or a restart
I deleted the created _5f2522e0 - thing and looked at the log again…
Bridge and demostick now normally ONLINE.
and…auto discovery of all my circle’s again.
2018-06-15 13:53:22.420 [hingStatusInfoChangedEvent] - 'plugwise:circle:democircle' changed from ONLINE (CONFIGURATION_PENDING) to ONLINE
2018-06-15 13:53:23.532 [me.event.ThingUpdatedEvent] - Thing 'plugwise:stick:demostick' has been updated.
2018-06-15 13:53:24.747 [home.event.InboxAddedEvent] - Discovery Result with UID 'plugwise:circle:000D6F000099517E' has been added.
2018-06-15 13:53:25.683 [home.event.InboxAddedEvent] - Discovery Result with UID 'plugwise:circle:000D6F0000B1BCE6' has been added.
Discovery only runs periodically and when it runs it can take a while before it has retrieved all the information from the Stick.
You can also manually trigger discovery via Paper UI > Inbox and then click on “Search for things” and selecting the Plugwise Binding or clicking the “Scan” button in the top right corner.