I have a board setup with a switch and a temperature sensor. When I try to combine the two sketches I get multiple errors.
Can someone take a quick look at combining the two sketches?
@mvader Turn the time delay adjustment preset on your PIR module to the minimum.. Now try it.. You will not get a continuous output..Also, prepare the circuit using a long wire from the back to the sensor of your module.
@tnick STM32F1 2019.12.8 (stm32duino) is the version that was active when the latest MySensors release was made. Later versions may or may not work; nobody would know until they tried.
@Eme
Thank you for coming back to report how you solved your problem! Your comments will help other people.
I am a big fan of Frugal Tech and I think MySensors is great for that.
Alas, MySensors is not well supported anymore. Right now I'm having problems linking to the home page It's people like you and me that will keep MySensors going.
Thanks for your help.
OSD
You write "...clicking is heard..." Is that a single click or a click click click ...?
After getting the LOW signal, wait a period of time and if it's still low, send the message that there is a flame. Likewise for a HIGH signal.
Perhaps instead of a relay, an opto-isolator?