Simple GPIO status read
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
Hi, there are several addon modules to simply access GPIO
For example “onoff”, as used in https://github.com/PtrBld/MMM-Button
Thank you, I didn´t found it when I was looking for it.
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.