I’ve been looking at this over the past week and the lack of sun is making it quite difficult, however since updating our emonpi to the new sd card image and restoring the backup i took before upgrading, our grid always follows the pv output and never goes into -ve.
The attached image shows what I mean, and for reference another image from before upgrading where the grid can be seen to be going into -ve.
Hello @bengtec. Did you by any chance modify emonhub.conf on the original image? although emonhub.conf is copied over in the restore process it is not currently used, a newer default version is used instead. I wonder if this could be the cause?
I modified it to use the socket interfacer (which I’ve since stopped using). However I manually restored my old emonhub config by pasting the backup copy into my local emoncms on the emonpi but that stopped the pi posting to emoncms.org, and the local graphs on the pi were still looking wrong. Do you have any other suggestions?
I’ve just taken a look at your system and the issue is that during the migration to the new SD card VRMs reading seems to have been lost. This is probably caused by the AC-AC adaptor not connected or was connected after the emonPi was powered up.
Please check the AC-AC adaptor is connected, if it is you will need to fully power down the unit (shut down, the pull the power). On startup the LCD should display “AC Wave Detected” during the startup process.
The AC-AC adaptor is used to determine the direction of current flow, without this reading the CT cannot tell the difference between a positive reading and a negative reading, the reading will always be positive therefore incorrectly reporting gird export as import.