Closed pietje63 closed 2 years ago
Hi. I'm aware of this, the same thing happens to me. It is the mqtt server killing the session for some unknown reason. I have a fix in beta-test and am fine tuning it. A slow process for each test I have to wait a day or so.
I have published 1.3.0-beta.2 tonight. Try it out and report back
Thanks, installing the beta right now. Will let you know the status in a day or two
So far so good.
Only thing I noticed is some additional logs regarding status
[01/02/2022, 11:06:00] [Ziggo next] Mediabox: Status Active changed from 0 [NOT_ACTIVE] to 1 [ACTIVE] [01/02/2022, 11:06:00] [Ziggo next] Mediabox: Power changed from 0 [OFF] to 1 [ON] [01/02/2022, 11:06:00] [Ziggo next] Mediabox: In Use changed from 0 [NOT_IN_USE] to 1 [IN_USE] [01/02/2022, 11:43:11] [Ziggo next] Mediabox: Power changed from 1 [ON] to 0 [OFF] [01/02/2022, 11:43:11] [Ziggo next] Mediabox: In Use changed from 1 [IN_USE] to 0 [NOT_IN_USE] [01/02/2022, 11:48:18] [Ziggo next] Mediabox: Status Active changed from 1 [ACTIVE] to 0 [NOT_ACTIVE]
Though assume this is just part of the beta setup. Last night - while everyone in home was at sleep - also had some logging regarding "Status Active" change
[02/02/2022, 02:36:15] [Ziggo next] Mediabox: Status Active changed from 0 [NOT_ACTIVE] to 1 [ACTIVE] [02/02/2022, 03:36:19] [Ziggo next] Mediabox: Status Active changed from 1 [ACTIVE] to 0 [NOT_ACTIVE]
No log regarding "Power" or "In Use" change during the night. Not sure where it comes from; may also be a hickup at Ziggo's data?
Excellent.
Those extra log entries are the extra characteristics that I have added in this beta. See the Wiki for full details of how to use them.
As for Active and NotActive, here's what I documented in the Wiki:
ACTIVE when box is connected to the network and is reachable, or NOT_ACTIVE if the box is not reachable. Useful to indicate if the box is physically powered on and the network is working.
If the box is reachable on the network, it should be 1 Active. Any periods where it is 0 NotActive is normally an internet connectivity issue. Keep an eye on it.
Closing ticket, issue addressed in 1.3.0-beta.2
After using the plugin some time I get these repeating messages in the Homebridge log every second.
The error appears clear (Connection refused, Not authorized), though it does not really make sense as (i) the authorization details are correct, and (ii) a reboot of the (child) bidge fixes the issue. The log after rebooting just seems fine
Any idea what is happening?
Using a Pi Zero, 1.4.0 Homebridge, Node 16.13.2, plugin 1.2.2