hi there!
I m working on a home automation project. I slightly modified Arduino plugin and added some extra keys in arduino collection. these 2 keys are essentially arduino digital io pin numbers. I am also using a mq2 gas sensor in my project. Now based upon the value of sensor i need to change values of those digital io pins . can somebody guides me how i will do this?
and also there is another issue that when i start heimcontrol, sometime arduino sensor shows value correctly and sometime it only shows 0 despite of correct hardware connections. Can somebody explain?
I'll appreciate your help!
Thanks