KinDR007 / Victron-MPPT-ve.direct-to-MQTT

Read data from victron mppt and transport to mqtt server
MIT License
39 stars 9 forks source link

Minor bugs in the home assistant YAML & Extension to read out the load current #5

Closed LuckyTriple7 closed 3 years ago

LuckyTriple7 commented 3 years ago

Hello, great Job ! I found 2 little Bugs in the YAML for Homeassistant:

image

correct is: icon: mdi:battery icon: mdi:current-dc

It is not necessary to connect GND. Only RX and TX need to be connected

With this extension, the load current is transmitted:

else if (label == "IL") { // In this case IL chose to read load current val.toCharArray(buf, sizeof(buf)); float floatValue = atof(buf); floatValue = floatValue / 1000; dtostrf(floatValue, len, 2, char_current); client.publish("Victron/Load current, I", char_current); }

My Homeassistant YAML Code:

sensor:

KinDR007 commented 3 years ago

Hi, copy paste error sorry