bwp91 / homebridge-meross

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

Adaptive lighting value appears overwritten #446

Closed nashw83 closed 1 year ago

nashw83 commented 1 year ago

What issue do you have? Please be as thorough and explicit as possible.

When selecting adaptive lighting or changing brightness on selective lighting in Home app bulb changes to warm then back to cool white. Sometimes does not dim at all and stays bright.

Details of your setup.

Please paste any relevant logs below.

Hallway Ceiling with debug logging enabled. Changed brightness from 100% to 38%.

[11/09/2022, 18:47:12] [Meross] [Hallway ceiling] sending update: {"header":{"from":"http://192.168.68.128/config","messageId":"8p50banog0eevrdet358r29237cqml13","method":"SET","namespace":"Appliance.Control.Light","payloadVersion":1,"sign":"b63078b0932691d3c78893e3bd0c9d91","timestamp":1662886032,"triggerSrc":"iOSLocal","uuid":"21020510258695290d4248e1e94af5d3"},"payload":{"light":{"luminance":100,"capacity":4,"channel":0}}}.
[11/09/2022, 18:47:12] [Meross] [Hallway ceiling] current brightness [100%].
[11/09/2022, 18:47:12] [Meross] [Hallway ceiling] sending update: {"header":{"from":"http://192.168.68.128/config","messageId":"xhaffk5l8tpisksrjwlznbpd6bv7ha54","method":"SET","namespace":"Appliance.Control.Light","payloadVersion":1,"sign":"5ce4655e11fbf04b24cc72c14f1ae194","timestamp":1662886032,"triggerSrc":"iOSLocal","uuid":"21020510258695290d4248e1e94af5d3"},"payload":{"light":{"temperature":60,"capacity":2,"luminance":100,"channel":0}}}.
[11/09/2022, 18:47:12] [Meross] [Hallway ceiling] current mired/kelvin [285/3509] via adaptive lighting.
[11/09/2022, 18:47:14] [Meross] [Hallway ceiling] incoming mqtt: {"header":{"timestampMs":914,"timestamp":1662886035,"sign":"575b5d4e761747f743eb7c7a6f146d5d","payloadVersion":1,"namespace":"Appliance.Control.Light","method":"PUSH","messageId":"4f706e350e3cd74e70e14e19ab48d1d6","from":"/appliance/21020510258695290d4248e1e94af5d3/publish"},"payload":{"light":{"transform":-1,"temperature":60,"rgb":16711680,"luminance":100,"channel":0,"capacity":2}}}.
[11/09/2022, 18:47:14] [Meross] [Hallway ceiling] current mired/kelvin [284/3521].
[11/09/2022, 18:47:59] [Meross] [Hallway ceiling] sending update: {"header":{"from":"http://192.168.68.128/config","messageId":"kq10ku1s0p45jcexr0mpjziaugyjcc8p","method":"SET","namespace":"Appliance.Control.Light","payloadVersion":1,"sign":"90fa5b44f9b7110a26e77ff8ad3ae37a","timestamp":1662886079,"triggerSrc":"iOSLocal","uuid":"21020510258695290d4248e1e94af5d3"},"payload":{"light":{"temperature":60,"capacity":2,"luminance":100,"channel":0}}}.
[11/09/2022, 18:48:00] [Meross] [Hallway ceiling] current mired/kelvin [285/3509] via adaptive lighting.
[11/09/2022, 18:48:00] [Meross] [Kitchen Cabinets] current mired/kelvin [391/2558] via adaptive lighting.
[11/09/2022, 18:48:02] [Meross] [Hallway ceiling] incoming mqtt: {"header":{"timestampMs":298,"timestamp":1662886082,"sign":"0b261aa294135b6f2abd7a983422d268","payloadVersion":1,"namespace":"Appliance.Control.Light","method":"PUSH","messageId":"598dc6814d1e59af9769f3cd5f9887d0","from":"/appliance/21020510258695290d4248e1e94af5d3/publish"},"payload":{"light":{"transform":-1,"temperature":60,"rgb":16711680,"luminance":100,"channel":0,"capacity":2}}}.
[11/09/2022, 18:48:02] [Meross] [Hallway ceiling] current mired/kelvin [284/3521].
[11/09/2022, 18:48:02] [Meross] [Kitchen Cabinets] current mired/kelvin [392/2551].
[11/09/2022, 18:48:02] [Meross] [Hallway ceiling] sending update: {"header":{"from":"http://192.168.68.128/config","messageId":"57q0432pjmuuzqyc2uf53n459b97sdys","method":"SET","namespace":"Appliance.Control.Light","payloadVersion":1,"sign":"2ad420acb97a92a40323adc46eb06cf5","timestamp":1662886082,"triggerSrc":"iOSLocal","uuid":"21020510258695290d4248e1e94af5d3"},"payload":{"light":{"luminance":38,"capacity":4,"channel":0}}}.
[11/09/2022, 18:48:02] [Meross] [Hallway ceiling] current brightness [38%].
[11/09/2022, 18:48:03] [Meross] [Hallway ceiling] sending update: {"header":{"from":"http://192.168.68.128/config","messageId":"whhg3ir8y48urn3kybx69rl33x68crqw","method":"SET","namespace":"Appliance.Control.Light","payloadVersion":1,"sign":"1b93921486a2cd8e85a335a36d28a5c3","timestamp":1662886083,"triggerSrc":"iOSLocal","uuid":"21020510258695290d4248e1e94af5d3"},"payload":{"light":{"temperature":38,"capacity":2,"luminance":38,"channel":0}}}.
[11/09/2022, 18:48:03] [Meross] [Hallway ceiling] current mired/kelvin [365/2740] via adaptive lighting.
[11/09/2022, 18:48:03] [Meross] [Hallway ceiling] sending update: {"header":{"from":"http://192.168.68.128/config","messageId":"9fp40b6tkrzg9tbnpylt8u925704alyq","method":"SET","namespace":"Appliance.Control.Light","payloadVersion":1,"sign":"771ca0cc41896e267ea1007306839f57","timestamp":1662886083,"triggerSrc":"iOSLocal","uuid":"21020510258695290d4248e1e94af5d3"},"payload":{"light":{"luminance":37,"capacity":4,"channel":0}}}.
[11/09/2022, 18:48:03] [Meross] [Hallway ceiling] current brightness [37%].
[11/09/2022, 18:48:03] [Meross] [Hallway ceiling] sending update: {"header":{"from":"http://192.168.68.128/config","messageId":"ulrbvbvveb0elx5khbfnm46vf95fflkq","method":"SET","namespace":"Appliance.Control.Light","payloadVersion":1,"sign":"3fc837068286e97c1880358b2248fd56","timestamp":1662886083,"triggerSrc":"iOSLocal","uuid":"21020510258695290d4248e1e94af5d3"},"payload":{"light":{"temperature":37,"capacity":2,"luminance":37,"channel":0}}}.
[11/09/2022, 18:48:03] [Meross] [Hallway ceiling] current mired/kelvin [366/2732] via adaptive lighting.
[11/09/2022, 18:48:06] [Meross] [Hallway ceiling] incoming mqtt: {"header":{"timestampMs":692,"timestamp":1662886087,"sign":"48ad976581af5fe89a50fe136eef83e2","payloadVersion":1,"namespace":"Appliance.Control.Light","method":"PUSH","messageId":"852e6e596f359c2a6970bb25b7ea9b3a","from":"/appliance/21020510258695290d4248e1e94af5d3/publish"},"payload":{"light":{"transform":-1,"temperature":37,"rgb":16711680,"luminance":38,"channel":0,"capacity":2}}}.
[11/09/2022, 18:48:06] [Meross] [Hallway ceiling] current brightness [38%].
[11/09/2022, 18:48:06] [Meross] [Hallway ceiling] current mired/kelvin [367/2725].
[11/09/2022, 18:48:06] [Meross] [Hallway ceiling] sending update: {"header":{"from":"http://192.168.68.128/config","messageId":"o0besoh9126wmrd6sfjr7cwbt1w681gn","method":"SET","namespace":"Appliance.Control.Light","payloadVersion":1,"sign":"1e23a4955d2fcc3c961c8aa2e3e54be3","timestamp":1662886086,"triggerSrc":"iOSLocal","uuid":"21020510258695290d4248e1e94af5d3"},"payload":{"light":{"temperature":38,"capacity":2,"luminance":38,"channel":0}}}.
[11/09/2022, 18:48:06] [Meross] [Hallway ceiling] current mired/kelvin [365/2740] via adaptive lighting.
[11/09/2022, 18:48:08] [Meross] [Hallway ceiling] incoming mqtt: {"header":{"timestampMs":89,"timestamp":1662886089,"sign":"56f95346337a64a6a06a5072b1e261c4","payloadVersion":1,"namespace":"Appliance.Control.Light","method":"PUSH","messageId":"f825c2bbdf3b3c136e4cc240a4a3df11","from":"/appliance/21020510258695290d4248e1e94af5d3/publish"},"payload":{"light":{"transform":-1,"temperature":38,"rgb":16711680,"luminance":38,"channel":0,"capacity":2}}}.
[11/09/2022, 18:48:08] [Meross] [Hallway ceiling] current mired/kelvin [363/2755].
[11/09/2022, 18:48:59] [Meross] [Hallway ceiling] sending update: {"header":{"from":"http://192.168.68.128/config","messageId":"q6rm547exx13ktcleumohw4f7cc98r08","method":"SET","namespace":"Appliance.Control.Light","payloadVersion":1,"sign":"d2231136baff3b9e469490215546d106","timestamp":1662886139,"triggerSrc":"iOSLocal","uuid":"21020510258695290d4248e1e94af5d3"},"payload":{"light":{"temperature":38,"capacity":2,"luminance":38,"channel":0}}}.
[11/09/2022, 18:49:00] [Meross] [Hallway ceiling] current mired/kelvin [365/2740] via adaptive lighting.
[11/09/2022, 18:49:02] [Meross] [Hallway ceiling] incoming mqtt: {"header":{"timestampMs":470,"timestamp":1662886142,"sign":"1cc453a2c8d0ea74f632cb4174aaf46a","payloadVersion":1,"namespace":"Appliance.Control.Light","method":"PUSH","messageId":"99628dfc60a4cf0b000ed090db7dfcbd","from":"/appliance/21020510258695290d4248e1e94af5d3/publish"},"payload":{"light":{"transform":-1,"temperature":38,"rgb":16711680,"luminance":38,"channel":0,"capacity":2}}}.
[11/09/2022, 18:49:02] [Meross] [Hallway ceiling] current mired/kelvin [363/2755].
[11/09/2022, 18:49:59] [Meross] [Hallway ceiling] sending update: {"header":{"from":"http://192.168.68.128/config","messageId":"apoc2ljly8ea3a6bi8who0kpt5my0ic6","method":"SET","namespace":"Appliance.Control.Light","payloadVersion":1,"sign":"d640ca53e8b1966ebb1dd7105e7c1176","timestamp":1662886199,"triggerSrc":"iOSLocal","uuid":"21020510258695290d4248e1e94af5d3"},"payload":{"light":{"temperature":37,"capacity":2,"luminance":38,"channel":0}}}.
[11/09/2022, 18:50:00] [Meross] [Hallway ceiling] current mired/kelvin [366/2732] via adaptive lighting.
[11/09/2022, 18:50:00] [Meross] [Kitchen Cabinets] current mired/kelvin [393/2545] via adaptive lighting.
[11/09/2022, 18:50:01] [Meross] [Hallway ceiling] incoming mqtt: {"header":{"timestampMs":838,"timestamp":1662886202,"sign":"456c30d12dfd594ee610727b01c8bdc9","payloadVersion":1,"namespace":"Appliance.Control.Light","method":"PUSH","messageId":"79983869a1ee589c46dd8236f43b37d4","from":"/appliance/21020510258695290d4248e1e94af5d3/publish"},"payload":{"light":{"transform":-1,"temperature":37,"rgb":16711680,"luminance":38,"channel":0,"capacity":2}}}.
[11/09/2022, 18:50:01] [Meross] [Hallway ceiling] current mired/kelvin [367/2725].
[11/09/2022, 18:50:01] [Meross] [Kitchen Cabinets] current mired/kelvin [392/2551].
[11/09/2022, 18:50:59] [Meross] [Hallway ceiling] sending update: {"header":{"from":"http://192.168.68.128/config","messageId":"jiy3yv5zdqgwhdw700hyyfx2jkacd2er","method":"SET","namespace":"Appliance.Control.Light","payloadVersion":1,"sign":"f4a88db580b84632f66838d390217788","timestamp":1662886259,"triggerSrc":"iOSLocal","uuid":"21020510258695290d4248e1e94af5d3"},"payload":{"light":{"temperature":37,"capacity":2,"luminance":38,"channel":0}}}.
[11/09/2022, 18:51:00] [Meross] [Hallway ceiling] current mired/kelvin [366/2732] via adaptive lighting.
[11/09/2022, 18:51:00] [Meross] [Kitchen Cabinets] current mired/kelvin [393/2545] via adaptive lighting.
[11/09/2022, 18:51:02] [Meross] [Hallway ceiling] incoming mqtt: {"header":{"timestampMs":205,"timestamp":1662886262,"sign":"bf0ee847975e383be060db30440e3d8e","payloadVersion":1,"namespace":"Appliance.Control.Light","method":"PUSH","messageId":"f99f7cab5d85eb571097fc974267cadc","from":"/appliance/21020510258695290d4248e1e94af5d3/publish"},"payload":{"light":{"transform":-1,"temperature":37,"rgb":16711680,"luminance":38,"channel":0,"capacity":2}}}.
[11/09/2022, 18:51:02] [Meross] [Hallway ceiling] current mired/kelvin [367/2725].
[11/09/2022, 18:51:02] [Meross] [Kitchen Cabinets] current mired/kelvin [392/2551].
nashw83 commented 1 year ago

Also may or may not be related to the same issue, I’ve noticed a new behaviour (with iOS 16.0.1) where brightness slider up from 0% (off) to 1-3% makes the bulbs flash bright for a split second (close to full brightness) before returning to the expected brightness. This was observed with a pair of bulbs in a group). This is jarring to say the least in the middle of the night when you need a little light on. I’ve also noticed that the bulbs in the group do not always respond with the same colour at the same time when setting a scene. One may be red (precious colour state) while the other is the specified colour from the scene, such as adaptive lighting. It can take 2-3 goes requesting the scene for both bulbs to comply with correct colour.

bwp91 commented 1 year ago

Hi @nashw83 sorry for delayed response, is this still an issue you are finding with the plugin?