I break my head on how to get mqtt reading from HA into evcc also installed in HA #8334
Replies: 5 comments 20 replies
|
Have a look here https://docs.evcc.io/docs/reference/plugins#mqtt-lesenschreiben you must check, if the topic ist okay and (i am not sure) the mqtt-broker must be configured in the yaml |
|
Ok i think i am a step closer, but i just can´t make up my mind about how i implement the right mqtt topic as i am completely new to mqtt (never worked with it before). "Sensor.smartmeter_netzlast" gives me W momentarely consumed or returned to grid as a wether positive or negative number, but evcc log says its outdate (10sec). |
|
I think i found the problem. Energy meter is grabbing all data from my KAIFA smartmeter and publishing all data (1.7.0, 2.7.0, 1.8.0, 2.8.0, 16.7.0 and so on) combined into one topic and i don´t know how to extract/isolate that one power measurement value. Is there no way that i just can pick the already working sensor in HA and just configure it in evcc? That´s not how it works right? |
|
i figured it out, what i did is just to publish the sensor value itself at my chosen topic (smartmeter/power). Snippet from configuration.yaml: Furthermore i just implemented it into evcc.yaml as mentioned in the evcc documentation, snippet from evcc.yaml: |
|
Another question, is there a way to show SOC of my car when no charger is connected? |







Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi there!
Just yesterday i started getting into evcc since we got our solar panel installation and BEV all ready. So far, evcc is installed, inverters (we got 2 of them) are running and evcc is showing the correct amount of produced solar energy. Now i wanted to integrate my energy meter (i have a KAIFA smartmeter from my energy provider, and do readout over user-interface, data provided via mqtt). Data in HA energy dashboard, etc. is all perfectly fine, mqtt connection is rockstable and running perfectly fine.
So now i wanted to get the specific data readout into evcc.yaml, but i struggle hard, not exactly knowing how to get those mqtt readings into it.
This is my evcc.yaml right now:
MQTT-Sensor "Smartmeter_Netzlast" is defined in config.yaml, entity is showing the correct value.
I just have no clue anymore what to do, maybe i should sleep a night over it since today was already extremely busy maybe not having the brain for troubleshooting today... :/
All reactions