![]() ![]() You could then do any roundings and calculations in the receiving end and use as many decimals as you need.Īnd if you want fahrenheit instead of celsius, you could change line 223 from _celsius to _fahrenheit. input_voltage changed to input_mvoltage wich would get you the value in milivolts instead of volts. So you could change the list on line 209. ![]() I think (but it's bee a while since I worked on this) that line 209-212 and further down in solaredevice.py contains a list of all items that should be logged remotely. I also have various checks in place because quite often these devices report crazy values for a short time, so I try to filter out values that are obviously bad. millivolt, temperature in kelvin etc), but it will report/log on more "human friendly" values (volt, temperature in celsius etc). You will mostly see that values are stored as "high resolution" (e.g. If you look at the class PowerDevice in solaredevice.py you can find the definitions of the various monitored values. I asked the author about increasing the decimal places on the values and this is what he has to say: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |