Are Meross switches compatible with any existing components?

I have create an addons for hassio to manage meross devices. It’s work connecting to meross api system and not directly to the devices.

For now is not documentated and it’ s a little bit more of proof of concept, but seems to work.

I hope this can help you guys.

1 Like

Ciao Carlo

Can you explain some information needed in the addon config?

08

I see mqtt server info, but no username/password field.
The discovery prefix is fixed or can be changed?

Thanks

Hi,

the mqtt credential are not implemente or, more correctly, are inplemented in the code, but not in the configuratin part.

I try to implement it ASAP.

The prefix is configurable, but the default works well with the mqtt autodiscovery functionality of HomeAssistant. https://www.home-assistant.io/docs/mqtt/discovery/

Hello,
thank you for your help.
I have installed your addons and this is the log:

[email protected] start /usr/src/hassio_meross
node app.js
Connected to the device 1811061601760125181734298f17adad.

This means that the device was recognized? If yes how to add the relative card?
It is necessary install MQTT Server & Web client?
thank you

Hello,

I’m interested in this add on too. My devices are recognized, and I get the consumptions (MSS310) in the log but cannot find a way to get them in the UI.

Thanks

Hi,

I’ve update the code. Now you can use mqtt credential and certificate. Also I’ve add some documentation about configuration.

let me know.

@woody4165

Hi @ryolaxe,

the module shout work out of the box with hassio mqtt discovery functionality:


https://github.com/carlosatta/hassio-addons/tree/master/hassio_meross

If you want map the device manualy, you have to create some templates.


For the debug, I usualy use MQTTFX or HIVEMQT (http://www.hivemq.com/demos/websocket-client/)

let me know

Hi @matrixfede,

yes, you have to install a mqtt server and have a HA valid configuration.
https://github.com/carlosatta/hassio-addons/tree/master/hassio_meross

Ciao Carlo.

just updated and filled in all the field and it’s working fine.

Leaving “homeassistant” as mqtt prefix is the easy way to configure it, since you’ll find the switch name as you have defined in the Meross app.

Thanks!!!

1 Like

Is there an easy way to get this to work in an Non HASSIO environment?
Like just a normal docker container?

Yes.

In the hassio-addons directory there is a Docker files and I think this can work in non-hassio env, but first you have to create a file options.json with all the configurations inside the module dir.

let me know if you succeed

Or, If you want, you can run it as a normal node script, maybe with pm2 or forever.

Yes indeed it worked perfectly right after I setup the mqtt server !

I’ve noticed a few problems for the mss310. The voltage is divided by 100 and the consumption seems to be only the index of the last day communicated by the consumptionX (for me 2018-12-30).

Otherwise, the switches are very responsive (less than half a second) !

ok, I try to fix this issues.
And now is possible change name of the device from HA interface and have change the logic in the sensor message.

let me know

I have two MSS310 and two MSS425e.
Installed your plugin, but I’m not able to view the 4 Meross in HA

In Home assistant I have Mosquito as MQTT broker, so no way using MQTT Discovery. The plugin seems working with Mosquitto, but how to add them in UI?

Thanks for your great work

This is my log:

Log

> [email protected] start /usr/src/hassio_meross > node app.js Device Ciabatta 2 (mss425e) (1808170418687129083134298f1617d5) discovered. Device Ciabatta salotto (mss425e) (1806293719705429081434298f15a34c) discovered. Device Octave (mss310) (18050387424708251a0234298f117d1e) discovered. Device Filtro piscina (mss310) (18050341434354251a0234298f1176ea) discovered. Device 1808170418687129083134298f1617d5 configured {“name”:“Ciabatta 2”,“command_topic”:“homeassistant/switch/1808170418687129083134298f1617d5_0/command”,“state_topic”:“homeassistant/switch/1808170418687129083134298f1617d5_0/state”,“value_template”:“{{value_json.state}}”,“payload_on”:“1”,“payload_off”:“0”,“state_on”:“1”,“state_off”:“0”,“unique_id”:“1808170418687129083134298f1617d5_0”,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]},“retain”:true}. Device 1808170418687129083134298f1617d5 configured {“name”:“Albero1”,“command_topic”:“homeassistant/switch/1808170418687129083134298f1617d5_1/command”,“state_topic”:“homeassistant/switch/1808170418687129083134298f1617d5_1/state”,“value_template”:“{{value_json.state}}”,“payload_on”:“1”,“payload_off”:“0”,“state_on”:“1”,“state_off”:“0”,“unique_id”:“1808170418687129083134298f1617d5_1”,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]},“retain”:true}. Device 1808170418687129083134298f1617d5 configured {“name”:“Albero2”,“command_topic”:“homeassistant/switch/1808170418687129083134298f1617d5_2/command”,“state_topic”:“homeassistant/switch/1808170418687129083134298f1617d5_2/state”,“value_template”:“{{value_json.state}}”,“payload_on”:“1”,“payload_off”:“0”,“state_on”:“1”,“state_off”:“0”,“unique_id”:“1808170418687129083134298f1617d5_2”,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]},“retain”:true}. Device 1808170418687129083134298f1617d5 configured {“name”:“Switch 3”,“command_topic”:“homeassistant/switch/1808170418687129083134298f1617d5_3/command”,“state_topic”:“homeassistant/switch/1808170418687129083134298f1617d5_3/state”,“value_template”:“{{value_json.state}}”,“payload_on”:“1”,“payload_off”:“0”,“state_on”:“1”,“state_off”:“0”,“unique_id”:“1808170418687129083134298f1617d5_3”,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]},“retain”:true}. Device 1808170418687129083134298f1617d5 configured {“name”:“USB”,“command_topic”:“homeassistant/switch/1808170418687129083134298f1617d5_4/command”,“state_topic”:“homeassistant/switch/1808170418687129083134298f1617d5_4/state”,“value_template”:“{{value_json.state}}”,“payload_on”:“1”,“payload_off”:“0”,“state_on”:“1”,“state_off”:“0”,“unique_id”:“1808170418687129083134298f1617d5_4”,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]},“retain”:true}. Device 1806293719705429081434298f15a34c configured {“name”:“Ciabatta salotto”,“command_topic”:“homeassistant/switch/1806293719705429081434298f15a34c_0/command”,“state_topic”:“homeassistant/switch/1806293719705429081434298f15a34c_0/state”,“value_template”:“{{value_json.state}}”,“payload_on”:“1”,“payload_off”:“0”,“state_on”:“1”,“state_off”:“0”,“unique_id”:“1806293719705429081434298f15a34c_0”,“device”:{“name”:“Ciabatta salotto”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1806293719705429081434298f15a34c”]},“retain”:true}. Device 1806293719705429081434298f15a34c configured {“name”:“WII”,“command_topic”:“homeassistant/switch/1806293719705429081434298f15a34c_1/command”,“state_topic”:“homeassistant/switch/1806293719705429081434298f15a34c_1/state”,“value_template”:“{{value_json.state}}”,“payload_on”:“1”,“payload_off”:“0”,“state_on”:“1”,“state_off”:“0”,“unique_id”:“1806293719705429081434298f15a34c_1”,“device”:{“name”:“Ciabatta salotto”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1806293719705429081434298f15a34c”]},“retain”:true}. Device 1806293719705429081434298f15a34c configured {“name”:“TV”,“command_topic”:“homeassistant/switch/1806293719705429081434298f15a34c_2/command”,“state_topic”:“homeassistant/switch/1806293719705429081434298f15a34c_2/state”,“value_template”:“{{value_json.state}}”,“payload_on”:“1”,“payload_off”:“0”,“state_on”:“1”,“state_off”:“0”,“unique_id”:“1806293719705429081434298f15a34c_2”,“device”:{“name”:“Ciabatta salotto”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1806293719705429081434298f15a34c”]},“retain”:true}. Device 1806293719705429081434298f15a34c configured {“name”:“Ampli”,“command_topic”:“homeassistant/switch/1806293719705429081434298f15a34c_3/command”,“state_topic”:“homeassistant/switch/1806293719705429081434298f15a34c_3/state”,“value_template”:“{{value_json.state}}”,“payload_on”:“1”,“payload_off”:“0”,“state_on”:“1”,“state_off”:“0”,“unique_id”:“1806293719705429081434298f15a34c_3”,“device”:{“name”:“Ciabatta salotto”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1806293719705429081434298f15a34c”]},“retain”:true}. Device 1806293719705429081434298f15a34c configured {“name”:“USB”,“command_topic”:“homeassistant/switch/1806293719705429081434298f15a34c_4/command”,“state_topic”:“homeassistant/switch/1806293719705429081434298f15a34c_4/state”,“value_template”:“{{value_json.state}}”,“payload_on”:“1”,“payload_off”:“0”,“state_on”:“1”,“state_off”:“0”,“unique_id”:“1806293719705429081434298f15a34c_4”,“device”:{“name”:“Ciabatta salotto”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1806293719705429081434298f15a34c”]},“retain”:true}. Device 18050387424708251a0234298f117d1e configured {“name”:“Octave”,“command_topic”:“homeassistant/switch/18050387424708251a0234298f117d1e_0/command”,“state_topic”:“homeassistant/switch/18050387424708251a0234298f117d1e_0/state”,“value_template”:“{{value_json.state}}”,“payload_on”:“1”,“payload_off”:“0”,“state_on”:“1”,“state_off”:“0”,“unique_id”:“18050387424708251a0234298f117d1e_0”,“device”:{“name”:“Octave”,“model”:“mss310”,“sw_version”:“1.1.18”,“identifiers”:[“18050387424708251a0234298f117d1e”]},“retain”:true}. Device 1808170418687129083134298f1617d5 configured {“name”:“Ciabatta 2”,“command_topic”:“homeassistant/switch/1808170418687129083134298f1617d5_0/command”,“state_topic”:“homeassistant/switch/1808170418687129083134298f1617d5_0/state”,“value_template”:“{{value_json.state}}”,“payload_on”:“1”,“payload_off”:“0”,“state_on”:“1”,“state_off”:“0”,“unique_id”:“1808170418687129083134298f1617d5_0”,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]},“retain”:true}. Device 18050341434354251a0234298f1176ea configured {“name”:“Filtro piscina”,“command_topic”:“homeassistant/switch/18050341434354251a0234298f1176ea_0/command”,“state_topic”:“homeassistant/switch/18050341434354251a0234298f1176ea_0/state”,“value_template”:“{{value_json.state}}”,“payload_on”:“1”,“payload_off”:“0”,“state_on”:“1”,“state_off”:“0”,“unique_id”:“18050341434354251a0234298f1176ea_0”,“device”:{“name”:“Filtro piscina”,“model”:“mss310”,“sw_version”:“1.1.18”,“identifiers”:[“18050341434354251a0234298f1176ea”]},“retain”:true}. Device 1808170418687129083134298f1617d5 configured {“name”:“Albero1”,“command_topic”:“homeassistant/switch/1808170418687129083134298f1617d5_1/command”,“state_topic”:“homeassistant/switch/1808170418687129083134298f1617d5_1/state”,“value_template”:“{{value_json.state}}”,“payload_on”:“1”,“payload_off”:“0”,“state_on”:“1”,“state_off”:“0”,“unique_id”:“1808170418687129083134298f1617d5_1”,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]},“retain”:true}. Device 1808170418687129083134298f1617d5 configured {“name”:“Albero2”,“command_topic”:“homeassistant/switch/1808170418687129083134298f1617d5_2/command”,“state_topic”:“homeassistant/switch/1808170418687129083134298f1617d5_2/state”,“value_template”:“{{value_json.state}}”,“payload_on”:“1”,“payload_off”:“0”,“state_on”:“1”,“state_off”:“0”,“unique_id”:“1808170418687129083134298f1617d5_2”,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]},“retain”:true}. Device 1808170418687129083134298f1617d5 configured {“name”:“Switch 3”,“command_topic”:“homeassistant/switch/1808170418687129083134298f1617d5_3/command”,“state_topic”:“homeassistant/switch/1808170418687129083134298f1617d5_3/state”,“value_template”:“{{value_json.state}}”,“payload_on”:“1”,“payload_off”:“0”,“state_on”:“1”,“state_off”:“0”,“unique_id”:“1808170418687129083134298f1617d5_3”,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]},“retain”:true}. Device 1808170418687129083134298f1617d5 configured {“name”:“USB”,“command_topic”:“homeassistant/switch/1808170418687129083134298f1617d5_4/command”,“state_topic”:“homeassistant/switch/1808170418687129083134298f1617d5_4/state”,“value_template”:“{{value_json.state}}”,“payload_on”:“1”,“payload_off”:“0”,“state_on”:“1”,“state_off”:“0”,“unique_id”:“1808170418687129083134298f1617d5_4”,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]},“retain”:true}. Device 1806293719705429081434298f15a34c configured {“name”:“Ciabatta salotto”,“command_topic”:“homeassistant/switch/1806293719705429081434298f15a34c_0/command”,“state_topic”:“homeassistant/switch/1806293719705429081434298f15a34c_0/state”,“value_template”:“{{value_json.state}}”,“payload_on”:“1”,“payload_off”:“0”,“state_on”:“1”,“state_off”:“0”,“unique_id”:“1806293719705429081434298f15a34c_0”,“device”:{“name”:“Ciabatta salotto”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1806293719705429081434298f15a34c”]},“retain”:true}. Device 1806293719705429081434298f15a34c configured {“name”:“WII”,“command_topic”:“homeassistant/switch/1806293719705429081434298f15a34c_1/command”,“state_topic”:“homeassistant/switch/1806293719705429081434298f15a34c_1/state”,“value_template”:“{{value_json.state}}”,“payload_on”:“1”,“payload_off”:“0”,“state_on”:“1”,“state_off”:“0”,“unique_id”:“1806293719705429081434298f15a34c_1”,“device”:{“name”:“Ciabatta salotto”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1806293719705429081434298f15a34c”]},“retain”:true}. Device 1806293719705429081434298f15a34c configured {“name”:“TV”,“command_topic”:“homeassistant/switch/1806293719705429081434298f15a34c_2/command”,“state_topic”:“homeassistant/switch/1806293719705429081434298f15a34c_2/state”,“value_template”:“{{value_json.state}}”,“payload_on”:“1”,“payload_off”:“0”,“state_on”:“1”,“state_off”:“0”,“unique_id”:“1806293719705429081434298f15a34c_2”,“device”:{“name”:“Ciabatta salotto”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1806293719705429081434298f15a34c”]},“retain”:true}. Device 1806293719705429081434298f15a34c configured {“name”:“Ampli”,“command_topic”:“homeassistant/switch/1806293719705429081434298f15a34c_3/command”,“state_topic”:“homeassistant/switch/1806293719705429081434298f15a34c_3/state”,“value_template”:“{{value_json.state}}”,“payload_on”:“1”,“payload_off”:“0”,“state_on”:“1”,“state_off”:“0”,“unique_id”:“1806293719705429081434298f15a34c_3”,“device”:{“name”:“Ciabatta salotto”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1806293719705429081434298f15a34c”]},“retain”:true}. Device 1806293719705429081434298f15a34c configured {“name”:“USB”,“command_topic”:“homeassistant/switch/1806293719705429081434298f15a34c_4/command”,“state_topic”:“homeassistant/switch/1806293719705429081434298f15a34c_4/state”,“value_template”:“{{value_json.state}}”,“payload_on”:“1”,“payload_off”:“0”,“state_on”:“1”,“state_off”:“0”,“unique_id”:“1806293719705429081434298f15a34c_4”,“device”:{“name”:“Ciabatta salotto”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1806293719705429081434298f15a34c”]},“retain”:true}. Device 18050387424708251a0234298f117d1e configured {“name”:“Octave”,“command_topic”:“homeassistant/switch/18050387424708251a0234298f117d1e_0/command”,“state_topic”:“homeassistant/switch/18050387424708251a0234298f117d1e_0/state”,“value_template”:“{{value_json.state}}”,“payload_on”:“1”,“payload_off”:“0”,“state_on”:“1”,“state_off”:“0”,“unique_id”:“18050387424708251a0234298f117d1e_0”,“device”:{“name”:“Octave”,“model”:“mss310”,“sw_version”:“1.1.18”,“identifiers”:[“18050387424708251a0234298f117d1e”]},“retain”:true}. Device 18050341434354251a0234298f1176ea configured {“name”:“Filtro piscina”,“command_topic”:“homeassistant/switch/18050341434354251a0234298f1176ea_0/command”,“state_topic”:“homeassistant/switch/18050341434354251a0234298f1176ea_0/state”,“value_template”:“{{value_json.state}}”,“payload_on”:“1”,“payload_off”:“0”,“state_on”:“1”,“state_off”:“0”,“unique_id”:“18050341434354251a0234298f1176ea_0”,“device”:{“name”:“Filtro piscina”,“model”:“mss310”,“sw_version”:“1.1.18”,“identifiers”:[“18050341434354251a0234298f1176ea”]},“retain”:true}. Device 1808170418687129083134298f1617d5 change status {“state”:1,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]}}. Device 1808170418687129083134298f1617d5 change status {“state”:1,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]}}. Device 1808170418687129083134298f1617d5 change status {“state”:1,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]}}. Device 1808170418687129083134298f1617d5 change status {“state”:0,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]}}. Device 1808170418687129083134298f1617d5 change status {“state”:1,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]}}. Device 1806293719705429081434298f15a34c change status {“state”:1,“device”:{“name”:“Ciabatta salotto”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1806293719705429081434298f15a34c”]}}. Device 1806293719705429081434298f15a34c change status {“state”:0,“device”:{“name”:“Ciabatta salotto”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1806293719705429081434298f15a34c”]}}. Device 1806293719705429081434298f15a34c change status {“state”:1,“device”:{“name”:“Ciabatta salotto”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1806293719705429081434298f15a34c”]}}. Device 1806293719705429081434298f15a34c change status {“state”:1,“device”:{“name”:“Ciabatta salotto”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1806293719705429081434298f15a34c”]}}. Device 1806293719705429081434298f15a34c change status {“state”:1,“device”:{“name”:“Ciabatta salotto”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1806293719705429081434298f15a34c”]}}. Device 1808170418687129083134298f1617d5 change status {“state”:1,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]}}. Device 1808170418687129083134298f1617d5 change status {“state”:1,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]}}. Device 1808170418687129083134298f1617d5 change status {“state”:1,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]}}. Device 1808170418687129083134298f1617d5 change status {“state”:0,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]}}. Device 1808170418687129083134298f1617d5 change status {“state”:1,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]}}. Device 1806293719705429081434298f15a34c change status {“state”:1,“device”:{“name”:“Ciabatta salotto”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1806293719705429081434298f15a34c”]}}. Device 1806293719705429081434298f15a34c change status {“state”:0,“device”:{“name”:“Ciabatta salotto”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1806293719705429081434298f15a34c”]}}. Device 1806293719705429081434298f15a34c change status {“state”:1,“device”:{“name”:“Ciabatta salotto”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1806293719705429081434298f15a34c”]}}. Device 1806293719705429081434298f15a34c change status {“state”:1,“device”:{“name”:“Ciabatta salotto”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1806293719705429081434298f15a34c”]}}. Device 1806293719705429081434298f15a34c change status {“state”:1,“device”:{“name”:“Ciabatta salotto”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1806293719705429081434298f15a34c”]}}. Device 1808170418687129083134298f1617d5 change status {“state”:1,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]}}. Device 1808170418687129083134298f1617d5 change status {“state”:1,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]}}. Device 1808170418687129083134298f1617d5 change status {“state”:1,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]}}. Device 1808170418687129083134298f1617d5 change status {“state”:0,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]}}. Device 1808170418687129083134298f1617d5 change status {“state”:1,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]}}. Unsupported ability Appliance.System.Online for the divice 1808170418687129083134298f1617d5. { online: { status: 2 } } Unsupported ability Appliance.System.Online for the divice 1808170418687129083134298f1617d5. { online: { status: 1 } } Unsupported ability Appliance.System.Report for the divice 1808170418687129083134298f1617d5. { report: [ { type: ‘1’, value: ‘0’, timestamp: 1546800899 } ] } Device 1808170418687129083134298f1617d5 change status {“state”:1,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]}}. Device 1808170418687129083134298f1617d5 change status {“state”:1,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]}}. Device 1808170418687129083134298f1617d5 change status {“state”:1,“device”:{“name”:“Ciabatta 2”,“model”:“mss425e”,“sw_version”:“2.1.3”,“identifiers”:[“1808170418687129083134298f1617d5”]}}.

Hi,

The mqtt discovery Is useful to automatically add sensors and switch in the UI. I found it very easy.

Otherwise you have to map manually every single sensors and switch in your config file. Remember, every single plug is at least a plug and maybe a sensor.


1 Like

I have this problem

[email protected] start /usr/src/hassio_meross
node app.js
Error: 1004: A
at Request.request [as _callback] (/usr/src/hassio_meross/node_modules/meross-cloud/index.js:92:45)
at Request.self.callback (/usr/src/hassio_meross/node_modules/request/request.js:185:22)
at emitTwo (events.js:126:13)
at Request.emit (events.js:214:7)
at Request. (/usr/src/hassio_meross/node_modules/request/request.js:1161:10)
at emitOne (events.js:116:13)
at Request.emit (events.js:211:7)
at IncomingMessage. (/usr/src/hassio_meross/node_modules/request/request.js:1083:12)
at Object.onceWrapper (events.js:313:30)
at emitNone (events.js:111:20)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node app.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-01-07T12_05_05_890Z-debug.log

I’ve tried to map one switch this way:

  - platform: mqtt
    name: "Merossfiltro"
    state_topic: "homeassistant/switch/18050341434354251a0234298f1176ea_0/state"
    command_topic: "homeassistant/switch/18050341434354251a0234298f1176ea_0/command"
    value_template: "{{value_json.state}}"
    payload_on: "1"
    payload_off: "0"
    state_on: "1"
    state_off: "0"
    optimistic: false
    qos: 0
    retain: true

And added switch.Merossfiltro to my group. I see it in the UI, but when I use it i get this (in addon log) and nothing happens::

Device 18050341434354251a0234298f1176ea recive a command 1

Also if I try to change the state via Meross app on my phone, log is:

Unsupported ability Appliance.Control.Toggle for the divice 18050341434354251a0234298f1176ea.
{ toggle: { onoff: 1, lmTime: 1546862697 } }

Help please! :sweat_smile:

Hi,

are you use the addons, a custom docker or directly from node?
Wich version of node/npm are u using? have u lunch npm befor?

hi,

so u choise to use the addons, but to manually add the sensor/switch, right?

Wich meross device are u using?

I ask you to do a little test:

  • Disable mqtt (and if you have persistence, remove al retained message)
  • Disable addons
  • Restart mqtt
  • Enable addons

I have’t test the script without the autodiscovery, so for me is an undocumentated procedure.

Also, I don’t have implemented all meross ability, but ToogleX are implemented. I need the device name for this reason. In my test, with the devices I have, the ability Toggle was not used and don’t work. Some times arrive from meross api some ability who I think is not necessary for now… but…you know…maybe i miss something.

let me know