I want to trigger rules if one homematic device is not reachable.
In OH1 i could use UNREACH but it seems that does not work anymore with OH2 (tried with different devices).
The CCU2 runs with FW 2.27.8.
The binding gets that information, because i can see “offline” at “/paperui/index.html#/configuration/things” of paper UI (thing-overview) and within the offline thing i see "Status: OFFLINE - COMMUNICATION_ERROR ".
Can i use this status in some way?
Whats about the UNREACH datapoint?
there is a separate channel for UNREACH for each thing (it appears if you press “Show more”). Did you try to create an item for it?
If it does not work correctly please create an issue in the Github repo and add a trace file.
sorry for the late answer. You are using a SNAPSHOT version of the binding so I suppose you are not using the release version of openHAB. You could try it either with the Release version of openHAB (and then installing a newer version of the binding) or you install the latest snapshot build (https://openhab.ci.cloudbees.com/job/openHAB-Distribution/). Since the release of openHAB there have been quite a lot changes especially in the Homematic binding.
If you only want to update the add-on you can follow the steps in the FAQ Frequently Asked Questions (FAQs).
You can find further information about log files and the traces in the doc: http://docs.openhab.org/administration/logging.html to create traces for the Homematic you would have to issue the command
I installed the official release on my raspberry (openHAB 2 Stable Repository):
“deb http://dl.bintray.com/openhab/apt-repo2 stable main” is in “\raspberryIP\etc\apt\sources.list.d”.
Thats why i thought a “apt-get update” and/or a “apt-get dist-upgrade” as sudo would also update oh2 and its bindings.
Or is there another command?
The binding information i posted above - by the way - comes from the lightgrey text just under the binding name when i look at “homematic” on the add-ons page of paper-UI. I hope thats really the correct binding version?!?!
OK i enabled the trace file, but don’t know where this file is saved?
The binding information i posted above - by the way - comes from the lightgrey text just under the binding name when i look at “homematic” on the add-ons page of paper-UI. I hope thats really the correct binding version?!?!
Hmmm that’s interesing. My version number is 2.0.0. But I did not use apt to install it on my machine.
OK i enabled the trace file, but don’t know where this file is saved?
As we can see UNREACH here is true. But i have linked it to a Switch and this always is OFF.
But the UNREACH=true part of the log above and the state in paperUI->things seems to be the same (means green ONLINE label or grey OFFLINE label in paperUI).
And this is the switch i use as ITEM and want to use for rule-trigger (but its allways OFF in the sitemap):
I got the channel i use for this item directly from paperUI, so i guess its correct (in paperUI->Control its also always OFF…so there is the same issue…only the green/grey labels are correct in paperUI it seems )
switching to another repo will be my last solution…maybe you know another tipp before doing this?!
Today I had some time to try it on my own. I could reproduce the problem with the release version.
With the latest snapshot it seems to work correctly.
So that means it will also work with release version (some day) after a apt-get update?
Is it possible to keep the release version and just upgrade the hm-binding (cause the rest works good now, i dont want to switch to another rep)?