Ich verkaufe einen quasi neuen Aquara Zigbee Vibrationssensor, für 8,50- incl. Versand.
Der Aquara ist 3,5 x 3,5 x 1cm gross und wird mit einer CR2032 betrieben.Der Batteriestand der 2032 ist bei 92%.
Der Aquara funktioniert einwandfrei, war aber für meine Zwecke ungeeignet.
Bei Interesse bitte PN an mich. Paypal ist ok.
Der Xiaomi Aquara liefert die folgenden Readings:
orientation -80,2,10 2021-01-12 18:45:52
temperature 25 2021-01-12 18:04:44
tiltangle 82 2021-01-12 18:45:52
vibration 0 2021-01-12 18:54:46
vibrationstrength 6 2021-01-12 18:45:52
x -80 2021-01-12 18:45:52
y 2 2021-01-12 18:45:52
z 10 2021-01-12 18:45:52
Er wird wie folgt eingebunden
defmod VibrSensor1 HUEDevice sensor 11 IODev=deCONZ
attr VibrSensor1 IODev deCONZ
attr VibrSensor1 event-on-change-reading battery,vibration
attr VibrSensor1 group ALARME
attr VibrSensor1 icon people_sensor
attr VibrSensor1 model lumi.vibration.aq1
attr vstateFormat O: orientation, T: temperature, Tilt: tiltangle, Vib: vibration, VibSt: vibrationstrength
attr VibrSensor1 userReadings x { my $x=-99;; $x=ReadingsVal ($name,"orientation",0);; $x=~m/(-?\d+),(-?\d+),(-?\d+)/;; return $1;;},\
y { my $x=-99;; $x=ReadingsVal ($name,"orientation",0);; $x=~m/(-?\d+),(-?\d+),(-?\d+)/;; return $2;;},\
z { my $x=-99;; $x=ReadingsVal ($name,"orientation",0);; $x=~m/(-?\d+),(-?\d+),(-?\d+)/;; return $3;;}
attr VibrSensor1 webCmd statusRequest