I used this from @kunpet and it worked great save the motion sensor wouldn't give me real-time "active" or "Inactive" readings. After a bit more digging I discovered that "Para 7 Customer Function" in kunpet's git driver needs to be set to 94 - once I did that it worked just fine. Hope this helps.
Thanks for this tip here, I did the same but unfortunately for me it keeps reporting as active, it doesnt go back to inactive even if I am not in the room for a long time, and I have noticed that if I turn on the light remotely it doesnt change the illuminance unless I walk in the room... any tips?
Thanks for sending this! I will give it a try... just as a curiosity, how do you have you dip switches configured? Thanks! I have the OFF, OFF
Same, off off
@augustov and @snowman, please see this thread about an updated version of the driver that adds control of parameters 3 (PIR sensitivity) & 22 (illumination control).
Here are the settings I am using, in case they help:
Below is an explanation of what "Customer Function" does. I set mine to 86 decimal; @snowman set his to 94 decimal. The difference is that I have bit 3 turned off.
I realize this thread is getting pretty old, but through I would add this info in case you are interested...
Marc
Parameter 7: Customer Function
Customer function switch, using bit control.Caution: The value is unsigned byte, the range is from 0x00 ~ 0xFF.Bit0: Reserve.Bit1: Enable sending motion OFF report.(0:Disable, 1:Enable)Bit2: Enable PIR super sensitivity mode. (0:Disable, 1:Enable)Bit3: Disable send out BASIC OFF after door closed. (1:Disable, 0:Enable)Bit4: Notification Type, 0: Using Notification Report. 1: Using Sensor Binary Report.Bit5: Disable Multi CC in auto report. (1:Disable, 0:Enable)Bit6: Disable to report battery state when the device triggered.(1:Disable, 0:Enable)Bit7: Reserve.
Size: 1 Byte, Default Value: 4
| Setting | Description |
|---|---|
| 0 - 127 | Customer function switch |
| 1 | Bit0: Reserve. |
| 2 | Bit1: Enable sending motion OFF report.(0:Disable, 1:Enable) |
| 4 | Bit2: Enable PIR super sensitivity mode. (0:Disable, 1:Enable) |
| 8 | Bit3: Disable send out BASIC OFF after door closed. (1:Disable,0:Enable) |
| 10 | Bit4: Notification Type, 0: Using Notification Report. 1: Using Sensor Binary Report. |
| 20 | Bit5: Disable Multi CC in auto report. (1:Disable, 0:Enable) |
| 40 | Bit6: Disable to report battery state when the device triggered.(1:Disable, 0:Enable) |
| 80 | Bit7: Reserve. |
Thanks!!!
You're welcome! I hope you found it helpful.
Marc

