com.ikea.tradfri.gateway icon indicating copy to clipboard operation
com.ikea.tradfri.gateway copied to clipboard

Crash: Error: unexpected response (4.00) to observeScene

Open Barbados02 opened this issue 6 years ago • 17 comments

The app crashes daily, a manual restart of the app makes it work again. Before i did this with candy, but this does not work since homey v2.

This is the error i see in the homey app.

image

Barbados02 avatar Jan 23 '19 07:01 Barbados02

@Barbados02 thanks for the report. It seems to crash in in the underlying node-tradfri-client module. Since I am not on 2.0 myself I cannot reproduce the issue. Just to be sure: Did you change scenes / groups in between or is it running without making changes and then it suddenly crashes?

rogierhofboer avatar Jan 23 '19 08:01 rogierhofboer

I waited until it happend again. It seems the app crashed (just?) after i turned on the light.
The lights did go on and i was unable to turn them off. Then i noticed the crash. unfortunately Homey is not very exact in the time of crash that i find. In the log what Homey does see screenshot:

image

And the app time of the crash is not exact at all but:

image

Barbados02 avatar Jan 24 '19 12:01 Barbados02

App does not crash for me on Homey 2.0.2 (and did not crash on RC either). Bad bulb?

json81 avatar Jan 31 '19 21:01 json81

Could be, but most probably it has a bad ZigBee reception due to the distance of it to the gateway or other bulbs. Still the app should not crash.

As soon as 2.x also solves the z-wave stability / range problems, I will upgrade.

rogierhofboer avatar Feb 01 '19 20:02 rogierhofboer

Strange thing is that the tratfri gateway works without a problem. I only send on or off to a room i did not add all bulbs seperate. So i do not think it has to do with zigbee because homey is not talking zigbee to the gatweway, or do i miss something?

Barbados02 avatar Feb 01 '19 22:02 Barbados02

You are correct about that. Homey communicates over TCP (via Wifi / ethernet) to the tradfri gateway and the tradfri gateway communicaties with Zigbee to the bulbs. I am now on Homey firmware 2.04 myself and want look into the crashing issue. Can you provide a step-by-step guide to reproduce this, or does it happen "randomly"?

rogierhofboer avatar Mar 15 '19 12:03 rogierhofboer

It happens to me each day as well. Just random crashes of the app. All works fine after rebooting the app in homey.

Lindansaren avatar Mar 29 '19 09:03 Lindansaren

Any updates on the functionality of this app? I'm postponing the update to Homey 2, till I'm pretty sure most of the apps I'm using are working.

cesarenl avatar May 07 '19 15:05 cesarenl

I still did not take take the time to look at it.

The problem is, I don't really use the gateway myself now.

Hue colour lamps stopped working correctly with the Ikea gateway after the last update and also when switched via regular switch, the lamps 'flicker' once or twice a few seconds after they are turned on when using the Ikea gateway.

I might try to update the node-tradfri-client that I am using, because this app is only a wrapper around this lib.

rogierhofboer avatar May 07 '19 15:05 rogierhofboer

Is there another way to control the tradfri's via Homey, without the gateway?

cesarenl avatar May 07 '19 15:05 cesarenl

There are 4 ways to control them:

  1. Directly via Homey
  2. Via the Ikea Tradfri gateway
  3. Via the Philips Hue Bridge
  4. Create your own gateway and homey app for it (for example a raspberry pi with a Conbee II or a Phoscon gateway using the DeConz REST API http://dresden-elektronik.github.io/deconz-rest-doc/)

Note that the last time I tried (more than a year ago) all the options, changing themes (colour / light temperature) with 5 button remote only worked with options 2 and 4, in other works, if you use the Hue bridge or Homey directy you loose some functionality of the 5 button remote.

rogierhofboer avatar May 07 '19 15:05 rogierhofboer

I am experiencing the same. When the light switch is used to turn on the lights, the app crashes. When I restart the app, everything works fine again. The problem occurs since 2 more light bulbs were added. The total number of bulbs was increased from 10 to 12. The two added bulbs are a newer version than the other bulbs. Would it help to send a diagnostic report?

Berrie1 avatar Oct 21 '19 20:10 Berrie1

Anyone got problems with crashes anymore? It works fine for me.

json81 avatar Feb 01 '20 09:02 json81

After the group of 12 bulbs was split in 2 groups of 6 bulbs, I am not experiencing any problems anymore. So it now works fine for me as well.

Berrie1 avatar Feb 01 '20 19:02 Berrie1

I still get many reports of crashes in the (external) node-tradfri-client. The stack trace is always the one at the start of this issue. Because I don't experience the problem, maybe because I don't use groups myself, please contact me (via this issue or via email) so we can look at it.

rogierhofboer avatar Feb 06 '21 22:02 rogierhofboer

Underlying issue: https://github.com/AlCalzone/node-tradfri-client/issues/36

rogierhofboer avatar Feb 08 '21 22:02 rogierhofboer

Maybe 'fixed' by the new scenes ;)

rogierhofboer avatar Feb 08 '21 22:02 rogierhofboer