Hola,
En el widget del tiempo, no entiendo muy bien la visualización del tiempo de hoy.
Son las 07:45 cuando tomo la captura y las predicciones del día comienzan a las 13h, aunque hay información para las 07 y 10h.
No he verificado si se actualiza con el tiempo o no, pero viendo la hora mostrada, no creo que lo haga.
¿Es un error o un mal refresco en mi caso?
O tal vez una visualización dinámica con la información antes de la hora y las siguientes, o bien de las 00:00 a las 00:00 del día actual.
Gracias a ustedes y buen día.
Hola @McFlyPartages
Usamos la API Forecast de OpenWeather (cf Gladys/server/services/openweather/index.js at master · GladysAssistant/Gladys · GitHub ), que devuelve las previsiones por intervalos de 3 horas.
Sin embargo, donde tienes razón es que actualmente no mostramos el primer intervalo, es raro, no recuerdo si era intencionado.
He hecho una PR para cambiar eso:
master ← fix-openweather-hours-displayed
ouvert 09:34AM - 21 Mar 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!
En tu caso, con este cambio deberías ver el intervalo « 10h ». (Aunque no verás las 7h, que ya han pasado y no están disponibles en la API gratuita de OpenWeather)
Te mantendré informado cuando este cambio se implemente en producción.
Esta corrección está disponible en Gladys Assistant 4.38.1:
Salut à tous !
Nouvelle version de Gladys aujourd’hui : Gladys Assistant 4.38.1
C’est une version qui apporte pas mal de correctifs :
Il est maintenant possible d’utiliser le streaming de caméra chiffré de bout en bout sur iOS !! Apple a (enfin) sorti l’API MediaSource sur iOS (qui était disponible sur Safari et iPadOS depuis longtemps), ce qui nous permet désormais de faire du streaming de flux vidéo de caméra, chiffré de bout en bout sur iPhone.
OpenWeather: Correction d’un…
Cierro este tema