Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

Changing arduino digital pin values (high/low) based upon sensor value #130

@anno143

Description

@anno143

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions