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

Understanding why VV did not run last night... #106

Open mvjt opened 1 year ago

mvjt commented 1 year ago

Hi,

First of all I would again like to thank you for this really useful plugin. I really appreciate it. I've been using it for a few weeks and it has been working flawlessly (once I got it working) until this night. No VV heating took place.

As you can see in the logs below, I restarted my flows 22:35. I'm using a Lowest-Price node which should run for 2 hours between 01-07. And in the log I can only see it is switching OFF but never ON prior. The screenshot from NR is from today so it is only accurate from a structural perspective. It seems like PS did not receive data and I try to understand why. I understand the Lowest-Price node did not receive a schedule, hence it sent off. But I'm trying to understand why it did not receive a schedule? Tibber glitch?

I have fiber connection and I've not seen any indications of connection loss...

Would it be possible and recommended to wire both a Tibber and Nordpool nodes into the Price Receiver for redundancy?

image

Seems no downtime on Tibber side

image
21 Oct 22:35:26 - [info] Updated flows #Restarted flows manually
21 Oct 22:35:26 - [info] Starting modified nodes
21 Oct 22:35:26 - [info] Started modified nodes
21 Oct 23:16:33 - [warn] [ps-receive-price:Price Receiver] Payload has no data
21 Oct 23:16:33 - [error] [ps-receive-price:Price Receiver] TypeError: Cannot destructure property 'priceData' of 'getPriceData(...)' as it is null.
21 Oct 23:16:34 - [warn] [ps-receive-price:Price Receiver] Payload has no data
21 Oct 23:16:34 - [error] [ps-receive-price:Price Receiver] TypeError: Cannot destructure property 'priceData' of 'getPriceData(...)' as it is null.
22 Oct 00:16:33 - [warn] [ps-receive-price:Price Receiver] Payload has no data
22 Oct 00:16:33 - [error] [ps-receive-price:Price Receiver] TypeError: Cannot destructure property 'priceData' of 'getPriceData(...)' as it is null.
22 Oct 00:16:33 - [warn] [ps-receive-price:Price Receiver] Payload has no data
22 Oct 00:16:33 - [error] [ps-receive-price:Price Receiver] TypeError: Cannot destructure property 'priceData' of 'getPriceData(...)' as it is null.
22 Oct 01:16:33 - [warn] [ps-receive-price:Price Receiver] Payload has no data
22 Oct 01:16:33 - [error] [ps-receive-price:Price Receiver] TypeError: Cannot destructure property 'priceData' of 'getPriceData(...)' as it is null.
22 Oct 01:16:33 - [warn] [ps-receive-price:Price Receiver] Payload has no data
22 Oct 01:16:33 - [error] [ps-receive-price:Price Receiver] TypeError: Cannot destructure property 'priceData' of 'getPriceData(...)' as it is null.
22 Oct 02:16:47 - [info] [ps-strategy-lowest-price:Lowest Price 01-07] Switching off in 6192354 milliseconds
22 Oct 02:16:47 - [info] [ps-strategy-lowest-price:Lowest Price 12-16] Switching on in 42192347 milliseconds
22 Oct 03:16:33 - [info] [ps-strategy-lowest-price:Lowest Price 01-07] Switching off in 2606332 milliseconds
22 Oct 03:16:33 - [info] [ps-strategy-lowest-price:Lowest Price 12-16] Switching on in 38606327 milliseconds
ottopaulsen commented 1 year ago

It is hard to say why you didn't receive data. About attaching both Tibber and Nordpool, that might work, but you should make sure only the working one is sent to the Lowest Price node, or else it will probably fail anyway.

ottopaulsen commented 1 year ago

Please close this issue if there is nothing else.