vincenzosuraci / hassio_meross_sensor_switch

A Home Assistant custom-component for Meross devices, based on the work done by Alberto Geniola and Chris Hurst
17 stars 8 forks source link

4 MSS310 switches. 1 works. 3 don't. #13

Closed LuxMetrics closed 5 years ago

LuxMetrics commented 5 years ago

I have home assistant, mosquitto and your code in containers on a Synology NAS. I have 4 mss310 switches and home assistant auto discovers them all.

All 4 work correctly as sensors. 1 also reads the status of the switch. It is also possible to switch it on and off from ha. The other 3 always show 'off'. Switching them on has no effect.

I notice that your log reads "[Device][] Cannot read property 'channel' of undefined" each time I switch the problem switches on or off with the Meross app.

I find this quite puzzling. Have you any suggestions?

vincenzosuraci commented 5 years ago

Can you post the whole log?

LuxMetrics commented 5 years ago

Thanks for your speedy response! I also see the container crashed last night. Aircon plug is the device that works. "Tumble Dryer", "Washing Machine" and "Air Purifier" do not. I turned 'Air Purifier' on and off from the Meross app at 02/07/2019 21:11:20.

meross-carlosatta1.txt

LuxMetrics commented 5 years ago

I think I have an answer. Although the plugs look the same 3 of them show hardware version 1.0.0 firmware 1.1.11 The working one is hardware version 2.0.0 firmware 2.1.9

vincenzosuraci commented 5 years ago

Dear all, I sugget to move on this component : Alberto Geniola