bwp91 / homebridge-meross

Homebridge plugin to integrate Meross devices into HomeKit.
MIT License
196 stars 32 forks source link

MSL210 Night Light Mode #379

Closed grandevice closed 2 years ago

grandevice commented 2 years ago

please support night light mode.

bwp91 commented 2 years ago

what is night light mode?

bwp91 commented 2 years ago

Can you use the plugin settings to turn on plugin debug logging, restart and wait for the plugin to load. Then use the meross app to turn on the night light mode on the device, and paste here everything that appears in the homebridge log?

grandevice commented 2 years ago

NightLight color warm [2021/12/12 13:50:06] [Meross] [MSL210] incoming mqtt: {"header":{"timestampMs":195,"timestamp":1639284606,"sign":"54d133b6185d5fe06172d19144340974","payloadVersion":1,"namespace":"Appliance.Control.Light","method":"PUSH","messageId":"85c1b2bdb18c2dd49c4f1ded7764e368","from":"/appliance/210/publish"},"payload":{"light":{"transform":-1,"temperature":1,"luminance":1,"effect":6,"channel":0,"capacity":8}}}. [2021/12/12 13:50:06] [Meross] [MSL210] current mired/kelvin [496/2016].

NightLight color:white [2021/12/12 13:50:16] [Meross] [MSL210] incoming mqtt: {"header":{"timestampMs":222,"timestamp":1639284616,"sign":"84bd2557ab926b7f6139b62b95d9a35a","payloadVersion":1,"namespace":"Appliance.Control.Light","method":"PUSH","messageId":"e4ae80e02fa0b3fcdcfb7c275348bba5","from":"/appliance/210/publish"},"payload":{"light":{"transform":-1,"temperature":100,"luminance":1,"effect":5,"channel":0,"capacity":8}}}. [2021/12/12 13:50:16] [Meross] [MSL] current mired/kelvin [140/7143].

NightLite mode off [2021/12/12 13:49:57] [Meross] [MSL210] incoming mqtt: {"header":{"timestampMs":106,"timestamp":1639284597,"sign":"bdd6abea76a7845d1ebe6bf0ed806a02","payloadVersion":1,"namespace":"Appliance.Control.Light","method":"PUSH","messageId":"8286dd3951f62d211cc8e3a7257852ca","from":"/appliance/210/publish"},"payload":{"light":{"transform":-1,"temperature":100,"luminance":50,"effect":5,"channel":0,"capacity":6}}}. [2021/12/12 13:49:57] [Meross] [MSL210] current brightness [50%].

bwp91 commented 2 years ago

thanks for doing this. i didn't realise you have the light in local mode, this data helps, but doesn't show me exactly the payload needed to turn the night modes on.

I will need you to use an app on your phone like http catcher to obtain the exact data that the meross app sends to the lights when turning both night light modes on.

There's a video at the bottom of this wiki page showing the steps: https://github.com/bwp91/homebridge-meross/wiki/Local-Control#http-catcher

I'm also happy to message you directly on discord if you need assistance with this. https://discord.gg/cMGhNtZ3tW

Will need what the data that the http catcher app shows for turning both the warm and white night light modes.

Thanks

stale[bot] commented 2 years ago

This issue has been automatically marked as inactive because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 2 years ago

This issue has been automatically closed.