Motion detector on the dashboard

Hello,

I have displayed a motion sensor on the dashboard, which is of type BINARY, so I have set the value to 1 for motion and 0 for no motion on the enocean integration side.

On the HMI side, I have the estimated time since the last value, but not really the state:

The toggle on the room header does not move. (in the screenshot, there has just been a movement in this case)

The approach taken with this display was that the motion detectors were in « push Â» mode; they only send « 1 Â» when a movement is detected.

Thus, the display shows when the last movement was detected :slight_smile:

However, if you send "0"s, it doesn’t work.

Two possibilities:

  • Either you modify your integration to only send "1"s
  • Or you need to develop a different display for this type of motion sensor that sends both, and handle the case. Then, we’ll see what makes sense to display: The date of the last movement? The current state?

Ok, I understand, that seems logical in this case, I’m happy to change to only send 1.
But how do I handle it in a scene if, in my case, I want to turn off a light when there is no more movement?

I think this relates to this request:

But by the way, on the Device State Change trigger, this would never change?

Indeed, this is a case we don’t handle yet :slight_smile:

The idea will be to create a trigger « when the motion detector has not returned a value for x duration Â»

Yes, absolutely, I was thinking about that.

@pierre-gilles I probably missed this information, but for BINARY types like Motion sensors or Windows sensors, 1 = ON and 0 = OFF?