|
Post by doxidad on Aug 17, 2019 11:15:23 GMT -8
Here are couple of things that need to be remediated in V045
startserver.sh contains the wrong directory and code
#!/bin/bash cd /home/pi/SDL_Pi_GroveWeatherPi sudo python GroveWeatherPi.py
PowerCurrentGraph.py & PowerVoltageGraph.py still use axisbg for the background color.
In the older version of the matplotlib, it barked about this being depreciated but it didn't cause any problems other than the message. In the latest version of the matplotlib (v 2.2.3-6) it causes an exception with no explanation other than it doesn't know about axisbg.
axisbg needs to be replaced with facecolor or the 2 Power Graphs will never run.
Also, BarometerLightningGraph.py still multiplies the barometer reading * 10 causing it not to be displayed since it is over ranged for the graph.
Sorry to whine, but somebody may want to use the graphs or the contents an startserver and not know what the problem is.
|
|
|
Post by doxidad on Aug 18, 2019 12:08:32 GMT -8
I found another one. I reported this on the GWP Blynk code a while back and it is in this code also
In updateBlynk.py the line that formats V56 (the gauge on the solar screen) has a "%" in the format code that causes the gauge not to display.
IS -> val = "{0:0.1f}%".format(state.batteryCharge) SHOULD BE -> val = "{0:0.1f}".format(state.batteryCharge)
|
|
|
Post by SDL on Aug 18, 2019 13:35:25 GMT -8
Will fix both of these! Thank you. I've spotted one other problem that needs fixing. In the SolarMax code, we are reporting the load voltage taking the numbers from tload current. Thus we have a load voltage of around 400 V! Ouch!
BP
|
|
|
Post by SDL on Aug 18, 2019 18:18:34 GMT -8
All done now. I'll test and release tomorrow. I'm taking Friday off, so I'm working today.
BP
|
|