flopp999 / Tibber-Domoticz

Script to communicate with Tibber. Help me with a buy-me-a-coffee
https://www.buymeacoffee.com/flopp999
GNU General Public License v3.0
8 stars 4 forks source link

Future prices #26

Closed DeVille70 closed 2 years ago

DeVille70 commented 3 years ago

Still very happy with what you provided on request Subscription #14 - works great.

Now I would like to optimize electric power usage costs (car charging, floor heating, water heating, etc) by using future prices. I understand that around noon every day Nord Pool releases hourly prices for all of the next day, and these prices are then available in the Tibber API. So, at that time, the hourly prices for the rest of the day as well as the next 24 hours are known, and I would like to use that to switch some of my electric usage on and off accordingly.

Not sure how to present it, as some additional 36 devices may not be very practical. Some sort of table, perhaps?

Thanks.

eirikman commented 3 years ago

Is it possible to utilize user variables? 36 variables with one price each, or make one user variable with a string containing all the prices.

flopp999 commented 3 years ago

This plug-in will update the current price-device so you can use that value to control your house. I am using this device to start/stop things. There is also a mean price-device, this one I use start/stop my pool heater

DeVille70 commented 3 years ago

Yes, agree that current price and mean price is available for control. Happy with that. But https://developer.tibber.com/explorer, using example query "Current energy price", also gives price for each hour for the rest of the day and tomorrow. That really gives you the possibility to plan your energy consumption.

flopp999 commented 3 years ago

Hi, I have maybe solved this. But not in Tibber Plugin. I have created a python script that get data from NordPool and then create 24 devices, one for each hour. Updates every midnight. https://github.com/flopp999/NordPool-InfluxDB Look like this image

DeVille70 commented 3 years ago

Thanks a lot. I am very busy a the moment, but I will definitely look into this.

flopp999 commented 3 years ago

Is this working for you?

flopp999 commented 3 years ago

This plugin will create devices for each hour and also a few other devices.

https://github.com/flopp999/NordPoolSpotPrice-Domoticz

DeVille70 commented 3 years ago

Very sorry, I have not had the time to look at this yet... :(

flopp999 commented 2 years ago

Happy with the solution?

DeVille70 commented 2 years ago

Still have not tried it, and to be honest I don't think I will use it. My approach to this has changed. Still bough you a coffee, though, for your great help. 👍