ottopaulsen / node-red-contrib-power-saver

A Node-RED node to saver money by turning off when the power is most expensive
Other
70 stars 17 forks source link

[Feature request] Add support for Greenley #182

Open enoch85 opened 8 months ago

enoch85 commented 8 months ago

Great integration! It's a shame I didn't find this sooner since this was/is exactly what I'm looking for. I ended up building my own equivalent by taking the spot price at the time my cars are smart charging (it's the cheapest), then calculate the difference in a function of different levels where I want to discharge the battery or not (BYD 11 kWh).

image

image

But enough about me.... and yeah, sorry about the highest price name. :)

It would be super cool if you could add support for Greneley in the same way as Tibber. That way everyone using Greenley could get their tariff with add-on charges etc.

In Home Assistant I currently use this to get the current price. Maybe one can get some inspiration from that?

ottopaulsen commented 8 months ago

Does Greenely have an open API we can connect to?

ottopaulsen commented 8 months ago

If you can use the existing sensor.greenely sensor from NodeRED, and create a function that outputs the standard strategy input format, it should not be too hard to use their tariff.

enoch85 commented 8 months ago

Does Greenely have an open API we can connect to?

I don't think so, hence the workaround I posted.

If you can use the existing sensor.greenely sensor from NodeRED, and create a function that outputs the standard strategy input format, it should not be too hard to use their tariff.

That's already what I do more or less, but would be nice with built in support.