-
Notifications
You must be signed in to change notification settings - Fork 31
"Handshake" suddenly stopped working - AC2889 #15
Comments
Same behavior on my AC2889. I see also this message in the debug log:
|
I just started digging into the code but my assumption is that the issue pops up when the 'server' (purifier) restarts, but 'client' (philips-airpurifier -> aioairctrl -> aiocoap) is not requesting a new observation. So ideally max-age should be taken into account and the client have to start from scratch if max-age is overdue or an exception from aiocoap is raised. |
@ronaldt80 @tunip i just released a new version which might help adressing your issues if you find the time please test and report back :) @o0v7r0o thank you for digging into this. i think the reconnection issue is somewhat unrelated but should indeed be taken a look at. I'll try to reproduce that locally and if that is indeed a problem open an issue for it and mention you :) |
Wow.. you have been busy! Thanks! I will test tonight and let you know
after 24hrs running.
Ronald
…On Wed, 17 Mar 2021, 18:21 betaboon, ***@***.***> wrote:
@ronaldt80 <https://github.com/ronaldt80> @tunip
<https://github.com/tunip> i just released a new version which might help
adressing your issues
if you find the time please test and report back :)
@o0v7r0o <https://github.com/o0v7r0o> thank you for digging into this. i
think the reconnection issue is somewhat unrelated but should indeed be
taken a look at. I'll try to reproduce that locally and if that is indeed a
problem open an issue for it and mention you :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMXEM3BJG47UMJXKIXFHLI3TEDQJRANCNFSM4VTPI2OA>
.
|
Started testing now... will also report the next few days. Thx for your work! |
Tested it just now and it is not solved. Need to enable debug logging and provide logs later. |
Same conclusion.
…On Thu, 18 Mar 2021, 09:32 tunip, ***@***.***> wrote:
Tested it just now and it is not solved. Need to enable debug logging and
provide logs later.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMXEM3GOYQNLTMFH3HD6FXLTEG3CBANCNFSM4VTPI2OA>
.
|
thank you guys for testing. can you provide me with more comprehensive debug-logs ? |
Attached you will find my logs. SWITCHING ON (Turning the switch in HA to on. Air Purifier is running, while the switch in HA goes back to off from alone):
SWITCHING OFF (Turning the switch in HA to on and immediately to off. Air Purifier is switching off):
|
@tunip thank you for the logs. could you please provide logs with more "context" (aka logs before and after) ? it would be nice to have a log with like 1sec before 5secs after (in a gist) |
Mine just stopped working as well so should have a decent log file. Will
send in an hour or so.
Service calls still work but the purifier stopped pushing it's status to HA.
…On Fri, 19 Mar 2021, 18:38 betaboon, ***@***.***> wrote:
@tunip <https://github.com/tunip> thank you for the logs.
could you please provide logs with more "context" (aka logs before and
after) ?
it seems like there is no status-update coming from the device.
it would be nice to have a log with like 1sec before 5secs after (in a
gist)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMXEM3C2DZRDGAVNED22LXDTEOD2TANCNFSM4VTPI2OA>
.
|
Maybe this is the issue... There are no log entries before and after I switch the device on and off (on/off). |
@tunip can you try to using |
Regular behavior observed in the log since 11pm 18 March (last HA restart), log is filled with regular "handshakes" this suddenly stops at 12.45pm CET (no error message in the log)
Schedule off automation through "service call"
Manual on/off command in HA (switch "flips" back)
|
Happy to also try the aioairctrl command but I run HassOS - not sure how to run aioairctrl manually; tried through SSH cli but that does not work. Any tips? |
you can just clone the repository on your local machine and run the stuff there :) |
@ronaldt80 I run the official Home Assistant docker container. I installed aioairctrl in /tmp inside the container. Will test later the "observations" with aioairctrl and the official app. |
aioairctrl output Using the "Clean Home+" app (ON/OF, Speeds, Light, Mode, etc.): Interval output (every few minutes) without manual action: |
same problem on ac2729 |
hey guys. I'm sorry but currently i dont have the time to look further into it. |
just curious: does anyone already know why this could happen? |
I've also bought a Philips (AC2889/10; swversion:1.0.7; [email protected]). The integration stops sending data after about 50 to 70 hours but will still react to commands like turning on or control the fan. I ran Homeassistant on a Raspberry and executed the following command in the homeassistant container right after I restarted the core. Will wait the next few days until it's broken again. Then I will have a complete log and will try to dive deeper from this starting point. Any ideas what it could be? EDIT
...mhhh not completely correct. just for a few hours... |
The describes pretty much what I observe with my two devices. Strange thing is, after all the work of @betaboon including his monkeycode fixing of the upstream python library for coap, the devices used to work without a problem. Now they just stopped, but a reboot of HA fixes this. I've now set HA to reboot automatically every night. Surely not a nice workaround. |
The plugin has been running successfully over the weekend; all services work. Last night however the plugin stopped updating its status in home assistant ("handshake") - below the last log record which occurred at 22.46 last night (prior to this the "handshake" occurred at least once per 3 minutes).
Since last night the status is no longer updated, the purifier responds to commands given but (for example) the toggle does not move. Below output upon turning on and off this afternoon, note, machine was on, toggle showed off - log shows 2 times command on and once off (rapid clicking to get to the desired status).
A homeassistant restart solves the issue temporarily. Any thoughts what could be the issue? Let me know if more information is required.
thanks for any guidance given!
Ronald
The text was updated successfully, but these errors were encountered: