Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart Presence Sensor MEROSS MS600 is not supported device #582

Open
michal40 opened this issue Jul 20, 2024 · 24 comments
Open

Smart Presence Sensor MEROSS MS600 is not supported device #582

michal40 opened this issue Jul 20, 2024 · 24 comments

Comments

@michal40
Copy link

michal40 commented Jul 20, 2024

They are currently testing a new matter presence sensor for Meross.
This device is not yet available for sale. The device is not recognized by your plugin.
I hope you manage to solve this problem.

[Smart Presence Sensor] is not supported, do create a github issue https://bit.ly/hb-meross-issues with info:
{"uuid":"12345678901234566xxxxxxxxxxxxxxxx","onlineStatus":1,"devName":"Smart Presence Sensor","devIconId":"device_ms600_un","bindTime":1721292628,"deviceType":"ms600","subType":"un","channels":[{}],"region":"eu","fmwareVersion":"9.3.12","hdwareVersion":"9.0.0","userDevIcon":"","iconType":1,"domain":"mqtt-eu-5.meross.com","reservedDomain":"mqtt-eu-5.meross.com","hardwareCapabilities":[],"firmware":"9.3.12","hbDeviceId":"12345678901234566xxxxxxxxxxxxxxxx","model":"MS600"}

@michal40 michal40 changed the title Smart Presence Sensor MEROSS MS600 Smart Presence Sensor MEROSS MS600 is not supported device Jul 20, 2024
@bwp91
Copy link
Collaborator

bwp91 commented Jul 20, 2024

Hi @michal40

I assume this device connects to a meross hub like the MSH300HK?

is it just a presence sensor or does it have any other sensors?

@michal40
Copy link
Author

michal40 commented Jul 20, 2024

connects directly to wifi via matter. I have added sensor a matter to my hub ( Samsung Smarthings station).
The device has a microwave sensor for detecting presence and a light intensity sensor.

https://csa-iot.org/csa_product/smart-presence-sensor/

@bwp91
Copy link
Collaborator

bwp91 commented Jul 20, 2024

are you able to update to the beta version of the plugin?

https://github.com/homebridge/homebridge/wiki/How-to-Install-Alternate-Plugin-Versions

You should then see some logging for this device. It would be useful to see what data it shows plus any logs that appear in the homebridge log when the presence sensor is activated and then when it considers itself deactivated too.

@michal40
Copy link
Author

michal40 commented Jul 20, 2024

[7/20/2024, 4:59:14 PM] [Meross] [Smart Presence Sensor] incoming mqtt: {"header":{"messageId":"123456789123365xxxxxxxxxxxxxxxxxxxx","namespace":"Appliance.Control.Sensor.LatestX","timestamp":1721487553,"timestampMs":20,"triggerSrc":"lux","payloadVersion":1,"method":"PUSH","sign":"123456789123365xxxxxxxxxxxxxxxxxxxx","from":"/appliance/123456789123365xxxxxxxxxxxxxxxxxxxx/publish"},"payload":{"latest":[{"channel":0,"data":{"light":[{"value":181,"timestamp":1721487553}]}}]}}.
[7/20/2024, 4:59:24 PM] [Meross] [Smart Presence Sensor] incoming mqtt: {"header":{"messageId":"123456789123365xxxxxxxxxxxxxxxxxxxx","namespace":"Appliance.Control.Sensor.LatestX","timestamp":1721487563,"timestampMs":20,"triggerSrc":"lux","payloadVersion":1,"method":"PUSH","sign":"123456789123365xxxxxxxxxxxxxxxxxxxx","from":"/appliance123456789123365xxxxxxxxxxxxxxxxxxxx/publish"},"payload":{"latest":[{"channel":0,"data":{"light":[{"timestamp":1721487563,"value":185}]}}]}}.
[7/20/2024, 4:59:34 PM] [Meross] [Smart Presence Sensor] incoming mqtt: {"header":{"messageId":"123456789123365xxxxxxxxxxxxxxxxxxxx","namespace":"Appliance.Control.Sensor.LatestX","timestamp":1721487573,"timestampMs":20,"triggerSrc":"lux","payloadVersion":1,"method":"PUSH","sign":"123456789123365xxxxxxxxxxxxxxxxxxxx","from":"/appliance/123456789123365xxxxxxxxxxxxxxxxxxxx/publish"},"payload":{"latest":[{"channel":0,"data":{"light":[{"value":181,"timestamp":1721487573}]}}]}}.

@michal40
Copy link
Author

michal40 commented Jul 20, 2024

[7/20/2024, 5:01:00 PM] [Meross] [Smart Presence Sensor] incoming mqtt: {"header":{"messageId":"123456789123365xxxxxxxxxxxxxxxxxxxx","namespace":"Appliance.Control.Sensor.LatestX","timestamp":1721487659,"timestampMs":296,"triggerSrc":"p_have","payloadVersion":1,"method":"PUSH","sign":"123456789123365xxxxxxxxxxxxxxxxxxxx","from":"/appliance/123456789123365xxxxxxxxxxxxxxxxxxxx/publish"},"payload":{"latest":[{"data":{"presence":[{"distance":2880,"value":3,"timestamp":1721487659,"times":950}]},"channel":0}]}}.
[7/20/2024, 5:01:01 PM] [Meross] [Smart Presence Sensor] incoming mqtt: {"header":{"messageId":"123456789123365xxxxxxxxxxxxxxxxxxxx","namespace":"Appliance.Control.Sensor.LatestX","timestamp":1721487660,"timestampMs":348,"triggerSrc":"p_have","payloadVersion":1,"method":"PUSH","sign":"123456789123365xxxxxxxxxxxxxxxxxxxx","from":"/appliance/123456789123365xxxxxxxxxxxxxxxxxxxx/publish"},"payload":{"latest":[{"channel":0,"data":{"presence":[{"distance":3060,"value":2,"timestamp":1721487660,"times":951}]}}]}}.

@bwp91
Copy link
Collaborator

bwp91 commented Jul 20, 2024

I can see a value for light - do you know what unit this is?

I can also see multiple different values for the presence sensor, in the meross app are there different statuses it shows for this? Can you grab some screenshots? be interesting to see the different options that the meross app can show

@michal40
Copy link
Author

michal40 commented Jul 20, 2024

Ok, I'll do the screenshots. is the LUX value.

@michal40
Copy link
Author

michal40 commented Jul 20, 2024 via email

@michal40
Copy link
Author

Have the screenshots arrived?

@michal40
Copy link
Author

michal40 commented Jul 20, 2024 via email

@michal40
Copy link
Author

Screenshot_20240720_171448_com meross meross
Screenshot_20240720_171524_com meross meross
Screenshot_20240720_171527_com meross meross
Screenshot_20240720_171547_com meross meross
Screenshot_20240720_171554_com meross meross
Screenshot_20240720_171601_com meross meross
Screenshot_20240720_171737_com meross meross
Screenshot_20240720_172018_com meross meross

@bwp91
Copy link
Collaborator

bwp91 commented Jul 20, 2024

@michal40 can you update the plugin to the newer beta version and see if the accessory appears in homebridge / homekit as a light sensor? i haven't worked on the presence sensor part yet.

the light sensor should update in pretty much real time

@michal40
Copy link
Author

seen as a light sensor

@bwp91
Copy link
Collaborator

bwp91 commented Jul 20, 2024

electricity values are available in homekit but only in the Eve HomeKit app. not in homebridge or the native home app.

@michal40
Copy link
Author

sensor

@bwp91
Copy link
Collaborator

bwp91 commented Jul 20, 2024

i have just published a new beta which should show the occupancy sensor now.

Note that it should show as OCCUPANCY DETECTED in homebridge/homekit when the meross app labels as Presence.
The other meross labels like Minor Motion Motion Moving Away Absence will show as OCCUPANCY NOT DETECTED in homekit.

@bwp91
Copy link
Collaborator

bwp91 commented Jul 20, 2024

if it doesn't work, i may have gotten the value wrong. I assumed that Presence correlates to this log you received

[7/20/2024, 5:01:01 PM] [Meross] [Smart Presence Sensor] incoming mqtt: {"header":{"messageId":"2c10d3e54568616c0fe7fa9343cf57da","namespace":"Appliance.Control.Sensor.LatestX","timestamp":1721487660,"timestampMs":348,"triggerSrc":"p_have","payloadVersion":1,"method":"PUSH","sign":"7f7265bf1e9d8d56f986d46a3027b48e","from":"/appliance/24050754349263662001c4e7ae03f636/publish"},"payload":{"latest":[{"channel":0,"data":{"presence":[{"distance":3060,"value":2,"timestamp":1721487660,"times":951}]}}]}}.

where you can see at the very end a value":2. It may be that Presence correlates to a different number.

@michal40
Copy link
Author

sensor_2

@michal40
Copy link
Author

displays to triggered and none. But when I walk, I keep changing between liberated and deprived.

@bwp91
Copy link
Collaborator

bwp91 commented Jul 20, 2024

can you compare the homebridge triggered/not triggered times with the meross app history log to see if it matches up with another status that isn’t “Presence” ?

@michal40
Copy link
Author

michal40 commented Jul 20, 2024

payload":{"latest":[{"channel":0,"data":{"presence":[{"value":1,"timestamp":1721505618,"times":0,"distance":3060}]}}]}}.

OCCUPANCY NOT DETECTED
"value":1," = ABSENCE;

OCCUPANCY DETECTED
"value":2," = PRESENCE;
"value":3," = MINOR MOTION;
"value":4," = MOTION;
"value":5," = APPROACH;
"value":6," = MOVING AWAY;

@bwp91
Copy link
Collaborator

bwp91 commented Jul 21, 2024

@michal40 i have just released another beta which should adhere to this values

@michal40
Copy link
Author

It seems to be working fine now. good job.

@michal40
Copy link
Author

michal40 commented Nov 29, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants