Replies: 15 comments 15 replies
-
Hello @Taglar, |
Beta Was this translation helpful? Give feedback.
-
Re, sure, here it is: config_entry-meross_lan-01J74AB4XRBMDR99TZHZY39PB7.json Thx. |
Beta Was this translation helpful? Give feedback.
-
Re, here some Screenshots. If you need more, let me know. Greets, Jürgen |
Beta Was this translation helpful? Give feedback.
-
The trace you've posted is really a good start. The device exposes some interesting data but I don't have a clue about their meanings. There's one structure describing what should be the configuration of the device: {
"config": [
{
"channel": 0,
"mode": {
"workMode": 2,
"testMode": 2
},
"noBodyTime": {
"time": 30
},
"distance": {
"value": 12000
},
"sensitivity": {
"level": 2
},
"mthx": {
"mth1": 120,
"mth2": 288,
"mth3": 72
}
}
]
} and then another message carrying the actual state: {
"study": [
{
"channel": 0,
"value": 2,
"status": 1
}
]
} meross_lan, among its diagnostics features allows you to enable (and track) the so called 'diagnostic entities' i.e. whatever meross_lan doesn't understand gets reported as a sensor and updated from time to time. This feature can be enabled in the configuration of the device entry under the menu 'Diagnostics' -> 'Create diagnostic entities' This way you can easily track in the device dashboard how the device state gets represented by the values in those 'config' and 'study' json payloads. I'm only not totally sure these payloads can be parsed correctly since they're not plain dictionaries and the 'diagnostic code' in meross_lan might be set to discard lists/arrays since they usually carry huge amounts of data. I'll check this and follow-up. |
Beta Was this translation helpful? Give feedback.
-
Re, I don't know if I did it right. I activated debugging under Configuration, but apart from 2 restarts of the sensor, nothing happened. I then started debugging manually on the left. The file is attached. If you want to access the system yourself, please let me know. home-assistant_meross_lan_2024-09-09T19-21-05.776Z.log Thx, Jürgen |
Beta Was this translation helpful? Give feedback.
-
Re, sorry my english is awful :) "carrying more useful infos are not correctly parsed since there's a conflict with the syntax for the namespace which is expected to have a different layout (this comes from the implementation of another device using the same namespace ...)" Does ist mean i should rename something - would not be a Problem. Greets, Jürgen |
Beta Was this translation helpful? Give feedback.
-
I got 2 of these not realizing they weren't yet compatible with home assistant. I've setup automations in Google Home, but they are way too slow. Walk in a room, wait a few seconds, and the light turns on. Would be much faster doing it all locally in HA. I will keep up to date on this project and hopefully the device will be supported soon. |
Beta Was this translation helpful? Give feedback.
-
An initial implementation is under way but I'm very busy atm so expect some days ..maybe a week |
Beta Was this translation helpful? Give feedback.
-
Hi, take your time - I'm happy that you implement meross what I can't do. Thanks, Jürgen |
Beta Was this translation helpful? Give feedback.
-
Agreed - take your time. I have it working now, outside of HA, through Google Home, so it's still usable. It's just slow because of the need for cloud communication. Also, Google Home doesn't allow me to set active times for the automation to be running (I only want to run in at night when it's dark outside. I can do that in HA, but not Google. Nonetheless, it's mostly working how I want (just a bit slowly). We appreciate your efforts for doing what most of us aren't capable of doing. We can wait a bit longer. 😁 Thank you! |
Beta Was this translation helpful? Give feedback.
-
The new (preview/beta) release 5.4.0 has some support now. It should expose the configuration and the 'presence' data. Also, the 'select' entities are now prepopulated with basic values and meross_lan should automatically add any other raw value it sees from the device for the same entity but again, the meaning of these 0 - 1 - 2 - etc are not known and need to be mapped to actual meaningful labels (for example the 'workMode' select entity should map those numbers to the standard nomenclature used in app - same for every other) The configuration entities are now either As for the real 'presence' detection, the protocol carries 3 values in the related message and I've mapped each of these to its own (sensor) entity.
There's also the I'll wait for your feedbacks, both comments and some diagnostic to refine the job...no rush anyway |
Beta Was this translation helpful? Give feedback.
-
Perhaps this is outside of this discussion, but I just installed the alpha today and I can now see my Meross MS600 presence sensor send a value of "1" when the room is empty and "2" when someone is present (and sometimes it changes to 6 just for a second before changing back to 2). Once you exit the room, the state goes back to "1" after 15 seconds (how I have it configured in the Meross app. This seems like a great initial attempt at this integration! Thank you, community!!! The one thing I'm having a problem with is configuring triggers for automations. Do I choose the device state (the presence sensor device) to detect the state "present" (didn't work for me). I also tried seeing if the entity of the presence sensor changing values from 1 to 2 would work, but that didn't trigger the automation either. I know this is still in its early stages, but what should be used to trigger an automation upon present/not present state? Thanks a bunch! |
Beta Was this translation helpful? Give feedback.
-
I'm back. What should i test and what information do you need? I noticed that I cannot select the presence sensor as a motion detector via Blueprint. |
Beta Was this translation helpful? Give feedback.
-
Hi @krahabb, Thanks :) |
Beta Was this translation helpful? Give feedback.
-
Hello @Lestat78, Nevertheless, actual support/implementation for MS600, even though still very basic, should be enough to succesfully integrate it into HA. |
Beta Was this translation helpful? Give feedback.
-
Hi,
Meross has launched the MS600 motion sensor or presence sensor. It would be great if you could implement it.
It works great in the Meross app, but the possibilities are too limited.
Greetings,
Jürgen
Beta Was this translation helpful? Give feedback.
All reactions