I found out that not working login is based on a missing variable in brwosers session storage.
A gw scan did it for me. Perhaps you also have to clear the browser cache and delete the local storage.
When the Login page does not show any gateways and then the gw scan finds a gateway the login should defenitely work. There was no change in the app that affects the login procedure.
Iāve always been able to see the gateway on the first page but it never worked (login error). A new scan didnāt help (always the same gateway showing up, that does not work). I tried to clear all browser caches and storages with no help, even tried on an incognito window.
Is it maybe because the plugin starts phoscon from the (now) wrong login page?
It does not really matter if you use the old login.html or the newer login2.html to login. Both redirect to the index.html which is the main page of the app after loging in.
You could also try to login from phoscon.de/pwa it does not matter where deCONZ is running.
You can test if there is a app.gateways variable which is not empty in your local storage because that caused the problem in my test.
Yes I can see the app.gateways key, if I delete it gets recreated straightaway. Tried to add an app.gw like you have in your screenshot but it does not help.
To be honest I donāt know what the problem is, but I (and others) couldnāt get into phoscon anymore as it says wrong credential (different message but I donāt recall it exactly anymore). What I saw in the developer console you can see in my message above. I cannot replicate anymore because I reverted to the previous deconz HA plugin version as everyone was having this problem (see here the discussion on the plugin revert: Revert deCONZ to 2.22.2 due to a Phoscon bug by francescopeloi Ā· Pull Request #3233 Ā· home-assistant/addons Ā· GitHub)
Thatās the weird part, we didnāt. Between v2.22.2 stable and v2.23.1 stable there is no change to the Phoscon App or the HTTP handling of it, Iāve just checked in GIT repository.
I am not sure if this is the right thread anymore, but thereās another problem in HA+deconz plugin.
The HA deconz plugin has been reverted to the previous version of working deconz (2.2.22). So the HA deconz plugin went form 2.22.2, to 2.23.1 and now rolled back to 2.22.2 due to the issue described above.
Now, with the rolled back 2.22.2, the gateway page does not load anymore. This was working before with the original 2.22.2.
Ahh I see yes, ok thanks weāll check the JS error reported in the Github Issue to provide a hot fix.
Iām still not sure why it didnāt trigger in the v2.22.2 version as they should be identical.