NorthernMan54 / homebridge-rtl

Homebridge Plugin for rtl_433 devices
MIT License
22 stars 10 forks source link

Skylink HA-434TL motion sensor support #8

Open canadianbcn opened 3 years ago

canadianbcn commented 3 years ago

Hello, the sensor can be read in the latest releases of rtl_433 with rtl_433 -X 'n=skylink,m=OOK_PPM,s=600,l=1700,r=10000,bits=17,get={3}:motion:[5:motion 2:alive],get=@3:{14}:code' Output: time : 2021-01-24 16:10:30 model : skylink count : 1 num_rows : 1 rows : len : 17 data : bd690 motion : motion code : 15058 codes : {17}bd690

When ran as rtl_433 -X 'n=skylink,m=OOK_PPM,s=600,l=1700,r=10000,bits=17,get={3}:motion:[5:motion 2:alive],get=@3:{14}:code' -F json -C si Output: {"time" : "2021-01-24 16:13:56", "model" : "skylink", "count" : 1, "num_rows" : 1, "rows" : [{"len" : 17, "data" : "bd690", "motion" : "motion", "code" : 15058}], "codes" : ["{17}bd690"]}

canadianbcn commented 3 years ago

When ran as just rtl_433 -X 'n=skylink,m=OOK_PPM,s=600,l=1700,r=10000' Output - see first 2 results are different:

time : 2021-01-24 16:37:12 model : skylink count : 1 num_rows : 1 rows : len : 20 data : 37ad2 codes : {20}37ad2


time : 2021-01-24 16:37:12 model : skylink count : 1 num_rows : 1 rows : len : 18 data : deb48 codes : {18}deb48


time : 2021-01-24 16:37:12 model : skylink count : 1 num_rows : 1 rows : len : 18 data : deb48 codes : {18}deb48


time : 2021-01-24 16:37:12 model : skylink count : 1 num_rows : 1 rows : len : 18 data : deb48 codes : {18}deb48


time : 2021-01-24 16:37:12 model : skylink count : 1 num_rows : 1 rows : len : 18 data : deb48 codes : {18}deb48


time : 2021-01-24 16:37:12 model : skylink count : 1 num_rows : 1 rows : len : 18 data : deb48 codes : {18}deb48


time : 2021-01-24 16:37:12 model : skylink count : 1 num_rows : 1 rows : len : 18 data : deb48 codes : {18}deb48