kbialek / deye-inverter-mqtt

Reads Deye solar inverter metrics and posts them over MQTT
Apache License 2.0
230 stars 50 forks source link

active_power_regulation setting wrong? maybe compatibility issue with SUN-M160G4-EU-Q0 #192

Closed Bhoft closed 3 months ago

Bhoft commented 3 months ago

Hardware (please complete the following information):

MW3_16U_5406_1.59

Software (please complete the following information):

When i check the deye/settings/active_power_regulation which is sent via mqqt it is set to 10 When i check in the deye cloud app or the inverter-connect 100% is returned.

2024-08-25 12:18:42,863 - DeyeMqttClient - DEBUG - Publishing message. topic: 'deye/settings/active_power_regulation', value: '10.0'
2024-08-25 12:18:42,864 - paho.mqtt.client - DEBUG - Sending PUBLISH (d0, q1, r0, m35), 'b'deye/settings/active_power_regulation'', ... (4 bytes)

I would have understand if 1 is returned for 100% but a 10 looks like that there is some issue. Do you need any more information?

kbialek commented 3 months ago

Use settings_micro instead of settings

Bhoft commented 3 months ago

thanks I somehow missed that.

2024-08-25 12:32:29,566 - DeyeMqttClient - DEBUG - Publishing message. topic: 'deye/settings/active_power_regulation', value: '100.0'

Works perfectly now.