mike@cqsteel.com.au
posted this
03 February 2015
Success at last!
Thanks for the tip Ryan
I bought a 4-1 multi sensor because I envision using the different senses as trigger or consditions.
My first mistake was this - I broke the sensor down into multiple nodes (one just for MOTION)
This new MOTION node was under the guise of a "multilevel sensor" and the feedback was a number around 45-67, NOT a 255 or a 0 as expected from a Motion Sensor.
When I realised my MOTION node was still listed as a multilevel sensor, I changed it to a motion detector. That is afterall what I am meant to do with it.
Now, as a "Motion Detector" it showed the tick box for "Tripped/Open", just like the parent node that it came from.
The next problem though was this.....when the actual motion sensor reset itself, the TICK would NOT go away in the box of the created sub node. The TICK DID go away though in the parent motion sensor.
The created sub sensor is the one that has odd options for setting the trigger, Not the simple "Trigger motion ON" and "Trigger motion OFF"
I deleted the sub sensor that I had created and set the primary 4 in 1 sensor as the trigger.
This time the trigger options looked like the tutorial posted by Ryan.
And, this time when the motion was sensed, it did trigger my scene (turn lights on).
Also, when the motion sensor reset itself, it did NOT turn the lights back off.
This is the affect I was after, so the timing of the lights is not directly associated with the ON and OFF of the sensor.
I also wrote a scene that used the 4 in 1 sensor to trigger the lights OFF when motion turned off.
Now with both scenes in place, it appears that the lights are directly associated with the motion sensor, BUT I can use conditions of all sorts, and other scenes as well to time WHEN the lights turn off.
As well as just setting the automatic delay of the lights themselves (Tick box for turn off after X seconds)
This gets me over the first hurdle, and now I am pretty comfortable with the basics,
However.......... I still intend to use the other senses from the 4 in 1 sensor.
Whether I call it a Motion Detector, or a Multilevel sensor, there is a box with details showing the battery level, light level, motion level, humidity level and temp level.(note that if I classify it as a mutilevel sensor, the TICK box for motion dissappears. When I classify it as a motion detector the TICK box comes back)
It is from this box that I created the sub node for Motion ONLY - that of course did not work properly for motion.
Not giving up, I created a sub node for the Light level and called it "Light Sense". I left this newly created sub-node listed as a multilevel sensor.
NOTE: although I did not time it, it appears that these sensor levels are only updated about every 10 minutes. I am sure these params can be adjusted, but I haven't identified them directly just yet.
I changed my scene to be triggered by the light sense, but again, these sub-nodes dont have the simple dialog box for "turn on" and "tun off". They do have an option for "at any change", "at a certain level", and a couple other things. They don't give the apparent option of using >= or <= etc,="">=>
Anyhow, since the latest reading on my Light Sense was 48, I set it as my trigger and set the value to be 70.
I set the thing outside and waited. It took nearly ten minutes before it updated, and when it did update the level, it was at 1000 - yet it did NOT trigger my scene.
I know I am close, and will get there, but maybe another nudge from more knowledgable people will be beneficial LOL
N