MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Simple GPIO status read

    Scheduled Pinned Locked Moved Requests
    4 Posts 2 Posters 2.8k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? Offline
      A Former User
      last edited by

      Hi, I am unable to get a simple GPIO port 5 reading, somethinth that displays “On” or “off” if my GPIO port is HIGH or LOW. So far I have no luck even reading https://github.com/mochman/MMM-Swipe/blob/master/node_helper.js

      Any volunteer? Thanks.

      By the way, is for showing the relay state of a heater that alreadery displays its temperature using DS18B20

      1 Reply Last reply Reply Quote 0
      • yawnsY Offline
        yawns Moderator
        last edited by

        Hi, there are several addon modules to simply access GPIO

        For example “onoff”, as used in https://github.com/PtrBld/MMM-Button

        1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User
          last edited by

          Thank you, I didn´t found it when I was looking for it.

          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User
            last edited by

            Hi there, after some trial and errors I have achived… nothing. And what we are asking for must be a very simple thing to do, just display an image if certain gpio port is high and display another if that gpio port is low. No luck so far, so if anyone could just write it it would be nice.

            Thanks

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy