Sonoff Presence Sensor - SNZB-06P - No Light Level

Hello,
I’ve got a SONOFF SNZB-03P and was unable to get the bright/dim from the dropdown too.
So I just wrote “dim” in it, and it works.

@luhcut are you connected through ZHA or Z2M? I’m connected through ZHA and I don’t see the illumination option at all

For anyone who has problems with the automation: Just link it with the “Sun” integration. Just got mine from BF Sales, used it in the bathroom and just automated “if sun is down and bathroom is occupied, turn on light” and the opposite one where "if light is on and room is not occupied, turn light off*…works like a charm and is really fast, light turns on as soon as the door moves and turn off seconds after I leave the room. Connected via ZHA.

1 Like

Just got this sensor and had the same problem. My fix has been to create an automation that “updates entity” every 20 minutes so the illuminance level is accurate.

1 Like

My fix for that is insert a 500 millisecond delay before read the luminance state of the sensor, works pretty well.
The only problem is how to update the luminance state when presence is on occupied, how do you made an automation to “update entity” the sensor read the luminance only when presence change to occupied state…

I had similar problem, but was not able to “write” anything in the GUI, just got the empty selection list, when clicked on the “state” field.
My workaround was to leave it empty, select “edit in yaml” in the Three-dot menu in the top right corner.
From the generated yaml:

conditions:
  - condition: state
    entity_id: sensor.kokken_lys_sensor
    state: []
actions: []

I then manually edited it to (Note the state is case sensitive)

conditions:
  - condition: state
    entity_id: sensor.kokken_lys_sensor
    state: Dark
actions: []

Then when I go back to visual editor (using the three-dot menu), i see that the state is partly visible there now.


(“Og hvis” → “And if”)
I say partly because if I select the condition to get the edit dialogue I see this.

And I still get the empty choice list if I select the “state” field.

But anyway i looks like it works now :slight_smile: