Since homeassistant installation directory path is different in raspberry Pi so I have updated the path (/opt/ha-inverter-mqtt-agent/homeassistant/www/inverter-modes/) for .PNG files in lovelace.yaml file.
I have copied both the sensor files that’s why I have changed the path. Do I need to manually define the sensors/cards ? Or It’s enough to paste the code the code in to lovelace.yaml files from GitHub as i have already done.
Have you installed vertical-stack-in-card and circle-sensor-card like the instructions say? I am guessing not since your error message says it cannot find the card.
Since my homeassistant installation directory path is different then I moved vertical-stack-in-card.js “/opt/ha-inverter-mqtt-agent/homeassistant/www/”
Linked vertical-stack-in-card inside your ui-lovelace.yaml
Hey @ned-kelly / others,
i’ve got my inverter running, but i think i am suddenly ultra bad at math, or the homeassistant “utility_meter” entity i created is bad. I’m adding voltronic_load_wh with an utility meter, if i am in Battery mode.
In my particular case, it should be around 7,5 kWh, but i am only at 2,5 kWh.
Has somebody done such a calculation?
In the Grafana i saw an “Running Cost”, what is the formula?
Can someone please share the raspberry Pi running image (fully configured MQTT, HA) so that I can just plug usb cable to inverter from raspberry Pi & start accessing data on HA browser.
Hi @amansingh - I was running the project via docker-compose on a Pi Zero, and my Home Assistant is a different (much more beefy) intel server (hence using MQTT to send the data to Home Assistant). If you just want a “turnkey” solution to monitor your inverter, Home Assistant and this adaption may not be the right answer.
Regardless, you could also run Homeassistant via Docker on your Pi (just to put everything on the one device) – Instructions around how to stand up Homeassistant via docker can be found here: https://www.home-assistant.io/docs/installation/docker/
Hi,
i’ve opened a pull request to fix the qpiri value issue (make it configurable).
If this is done, i will publish it in my hassio-addons repo, so users wont have to struggle around with compiling and stuff
Hey I seem to be getting an error message when running
docker-compose up -d
on step 2 i get this error
Running in fad3a3db431a
ERROR: Service ‘voltronic-mqtt’ failed to build: The command ‘/bin/sh -c apt update && apt install -y curl git build-essential cmake jq mosquitto-clients’ returned a non-zero code: 139
Thanks @raphii - I’ve finally got my replacement inverter (same firmware but larger KW model) so I’ll just test and then re-push up to docker hub in the next few days once I’ve had a moment to build the latest ARM images.
@riaan199 - Can you post what the actual log is prior to this error message? Perhaps there’s been some updates to debian:stretch which which have broken part of the install…
Like my previous post, I’m a few days of installing my replacement inverter (last one got blown up in a electrical storm) and once it’s up and running I’ll push some updated images to docker hub so you don’t need to build the image manually.
I met problem to collect data from my solar inverter. First of all the model I have:
It’s a basic PIP model where there is also a USB-c in complement of the UART in DB9 connector
The associated software is the Watchpower SP3… The SP3 is important because other software version is not working with.
I am using a RASPI 4 where HA is installed fine with mosquitto broker or MQTT webserver installed (I tried both). MQTT comunication is done with a user/password.
I tested the MQTT link with an ESP32 /w ESPhome and I can listen my topic… so my MQTT setup in HA is fine.
I installed your package as described in the instruction. I tried either via the direct USB cable (USB-c <> USB) or via a serial to USB adaptor. Both are seen with the lsusb command
Of course I set up correctly the mqtt.conf file with the IP of my raspberry/brocker, 1883 as port, homeassistant/sensor/WKS as topic, then the username and password.
Install first the docker-compose software via apt-get and deploy the software as depicted: sudo docker-compose up -d No error in compilation
The problem… I am receiving nothing in HA… No new entities discovered… And when I am trying to listen MQTT nothing appeared. Here is the log with mosquitto MQTT
1582810681: New connection from 172.30.32.1 on port 1883.
1582810681: Socket error on client <unknown>, disconnecting.
1582810696: New connection from 172.30.32.1 on port 1883.
1582810696: Socket error on client <unknown>, disconnecting.
1582810711: New connection from 172.30.32.1 on port 1883.
All lovelace part is done … via HACs. Lack just the informations