question

stekicar avatar image
stekicar asked

Streamed packet data reading with Raspberry Pi - wrong values after certain period of time

I have connected rpi through voltage divider and I was able to read data from 250/85 mppt. I read data every 15 seconds and write data to influxdb/grafana. Everything works fine with exception that after certain period of time current values are not correct. For example, it shows PPV and I values at 10PM like there is a daylight. After I stop program and start it again everything is ok. And then it happens again. Does anyone knows what could cause this?

MPPT ControllersPhoenix InverterRaspberry Pi
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

1 Answer
stekicar avatar image
stekicar answered ·

It looks like MPPT serial port has FIFO buffer. I removed 5 seconds read delay in my code and now it shows "non-delayed" data.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.