All houses/apartments in Norway got new smart power meters the last couple of years. They standardized on a data interface (a bus you can connect to using a RJ45 plug), so you can access your own data if you don't want to go via your power companies API.
There are EV chargers[2] and other appliances (Heat pumps/ACs) that can react to this price indicator, charging your car when power is cheapest.
It will also load balance based on how much the rest of your house is using, they're moving towards an "wattage" fee here, to avoid massive loads at peak hours. If you get near the limit, the car charger can slow down.
Here's some images of what their app gives me[3].
It's easy to pull their data into home automation systems, here's mine[4].
You can do pretty smart stuff like: Charge my car when it's cheap, but it must be ready by 07:00.
[1]: https://developer.tibber.com/docs/guides/calling-api
[2]: https://norge.tibber.com/products/easee/
Makes it hard to get scammed by the power companies/providers I think.
You'll get the current power source from their API or App. ATM I'm getting 100% hydro from "Kvitingen Kraftverk"[1], but that will probably change during the day.
[1]: https://imgur.com/a/2uRhsZ2 or https://imgur.com/a/oXeccnR (ocr translated)