albertogeniola / ha-meross-local-broker

HomeAssistant addon that handles LAN-local MQTT and API service for Meross Devices.
Apache License 2.0
31 stars 8 forks source link

mss310 plug switch working but not reporting sensor values (power, energy, voltage, current) #42

Open erpayo opened 7 months ago

erpayo commented 7 months ago

I have 4 mss310 configured. Previously using them with merosss app and cloud. Unpaired them and paired to local addon using Custom Pairer app. Went fine and flawlessly, 4 devices added and 4 are capable of switching on and off.

But I have constant 0 value for all sensors in all 4 devices.

Searching into Local Agent logs I've seen lots of "GET" Appliance.Control.ConsumptionX and Appliance.Control.Electricity messages but no "GETACK" messages in return.

local addon version 0.0.1-alpha49 and meross component version 1.2.10

jemand771 commented 7 months ago

I just experienced something that might be related (but probably won't help you): after setting up an mss310, all I saw from the integration was two power sensors: Wattage (not kWh) and Amperage. Both reported as 0, which makes sense because nothing was plugged in. After I plugged something in, the values updated - so I can't reproduce your exact issue.

However, I was wondering why the switch wasn't showing up at all (assuming that's the most essential part), but toggling the switch manually using the on-device button made the switch entity magically appear. Voltage and kWh also showed up later.

Going by that strategy.. Have you tried drawing (possibly different amounts of) power through the plug? Maybe the broker/integration somehow needs that to "seed" the entity?

erpayo commented 7 months ago

I just experienced something that might be related (but probably won't help you): after setting up an mss310, all I saw from the integration was two power sensors: Wattage (not kWh) and Amperage. Both reported as 0, which makes sense because nothing was plugged in. After I plugged something in, the values updated - so I can't reproduce your exact issue.

However, I was wondering why the switch wasn't showing up at all (assuming that's the most essential part), but toggling the switch manually using the on-device button made the switch entity magically appear. Voltage and kWh also showed up later.

Going by that strategy.. Have you tried drawing (possibly different amounts of) power through the plug? Maybe the broker/integration somehow needs that to "seed" the entity?

not related. Two of the plugs are in normal use with two appliances, and sensors are present but with 0 value. Also switch working ssince minute 1 with. no problem

Thanks anyway.