Replies: 3 comments 14 replies
-
Ta integracja zapisuje dane godzinowe bezpośrednio do bazy danych tutaj. Możesz ewentualnie spróbować pobawić się tym skryptem - importuje on dane do bazy PostgreSQL W sumie, to najbardziej odpornym rozwiązaniem chyba by było pobieranie danych z bazy HA i wrzucanie ich do Influxa |
Beta Was this translation helpful? Give feedback.
-
wyglada na to ze dziala :) gotowiec z https://www.home-assistant.io/integrations/influxdb Flex query w Grafanie, czary mary i sa wszystkie wartosci (po dwie, bo restartowalem wiec wczytalo to samo): from(bucket: "BUCKET_NAME") |
Beta Was this translation helpful? Give feedback.
-
moze ktoś skorzysta :) przykladowo:
start = data/godzina za kiedy jest wpis po poprawie zapytania na "%_generation" - to samo dla generowanej czesci (slupek drugiego koloru na wykresie) więc jakis mechanizm synchronizacyjny (copy w jedna strone) do rozważenia |
Beta Was this translation helpful? Give feedback.
-
Zastanawiam się jak rysować wykresy z wartości prezentowanych z tej integracji.
Wykresy w samym home assistant sa dość ubogie w funkcjonlanosci wiec myśle tutaj o Grafanie (również posiadam),
z tym że datasource byloby dobrze mieć zewnętrzne w postaci InfluxDB, czy też MQTT, albo Prometheus. ?
Co myślicie o tym ?
Ew. gdzie w kodzie najlepiej byłoby się wpiąć by esportować do w/w systemów ? (moge napisać coś, choć tak eleganckie to pewnie nie będzie ;-) )
PS.
dobrze byloby też mieć możliwość wyeksportowania danych historyczny prezentowanych w eliczniku do tegoż influxa, w internetach są gotowce konwertujące XLSa/CSV do influxa, ale może da się to zrobić jakoś przyjemnie w AMIplus ?
Beta Was this translation helpful? Give feedback.
All reactions