I have a problem with Fibaro FGFS-101 flood sensor. So far I was able to get working with OpenHAB 2.3.0-1 all its features except for tamper alarm. When tilting/shaking the device it beeps, but thing’s item is not notified on this event. Here is my item definition:
Your item above is a switch. Is the tamper alarm a switch item, ON/OFF type or Number?
Also in PaperUI, for the thing, check to see if there are more channels by clicking the “show more” button. Sometimes not all channels are shown until this is clicked.
PaperUI is for setting up and configuring. Create a sitemap file, add your items and use BasicUI. Looking at the log above you should see the switch change state when using something other than PaperUI.
True, but of course it can also be used to see the state of items and control things as well
It is probably worth considering changing to a more recent version of the binding (2.4M5 for example). 2.3 is quite old now and there have been a lot of changes since it was released.
Updating may solve the issue but I have seen this before, where PaperUI doesn’t show or allow control of things. Using BasicUI or other has been successful in these cases.
What’s the firmware version of your device? The reason I ask is because there are three different entries in the database covering different firmware versions. The alarm_tamper channel is handled differently in each of the database entries, so it’s important to know the firmware version.
The problem is that tamper alarm is not reported as item state change even in logs. It looks as if alarm reached OpenHAB, but is not translated to thing/item model. Maybe it is due to the fact that tamper alarm is for this thing a generic alarm and there is no match?
Yes, but there’s no line in the log indicating that the state was updated, which is usually a sign that the mapping in the database doesn’t align with what the device is sending (or that there’s no item mapped to the channel, which doesn’t appear to be the case here).
Yes, would highly recommend getting on the latest version of the binding before debugging too deeply.