TS0601 PIR and LUX sensor

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
manjh
Posts: 749
Joined: Saturday 27 February 2016 12:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

TS0601 PIR and LUX sensor

Post by manjh »

I was about to write a post here to report an error in this device, when I found the solution.
For your information, I will write my findings here.

I received a cheap PIR/Lux sensing device, ZIgbee communicating.
Pairing was easy: ZigbeeForDomiticz picked it up and defined two devices in Domoticz: PIR switch, and Lux sensor.

Before actually integrating it into my setup (switch light in the kitchen on when it is dark), I decided to see if it works OK.
I noticed that the Lux value only came in once an hour, and not more-or-less realtime, as I expected.
Error...?
No. After setting up a LUA script that picks up changing PIR and Lux devices and log it to a file, I noticed that the Lux value is also sent whenever the PIR sensor is tripped.
So: you cannot really use this device to keep a realtime look at the light level.
But you CAN use it to switch a light when the PIR sensor is tripped, and check the Lux level to see if it is dark enough...

Device can be found in the usual Chinese webshop for about €5,50.
Hans
User avatar
waltervl
Posts: 5865
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: TS0601 PIR and LUX sensor

Post by waltervl »

The only Zigbee battery powered PIR/Lux device I know that sends a lux value regularly (every 5 min) is the Philips Hue motion. It has an indoor and outdoor version.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
manjh
Posts: 749
Joined: Saturday 27 February 2016 12:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

Re: TS0601 PIR and LUX sensor

Post by manjh »

waltervl wrote: Monday 08 January 2024 17:06 The only Zigbee battery powered PIR/Lux device I know that sends a lux value regularly (every 5 min) is the Philips Hue motion. It has an indoor and outdoor version.
It's not a problem, I intended to use it for switching lights when the lux value is below a set value. So this one will work for me.
But still worth knowing for others!

Also, I guess it makes sense when you think about it: the device does not waste battery power by constantly sending the lux value...
Hans
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest