dresden-elektronik / phoscon-app-beta

Access to Phoscon app beta
79 stars 5 forks source link

Ikea STYRBAR do not paired #386

Closed nicolalandro closed 3 years ago

nicolalandro commented 3 years ago

As we can see at this link the deCONZ GUI show the device, but from Phoscon I cannot pair it.

When this new Ikea device will be implemented in phoscon?

lawrencebensaid commented 3 years ago

Any update on this?

nicolalandro commented 3 years ago

Up to now no one ask me anything, I try also with the deCONZ UI, I see it but this view is a bit difficult, and I do not understand how to set up my device, is there some guide to use this instead of phoscon while the problem will be resolved?

YKO-de commented 3 years ago

Have you tried phoscon.de/pwabeta? The device should be visible there.

nicolalandro commented 3 years ago

If I access with this link direct the site seams does not work, there is any solution to access the pwabeta from HomeAssistant?

YKO-de commented 3 years ago

Maybe try this? phoscon.de/pwabeta/login.html#host/<local-ip-adress>:<port>

nicolalandro commented 3 years ago

In that way I have (like the first) an error in the console that say "unautorized" and I see the phosco GW but the click does not have effect so I cannot login

letszb commented 3 years ago

Did you activate the port in the settings as describe here? Typical this is port 40850 https://github.com/home-assistant/addons/blob/master/deconz/DOCS.md#using-the-deconzphoscon-api-with-another-add-on

nicolalandro commented 3 years ago

I do it now, but the problem does not change, I also try to use http://:40850/pwa but it seams does not work. There is a way to use phoscon app starting from my IP? I think that the problem can be the CORS origin call.

letszb commented 3 years ago

You need to use it like this: phoscon.de/pwabeta/login.html#host/IP:40850

nicolalandro commented 3 years ago

Yes that is the link that does not work.

nicolalandro commented 3 years ago

By enabling with a plugin CORS origin call It ask me the password but after I cannot login, also the IP showed under the phoscon gateway is not a local net ip

letszb commented 3 years ago

Can you try it in a new private browser tab. You need the IP from the host (Raspberry Pi), not the internal.

nicolalandro commented 3 years ago

Schermata del 2021-05-17 13-25-45 This is what happen, I cannot click on the gateway.

By enamble CORS request by a plugin, I can arrive to put the password but into the gateway I see 172.30.33.0 that is not a local network IP.

MajestyZ commented 3 years ago

Similar issue here. After a while (10 seconds or so), the above screen changes to a login screen and it asks me for a password, but when I use the Phoscon app password that is known to me (I use it all the time from deConz in Home Assistant), it gives me a 'Login failed'. Tried different browsers, private Windows etc. Even tried resetting the password, but it doesn't let me: “Failed to reset password Make sure the gateway was powercycled recently.” while I just power cycled the device.

Anyone any clue? :)

EDIT: Managed to fix this, by going to deCONZ add-on in HomeAssistant and adding the right port to the config: Capture

After that, I was able to access the Phoscon Beta environment with the right IP address (not 172 but 192).

I managed to add STYRBAR to the switches, but can't connect it to any bulb yet, because it doesn't show up when I press 'Link switch'. Capture1

nicolalandro commented 3 years ago

Ok I try to reinstall a clean version of Home Assistant and I arrive to PhosconBeta correctly, but I cannot see STYRBAR, so It is not visible yet, and also by searching it is not found. How can I procede @YKO-de ?

SEK-DE commented 3 years ago

@nicolalandro it works now in the pwa beta. Will be integratet in the next update.

nicolalandro commented 3 years ago

@SEK-DE Today I re-tried to pair STYRBAR from PhosconBeta again image but unfortunatly whithout success image

SEK-DE commented 3 years ago

@nicolalandro which deCONZ and Firmware is running? And did you try it in the beta? http://phoscon.de/pwabeta

nicolalandro commented 3 years ago

@SEK-DE Below it's report the version of deCONZ and Firmware image Yes i used Phoscon beta image

nicolalandro commented 3 years ago

@SEK-DE I just updated the firmware image but STYRBAR continue to don't pair

SEK-DE commented 3 years ago

@SEK-DE I just updated the firmware image but STYRBAR continue to don't pair

Your firmware means "Not connected!" which means you can´t pair anything. 2 reasons for this at the moment: interferences with other devices like Router, Repeater, Dongles etc. or USB devices. Second one is a error during the update procedure. Please check those and give me feedback.

nicolalandro commented 3 years ago

@SEK-DE Sorry I upload the wrong screen (before refresh after update procedure) image

SEK-DE commented 3 years ago

@nicolalandro thx for your cooperation. Now your ConBee II is running at a version from oktober 2k20. Here is an overview of all versions: http://deconz.dresden-elektronik.de/deconz-firmware/ Please make sure, that you run the latest Firmware Version 266b0700. In our Test-Setup we use the deCONZ 2.12.00 and the latest Fw. Sometimes it may take a while till our latest versions where integratet in HA. Acctually i don´t know the latest HA deCONZ version, is it 6.9.0? Sometimes you have to be patient in terms of a HA system or use a native system.

MajestyZ commented 3 years ago

I'm having the same problem where I still can't connect the Styrbar, even in Phoscon Beta. I don't have deconz 2.12.00 yet though. The latest version is 6.9.0 indeed. Firmware version 26660700. Hope a new version will soon be released, I want to connect my Styrbar :D.

SEK-DE commented 3 years ago

We still investigating here, so don´t worry. If you have the time and a SD card, use an image from our homepage (https://phoscon.de/en/conbee2/sdcard) and try if the Styrbar works for you without HA. That would be great for us, because actually we dont see any issues here in our setup 😅

nicolalandro commented 3 years ago

@SEK-DE,I installed the "Homebridge-hue + Raspbian Buster" (deCONZ: 2.12.00 Version: 5-2021 released: 25/5/2021) on new SD card. I tryed to pair Styrbar but it continue to doesn't work. image

nicolalandro commented 3 years ago

@SEK-DE After differents try, STYRBAR is now paired. It paired only after pairing another button. image Unfortunately trying to re-pairing STYRBAR another time and it doesn't work. In the next days I will try to understand which is the condition when it pair.

PS. when STYRBAR was paired it, only one button worked.

letszb commented 3 years ago

@SEK-DE,I installed the "Homebridge-hue + Raspbian Buster" (deCONZ: 2.12.00 Version: 5-2021 released: 25/5/2021) on new SD card. I tryed to pair Styrbar but it continue to doesn't work. image

It seems you are still at firmware 26660700. You should update manually with your SD card that includes the Phoscon image to 266b0700.

nicolalandro commented 3 years ago

@letszb I updated the firmware to the latest beta version available image Now STYRBAR is pair but I cannot assign the lateral buttons (circled in red in picture) image

stale[bot] commented 3 years ago

As there hasn't been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

nicolalandro commented 3 years ago

@SEK-DE @letszb do you have any news? Do you need some more information?

SEK-DE commented 3 years ago

Please try it with 2.12.3 @nicolalandro we did it today and have no problems with Styrbar.

nicolalandro commented 3 years ago

I update to last version and it work! Thank you!