Closed airampg closed 6 months ago
Desde la península yo tengo el mismo problema. Antes del cambio de hora tenía 2h de diferencia entre los precios de la web y HA. Ahora después del cambio de hora dejó de funcionar y ya no puedo verlo.
Es bastante molesto ya que con los precios de la luz como están quería programar automatizaciones basadas en el precio.
Gracias!
Hola @guaifi.
¿La diferencia de horas te sucede en la integración, en la tarjeta o en ambas? ¿has actualizado HA a la última versión?
EDIT: SOLUCIONADO -> Leer siguiente comentario
Hola, la diferencia de horas me sucedía en la integración:
Si nos fijamos en el 30 de octubre (antes del cambio de hora) el valor real de las 15:00 a mi me aparece a las 17:00 (2 horas de diferencia.
Pero tras el cambio de hora, por ejemplo el 1 de noviembre: El mínimo real fue a las 4.00 am pero en mi historial aparece a las 5.00 (1 hora de diferencia).
Creo que debe haber algún bug en la base probablemente relacionado con horas UTC o algo así. O quizás tengo yo algo mal configurado en mi hora del servidor.
Aquel día tenía la última versión, ahora ya no funciona para poder comprobarlo tras el cambio de hora
Perdón por la tontería, tras elaborar el mensaje anterior, y desconfiar de mi configuración de hora UTC resulta que estaba mal.
Para que os funcione correctamente hay que configurar la hora del servidor en Configuración -> Configuración General -> Zona horaria -> Europe/Madrid (para península) ó Atlantic/Canary (para Canarias).
Cuando arreglen la integración comprobaré de nuevo si se soluciona el problema.
Gracias por tus comentarios @guaifi
Recordad que este repositorio solo hace referencia a la tarjeta, no a la integración.
Cierro el hilo. Este error debería estar solucionado. De lo contrario, sentíos libres de abrirlo de nuevo o comentar.
I'm going to close the thread. This issue should be fixed. Otherwise, feel free to open it again or comment.
Dear Daniel,
First of all, thank you so much for such wonderful card. We all appreciate your efforts.
However, I have found what seems to be an issue. I am based in the Canary Islands, therefore, my Home Assistant is set up to the Atlantic/Canary time zone, which provides the correct time for me, including Daylight saving in summer.
It seems like your card may be misinterpreting the information that the PVPC integration feeds it.
As you can see here, the max price is shown to be at 22h, and the minimum at 4h.
Nonetheless, the data fed by the PVPC integration, which seems correct after cross-checking, differs by 1 hour. You can see that the max price is actually shown to be at 21h, and the minimum at 3h.
Furthermore, the graph displayed seems to be shifted to the right by 1 hour.
My gut feeling is that the card is not taking into account the time zone and is somehow adding 1 hour to the data provided by the PVPC integration. That said, I do not know what the issue is and I am not sure it is the card, but this could be a starting point.
Please let me know if there is anything I can help you with.
BR
Airam