Mike Skrevet 13. januar 2022 Del Skrevet 13. januar 2022 hello! I posted this in @funny0frank's API thread, but was advised to make a new topic in the hopes of getting a bit more traction I've recently switched providers from Tibber to Lyse (long story) and therefore no longer have access to the Tibber API. So, was looking for something precisely like @funny0frank's API to be able to pull electricity rates for here in Stavanger into Home Assistant. Previously with the Tibber HA integration I had a card on my dashboard that would display whether the electricity rate at any particular time was some variation of "Very Cheap" to "Very Expensive" and that allowed us to know whether it was worth running the dishwasher/washing machine or not. I'd like to recreate this (or some close-enough approximation) if possible, however, my code-fu is pretty abysmal - i can manage a bit of yaml but mostly i just crib from other people's work and tweak what I can figure out haha. I've been trying to game it out in my head how to run it. I'm thinking I would need to: poll the API, once a day at midnight, to get the electricity rates for the coming day store that data somewhere create a sensor in Home Assistant that then looks at that data every hour to display the relevant price for that hour create a template sensor that changes the price into categories of "Very Cheap", "Cheap", "Normal", "Expensive", "Very Expensive" based on defined ranges (The last part, while not necessary, would really give it that extra WAF that makes home automation popular in our household!) Does that sound about right? I'd be interested to know if anyone here has managed to use @funny0frank's API in home assistant to create something similar? Siter Lenke til kommentar Del på andre sider Flere delingsvalg…
stigvi Skrevet 13. januar 2022 Del Skrevet 13. januar 2022 Mike skrev (32 minutter siden): Does that sound about right? I'd be interested to know if anyone here has managed to use @funny0frank's API in home assistant to create something similar? I think most of us are using the Nordpool integration instead because that is a lot more easier. Siter Lenke til kommentar Del på andre sider Flere delingsvalg…
Mike Skrevet 13. januar 2022 Forfatter Del Skrevet 13. januar 2022 yes! i looked into that but Nord Pool for some reason doesn't provide data for Stavanger/Rogaland. I reached out to their customer service and they couldn't give me a straight answer as to why, either 🤷♂️ Siter Lenke til kommentar Del på andre sider Flere delingsvalg…
stigvi Skrevet 13. januar 2022 Del Skrevet 13. januar 2022 Mike skrev (14 minutter siden): yes! i looked into that but Nord Pool for some reason doesn't provide data for Stavanger/Rogaland. I reached out to their customer service and they couldn't give me a straight answer as to why, either 🤷♂️ Stavanger is in the NO2, Kristiansand region Bidding areas | Nord Pool (nordpoolgroup.com) Siter Lenke til kommentar Del på andre sider Flere delingsvalg…
Mike Skrevet 13. januar 2022 Forfatter Del Skrevet 13. januar 2022 ahh, so i would then use the "Kr.sand" modifier in the 'Regions' config category? Siter Lenke til kommentar Del på andre sider Flere delingsvalg…
stigvi Skrevet 13. januar 2022 Del Skrevet 13. januar 2022 Mike skrev (15 minutter siden): ahh, so i would then use the "Kr.sand" modifier in the 'Regions' config category? Yes Siter Lenke til kommentar Del på andre sider Flere delingsvalg…
Mike Skrevet 13. januar 2022 Forfatter Del Skrevet 13. januar 2022 right on. thank you! now i wonder why the Nord Pool CS didn't seem to know that? haha 1 Siter Lenke til kommentar Del på andre sider Flere delingsvalg…
Anbefalte innlegg
Bli med i samtalen
Du kan publisere innhold nå og registrere deg senere. Hvis du har en konto, logg inn nå for å poste med kontoen din.