Ph meter reading issue
I have installed the tool and got most of my sensors working, which is great.
Problem I am having is with the Ph sensor, as I have a generic one.
It is working, as I have been using it with a raspberry Pi for years, but in Mycodo it is not showing me a reading.
In the stats page, I can see it uses i2c addr 20, but it does not want to show me any values.
Would be great if you could let me know what to look at/for.
How have you been acquiring measurements with a Raspberry Pi?
I have implemented a similar project to yours in .NET, back-end only though.
It looks like the only code supplied by the manufacturer to read the sensor is written for Arduino. Porting the code to a Python class would probably be the best approach. You could then create a custom Mycodo input module that uses the class to acquire/store measurements.
yes, i converted the code from C to C#, about 6 years or so ago.
>You could then create a custom Mycodo..
Have not tried out Python yet ;)
Thought there may be a setting I could use to try out.
found your module on gitHub I might just have a stab at python and contribute, if that is ok?
You can look at any of the inputs in the mycodo/inputs directory. There's also a section of the manual that discusses input module development and how to import them into Mycodo through the web UI.
I might just have a stab at python and contribute, if that is ok?
By all means, go ahead. I'd be more inclined to take a crack at it first, had it been a product that was in stock/still produced. But since it might not be available anymore, I'll let you take the first go and see what you come up with, before I jump in.