Closed QuagmireMan closed 5 years ago
You have an analog read input : https://github.com/1technophile/OpenMQTTGateway/blob/master/ZsensorADC.ino
If you want a basic read input you can base it from this sensor. If you do the dev don't hesitate to submit a pull request
Ok. I have never tried to do one before, but I can give it a go :)
@QuagmireMan are you planning to implement your request (so as to know if I integrate it in the next release)?
It still needs some work and I am learning the ins and outs of github at the same time, but I have started it, it just isn't as complete as I would like it. How soon is your next release?
I have only tested it on an ESP8266 so far. And I am still very unsure how to merge my code with yours.
I'm closing the issue as now we have a pull request to discuss
I see there is an actuator script for output, but I don't see a script to read inputs. Unless I overlooked something.
It seems it would be very easy to modify the HCSR501 script for this purpose.
Any thoughts?