Beginner needs help
Posted: Friday 31 August 2018 23:37
Hello,
I have recently started using Domoticz in hopes of replacing the old 433mhz system I used to control my bathroom lights and extractor fan. I am using a Raspberry Pi with Aeotec Z-wave USB stick, a Aeotec Multisensor 6, a Aeotec nano switch and a Fibaro wall plug for this project. I want to control the lights with the Multisensor 6's motion detector and with the Nano switch. Once I get that working I'd like to turn my extractor fan on via the multisensor's humidity sensor and the Fibaro plug.
I have installed the multisensor 6, nano switch and the plug. I get temperature readings from the various sensors and when the motion alarm is tripped two switches switch to on. I can turn the lights on through the switch interface in Domoticz, the same goes for the extractor fan connected through the wall plug. Great! The situation is as below;
The switches named "Sensor" and "Pir switch?" switch on when motion is detected. To controll the lights I made the following script in blockly after watching a few tutorial on youtube;
I've activated it but when the multisensor detects motion ..... nothing happens. I have tried both sensors that I believe are associated with the multisensor. I have tried turning the wall plug on with this script ... nothing happens. I have no idea what I am doing wrong?
I have recently started using Domoticz in hopes of replacing the old 433mhz system I used to control my bathroom lights and extractor fan. I am using a Raspberry Pi with Aeotec Z-wave USB stick, a Aeotec Multisensor 6, a Aeotec nano switch and a Fibaro wall plug for this project. I want to control the lights with the Multisensor 6's motion detector and with the Nano switch. Once I get that working I'd like to turn my extractor fan on via the multisensor's humidity sensor and the Fibaro plug.
I have installed the multisensor 6, nano switch and the plug. I get temperature readings from the various sensors and when the motion alarm is tripped two switches switch to on. I can turn the lights on through the switch interface in Domoticz, the same goes for the extractor fan connected through the wall plug. Great! The situation is as below;
The switches named "Sensor" and "Pir switch?" switch on when motion is detected. To controll the lights I made the following script in blockly after watching a few tutorial on youtube;
I've activated it but when the multisensor detects motion ..... nothing happens. I have tried both sensors that I believe are associated with the multisensor. I have tried turning the wall plug on with this script ... nothing happens. I have no idea what I am doing wrong?