2020-04-22, 10:13 PM
(2020-04-22, 07:24 PM)Sailoog Wrote:(2020-04-20, 09:38 AM)solosails Wrote:(2020-04-17, 07:20 PM)Sailoog Wrote: I am afraid more changes have to be done in i2c app core code to add more sensors. Besides this I need to make important changes before adding the new sensors to be able to manage extra parameters in some of them. What sensors are you thinking of?
Hi Sailoog, Thanks for the reply.
I have just purchased a Adafruit INA260 in order to monitor the batteries voltage level. I don't need to measure amps, just the state of the batteries.
If there is an easy way to add this in? or perhaps if you can give me a brief list of files that need to be created to add it myself - that would be great - thanks!
The plan before the apocalypse was to make the required changes in openplotter-i2c app to allow extra parameters for some sensors (INA family need them) but I have not sensors and instruments to develop this at home/prison. The situation is getting better here in Catalonia but I will not be able to go to the office without risk in 2 weeks.
So the answer is no, there is not a fast and easy way. You need python skills to modify this code to add more sensors but you should wait for my changes: https://github.com/openplotter/openplotter-i2c
sorry
Hey, no need to apologise!! Thanks anyway - happy to wait - can I send you any sensors to play with in lockdown!?