ned-kelly / docker-voltronic-homeassistant

Programmatically read data from your Voltronic, Axpert, Mppsolar PIP, Voltacon, Effekta etc Inverter and send it to Home Assistant via MQTT - Works with RS232 & USB!
GNU General Public License v3.0
257 stars 140 forks source link

run_interval not working 🤔 #78

Open desegura opened 2 years ago

desegura commented 2 years ago

Hi I did this schema to show better my problem:

voltronicmqtt

I'm trying to connect my Voltronic 1kW MPPT model to a piZero 2 using OTG micro USB as this tiny board doesn't have USB-A ports. The piZero is connected to the router via wifi and the pi4 is on LAN within the network.

I docker-compose up the project in the pi zero and looks fine in portainer:

image

But I receive nothing on the pi4's Mosquitto broker running on supervised HA Core v2022.4.2, even I don't get any new sensors as mentioned in the readme. What I'm doing wrong?

I'm asking for help if some one had the same issue or knows how to fix it 🤔

desegura commented 2 years ago

I was able to connect piZero to pi4 via MQTT but now I have trouble to send the inverter data each 30 seconds as stated in "run_interval=120". Actually to make it send the data and update grafana graph I need to manually run the ./inverter_poller -d -1 every time :(

I tried changing qpiri to 97 and 102 but same problem, looks like the data get stuck somewhere or the poller isn't running automatically :(

Inverter: Voltronic Axpert 12/1000 MPPT

What I'm doing wrong?