-
-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] FGMS001 motion detection does not update MQTT sensor state (48-0-Any) #104
Comments
I fae the issue with the same sensor. and sometimes becomes true. and stays true. I do not know the reason but seems device is not sending to driver. I use the Notification CC for motion detection. based on the reply of OZW and my observations from debug log. Device acts as the new specification sais Fishlando
|
Oh, great news! Would that mean a tipical binary_sensor in HASS could be used? Or it means those 0/3/8 values will be reported in a more understandable words ("Tampering, product covering removed", "Motion Detection, unknown location")? Also, does it means the current contact binary_sensor is useless, right? |
Yes? What? |
@AlCalzone this remeber me another issue |
@katiuskt Did you try to do it from groups tab? There you can manage associations |
That are the associations. You can add the controller node (usually 1) to the node's group.
@robertsLando I still don't follow... |
Thank you all @robertsLando : Thank you, I didn't notice about the "Group" option into the GUI. Still not understanding well how to put the sensor on group 4 (Motion BC) but I'll figure it out. @billiaz : Thank you for your tip. In first place I wasn't able to create the HASS Device JSON properly in ZwaveJS2MQTT so I created a binary_sensor directly into HASS with templates to map de values (0/8). Finally, I get it and I get the device created directly into ZWaveJS2MQTT:
To whom may concern (@robertsLando maybe?) Without it you still get the binary_sensor_contact (48-0-Any; no real use at least in my case due to its not updating value at all) but not a real binary_sensor for motion. |
No, you don't put the sensor there. These are the device's groups. You put the controller (node 1) there so it receives the messages from group 4. |
Thank you @AlCalzone! It makes totally sense to me now! |
Is this always like that? I mean is that value always used for such purposes? If so we can do it |
The "any" sensor comes from an older CC version that does not specify the sensor type. |
That's what I was thinking |
OK, thanks, understood. I'll close this issue and I'll create manually the device to map the CC-113 message (notification_home_security_motion_sensor_status) to a boolean binary_sensor (device_class = motion) as suggested by @billiaz |
Hello guy's i'm facing the same issue, so what did you do exactly in zwave-js2mqtt to make the motion detection work ? could you explain ? thx |
Version
Build/Run method
zwavejs2mqtt version: I'm not sure how to get this. I'm using zwavejs/zwavejs2mqtt:dev pulled on 21st Dec
Describe the bug
ZwaveJS2MQTT is not updating the motion information (topic 48-0-Any) for the Fibaro FGMS001 motion sensor.
If I understand properly, for this device ZwaveJS2MQTT idenfity a contact device with topic 48-1-0. It should be a binary_sensor with value True if there is motion and False if there is no motion.
Unfortunately, although the sensor detects a motion event (led is on in the physical device; you can also see it in the screenshots below at topics with CC 113), the state of the 48-0-Any topic remains on the state which it intially has when pairing the device.
No motion:
Motion:
To Reproduce
Steps to reproduce the behavior:
Pair a Fibaro FGMS001 motion sensor
Trigger a motion event
Check your MQTT broker if the value of the 48-0-Any topic is updated.
Expected behavior
Having the topic for this sensor updated in correspondence of the motion events. That way you could have a HASS binary_sensor for presence.
Additional context
This seems to be exactly the same issue reported in OpenZWave/Zwave2Mqtt#621 for the Zwave2MQTT project.
In that project the root cause pointed out towards an issue at OZW implementation. Apparently to OpenZWave/open-zwave#2300
Just in case the comments on it helps here somehow (I don't understand the final conclusion of that case)
The text was updated successfully, but these errors were encountered: