@Hestia, What does this script do?
I have motion sensor working well now. If there is motion detected, the 'switch-light-bulb-icon'changes to On also.
But burglardetection is not working.
I found out how the parameter 7 settings are set.
parameter 7 has 8 bit's - Bit 0 - Bit 7. setting 22 means in binary = 00010110
Code: Select all
Bit 0: Reserve.
Bit 1: Enable sending motion OFF report (0:Disable, 1:Enable). Note: Depends on the Bit4, 0: Report Notification CC, Type: 0x07, Event: 0xFE 1: Sensor Binary Report, Type: 0x0C, Value: 0x00.
Bit 2: Enable PIR super sensitivity mode (0:Disable, 1:Enable).
Bit 3: Reserve.
Bit 4: Notification Type (0: Notification Report, 1: Sensor Binary Report).
Bit 5: Disable Multi CC in auto report (1:Disable, 0:Enable).
Bit 6: Disable to report battery state when the device triggered (1:Disable, 0:Enable)
Bit 7: Reserve.
I am not familiar with binary codes, so I used
this site to convert them to decimal. The decimal value is entered in domoticz/ozw configuration parameter 7 of this Philio device.
I tried a lot off combinations. With some settings burglar sensor is working, but motion not, and others Motion is working, but burglar not. I have not found a combination where both sensors are working. unfortunately!
Maybe someone else?
Domoticz 2020.1 (12230) on Raspberry Pi 3B with Raspian Buster. Besides Domoticz, Rpi is running Pi-Hole.