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

Crash: Error: unexpected response (4.00) to observeScene #20

Open
Barbados02 opened this issue Jan 23, 2019 · 17 comments
Open

Crash: Error: unexpected response (4.00) to observeScene #20

Barbados02 opened this issue Jan 23, 2019 · 17 comments
Labels
bug Something isn't working

Comments

@Barbados02
Copy link

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

@rogierhofboer
Copy link
Owner

@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?

@Barbados02
Copy link
Author

Barbados02 commented Jan 24, 2019

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

@json81
Copy link
Contributor

json81 commented Jan 31, 2019

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

@rogierhofboer
Copy link
Owner

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.

@Barbados02
Copy link
Author

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?

@rogierhofboer
Copy link
Owner

rogierhofboer commented Mar 15, 2019

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 rogierhofboer added the bug Something isn't working label Mar 15, 2019
@Lindansaren
Copy link

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

@cesarenl
Copy link

cesarenl commented May 7, 2019

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.

@rogierhofboer
Copy link
Owner

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.

@cesarenl
Copy link

cesarenl commented May 7, 2019

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

@rogierhofboer
Copy link
Owner

rogierhofboer commented May 7, 2019

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.

@Berrie1
Copy link

Berrie1 commented Oct 21, 2019

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?

@json81
Copy link
Contributor

json81 commented Feb 1, 2020

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

@Berrie1
Copy link

Berrie1 commented Feb 1, 2020

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.

@rogierhofboer
Copy link
Owner

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
Copy link
Owner

Underlying issue:
AlCalzone/node-tradfri-client#36

@rogierhofboer rogierhofboer changed the title App crashes, does not restart Crash: Error: unexpected response (4.00) to observeScene Feb 8, 2021
@rogierhofboer
Copy link
Owner

Maybe 'fixed' by the new scenes ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants