To begin start with the horn disconnected and then try pressing and holding down the Toot Horn button on the dashboard.
You should see the Indicator for the horn change color to orange, and when you let go of the Toot Horn button the color should reset to near-black.
Now you can test the horn works too, by attaching the wires and repeating the previous test, but make sure you have some ear protection!
Remember it's only meant to be used when people are not in the room with the horn.
(During testing I stuck the whole project under my bed covers to reduce the noise for the neighbours, while I was wearing noise cancelling headphones too.)
Next, waving an arm in front of the PIR sensor should show up on both the Device page and the Dashboard.
You should also see the opposite once the sensor no longer sees movement / people, the indicator will switch to red color and the device page will say the opposite to "In Room". This reverse change wont be immediate, but after the timing period set on your PIR sensor has elapsed after any detected movement.
To resolve the problem start with the sensitivity potentiometer of the PIR sensor where-ever it currently is set to. Change the timing potentiometer all the way down (anti-clockwise), and face the sensor away from any people or animals (maybe hide it under some spare clothing for example).
You should now see the value return to indicate no motion or people. Next wave in-front of the sensor and it should signal movement, and then return to signal no-movement once hidden from sight.
Once that is working slowly increase the timing of the PIR sensor (by turning the timing potentiometer clockwise), just a little bit and then retest the time it takes to turn off after sensing movement/people.
I wanted my sensor to stay on for about 15-20seconds (remember the timer gets reset by each detection event)
If your sensor is seeming to randomly trigger then that's more about sensitivity. Now that you have your timing about right, adjust the sensitivity down a bit until you are happy that it triggers still while not accidentally.
At times you may be sending so many signals that you get rate-limited. A message may appear at the top of the screen, and signals won't send for a few seconds until the rate of messages reduces. That can mean the horn off signal wont get through, and so we have the emergency reset to forcefully send a new off message.
This message rate limiting is similar to reactive actions only running every 15seconds minimum, so our thumbs-up/down and red/green NeoPixel will only trigger every 15seconds (each reactive action has it's own countdown).
Don't worry as our indicator blocks and line-chart on the dashboard are always correct (they are subscribed to a feed which is not rate limited, unlike publishing messages to a feed).
Text editor powered by tinymce.