DennisOSRM / hms-mqtt-publisher

HMS-XXXXW-2T MQTT publisher and Home Assistant addon
BSD 2-Clause "Simplified" License
115 stars 16 forks source link

Question: Power Adjustments #22

Open jogybaer0815 opened 11 months ago

jogybaer0815 commented 11 months ago

Hi, just tested this library and it works great! But I do have a question: Is there a possibility to configure the power ratio? I saw that you're working with a TCP connection to read values from the DTU and I was wondering if it's also possible to adjust the maxmimum generated power through this connection. I was planning to handle this automatically but I'm currently struggling to set it up.

Thanks for your work!

DennisOSRM commented 11 months ago

Yes, as far as I can tell, it should be possible to adjust the power ratio. It will be a matter of implementing the right call.

jogybaer0815 commented 11 months ago

Hi, thanks for the fast response. Is there any documentation that can be looked for those endpoints?

DennisOSRM commented 10 months ago

I used the following writeup for coding: https://github.com/henkwiedig/Hoymiles-DTU-Proto/blob/main/protcol.md

Not sure how accessible it is, tho.

henkwiedig commented 9 months ago

Setting the Powerlimit is shown here: https://github.com/henkwiedig/Hoymiles-DTU-Proto/blob/main/SetPowerLimit.py