Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't connect to AC3829/10 since version 0.1.3 #15

Closed
chris-hoe opened this issue Mar 21, 2022 · 97 comments
Closed

Doesn't connect to AC3829/10 since version 0.1.3 #15

chris-hoe opened this issue Mar 21, 2022 · 97 comments
Labels
question Further information is requested

Comments

@chris-hoe
Copy link

Since the latest update to 0.1.3, this adapter doesn't connect to my AC3829/10 anymore. With version 0.1.0 I had installed before, connection has always been a bit unstable and the adapter needed a restart from time to time but in general it worked okay.

Debug log isn't very useful to identify the problem (at least to me):

philips-air.0 2022-03-21 14:23:03.977 debug started
philips-air.0 2022-03-21 14:23:03.957 debug start with 10.100.255.35 {"host":"10.100.255.35","aliveTimeout":"30000","reconnectInterval":"30000"}
philips-air.0 2022-03-21 14:23:03.889 silly States system redis pmessage system.adapter.philips-air.0.logLevel/system.adapter.philips-air.0.logLevel:{"val":"silly","ack":true,"ts":1647868983869,"q":0,"from":"system.adapter.philips-air.0","lc":1647868837519}
philips-air.0 2022-03-21 14:23:03.770 debug Schedule restart: 0 15 * * *
philips-air.0 2022-03-21 14:23:03.659 info starting. Version 0.1.3 in /opt/iobroker/node_modules/iobroker.philips-air, node: v14.19.1, js-controller: 4.0.21
philips-air.0 2022-03-21 14:23:02.253 debug Plugin sentry Initialize Plugin (enabled=true)
philips-air.0 2022-03-21 14:22:55.465 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
philips-air.0 2022-03-21 14:22:55.462 debug Plugin sentry destroyed
philips-air.0 2022-03-21 14:22:55.460 info terminating
philips-air.0 2022-03-21 14:22:55.455 info Got terminate signal TERMINATE_YOURSELF
philips-air.0 2022-03-21 14:22:55.453 silly States system redis pmessage system.adapter.philips-air.0.sigKill/system.adapter.philips-air.0.sigKill:{"val":-1,"ack":false,"ts":1647868975111,"q":0,"from":"system.host.iobroker","lc":1647868975111}
philips-air.0 2022-03-21 14:22:55.465 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
philips-air.0 2022-03-21 14:22:55.462 debug Plugin sentry destroyed
philips-air.0 2022-03-21 14:22:55.460 info terminating
philips-air.0 2022-03-21 14:22:55.455 info Got terminate signal TERMINATE_YOURSELF
philips-air.0 2022-03-21 14:22:55.453 silly States system redis pmessage system.adapter.philips-air.0.sigKill/system.adapter.philips-air.0.sigKill:{"val":-1,"ack":false,"ts":1647868975111,"q":0,"from":"system.host.iobroker","lc":1647868975111}

Looks like everything is working okay ... except that no values are coming in and the "Instances" tab is showing this adapter as "Not connected to device or service" (last checkmark is red instead of green).
Anything I can do to help fix this bug? I really would love to get my values recorded again! ;-)

@Apollon77
Copy link
Member

Oki, I think we need to debug that. Please:

  • Stop the adapter in Admin
  • open a shell
  • DEBUG=* iob debug philips-air.0

Post the output here please

@Apollon77 Apollon77 added the question Further information is requested label Mar 21, 2022
@chris-hoe
Copy link
Author

Thank you Apollon77 for looking into this issue. I did as you described and got a very lengthy output which I attache as file. I waited until the adapter seems to reach a stable state (startup sequence finished), let it run for 2-3 iterations and than killed it with Ctrl-C. Hope that helps. If you need something else please let me know. 10.100.255.35 is the Philips air filter.

philips-air.debug.txt

@Apollon77
Copy link
Member

Ok, was not that helpful as thought :-)) I did some adjustments ... please try again GitHub version and post debug log again (normal debug is sufficient)

@boos87
Copy link

boos87 commented Mar 21, 2022

Hello everybody, same problem with the AC2729. With the old version, the AC2729 connected, from time to time the adapter needed a restart, because it lost the connection, but worked. Since the new version, the AC2729 doesn´t connect. :-(

@Apollon77
Copy link
Member

Then Install GitHub version and provide a debug log please

@chris-hoe
Copy link
Author

Okay, installed the new version from GitHub and now the debug level in the normal log looks like this:

philips-air.0 Zeit silly Nachricht
philips-air.0 2022-03-22 09:30:16.705 info Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
philips-air.0 2022-03-22 09:30:16.703 debug Plugin sentry destroyed
philips-air.0 2022-03-22 09:30:14.304 debug POST /sys/dev/sync to 10.100.255.35
philips-air.0 2022-03-22 09:29:44.303 debug POST /sys/dev/sync to 10.100.255.35
philips-air.0 2022-03-22 09:29:14.304 debug POST /sys/dev/sync to 10.100.255.35
philips-air.0 2022-03-22 09:28:44.304 debug POST /sys/dev/sync to 10.100.255.35
philips-air.0 2022-03-22 09:28:14.303 debug POST /sys/dev/sync to 10.100.255.35
philips-air.0 2022-03-22 09:27:44.304 debug POST /sys/dev/sync to 10.100.255.35
philips-air.0 2022-03-22 09:27:14.304 debug POST /sys/dev/sync to 10.100.255.35
philips-air.0 2022-03-22 09:26:44.321 debug started
philips-air.0 2022-03-22 09:26:44.299 debug start with 10.100.255.35 {"host":"10.100.255.35","aliveTimeout":"30000","reconnectInterval":"30000"}
philips-air.0 2022-03-22 09:26:44.149 debug Schedule restart: 0 15 * * *
philips-air.0 2022-03-22 09:26:44.046 info starting. Version 0.1.3 (non-npm: iobroker-community-adapters/ioBroker.philips-air) in /opt/iobroker/node_modules/iobroker.philips-air, node: v14.19.1, js-controller: 4.0.21
philips-air.0 2022-03-22 09:26:42.977 error adapter disabled
philips-air.0 2022-03-22 09:26:42.673 debug Plugin sentry Initialize Plugin (enabled=true)
and the stdout/stderr capture of the command used before is this:

philips-air.debug-20220322.txt

Hope that it is more helpful now - if not and you want me to run another trial version just let me know.

@Apollon77
Copy link
Member

Ok, also er macht mal mindestens einen Request zum gerät ... aber bekommt scheinbar keine Antwort.
Bitte nochmal GitHub versuchen. Ich habe mal die coap Library auf die Version zurückgesetzt die es früher war

@chris-hoe
Copy link
Author

Naja, das sieht schon deutlich anders aus, auch wenn auch mit der Version die dritte grüne Haken bei dem Adapter nicht kommen will.
Ausgabe des "normalen" Logs:

philips-air.0 Zeit debug Nachricht
philips-air.0 2022-03-22 12:07:43.037 debug Response chunk /sys/dev/sync to 10.100.255.35: {"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"paused":true,"emitClose":true,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrain":0,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{},"_eventsCount":0,"_maxListeners":100,"payload":{"type":"Buffer","data":[53,65,48,67,66,57,53,65]},"options":[{"name":"Content-Format","value":"text/plain"}],"code":"2.05","headers":{"Content-Format":"text/plain","Content-Type":"text/plain"},"url":"/","rsinfo":{"address":"10.100.255.35","family":"IPv4","port":5683,"size":22},"outSocket":{"address":"0.0.0.0","family":"IPv4","port":40248},"_packet":{"code":"2.05","confirmable":false,"reset":false,"ack":false,"messageId":55264,"token":{"type":"Buffer","data":[154,136,114,28,242,139,175,106]},"options":[{"name":"Content-Format","value":"text/plain"}],"payload":{"type":"Buffer","data":[53,65,48,67,66,57,53,65]}},"_payloadIndex":0}
philips-air.0 2022-03-22 12:07:43.030 debug POST /sys/dev/sync to 10.100.255.35
philips-air.0 2022-03-22 12:07:13.041 debug Response chunk /sys/dev/sync to 10.100.255.35: {"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"paused":true,"emitClose":true,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrain":0,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{},"_eventsCount":0,"_maxListeners":100,"payload":{"type":"Buffer","data":[49,55,57,53,56,48,54,52]},"options":[{"name":"Content-Format","value":"text/plain"}],"code":"2.05","headers":{"Content-Format":"text/plain","Content-Type":"text/plain"},"url":"/","rsinfo":{"address":"10.100.255.35","family":"IPv4","port":5683,"size":22},"outSocket":{"address":"0.0.0.0","family":"IPv4","port":40248},"_packet":{"code":"2.05","confirmable":false,"reset":false,"ack":false,"messageId":55262,"token":{"type":"Buffer","data":[154,136,114,26,113,192,157,7]},"options":[{"name":"Content-Format","value":"text/plain"}],"payload":{"type":"Buffer","data":[49,55,57,53,56,48,54,52]}},"_payloadIndex":0}
philips-air.0 2022-03-22 12:07:13.030 debug POST /sys/dev/sync to 10.100.255.35
philips-air.0 2022-03-22 12:06:43.037 debug Response chunk /sys/dev/sync to 10.100.255.35: {"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"paused":true,"emitClose":true,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrain":0,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{},"_eventsCount":0,"_maxListeners":100,"payload":{"type":"Buffer","data":[51,54,54,67,65,70,67,49]},"options":[{"name":"Content-Format","value":"text/plain"}],"code":"2.05","headers":{"Content-Format":"text/plain","Content-Type":"text/plain"},"url":"/","rsinfo":{"address":"10.100.255.35","family":"IPv4","port":5683,"size":22},"outSocket":{"address":"0.0.0.0","family":"IPv4","port":40248},"_packet":{"code":"2.05","confirmable":false,"reset":false,"ack":false,"messageId":55260,"token":{"type":"Buffer","data":[154,136,114,24,89,238,84,29]},"options":[{"name":"Content-Format","value":"text/plain"}],"payload":{"type":"Buffer","data":[51,54,54,67,65,70,67,49]}},"_payloadIndex":0}
philips-air.0 2022-03-22 12:06:43.030 debug POST /sys/dev/sync to 10.100.255.35
philips-air.0 2022-03-22 12:06:13.063 debug Response chunk /sys/dev/sync to 10.100.255.35: {"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"paused":true,"emitClose":true,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrain":0,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{},"_eventsCount":0,"_maxListeners":100,"payload":{"type":"Buffer","data":[50,66,55,69,70,53,67,50]},"options":[{"name":"Content-Format","value":"text/plain"}],"code":"2.05","headers":{"Content-Format":"text/plain","Content-Type":"text/plain"},"url":"/","rsinfo":{"address":"10.100.255.35","family":"IPv4","port":5683,"size":22},"outSocket":{"address":"0.0.0.0","family":"IPv4","port":57906},"_packet":{"code":"2.05","confirmable":false,"reset":false,"ack":false,"messageId":38906,"token":{"type":"Buffer","data":[84,174,138,75,210,221,235,225]},"options":[{"name":"Content-Format","value":"text/plain"}],"payload":{"type":"Buffer","data":[50,66,55,69,70,53,67,50]}},"_payloadIndex":0}
philips-air.0 2022-03-22 12:06:13.047 debug started
philips-air.0 2022-03-22 12:06:13.027 debug start with 10.100.255.35 {"host":"10.100.255.35","aliveTimeout":"30000","reconnectInterval":"30000"}
philips-air.0 2022-03-22 12:06:12.769 debug Schedule restart: 0 15 * * *
philips-air.0 2022-03-22 12:06:12.656 info starting. Version 0.1.3 (non-npm: iobroker-community-adapters/ioBroker.philips-air) in /opt/iobroker/node_modules/iobroker.philips-air, node: v14.19.1, js-controller: 4.0.21
philips-air.0 2022-03-22 12:06:09.452 error adapter disabled
philips-air.0 2022-03-22 12:06:09.061 debug Plugin sentry Initialize Plugin (enabled=true)

... und der Mitschnitt von der Konsole:
philips-air.debug-20220322-2.txt

@boos87
Copy link

boos87 commented Mar 22, 2022

Kann ich so bestätigen. Bei mir sieht das Log genauso aus. Der dritte Haken will nicht kommen, bei den Objekten -> Connection = false.

Log-Größe: 11.1 MB

philips-air.0 Zeit silly Nachricht
philips-air.0 2022-03-22 13:05:51.318 debug Response chunk /sys/dev/sync to 192.168.0.160: {"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"paused":true,"emitClose":true,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrain":0,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{},"_eventsCount":0,"_maxListeners":100,"payload":{"type":"Buffer","data":[52,68,52,69,56,49,52,67]},"options":[{"name":"Content-Format","value":"text/plain"}],"code":"2.05","headers":{"Content-Format":"text/plain","Content-Type":"text/plain"},"url":"/","rsinfo":{"address":"192.168.0.160","family":"IPv4","port":5683,"size":22},"outSocket":{"address":"0.0.0.0","family":"IPv4","port":39003},"_packet":{"code":"2.05","confirmable":false,"reset":false,"ack":false,"messageId":4361,"token":{"type":"Buffer","data":[25,28,82,31,237,186,245,153]},"options":[{"name":"Content-Format","value":"text/plain"}],"payload":{"type":"Buffer","data":[52,68,52,69,56,49,52,67]}},"_payloadIndex":0}
philips-air.0 2022-03-22 13:05:51.261 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-03-22 13:05:21.270 debug Response chunk /sys/dev/sync to 192.168.0.160: {"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"paused":true,"emitClose":true,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrain":0,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{},"_eventsCount":0,"_maxListeners":100,"payload":{"type":"Buffer","data":[51,55,54,52,53,50,55,48]},"options":[{"name":"Content-Format","value":"text/plain"}],"code":"2.05","headers":{"Content-Format":"text/plain","Content-Type":"text/plain"},"url":"/","rsinfo":{"address":"192.168.0.160","family":"IPv4","port":5683,"size":22},"outSocket":{"address":"0.0.0.0","family":"IPv4","port":39003},"_packet":{"code":"2.05","confirmable":false,"reset":false,"ack":false,"messageId":4359,"token":{"type":"Buffer","data":[25,28,82,29,56,3,209,8]},"options":[{"name":"Content-Format","value":"text/plain"}],"payload":{"type":"Buffer","data":[51,55,54,52,53,50,55,48]}},"_payloadIndex":0}
philips-air.0 2022-03-22 13:05:21.259 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-03-22 13:04:51.315 debug Response chunk /sys/dev/sync to 192.168.0.160: {"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"paused":true,"emitClose":true,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrain":0,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{},"_eventsCount":0,"_maxListeners":100,"payload":{"type":"Buffer","data":[49,65,57,68,70,54,54,56]},"options":[{"name":"Content-Format","value":"text/plain"}],"code":"2.05","headers":{"Content-Format":"text/plain","Content-Type":"text/plain"},"url":"/","rsinfo":{"address":"192.168.0.160","family":"IPv4","port":5683,"size":22},"outSocket":{"address":"0.0.0.0","family":"IPv4","port":39003},"_packet":{"code":"2.05","confirmable":false,"reset":false,"ack":false,"messageId":4357,"token":{"type":"Buffer","data":[25,28,82,27,63,157,45,215]},"options":[{"name":"Content-Format","value":"text/plain"}],"payload":{"type":"Buffer","data":[49,65,57,68,70,54,54,56]}},"_payloadIndex":0}
philips-air.0 2022-03-22 13:04:51.259 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-03-22 13:04:21.271 debug Response chunk /sys/dev/sync to 192.168.0.160: {"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"paused":true,"emitClose":true,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrain":0,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{},"_eventsCount":0,"_maxListeners":100,"payload":{"type":"Buffer","data":[49,50,53,65,55,56,68,52]},"options":[{"name":"Content-Format","value":"text/plain"}],"code":"2.05","headers":{"Content-Format":"text/plain","Content-Type":"text/plain"},"url":"/","rsinfo":{"address":"192.168.0.160","family":"IPv4","port":5683,"size":22},"outSocket":{"address":"0.0.0.0","family":"IPv4","port":39003},"_packet":{"code":"2.05","confirmable":false,"reset":false,"ack":false,"messageId":4355,"token":{"type":"Buffer","data":[25,28,82,25,160,101,17,197]},"options":[{"name":"Content-Format","value":"text/plain"}],"payload":{"type":"Buffer","data":[49,50,53,65,55,56,68,52]}},"_payloadIndex":0}
philips-air.0 2022-03-22 13:04:21.259 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-03-22 13:03:51.317 debug Response chunk /sys/dev/sync to 192.168.0.160: {"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"paused":true,"emitClose":true,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrain":0,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{},"_eventsCount":0,"_maxListeners":100,"payload":{"type":"Buffer","data":[52,57,57,48,55,53,51,55]},"options":[{"name":"Content-Format","value":"text/plain"}],"code":"2.05","headers":{"Content-Format":"text/plain","Content-Type":"text/plain"},"url":"/","rsinfo":{"address":"192.168.0.160","family":"IPv4","port":5683,"size":22},"outSocket":{"address":"0.0.0.0","family":"IPv4","port":39003},"_packet":{"code":"2.05","confirmable":false,"reset":false,"ack":false,"messageId":4353,"token":{"type":"Buffer","data":[25,28,82,23,253,67,145,4]},"options":[{"name":"Content-Format","value":"text/plain"}],"payload":{"type":"Buffer","data":[52,57,57,48,55,53,51,55]}},"_payloadIndex":0}
philips-air.0 2022-03-22 13:03:51.259 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-03-22 13:03:21.272 debug Response chunk /sys/dev/sync to 192.168.0.160: {"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"paused":true,"emitClose":true,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrain":0,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{},"_eventsCount":0,"_maxListeners":100,"payload":{"type":"Buffer","data":[51,66,54,69,67,52,65,57]},"options":[{"name":"Content-Format","value":"text/plain"}],"code":"2.05","headers":{"Content-Format":"text/plain","Content-Type":"text/plain"},"url":"/","rsinfo":{"address":"192.168.0.160","family":"IPv4","port":5683,"size":22},"outSocket":{"address":"0.0.0.0","family":"IPv4","port":39003},"_packet":{"code":"2.05","confirmable":false,"reset":false,"ack":false,"messageId":4351,"token":{"type":"Buffer","data":[25,28,82,21,210,134,183,201]},"options":[{"name":"Content-Format","value":"text/plain"}],"payload":{"type":"Buffer","data":[51,66,54,69,67,52,65,57]}},"_payloadIndex":0}
philips-air.0 2022-03-22 13:03:21.258 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-03-22 13:02:51.313 debug Response chunk /sys/dev/sync to 192.168.0.160: {"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"paused":true,"emitClose":true,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrain":0,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{},"_eventsCount":0,"_maxListeners":100,"payload":{"type":"Buffer","data":[51,53,49,56,66,52,66,53]},"options":[{"name":"Content-Format","value":"text/plain"}],"code":"2.05","headers":{"Content-Format":"text/plain","Content-Type":"text/plain"},"url":"/","rsinfo":{"address":"192.168.0.160","family":"IPv4","port":5683,"size":22},"outSocket":{"address":"0.0.0.0","family":"IPv4","port":39003},"_packet":{"code":"2.05","confirmable":false,"reset":false,"ack":false,"messageId":4349,"token":{"type":"Buffer","data":[25,28,82,19,225,81,177,176]},"options":[{"name":"Content-Format","value":"text/plain"}],"payload":{"type":"Buffer","data":[51,53,49,56,66,52,66,53]}},"_payloadIndex":0}
philips-air.0 2022-03-22 13:02:51.257 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-03-22 13:02:21.270 debug Response chunk /sys/dev/sync to 192.168.0.160: {"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"paused":true,"emitClose":true,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrain":0,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{},"_eventsCount":0,"_maxListeners":100,"payload":{"type":"Buffer","data":[53,53,57,50,54,68,67,52]},"options":[{"name":"Content-Format","value":"text/plain"}],"code":"2.05","headers":{"Content-Format":"text/plain","Content-Type":"text/plain"},"url":"/","rsinfo":{"address":"192.168.0.160","family":"IPv4","port":5683,"size":22},"outSocket":{"address":"0.0.0.0","family":"IPv4","port":39003},"_packet":{"code":"2.05","confirmable":false,"reset":false,"ack":false,"messageId":4347,"token":{"type":"Buffer","data":[25,28,82,17,198,96,212,196]},"options":[{"name":"Content-Format","value":"text/plain"}],"payload":{"type":"Buffer","data":[53,53,57,50,54,68,67,52]}},"_payloadIndex":0}
philips-air.0 2022-03-22 13:02:21.258 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-03-22 13:01:51.316 debug Response chunk /sys/dev/sync to 192.168.0.160: {"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"paused":true,"emitClose":true,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrain":0,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{},"_eventsCount":0,"_maxListeners":100,"payload":{"type":"Buffer","data":[54,53,70,51,55,52,56,48]},"options":[{"name":"Content-Format","value":"text/plain"}],"code":"2.05","headers":{"Content-Format":"text/plain","Content-Type":"text/plain"},"url":"/","rsinfo":{"address":"192.168.0.160","family":"IPv4","port":5683,"size":22},"outSocket":{"address":"0.0.0.0","family":"IPv4","port":39003},"_packet":{"code":"2.05","confirmable":false,"reset":false,"ack":false,"messageId":4345,"token":{"type":"Buffer","data":[25,28,82,15,85,91,28,128]},"options":[{"name":"Content-Format","value":"text/plain"}],"payload":{"type":"Buffer","data":[54,53,70,51,55,52,56,48]}},"_payloadIndex":0}
philips-air.0 2022-03-22 13:01:51.258 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-03-22 13:01:21.271 debug Response chunk /sys/dev/sync to 192.168.0.160: {"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"paused":true,"emitClose":true,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrain":0,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{},"_eventsCount":0,"_maxListeners":100,"payload":{"type":"Buffer","data":[48,50,54,48,70,53,65,67]},"options":[{"name":"Content-Format","value":"text/plain"}],"code":"2.05","headers":{"Content-Format":"text/plain","Content-Type":"text/plain"},"url":"/","rsinfo":{"address":"192.168.0.160","family":"IPv4","port":5683,"size":22},"outSocket":{"address":"0.0.0.0","family":"IPv4","port":39003},"_packet":{"code":"2.05","confirmable":false,"reset":false,"ack":false,"messageId":4343,"token":{"type":"Buffer","data":[25,28,82,13,115,62,201,32]},"options":[{"name":"Content-Format","value":"text/plain"}],"payload":{"type":"Buffer","data":[48,50,54,48,70,53,65,67]}},"_payloadIndex":0}
philips-air.0 2022-03-22 13:01:21.258 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-03-22 13:00:51.292 debug Response chunk /sys/dev/sync to 192.168.0.160: {"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":null,"pipesCount":0,"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"paused":true,"emitClose":true,"autoDestroy":false,"destroyed":false,"defaultEncoding":"utf8","awaitDrain":0,"readingMore":false,"decoder":null,"encoding":null},"readable":true,"_events":{},"_eventsCount":0,"_maxListeners":100,"payload":{"type":"Buffer","data":[52,48,53,54,57,54,54,69]},"options":[{"name":"Content-Format","value":"text/plain"}],"code":"2.05","headers":{"Content-Format":"text/plain","Content-Type":"text/plain"},"url":"/","rsinfo":{"address":"192.168.0.160","family":"IPv4","port":5683,"size":22},"outSocket":{"address":"0.0.0.0","family":"IPv4","port":53394},"_packet":{"code":"2.05","confirmable":false,"reset":false,"ack":false,"messageId":56537,"token":{"type":"Buffer","data":[202,60,128,137,227,75,73,151]},"options":[{"name":"Content-Format","value":"text/plain"}],"payload":{"type":"Buffer","data":[52,48,53,54,57,54,54,69]}},"_payloadIndex":0}
philips-air.0 2022-03-22 13:00:51.276 debug started
philips-air.0 2022-03-22 13:00:51.254 debug start with 192.168.0.160 {"host":"192.168.0.160","aliveTimeout":"30000","reconnectInterval":"30000"}
philips-air.0 2022-03-22 13:00:51.176 info starting. Version 0.1.3 (non-npm: iobroker-community-adapters/ioBroker.philips-air#abeed96395f3b68a4ad5cbbab5b6404233e3d7a0) in /opt/iobroker/node_modules/iobroker.philips-air, node: v14.19.0, js-controller: 4.0.21
philips-air.0 2022-03-22 13:00:50.537 debug Plugin sentry Initialize Plugin (enabled=true)
philips-air.0 2022-03-22 13:00:50.432 debug States connected to redis: 127.0.0.1:9000
philips-air.0 2022-03-22 13:00:50.410 debug States create User PubSub Client
philips-air.0 2022-03-22 13:00:50.409 debug States create System PubSub Client
philips-air.0 2022-03-22 13:00:50.394 debug Redis States: Use Redis connection: 127.0.0.1:9000
philips-air.0 2022-03-22 13:00:50.363 debug Objects connected to redis: 127.0.0.1:9001
philips-air.0 2022-03-22 13:00:50.355 debug Objects client initialize lua scripts
philips-air.0 2022-03-22 13:00:50.317 debug Objects create User PubSub Client
philips-air.0 2022-03-22 13:00:50.315 debug Objects create System PubSub Client
philips-air.0 2022-03-22 13:00:50.312 debug Objects client ready ... initialize now
philips-air.0 2022-03-22 13:00:50.246 debug Redis Objects: Use Redis connection: 127.0.0.1:9001

@Apollon77
Copy link
Member

Ok, we need to dig trough it one step afetr the other ... please Guthub again ad provide debug log

@boos87
Copy link

boos87 commented Mar 22, 2022

Re-Install the adapter from github.

Here is the log:

philips-air.0 2022-03-22 14:34:08.116 info Received: 5B2BBD38
philips-air.0 2022-03-22 14:34:08.113 debug Response data incoming: []
philips-air.0 2022-03-22 14:34:08.110 debug Response incoming
philips-air.0 2022-03-22 14:34:08.086 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-03-22 14:33:38.145 info Received: 0283799F
philips-air.0 2022-03-22 14:33:38.144 debug Response data incoming: []
philips-air.0 2022-03-22 14:33:38.143 debug Response incoming
philips-air.0 2022-03-22 14:33:38.086 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-03-22 14:33:08.100 info Received: 02AA5D1D
philips-air.0 2022-03-22 14:33:08.097 debug Response data incoming: []
philips-air.0 2022-03-22 14:33:08.095 debug Response incoming
philips-air.0 2022-03-22 14:33:08.086 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-03-22 14:32:38.102 info Received: 3FA09E1D
philips-air.0 2022-03-22 14:32:38.100 debug Response data incoming: []
philips-air.0 2022-03-22 14:32:38.098 debug Response incoming
philips-air.0 2022-03-22 14:32:38.085 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-03-22 14:32:08.108 info Received: 5FA73327
philips-air.0 2022-03-22 14:32:08.106 debug Response data incoming: []
philips-air.0 2022-03-22 14:32:08.104 debug Response incoming
philips-air.0 2022-03-22 14:32:08.085 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-03-22 14:31:38.148 info Received: 6E4BAE5F
philips-air.0 2022-03-22 14:31:38.144 debug Response data incoming: []
philips-air.0 2022-03-22 14:31:38.140 debug Response incoming
philips-air.0 2022-03-22 14:31:38.120 debug started
philips-air.0 2022-03-22 14:31:38.081 debug start with 192.168.0.160 {"host":"192.168.0.160","aliveTimeout":"30000","reconnectInterval":"30000"}
philips-air.0 2022-03-22 14:31:38.002 info starting. Version 0.1.3 (non-npm: iobroker-community-adapters/ioBroker.philips-air#2aa75886674896ace0db815ec1fdaf0130264c02) in /opt/iobroker/node_modules/iobroker.philips-air, node: v14.19.0, js-controller: 4.0.21
philips-air.0 2022-03-22 14:31:37.402 debug Plugin sentry Initialize Plugin (enabled=true)
philips-air.0 2022-03-22 14:31:37.299 debug States connected to redis: 127.0.0.1:9000
philips-air.0 2022-03-22 14:31:37.278 debug States create User PubSub Client
philips-air.0 2022-03-22 14:31:37.276 debug States create System PubSub Client
philips-air.0 2022-03-22 14:31:37.263 debug Redis States: Use Redis connection: 127.0.0.1:9000
philips-air.0 2022-03-22 14:31:37.232 debug Objects connected to redis: 127.0.0.1:9001
philips-air.0 2022-03-22 14:31:37.225 debug Objects client initialize lua scripts
philips-air.0 2022-03-22 14:31:37.178 debug Objects create User PubSub Client
philips-air.0 2022-03-22 14:31:37.177 debug Objects create System PubSub Client
philips-air.0 2022-03-22 14:31:37.174 debug Objects client ready ... initialize now
philips-air.0 2022-03-22 14:31:37.120 debug Redis Objects: Use Redis connection: 127.0.0.1:9001
philips-air.0 2022-03-22 14:31:19.016 info starting. Version 0.1.3 (non-npm: iobroker-community-adapters/ioBroker.philips-air#2aa75886674896ace0db815ec1fdaf0130264c02) in /opt/iobroker/node_modules/iobroker.philips-air, node: v14.19.0, js-controller: 4.0.21
philips-air.0 2022-03-22 14:31:18.863 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
philips-air.0 2022-03-22 14:31:18.861 info terminating
philips-air.0 2022-03-22 14:31:18.357 info Got terminate signal TERMINATE_YOURSELF
philips-air.0 2022-03-22 14:31:13.574 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
philips-air.0 2022-03-22 14:31:13.572 info terminating
philips-air.0 2022-03-22 14:31:13.570 info Got terminate signal TERMINATE_YOURSELF
philips-air.0 2022-03-22 14:31:07.452 warn No IP defined
philips-air.0 2022-03-22 14:31:07.322 info starting. Version 0.1.3 (non-npm: iobroker-community-adapters/ioBroker.philips-air#2aa75886674896ace0db815ec1fdaf0130264c02) in /opt/iobroker/node_modules/iobroker.philips-air, node: v14.19.0, js-controller: 4.0.21

Thank you so much for your support!!!

@Apollon77
Copy link
Member

So now it works???

@chris-hoe
Copy link
Author

Okay, nächste Runde:

  • normales Log inkl. DEBUG:
philips-air.0 Zeit debug Nachricht
philips-air.0 2022-03-22 14:31:54.790 info Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
philips-air.0 2022-03-22 14:31:54.786 debug Plugin sentry destroyed
philips-air.0 2022-03-22 14:31:48.292 info Received: 298CD418
philips-air.0 2022-03-22 14:31:48.291 debug Response data incoming: []
philips-air.0 2022-03-22 14:31:48.289 debug Response incoming
philips-air.0 2022-03-22 14:31:48.282 debug POST /sys/dev/sync to 10.100.255.35
philips-air.0 2022-03-22 14:31:18.292 info Received: 05D70CCB
philips-air.0 2022-03-22 14:31:18.290 debug Response data incoming: []
philips-air.0 2022-03-22 14:31:18.288 debug Response incoming
philips-air.0 2022-03-22 14:31:18.281 debug POST /sys/dev/sync to 10.100.255.35
philips-air.0 2022-03-22 14:30:48.294 info Received: 2D03C7D2
philips-air.0 2022-03-22 14:30:48.292 debug Response data incoming: []
philips-air.0 2022-03-22 14:30:48.289 debug Response incoming
philips-air.0 2022-03-22 14:30:48.281 debug POST /sys/dev/sync to 10.100.255.35
philips-air.0 2022-03-22 14:30:18.321 info Received: 0D76D1C7
philips-air.0 2022-03-22 14:30:18.317 debug Response data incoming: []
philips-air.0 2022-03-22 14:30:18.312 debug Response incoming
philips-air.0 2022-03-22 14:30:18.297 debug started
philips-air.0 2022-03-22 14:30:18.277 debug start with 10.100.255.35 {"host":"10.100.255.35","aliveTimeout":"30000","reconnectInterval":"30000"}
philips-air.0 2022-03-22 14:30:18.060 debug Schedule restart: 0 15 * * *
philips-air.0 2022-03-22 14:30:17.955 info starting. Version 0.1.3 (non-npm: iobroker-community-adapters/ioBroker.philips-air) in /opt/iobroker/node_modules/iobroker.philips-air, node: v14.19.1, js-controller: 4.0.21

... aber Zustand ist noch immer der Gleiche: der dritte grüne Haken kommt nicht!

@boos87
Copy link

boos87 commented Mar 22, 2022

Sorry, nein, der Adapter funktioniert noch nicht. Dritter Haken fehlt weiterhin, Connection = false.

(Das Danke bezog sich auf deine Unterstützung und deine Zeit. :-) Sorry für die Verwirrung.)

@Apollon77
Copy link
Member

Na ok :-))) Dann debuggen wir mal weiter im Code-Flow ... Next try please ... hab vllt was gesehen was komisch ist und gefixt ... lets see

@chris-hoe
Copy link
Author

Freut mich, dass Du dran bleibst! :-)
Also .. nächste Runde:

Normales Log:

philips-air.0 Zeit debug Nachricht
philips-air.0 2022-03-22 15:17:02.231 debug GET sys/dev/status to 10.100.255.35
philips-air.0 2022-03-22 15:17:02.230 info Received: 70B6EA24
philips-air.0 2022-03-22 15:17:02.228 debug Response data incoming: {"type":"Buffer","data":[55,48,66,54,69,65,50,52]}
philips-air.0 2022-03-22 15:17:02.227 debug Response incoming
philips-air.0 2022-03-22 15:17:02.199 debug POST /sys/dev/sync to 10.100.255.35
philips-air.0 2022-03-22 15:16:32.220 debug GET sys/dev/status to 10.100.255.35
philips-air.0 2022-03-22 15:16:32.219 info Received: 1E2CA367
philips-air.0 2022-03-22 15:16:32.216 debug Response data incoming: {"type":"Buffer","data":[49,69,50,67,65,51,54,55]}
philips-air.0 2022-03-22 15:16:32.214 debug Response incoming
philips-air.0 2022-03-22 15:16:32.200 debug POST /sys/dev/sync to 10.100.255.35
philips-air.0 2022-03-22 15:16:02.372 debug GET sys/dev/status to 10.100.255.35
philips-air.0 2022-03-22 15:16:02.369 info Received: 033A4E5B
philips-air.0 2022-03-22 15:16:02.365 debug Response data incoming: {"type":"Buffer","data":[48,51,51,65,52,69,53,66]}
philips-air.0 2022-03-22 15:16:02.358 debug Response incoming
philips-air.0 2022-03-22 15:16:02.215 debug started
philips-air.0 2022-03-22 15:16:02.195 debug start with 10.100.255.35 {"host":"10.100.255.35","aliveTimeout":"30000","reconnectInterval":"30000"}
philips-air.0 2022-03-22 15:16:01.718 debug Schedule restart: 0 15 * * *
philips-air.0 2022-03-22 15:16:01.598 info starting. Version 0.1.3 (non-npm: iobroker-community-adapters/ioBroker.philips-air) in /opt/iobroker/node_modules/iobroker.philips-air, node: v14.19.1, js-controller: 4.0.21

... und Konsolen-Ausgabe:
philips-air.debug-20220322-4.txt

Aber der Zustand ist noch immer unverändert: kein dritter grüner Haken....

@Apollon77
Copy link
Member

Apollon77 commented Mar 22, 2022

Slowly I miss ideas -... please try again (new GitHub version)

@chris-hoe
Copy link
Author

Next iteration - normal log:

philips-air.0 Zeit debug Nachricht
philips-air.0 2022-03-22 16:22:05.051 info Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
philips-air.0 2022-03-22 16:22:05.047 debug Plugin sentry destroyed
philips-air.0 2022-03-22 16:21:54.000 debug GET /sys/dev/status to 10.100.255.35
philips-air.0 2022-03-22 16:21:53.999 info Received: 46E0242B
philips-air.0 2022-03-22 16:21:53.996 debug Response data incoming: {"type":"Buffer","data":[52,54,69,48,50,52,50,66]}
philips-air.0 2022-03-22 16:21:53.993 debug Response incoming
philips-air.0 2022-03-22 16:21:53.984 debug POST /sys/dev/sync to 10.100.255.35
philips-air.0 2022-03-22 16:21:23.998 debug GET /sys/dev/status to 10.100.255.35
philips-air.0 2022-03-22 16:21:23.996 info Received: 3F6A6F7D
philips-air.0 2022-03-22 16:21:23.995 debug Response data incoming: {"type":"Buffer","data":[51,70,54,65,54,70,55,68]}
philips-air.0 2022-03-22 16:21:23.993 debug Response incoming
philips-air.0 2022-03-22 16:21:23.982 debug POST /sys/dev/sync to 10.100.255.35
philips-air.0 2022-03-22 16:20:53.997 debug GET /sys/dev/status to 10.100.255.35
philips-air.0 2022-03-22 16:20:53.995 info Received: 07F9C3CA
philips-air.0 2022-03-22 16:20:53.994 debug Response data incoming: {"type":"Buffer","data":[48,55,70,57,67,51,67,65]}
philips-air.0 2022-03-22 16:20:53.992 debug Response incoming
philips-air.0 2022-03-22 16:20:53.982 debug POST /sys/dev/sync to 10.100.255.35
philips-air.0 2022-03-22 16:20:23.995 debug GET /sys/dev/status to 10.100.255.35
philips-air.0 2022-03-22 16:20:23.994 info Received: 48A928AE
philips-air.0 2022-03-22 16:20:23.992 debug Response data incoming: {"type":"Buffer","data":[52,56,65,57,50,56,65,69]}
philips-air.0 2022-03-22 16:20:23.991 debug Response incoming
philips-air.0 2022-03-22 16:20:23.982 debug POST /sys/dev/sync to 10.100.255.35
philips-air.0 2022-03-22 16:19:54.066 debug GET /sys/dev/status to 10.100.255.35
philips-air.0 2022-03-22 16:19:54.063 info Received: 488BB2E8
philips-air.0 2022-03-22 16:19:54.058 debug Response data incoming: {"type":"Buffer","data":[52,56,56,66,66,50,69,56]}
philips-air.0 2022-03-22 16:19:54.053 debug Response incoming
philips-air.0 2022-03-22 16:19:54.006 debug started
philips-air.0 2022-03-22 16:19:53.978 debug start with 10.100.255.35 {"host":"10.100.255.35","aliveTimeout":"30000","reconnectInterval":"30000"}
philips-air.0 2022-03-22 16:19:53.745 debug Schedule restart: 0 15 * * *
philips-air.0 2022-03-22 16:19:53.627 info starting. Version 0.1.3 (non-npm: iobroker-community-adapters/ioBroker.philips-air) in /opt/iobroker/node_modules/iobroker.philips-air, node: v14.19.1, js-controller: 4.0.21

and captured console output:
philips-air.debug-20220333-5.txt

... but no luck still:
grafik

@Apollon77
Copy link
Member

In fact the device does not respond ... question is mainly why ...

Can you do me a favour and try e.g. https://github.com/rgerganov/py-air-control if that works in general (before we somehow hunt ghosts because reason is somewhere else?)

I also do not want to break it for potential pother devcies where ich might work

@chris-hoe
Copy link
Author

I installed it the way it described on the linked GitHup page:

pip3 install -U git+https://github.com/rgerganov/CoAPthon3
pip3 install py-air-control

and it works:

sudo airctrl --ipaddr 10.100.255.35 --protocol coap

returns the status of my air filter:

[name]                        Name: Arbeitszimmer
[type]                        Type: AC3829
[modelid]                     ModelId: AC3829/10
[MCUBoot]                     MCUBoot: True
[swversion]                   Version: 1.4.0
[DeviceVersion]               DeviceVersion: 1.4.0
[range]                       range: Mario
[Runtime]                     Runtime: 7.78 hours
[rssi]                        rssi: -63
[wifilog]                     wifilog: False
[free_memory]                 free_memory: 49736
[WifiVersion]                 WifiVersion: AWS_Philips_AIR@68.3
[ProductId]                   ProductId: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[DeviceId]                    DeviceId:    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[StatusType]                  StatusType: status
[ConnectType]                 ConnectType: Online
[om]                          Fan speed: silent
[pwr]                         Power: ON
[cl]                          Child lock: True
[aqil]                        Light brightness: 100
[uil]                         Buttons light: ON
[mode]                        Mode: auto
[func]                        Function: Purification
[rhset]                       Target humidity: 50
[rh]                          Humidity: 41
[temp]                        Temperature: 23
[pm25]                        PM25: 6
[iaql]                        Allergen index: 2
[aqit]                        Air quality notification threshold: 7
[ddp]                         Used index: IAI
[rddp]                        rddp: 0
[wl]                          Water level: 100
[fltt1]                       HEPA filter type: NanoProtect Filter Series 3 (FY2422)
[fltt2]                       Active carbon filter type: NanoProtect Filter AC (FY2420)
[fltsts0]                     Pre-filter and Wick: clean in 24 hours
[fltsts1]                     HEPA filter: replace in 2511 hours
[fltsts2]                     Active carbon filter: replace in 2511 hours
[wicksts]                     Wick filter: replace in 2511 hours

So, we are not huting ghosts I guess.... ;-)

@boos87
Copy link

boos87 commented Mar 22, 2022

By me the same.

[name] Name: Schlafzimmer
[type] Type: AC2729
[modelid] ModelId: AC2729/10
[swversion] Version: 0.2.1
[range] range: MicroMario
[Runtime] Runtime: 1.56 hours
[rssi] rssi: -46
[wifilog] wifilog: False
[free_memory] free_memory: 54400
[WifiVersion] WifiVersion: AWS_Philips_AIR@68.3
[ProductId] ProductId: 85bc26fae62611e8a1e3061302926720
[DeviceId] DeviceId: 861d88286b0311eb826c464cd96d67a0
[StatusType] StatusType: status
[ConnectType] ConnectType: Online
[om] Fan speed: 1
[pwr] Power: ON
[cl] Child lock: False
[aqil] Light brightness: 100
[uil] Buttons light: ON
[mode] Mode: manual
[func] Function: Purification & Humidification
[rhset] Target humidity: 50
[rh] Humidity: 41
[temp] Temperature: 18
[pm25] PM25: 7
[iaql] Allergen index: 2
[aqit] Air quality notification threshold: 1
[ddp] Used index: IAI
[rddp] rddp: 0
[wl] Water level: 100
[fltt1] HEPA filter type: NanoProtect Filter Series 3 (FY2422)
[fltt2] Active carbon filter type: NanoProtect Filter AC (FY2420)
[fltsts0] Pre-filter and Wick: clean in 100 hours
[fltsts1] HEPA filter: replace in 3445 hours
[fltsts2] Active carbon filter: replace in 3445 hours
[wicksts] Wick filter: replace in 3445 hours

@Apollon77
Copy link
Member

Ok, good to know that it is not caused by the device itself - just wanted to be sure :-)

Please try again GitHub version ... I diwngraded the coap lib again to exact version as before

@boos87
Copy link

boos87 commented Mar 22, 2022

Hi, now it works :-)
image
image

THANK YOU SO MUCH!!! :-)

@boos87
Copy link

boos87 commented Mar 22, 2022

By the way, i have another question.
From time to time there is a failure occured:
image

I have tried to fix it in the objects. I have changed "boolean" to "string", then the failure doesn´t occure for some hours and then, it is occured again. In the objects, there is "boolean" again. How can i fix the problem?

@Apollon77
Copy link
Member

Please open new issue for this topic with a debug log :-)

@boos87
Copy link

boos87 commented Mar 22, 2022

Okay :-) Thank you again

@Apollon77
Copy link
Member

ould I please also see a debug log of a working version? :-)

@chris-hoe
Copy link
Author

chris-hoe commented Mar 22, 2022 via email

@Apollon77
Copy link
Member

@boos87 maybe we can have two think together: Send a debug log that trggers your error line fromabove ... then I can see why

@boos87
Copy link

boos87 commented Apr 23, 2022

Hi, I´m sorry, i was on vaccation the last week, so I had no chance to test the adapter. Now, i have install the version 0.1.6 from github. The device doesn´t connect.
image

Now, when i try to download the Log-File, my Raspberry Pi 4 is restarting. It is now the fourth time. I don´t know, if there is a context between the new version of the adapter and the restarting of the pi.

The debug-log from the screen:

philips-air.0 2022-04-23 23:50:00.432 debug GET /sys/dev/status to 192.168.0.160
philips-air.0 2022-04-23 23:50:00.431 info Received: 0C0C0B40
philips-air.0 2022-04-23 23:50:00.430 debug Response data incoming: {"type":"Buffer","data":[48,67,48,67,48,66,52,48]}
philips-air.0 2022-04-23 23:50:00.429 debug Response incoming
philips-air.0 2022-04-23 23:50:00.416 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-04-23 23:49:30.437 debug GET /sys/dev/status to 192.168.0.160
philips-air.0 2022-04-23 23:49:30.436 info Received: 03CC29D1
philips-air.0 2022-04-23 23:49:30.434 debug Response data incoming: {"type":"Buffer","data":[48,51,67,67,50,57,68,49]}
philips-air.0 2022-04-23 23:49:30.432 debug Response incoming
philips-air.0 2022-04-23 23:49:30.416 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-04-23 23:49:00.438 debug GET /sys/dev/status to 192.168.0.160
philips-air.0 2022-04-23 23:49:00.437 info Received: 1C0E82AF
philips-air.0 2022-04-23 23:49:00.436 debug Response data incoming: {"type":"Buffer","data":[49,67,48,69,56,50,65,70]}
philips-air.0 2022-04-23 23:49:00.434 debug Response incoming
philips-air.0 2022-04-23 23:49:00.417 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-04-23 23:48:30.444 debug GET /sys/dev/status to 192.168.0.160
philips-air.0 2022-04-23 23:48:30.442 info Received: 157A9B47
philips-air.0 2022-04-23 23:48:30.440 debug Response data incoming: {"type":"Buffer","data":[49,53,55,65,57,66,52,55]}
philips-air.0 2022-04-23 23:48:30.437 debug Response incoming
philips-air.0 2022-04-23 23:48:30.417 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-04-23 23:48:00.435 debug GET /sys/dev/status to 192.168.0.160
philips-air.0 2022-04-23 23:48:00.434 info Received: 380A9D69
philips-air.0 2022-04-23 23:48:00.433 debug Response data incoming: {"type":"Buffer","data":[51,56,48,65,57,68,54,57]}
philips-air.0 2022-04-23 23:48:00.432 debug Response incoming
philips-air.0 2022-04-23 23:48:00.417 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-04-23 23:47:30.432 debug GET /sys/dev/status to 192.168.0.160
philips-air.0 2022-04-23 23:47:30.431 info Received: 556F4EAD
philips-air.0 2022-04-23 23:47:30.430 debug Response data incoming: {"type":"Buffer","data":[53,53,54,70,52,69,65,68]}
philips-air.0 2022-04-23 23:47:30.429 debug Response incoming
philips-air.0 2022-04-23 23:47:30.417 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-04-23 23:47:00.434 debug GET /sys/dev/status to 192.168.0.160
philips-air.0 2022-04-23 23:47:00.434 info Received: 5FFA541C
philips-air.0 2022-04-23 23:47:00.432 debug Response data incoming: {"type":"Buffer","data":[53,70,70,65,53,52,49,67]}
philips-air.0 2022-04-23 23:47:00.431 debug Response incoming
philips-air.0 2022-04-23 23:47:00.416 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-04-23 23:46:30.462 debug GET /sys/dev/status to 192.168.0.160
philips-air.0 2022-04-23 23:46:30.461 info Received: 4ACA3A51
philips-air.0 2022-04-23 23:46:30.456 debug Response data incoming: {"type":"Buffer","data":[52,65,67,65,51,65,53,49]}
philips-air.0 2022-04-23 23:46:30.452 debug Response incoming
philips-air.0 2022-04-23 23:46:30.434 debug started
philips-air.0 2022-04-23 23:46:30.413 debug start with 192.168.0.160 {"host":"192.168.0.160","aliveTimeout":"30000","reconnectInterval":"30000"}
philips-air.0 2022-04-23 23:46:30.338 info starting. Version 0.1.6 (non-npm: iobroker-community-adapters/ioBroker.philips-air#7dc009d74f0b3fccd7814399a4c7891f6d3f3991) in /opt/iobroker/node_modules/iobroker.philips-air, node: v14.19.0, js-controller: 4.0.21
philips-air.0 2022-04-23 23:46:29.661 debug Plugin sentry Initialize Plugin (enabled=true)
philips-air.0 2022-04-23 23:46:29.552 debug States connected to redis: 127.0.0.1:9000
philips-air.0 2022-04-23 23:46:29.529 debug States create User PubSub Client
philips-air.0 2022-04-23 23:46:29.528 debug States create System PubSub Client
philips-air.0 2022-04-23 23:46:29.510 debug Redis States: Use Redis connection: 127.0.0.1:9000
philips-air.0 2022-04-23 23:46:29.478 debug Objects connected to redis: 127.0.0.1:9001
philips-air.0 2022-04-23 23:46:29.470 debug Objects client initialize lua scripts
philips-air.0 2022-04-23 23:46:29.419 debug Objects create User PubSub Client
philips-air.0 2022-04-23 23:46:29.418 debug Objects create System PubSub Client
philips-air.0 2022-04-23 23:46:29.415 debug Objects client ready ... initialize now
philips-air.0 2022-04-23 23:46:29.359 debug Redis Objects: Use Redis connection: 127.0.0.1:9001

@Apollon77
Copy link
Member

Ok, Danke, sind also immer noch "nicht funktionierend". Gut wir suchen weiter

@boos87
Copy link

boos87 commented Apr 23, 2022

Yes, unfortunately it doesn´t work. So i think, the new version in context with the debug leads to a crash of my Pi 4with 4GB. I have deactivate the instance from Philips and the Pi works without problems.

@Apollon77
Copy link
Member

@boos87 @chris-hoe Ok, hopefully last try ... @JKRhb was finally able to identify and hopefully fix the issue ...

@boos87
Copy link

boos87 commented Apr 24, 2022

Hi, i have tried the version on github.

Debug-Log:

philips-air.0 2022-04-24 20:03:28.639 debug GET /sys/dev/status to 192.168.0.160
philips-air.0 2022-04-24 20:03:28.638 info Received: 28452DB3
philips-air.0 2022-04-24 20:03:28.635 debug Response data incoming: {"type":"Buffer","data":[50,56,52,53,50,68,66,51]}
philips-air.0 2022-04-24 20:03:28.633 debug Response incoming
philips-air.0 2022-04-24 20:03:28.622 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-04-24 20:02:58.640 debug GET /sys/dev/status to 192.168.0.160
philips-air.0 2022-04-24 20:02:58.638 info Received: 3217C2BE
philips-air.0 2022-04-24 20:02:58.636 debug Response data incoming: {"type":"Buffer","data":[51,50,49,55,67,50,66,69]}
philips-air.0 2022-04-24 20:02:58.633 debug Response incoming
philips-air.0 2022-04-24 20:02:58.622 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-04-24 20:02:28.640 debug GET /sys/dev/status to 192.168.0.160
philips-air.0 2022-04-24 20:02:28.638 info Received: 463DD4E4
philips-air.0 2022-04-24 20:02:28.636 debug Response data incoming: {"type":"Buffer","data":[52,54,51,68,68,52,69,52]}
philips-air.0 2022-04-24 20:02:28.633 debug Response incoming
philips-air.0 2022-04-24 20:02:28.622 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-04-24 20:01:58.636 debug GET /sys/dev/status to 192.168.0.160
philips-air.0 2022-04-24 20:01:58.636 info Received: 60E7EA00
philips-air.0 2022-04-24 20:01:58.634 debug Response data incoming: {"type":"Buffer","data":[54,48,69,55,69,65,48,48]}
philips-air.0 2022-04-24 20:01:58.633 debug Response incoming
philips-air.0 2022-04-24 20:01:58.621 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-04-24 20:01:28.772 debug GET /sys/dev/status to 192.168.0.160
philips-air.0 2022-04-24 20:01:28.769 info Received: 295E791B
philips-air.0 2022-04-24 20:01:28.746 debug Response data incoming: {"type":"Buffer","data":[50,57,53,69,55,57,49,66]}
philips-air.0 2022-04-24 20:01:28.727 debug Response incoming
philips-air.0 2022-04-24 20:01:28.688 debug started
philips-air.0 2022-04-24 20:01:28.583 debug start with 192.168.0.160 {"host":"192.168.0.160","aliveTimeout":"30000","reconnectInterval":"30000"}
philips-air.0 2022-04-24 20:01:28.387 info starting. Version 0.1.6 (non-npm: iobroker-community-adapters/ioBroker.philips-air#872c5f4ef5e4e23016958d8f1afd0b5080bbe02a) in /opt/iobroker/node_modules/iobroker.philips-air, node: v14.19.0, js-controller: 4.0.21
philips-air.0 2022-04-24 20:01:26.496 debug Plugin sentry Initialize Plugin (enabled=true)
philips-air.0 2022-04-24 20:01:26.328 debug States connected to redis: 127.0.0.1:9000
philips-air.0 2022-04-24 20:01:26.282 debug States create User PubSub Client
philips-air.0 2022-04-24 20:01:26.278 debug States create System PubSub Client
philips-air.0 2022-04-24 20:01:26.250 debug Redis States: Use Redis connection: 127.0.0.1:9000
philips-air.0 2022-04-24 20:01:26.188 debug Objects connected to redis: 127.0.0.1:9001
philips-air.0 2022-04-24 20:01:26.170 debug Objects client initialize lua scripts
philips-air.0 2022-04-24 20:01:26.078 debug Objects create User PubSub Client
philips-air.0 2022-04-24 20:01:26.076 debug Objects create System PubSub Client
philips-air.0 2022-04-24 20:01:26.064 debug Objects client ready ... initialize now
philips-air.0 2022-04-24 20:01:25.964 debug Redis Objects: Use Redis connection: 127.0.0.1:9001

image

No connection to the device...

@Apollon77
Copy link
Member

meehhhhh :-(

Any one of you capable to run Wireshark to sniff network traffic?

@chris-hoe
Copy link
Author

@Apollon77: yes, I can do that. What exactly do you want me to look at?

@Apollon77
Copy link
Member

Ideally:

  • use the "working version" and sniff all network traffic
  • use the "current github" and sniff all traffic ...
    Then send me via email (iobroker@fischer-ka.de) with infos on IPs (device/iobroker) andwe can compare whats the difference

@chris-hoe
Copy link
Author

@Apollon77: sorry, I had to leave for a business trip until end of this week. I can't do the test before next week.

@Apollon77
Copy link
Member

All fine ... I think we might have another test then

@Apollon77
Copy link
Member

Ok, here we go .... GitHub has another test version ... Please check when you find time

@boos87
Copy link

boos87 commented May 13, 2022

Hi Apollon77,

sorry, the new version doesn´t work. No connection.

philips-air.0 2022-05-13 22:36:29.297 debug GET /sys/dev/status to 192.168.0.160
philips-air.0 2022-05-13 22:36:29.296 debug Received: 2B511F92
philips-air.0 2022-05-13 22:36:29.294 debug Response data incoming: {"type":"Buffer","data":[50,66,53,49,49,70,57,50]}
philips-air.0 2022-05-13 22:36:29.292 debug Response incoming
philips-air.0 2022-05-13 22:36:29.285 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-05-13 22:35:59.308 debug GET /sys/dev/status to 192.168.0.160
philips-air.0 2022-05-13 22:35:59.303 debug Received: 00B7DAEA
philips-air.0 2022-05-13 22:35:59.300 debug Response data incoming: {"type":"Buffer","data":[48,48,66,55,68,65,69,65]}
philips-air.0 2022-05-13 22:35:59.298 debug Response incoming
philips-air.0 2022-05-13 22:35:59.286 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-05-13 22:35:29.315 debug GET /sys/dev/status to 192.168.0.160
philips-air.0 2022-05-13 22:35:29.313 debug Received: 1BD7F3C6
philips-air.0 2022-05-13 22:35:29.300 debug Response data incoming: {"type":"Buffer","data":[49,66,68,55,70,51,67,54]}
philips-air.0 2022-05-13 22:35:29.297 debug Response incoming
philips-air.0 2022-05-13 22:35:29.286 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-05-13 22:34:59.344 debug GET /sys/dev/status to 192.168.0.160
philips-air.0 2022-05-13 22:34:59.343 debug Received: 70A46EBD
philips-air.0 2022-05-13 22:34:59.341 debug Response data incoming: {"type":"Buffer","data":[55,48,65,52,54,69,66,68]}
philips-air.0 2022-05-13 22:34:59.339 debug Response incoming
philips-air.0 2022-05-13 22:34:59.285 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-05-13 22:34:29.300 debug GET /sys/dev/status to 192.168.0.160
philips-air.0 2022-05-13 22:34:29.299 debug Received: 4D6AA8FC
philips-air.0 2022-05-13 22:34:29.296 debug Response data incoming: {"type":"Buffer","data":[52,68,54,65,65,56,70,67]}
philips-air.0 2022-05-13 22:34:29.294 debug Response incoming
philips-air.0 2022-05-13 22:34:29.284 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-05-13 22:33:59.345 debug GET /sys/dev/status to 192.168.0.160
philips-air.0 2022-05-13 22:33:59.344 debug Received: 01369F60
philips-air.0 2022-05-13 22:33:59.343 debug Response data incoming: {"type":"Buffer","data":[48,49,51,54,57,70,54,48]}
philips-air.0 2022-05-13 22:33:59.341 debug Response incoming
philips-air.0 2022-05-13 22:33:59.283 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-05-13 22:33:29.301 debug GET /sys/dev/status to 192.168.0.160
philips-air.0 2022-05-13 22:33:29.300 debug Received: 211D7677
philips-air.0 2022-05-13 22:33:29.299 debug Response data incoming: {"type":"Buffer","data":[50,49,49,68,55,54,55,55]}
philips-air.0 2022-05-13 22:33:29.297 debug Response incoming
philips-air.0 2022-05-13 22:33:29.284 debug POST /sys/dev/sync to 192.168.0.160
philips-air.0 2022-05-13 22:32:59.345 debug GET /sys/dev/status to 192.168.0.160
philips-air.0 2022-05-13 22:32:59.343 debug Received: 2B5B5F51
philips-air.0 2022-05-13 22:32:59.339 debug Response data incoming: {"type":"Buffer","data":[50,66,53,66,53,70,53,49]}
philips-air.0 2022-05-13 22:32:59.335 debug Response incoming
philips-air.0 2022-05-13 22:32:59.303 debug started
philips-air.0 2022-05-13 22:32:59.280 debug start with 192.168.0.160 {"host":"192.168.0.160","aliveTimeout":"30000","reconnectInterval":"30000"}
philips-air.0 2022-05-13 22:32:59.209 info starting. Version 0.1.6 (non-npm: iobroker-community-adapters/ioBroker.philips-air#2e634a52604d75b687d7b183397e817d3865c0e6) in /opt/iobroker/node_modules/iobroker.philips-air, node: v14.19.0, js-controller: 4.0.21
philips-air.0 2022-05-13 22:32:58.590 debug Plugin sentry Initialize Plugin (enabled=true)
philips-air.0 2022-05-13 22:32:58.481 debug States connected to redis: 127.0.0.1:9000
philips-air.0 2022-05-13 22:32:58.458 debug States create User PubSub Client
philips-air.0 2022-05-13 22:32:58.457 debug States create System PubSub Client
philips-air.0 2022-05-13 22:32:58.443 debug Redis States: Use Redis connection: 127.0.0.1:9000
philips-air.0 2022-05-13 22:32:58.409 debug Objects connected to redis: 127.0.0.1:9001
philips-air.0 2022-05-13 22:32:58.402 debug Objects client initialize lua scripts
philips-air.0 2022-05-13 22:32:58.359 debug Objects create User PubSub Client
philips-air.0 2022-05-13 22:32:58.358 debug Objects create System PubSub Client
philips-air.0 2022-05-13 22:32:58.355 debug Objects client ready ... initialize now
philips-air.0 2022-05-13 22:32:58.259 debug Redis Objects: Use Redis connection: 127.0.0.1:9001

@Apollon77
Copy link
Member

GGRRMPPPFFFFFF%&%UIHGUZ%%&/%/&%&/(&$%(/&$(&/$(/&$(/&$$678 :-( Thank you ...

@Apollon77
Copy link
Member

@chris-hoe Any chance for Wireshark when you have time?

@chris-hoe
Copy link
Author

chris-hoe commented May 14, 2022 via email

@chris-hoe
Copy link
Author

Hi @Apollon77,
finally I've found the time to capture the adapter commuication. See attached captures.
philips-air.zip

@JKRhb
Copy link

JKRhb commented May 17, 2022

Thank @chris-hoe, I think that should help a lot with debugging :) I think the crucial lines are these:

image

As it seems to me, the socket of the client seems to be closed too early, which leads to the discarding of the observe responses.

@JKRhb
Copy link

JKRhb commented May 17, 2022

Hmm, seems as if the server uses the wrong port in its responses, which causes the ICMP messages. I haven't been able to figure out why that is the case.

The observe code itself does not seem to have any problems, I adapted it for the example below which works fine:

const { EventEmitter } = require('events')
const coap = require('coap')

const eventEmitter = new EventEmitter()

eventEmitter.on('debug', (data) => console.log(data))

const address = 'californium.eclipseprojects.io'
// const address = '20.47.97.44' // Using an IP address also works

function subscribeOnStatus () {
    return new Promise((resolve, reject) => {
        eventEmitter.emit('debug', `GET /sys/dev/status to ${address}`)
        const statusRequest = coap.request({
            method: 'GET',
            pathname: '/obs',
            host: address,
            protocol: 'coap:',
            observe: true,
            confirmable: false
        })

        statusRequest.on('response', res => {
            res.on('error', err => {
                console.error('Error by receiving: ' + err)
                eventEmitter.emit('error', 'Error by receiving: ' + err)
                res.close()
                reject(err)
            })

            res.on('data', chunk => {
                eventEmitter.emit('debug', `Subscription data incoming: ${JSON.stringify(chunk)}`)
                resolve && resolve()
                resolve = null
            })
        })
        statusRequest.on('error', err => {
            console.error('Error by sending: ' + err)
            eventEmitter.emit('error', 'Error by sending: ' + err)
            reject(err)
        })
        statusRequest.end()
    })
}

subscribeOnStatus()

@JKRhb
Copy link

JKRhb commented May 17, 2022

Hmm. Had another look into the Wireshark logs. The successful and unsuccessful runs seem very similar. The key difference is that during the unsuccessful one, the server keeps sending observe responses to the same port, which is not active anymore. In the successful ones, the port changes to the new port after a renewed observe GET request. The POST request looks it is working, so an exchange seems possible in general.

Any idea what could cause this behavior? Maybe the AC3829/10 needs to be restarted before the connection attempt?

@Apollon77
Copy link
Member

@JKRhb but how it can be the device if the only difference is the node-coap lib used?! is the client sending the same stuff in both cases?

@JKRhb
Copy link

JKRhb commented May 17, 2022

@JKRhb but how it can be the device if the only difference is the node-coap lib used?! is the client sending the same stuff in both cases?

I had another look and there is actually one small difference between the two observe requests: In the requests that work, the observe value of zero (i.e. the start value) is encoded with an option length of zero, therefore the option value is actually omitted from the packet. In the requests that don't work, the option value of zero is encoded as one byte, where all bits are set to zero (see the screenshots below). So I guess the AC3829/10 cannot handle observe options where the zero is represented by ... zeros.

Working request:

image

Request that doesn't work:

image

@Apollon77
Copy link
Member

So, hopefully we are now at the end of the road .... Please try GitHub adapter version. Thank you

@chris-hoe
Copy link
Author

Looks good - connects now. Wireshark capture attached - filtert this time, I figured how this works. ;-)
Only possible issue: the installation from Github gave a few new warnings I haven't seen before:

$ iobroker url iobroker-community-adapters/ioBroker.philips-air --host iobroker --debug
install iobroker-community-adapters/ioBroker.philips-air
NPM version: 6.14.17Installing iobroker-community-adapters/ioBroker.philips-air... (System call)
node-aead-crypto@2.2.1 preinstall /opt/iobroker/node_modules/node-aead-crypto> node lib/preinstall.jsnode-aead-crypto not needed on this system, since all ciphers are natively supported
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.1 (node_modules/node-aead-crypto):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.1 preinstall: node lib/preinstall.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1+ iobroker.philips-air@0.1.6added 2 packages from 3 contributors, removed 1 package and updated 2 packages in 841.43s
119 packages are looking for funding run npm fund for details
upload [13] philips-air.admin /opt/iobroker/node_modules/iobroker.philips-air/admin/i18n/de/translations.json i18n/de/translations.json application/json
upload [12] philips-air.admin /opt/iobroker/node_modules/iobroker.philips-air/admin/i18n/en/translations.json i18n/en/translations.json application/json
upload [11] philips-air.admin /opt/iobroker/node_modules/iobroker.philips-air/admin/i18n/es/translations.json i18n/es/translations.json application/json
upload [10] philips-air.admin /opt/iobroker/node_modules/iobroker.philips-air/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
upload [9] philips-air.admin /opt/iobroker/node_modules/iobroker.philips-air/admin/i18n/it/translations.json i18n/it/translations.json application/json
upload [8] philips-air.admin /opt/iobroker/node_modules/iobroker.philips-air/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
upload [7] philips-air.admin /opt/iobroker/node_modules/iobroker.philips-air/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
upload [6] philips-air.admin /opt/iobroker/node_modules/iobroker.philips-air/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
upload [5] philips-air.admin /opt/iobroker/node_modules/iobroker.philips-air/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
upload [4] philips-air.admin /opt/iobroker/node_modules/iobroker.philips-air/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
upload [3] philips-air.admin /opt/iobroker/node_modules/iobroker.philips-air/admin/index_m.html index_m.html text/html
upload [2] philips-air.admin /opt/iobroker/node_modules/iobroker.philips-air/admin/philips-air.png philips-air.png image/png
upload [1] philips-air.admin /opt/iobroker/node_modules/iobroker.philips-air/admin/style.css style.css text/css
upload [0] philips-air.admin /opt/iobroker/node_modules/iobroker.philips-air/admin/words.js words.js application/javascript
Update "system.adapter.philips-air.0"
Process exited with code 0

philips-air-0.1.6new_sucessful-connect-when-started.pcapng.zip

@Apollon77
Copy link
Member

Coooool. the warnings come from other packages in your whole npm tree ... can be ignored

@chris-hoe
Copy link
Author

... but when installing the 0.1.4 version, those warnings are not shown. Maybe the 0.1.6 has additional dependencies?

@Apollon77
Copy link
Member

Interesting ... but effectively ... all good

@Apollon77
Copy link
Member

Thank you for your mega support on fiiguring thsi out ... v1.0.6 goes into Beta repo/npm today ... please check this officially again ... but I expect it to still work (fingers crossed)

@boos87
Copy link

boos87 commented May 19, 2022

@Apollon77: Version 0.1.7 works with my AC2729/10. Great, thank you very much for your support!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants