Open casimoes03 opened 3 days ago
actually i am not really sure, why this should happen... when asking alexa to "turn on the light" it makes a request to the matter bridge to turn it on. This request includes the requested level which i simply use to pass it to home assistant.
To sum it up, it looks like that alexa is intending to turn it on to 100%.
Does it work, if you ask "set the light to 60%" ?
Yes. It does work. I always change to the correct brightness afterwards.
Is there any line in the logs showing what is happening?
Here is the log's tail. At the end I turned "Abajur de Teste" on and off.
[ 2024-10-30T07:01:10.992Z ] [ ERROR ] [ matter.js / SubscriptionHandler ]: Error sending subscription update message (error count=1): RetransmissionLimitReachedError
at MessageExchange.retransmitMessage (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/protocol/MessageExchange.js:376:37)
at TimerNode.callback (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/protocol/MessageExchange.js:369:24)
at Timeout._onTimeout (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter-node.js/dist/esm/time/TimeNode.js:49:12)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7)
[ 2024-10-30T07:03:37.656Z ] [ ERROR ] [ matter.js / SubscriptionHandler ]: Error sending subscription update message (error count=1): RetransmissionLimitReachedError
at MessageExchange.retransmitMessage (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/protocol/MessageExchange.js:376:37)
at TimerNode.callback (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/protocol/MessageExchange.js:369:24)
at Timeout._onTimeout (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter-node.js/dist/esm/time/TimeNode.js:49:12)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7)
[ 2024-10-30T07:05:10.995Z ] [ ERROR ] [ matter.js / SubscriptionHandler ]: Error sending subscription update message (error count=2): RetransmissionLimitReachedError
at MessageExchange.retransmitMessage (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/protocol/MessageExchange.js:376:37)
at TimerNode.callback (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/protocol/MessageExchange.js:369:24)
at Timeout._onTimeout (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter-node.js/dist/esm/time/TimeNode.js:49:12)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7)
[ 2024-10-30T07:14:10.983Z ] [ ERROR ] [ matter.js / SubscriptionHandler ]: Error sending subscription update message (error count=1): RetransmissionLimitReachedError
at MessageExchange.retransmitMessage (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/protocol/MessageExchange.js:376:37)
at TimerNode.callback (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/protocol/MessageExchange.js:369:24)
at Timeout._onTimeout (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter-node.js/dist/esm/time/TimeNode.js:49:12)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7)
[ 2024-10-30T07:46:02.928Z ] [ ERROR ] [ matter.js / InteractionServer ]: Subscription 3030540827 for Session 525: Error while sending initial data reports NoResponseTimeoutError
at TimerNode.callback (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/util/Queue.js:30:24)
at Timeout._onTimeout (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter-node.js/dist/esm/time/TimeNode.js:49:12)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7)
[ 2024-10-30T07:46:02.932Z ] [ INFO ] [ matter.js / ExchangeManager ]: Exchange with index 51739 to delete not found or already deleted.
[ 2024-10-30T07:46:11.621Z ] [ ERROR ] [ matter.js / InteractionServer ]: Subscription 3030540828 for Session 525: Error while sending initial data reports NoResponseTimeoutError
at TimerNode.callback (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/util/Queue.js:30:24)
at Timeout._onTimeout (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter-node.js/dist/esm/time/TimeNode.js:49:12)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7)
[ 2024-10-30T07:46:11.623Z ] [ INFO ] [ matter.js / ExchangeManager ]: Exchange with index 51740 to delete not found or already deleted.
[ 2024-10-30T07:46:21.672Z ] [ ERROR ] [ matter.js / InteractionServer ]: Subscription 3030540829 for Session 525: Error while sending initial data reports NoResponseTimeoutError
at TimerNode.callback (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/util/Queue.js:30:24)
at Timeout._onTimeout (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter-node.js/dist/esm/time/TimeNode.js:49:12)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7)
[ 2024-10-30T07:46:21.675Z ] [ INFO ] [ matter.js / ExchangeManager ]: Exchange with index 51741 to delete not found or already deleted.
[ 2024-10-30T07:46:40.837Z ] [ INFO ] [ matter.js / InteractionMessenger ]: RetransmissionLimitReachedError
at MessageExchange.retransmitMessage (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/protocol/MessageExchange.js:376:37)
at TimerNode.callback (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/protocol/MessageExchange.js:369:24)
at Timeout._onTimeout (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter-node.js/dist/esm/time/TimeNode.js:49:12)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7)
[ 2024-10-30T07:46:40.983Z ] [ ERROR ] [ matter.js / InteractionServer ]: Subscription 3030540830 for Session 525: Error while sending initial data reports RetransmissionLimitReachedError
at MessageExchange.retransmitMessage (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/protocol/MessageExchange.js:376:37)
at TimerNode.callback (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/protocol/MessageExchange.js:369:24)
at Timeout._onTimeout (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter-node.js/dist/esm/time/TimeNode.js:49:12)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7)
[ 2024-10-30T07:46:44.175Z ] [ INFO ] [ matter.js / InteractionMessenger ]: Sending status response 128 for interaction error: (128) Unsupported message type 1
[ 2024-10-30T07:46:52.758Z ] [ ERROR ] [ matter.js / ExchangeManager ]: RetransmissionLimitReachedError
at MessageExchange.retransmitMessage (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/protocol/MessageExchange.js:376:37)
at TimerNode.callback (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/protocol/MessageExchange.js:369:24)
at Timeout._onTimeout (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter-node.js/dist/esm/time/TimeNode.js:49:12)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7)
[ 2024-10-30T07:46:53.357Z ] [ INFO ] [ matter.js / InteractionMessenger ]: RetransmissionLimitReachedError
at MessageExchange.retransmitMessage (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/protocol/MessageExchange.js:376:37)
at TimerNode.callback (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/protocol/MessageExchange.js:369:24)
at Timeout._onTimeout (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter-node.js/dist/esm/time/TimeNode.js:49:12)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7)
[ 2024-10-30T07:47:20.323Z ] [ ERROR ] [ matter.js / InteractionServer ]: Subscription 3030540831 for Session 525: Error while sending initial data reports NoResponseTimeoutError
at TimerNode.callback (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/util/Queue.js:30:24)
at Timeout._onTimeout (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter-node.js/dist/esm/time/TimeNode.js:49:12)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7)
[ 2024-10-30T07:47:20.325Z ] [ INFO ] [ matter.js / ExchangeManager ]: Exchange with index 51757 to delete not found or already deleted.
[ 2024-10-30T07:48:09.894Z ] [ ERROR ] [ matter.js / InteractionServer ]: Subscription 3030540832 for Session 525: Error while sending initial data reports NoResponseTimeoutError
at TimerNode.callback (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/util/Queue.js:30:24)
at Timeout._onTimeout (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter-node.js/dist/esm/time/TimeNode.js:49:12)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7)
[ 2024-10-30T07:48:09.896Z ] [ INFO ] [ matter.js / ExchangeManager ]: Exchange with index 51759 to delete not found or already deleted.
[ 2024-10-30T07:55:48.641Z ] [ INFO ] [ matter.js / CaseServer ]: Received pairing request from udp://fe80::ea4c:4aff:fe1f:1ba8%eth0:5541
[ 2024-10-30T07:55:48.666Z ] [ INFO ] [ matter.js / CaseServer ]: session 526 resumed with udp://fe80::ea4c:4aff:fe1f:1ba8%eth0:5541 for Fabric 03F66F83CABA5BA0(index 1) and PeerNode 03E785056E858F91 with CATs 1114154
[ 2024-10-30T07:55:48.677Z ] [ INFO ] [ matter.js / SessionManager ]: End insecure session insecure/10859421813969702655
[ 2024-10-30T07:55:51.273Z ] [ INFO ] [ matter.js / InteractionServer ]: Successfully created subscription 3030540833 for Session 526. Updates: 1 - 300 => 186 seconds (sendInterval = 93 seconds)
[ 2024-10-30T08:00:37.743Z ] [ ERROR ] [ matter.js / SubscriptionHandler ]: Error sending subscription update message (error count=1): RetransmissionLimitReachedError
at MessageExchange.retransmitMessage (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/protocol/MessageExchange.js:376:37)
at TimerNode.callback (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/protocol/MessageExchange.js:369:24)
at Timeout._onTimeout (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter-node.js/dist/esm/time/TimeNode.js:49:12)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7)
[ 2024-10-30T08:11:33.076Z ] [ INFO ] [ matter.js / SubscriptionHandler ]: Subscription 3030540833 cancelled by peer.
[ 2024-10-30T08:26:33.160Z ] [ INFO ] [ matter.js / MatterDevice ]: All announcements expired
[ 2024-10-30T10:14:37.741Z ] [ ERROR ] [ matter.js / SubscriptionHandler ]: Error sending subscription update message (error count=1): RetransmissionLimitReachedError
at MessageExchange.retransmitMessage (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/protocol/MessageExchange.js:376:37)
at TimerNode.callback (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/protocol/MessageExchange.js:369:24)
at Timeout._onTimeout (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter-node.js/dist/esm/time/TimeNode.js:49:12)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7)
[ 2024-10-30T11:11:29.519Z ] [ INFO ] [ matter.js / Behavior ]: Invoke 4002968f2a3643caaafd27f6fd62bd25.aggregator.light_abajur_do_quarto.onOff.on online#9348862@3e785056e858f91 (no payload)
[ 2024-10-30T11:11:30.354Z ] [ INFO ] [ matter.js / Behavior ]: Invoke 4002968f2a3643caaafd27f6fd62bd25.aggregator.light_abajur_do_quarto.levelControl.moveToLevel online#9348864@3e785056e858f91 level: 254 transitionTime: 0 optionsMask: { executeIfOff: false, coupleColorTempToLevel: false } optionsOverride: { executeIfOff: false, coupleColorTempToLevel: false }
[ 2024-10-30T11:11:36.444Z ] [ INFO ] [ matter.js / Behavior ]: Invoke 4002968f2a3643caaafd27f6fd62bd25.aggregator.light_abajur_do_quarto.onOff.off online#9348866@3e785056e858f91 (no payload)
As far I could understand, Alexa sends a stray command moving level to 254 after the first turning the light on.
Sometimes all seems ok, as you can see in the following logs. I turned the light on and off and changed levels.
[ 2024-10-30T11:40:30.967Z ] [ INFO ] [ matter.js / Behavior ]: Invoke 4002968f2a3643caaafd27f6fd62bd25.aggregator.light_abajur_do_quarto.onOff.off online#9348890@3e785056e858f91 (no payload)
[ 2024-10-30T11:40:38.274Z ] [ INFO ] [ matter.js / Behavior ]: Invoke 4002968f2a3643caaafd27f6fd62bd25.aggregator.light_abajur_do_quarto.onOff.on online#9348892@3e785056e858f91 (no payload)
[ 2024-10-30T11:40:50.759Z ] [ INFO ] [ matter.js / Behavior ]: Invoke 4002968f2a3643caaafd27f6fd62bd25.aggregator.light_abajur_do_quarto.onOff.off online#9348894@3e785056e858f91 (no payload)
[ 2024-10-30T11:41:01.459Z ] [ INFO ] [ matter.js / Behavior ]: Invoke 4002968f2a3643caaafd27f6fd62bd25.aggregator.light_abajur_do_quarto.onOff.on online#9348896@3e785056e858f91 (no payload)
[ 2024-10-30T11:41:20.839Z ] [ INFO ] [ matter.js / Behavior ]: Invoke 4002968f2a3643caaafd27f6fd62bd25.aggregator.light_abajur_do_quarto.levelControl.moveToLevel online#9348898@3e785056e858f91 level: 127 transitionTime: 0 optionsMask: { executeIfOff: false, coupleColorTempToLevel: false } optionsOverride: { executeIfOff: false, coupleColorTempToLevel: false }
[ 2024-10-30T11:41:45.731Z ] [ INFO ] [ matter.js / Behavior ]: Invoke 4002968f2a3643caaafd27f6fd62bd25.aggregator.light_abajur_do_quarto.onOff.off online#934889a@3e785056e858f91 (no payload)
It happens with another light:
[ 2024-10-30T11:54:38.000Z ] [ ERROR ] [ matter.js / SubscriptionHandler ]: Error sending subscription update message (error count=1): RetransmissionLimitReachedError
at MessageExchange.retransmitMessage (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/protocol/MessageExchange.js:376:37)
at TimerNode.callback (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/protocol/MessageExchange.js:369:24)
at Timeout._onTimeout (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter-node.js/dist/esm/time/TimeNode.js:49:12)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7)
[ 2024-10-30T11:56:38.343Z ] [ ERROR ] [ matter.js / SubscriptionHandler ]: Error sending subscription update message (error count=1): RetransmissionLimitReachedError
at MessageExchange.retransmitMessage (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/protocol/MessageExchange.js:376:37)
at TimerNode.callback (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter.js/dist/esm/protocol/MessageExchange.js:369:24)
at Timeout._onTimeout (file:///usr/local/lib/node_modules/home-assistant-matter-hub/node_modules/@project-chip/matter-node.js/dist/esm/time/TimeNode.js:49:12)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7)
[ 2024-10-30T12:03:52.934Z ] [ INFO ] [ matter.js / Behavior ]: Invoke 4002968f2a3643caaafd27f6fd62bd25.aggregator.light_abajur_do_quarto.onOff.on online#93488b4@3e785056e858f91 (no payload)
[ 2024-10-30T12:04:01.472Z ] [ INFO ] [ matter.js / Behavior ]: Invoke 4002968f2a3643caaafd27f6fd62bd25.aggregator.light_abajur_do_quarto.onOff.off online#93488b6@3e785056e858f91 (no payload)
[ 2024-10-30T12:04:21.441Z ] [ INFO ] [ matter.js / Behavior ]: Invoke 4002968f2a3643caaafd27f6fd62bd25.aggregator.light_luz_do_corredor_dos_quartos.onOff.on online#dd338bb@3e78505a4a54a71 (no payload)
[ 2024-10-30T12:04:21.614Z ] [ INFO ] [ matter.js / Behavior ]: Invoke 4002968f2a3643caaafd27f6fd62bd25.aggregator.light_luz_do_corredor_dos_quartos.levelControl.moveToLevel online#dd338be@3e78505a4a54a71 level: 254 transitionTime: 0 optionsMask: { executeIfOff: false, coupleColorTempToLevel: false } optionsOverride: { executeIfOff: false, coupleColorTempToLevel: false }
[ 2024-10-30T12:04:37.563Z ] [ INFO ] [ matter.js / Behavior ]: Invoke 4002968f2a3643caaafd27f6fd62bd25.aggregator.light_luz_do_corredor_dos_quartos.levelControl.moveToLevel online#dd338c1@3e78505a4a54a71 level: 3 transitionTime: 0 optionsMask: { executeIfOff: false, coupleColorTempToLevel: false } optionsOverride: { executeIfOff: false, coupleColorTempToLevel: false }
[ 2024-10-30T12:04:43.747Z ] [ INFO ] [ matter.js / Behavior ]: Invoke 4002968f2a3643caaafd27f6fd62bd25.aggregator.light_luz_do_corredor_dos_quartos.onOff.off online#dd338c4@3e78505a4a54a71 (no payload)
[ 2024-10-30T12:05:05.994Z ] [ INFO ] [ matter.js / Behavior ]: Invoke 4002968f2a3643caaafd27f6fd62bd25.aggregator.light_luz_do_corredor_dos_quartos.onOff.on online#dd338c7@3e78505a4a54a71 (no payload)
[ 2024-10-30T12:05:06.162Z ] [ INFO ] [ matter.js / Behavior ]: Invoke 4002968f2a3643caaafd27f6fd62bd25.aggregator.light_luz_do_corredor_dos_quartos.levelControl.moveToLevel online#dd338c9@3e78505a4a54a71 level: 254 transitionTime: 0 optionsMask: { executeIfOff: false, coupleColorTempToLevel: false } optionsOverride: { executeIfOff: false, coupleColorTempToLevel: false }
[ 2024-10-30T12:05:16.426Z ] [ INFO ] [ matter.js / Behavior ]: Invoke 4002968f2a3643caaafd27f6fd62bd25.aggregator.light_luz_do_corredor_dos_quartos.levelControl.moveToLevel online#c889978@3e785058e7e5a71 level: 3 transitionTime: 0 optionsMask: { executeIfOff: false, coupleColorTempToLevel: false } optionsOverride: { executeIfOff: false, coupleColorTempToLevel: false }
[ 2024-10-30T12:05:23.627Z ] [ INFO ] [ matter.js / Behavior ]: Invoke 4002968f2a3643caaafd27f6fd62bd25.aggregator.light_luz_do_corredor_dos_quartos.onOff.off online#c88997b@3e785058e7e5a71 (no payload)
[ 2024-10-30T12:05:33.605Z ] [ INFO ] [ matter.js / Behavior ]: Invoke 4002968f2a3643caaafd27f6fd62bd25.aggregator.light_luz_do_corredor_dos_quartos.onOff.on online#c88997f@3e785058e7e5a71 (no payload)
[ 2024-10-30T12:05:33.736Z ] [ INFO ] [ matter.js / Behavior ]: Invoke 4002968f2a3643caaafd27f6fd62bd25.aggregator.light_luz_do_corredor_dos_quartos.levelControl.moveToLevel online#c889981@3e785058e7e5a71 level: 254 transitionTime: 0 optionsMask: { executeIfOff: false, coupleColorTempToLevel: false } optionsOverride: { executeIfOff: false, coupleColorTempToLevel: false }
[ 2024-10-30T12:05:58.768Z ] [ INFO ] [ matter.js / Behavior ]: Invoke 4002968f2a3643caaafd27f6fd62bd25.aggregator.light_luz_do_corredor_dos_quartos.onOff.off online#c889985@3e785058e7e5a71 (no payload)
I am using docker container and Amazon's Alexa. Every time I turn on one light connected through home-assistant-matter-hub to Alexa, the old brigthness setting is changed to 100%.