Philou
April 3, 2024, 6:16am
22
Probably a sleep mode, auto-reload or power-saving issue, yes. Had it again this morning. I’ll look into it, thanks
Fully Kiosk loses connection to HA after going to sleep on Android tablet. : r/homeassistant (reddit.com)
Philou
April 3, 2024, 6:16am
23
Ah, I don’t have those messages, just the normal login screen
@spenceur this looks like another issue in my opinion !
Do you get this error at the moment when you try to enter the code ?
It’s cool, at least we have the error !
From what I find in the code, a 400 "Bad Parameters" when you try to enter the code means that the front end doesn’t have access to the refresh_token…
Reading the code, I have a small idea of what might be happening !
I made a small PR :
master ← get-refresh-token-from-localstorage-too
ouvert 06:46AM - 03 Apr 24 UTC
### Pull Request check-list
To ensure your Pull Request can be accepted as fa… st as possible, make sure to review and check all of these items:
- [ ] If your changes affects code, did your write the tests?
- [ ] Are tests passing? (`npm test` on both front/server)
- [ ] Is the linter passing? (`npm run eslint` on both front/server)
- [ ] Did you run prettier? (`npm run prettier` on both front/server)
- [ ] If you are adding a new features/services, did you run integration comparator? (`npm run compare-translations` on front)
- [ ] Did you test this pull request in real life? With real devices? If this development is a big feature or a new service, we recommend that you provide a Docker image to the community ([french forum](https://community.gladysassistant.com/)/[english forum](https://en-community.gladysassistant.com/)) for testing before merging.
- [ ] If your changes modify the API (REST or Node.js), did you modify the API documentation? (Documentation is based on comments in code)
- [ ] If you are adding a new features/services which needs explanation, did you modify the user documentation? See [the GitHub repo](https://github.com/GladysAssistant/v4-website) and the [website](https://gladysassistant.com).
- [ ] Did you add fake requests data for the demo mode (`front/src/config/demo.js`) so that the demo website is working without a backend? (if needed) See [https://demo.gladysassistant.com](https://demo.gladysassistant.com).
NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.
### Description of change
Please provide a description of the change here. It's always best with screenshots, so don't hesitate to add some!
I need to test all of that
Thanks for your feedback @spenceur
Note: I’m not entirely sure, it’s possible that the refresh_token is destroyed at some point if Gladys thinks it’s disconnected
When I enter the code and confirm it, yes
1 Like
I pushed the fix made above into Gladys 4.38.3.
I’m curious to see if that fixes the issue (not sure).
I’m not yet at the « Security » section in the training so for now I’m not using the feature, but as soon as I’ve gone through the alarm part I should encounter the bug (if it hasn’t been fixed) and be able to help even better
Salut à tous
Nouvelle mise à jour de Gladys, avec quelques améliorations sympas
Couleurs des graphiques
Vous pouvez remercier @GziAzman pour cette fonctionnalité, il est maintenant possible de choisir la couleur de chaque courbe sur un graphique :
[Screenshot 2024-04-08 at 15.45.15]
Zigbee2mqtt: Compatibilité avec les sirènes NEO
La sirène NEO Zigbee est désormais compatible avec Gladys
[Screenshot 2024-04-08 at 15.50.32]
Disponible sur Doma…