Closed jkaberg closed 2 years ago
I've setup powersaver as you see in the picture, attached output for each node from the debug as seen in the picture. In the two last outputs only grid tariff is present? I've removed the wire to the strategy lowest price node for now
Nordpool sensor:
{ "topic": "topic1", "scheduledEvent": true, "payload": "0.8", "_msgid": "f1ea59bf7be8b38b", "data": { "entity_id": "sensor.nordpool_kwh_trheim_nok_2_10_025", "state": "0.8", "attributes": { "current_price": 0.8, "average": 0.38, "off_peak_1": 0.01, "off_peak_2": 0.63, "peak": 0.57, "min": 0.01, "max": 0.83, "unit": "kWh", "currency": "NOK", "country": "Norway", "region": "Tr.heim", "low price": false, "tomorrow_valid": true, "today": [ 0.02, 0.02, 0.01, 0.01, 0.01, 0.01, 0.02, 0.03, 0.07, 0.31, 0.35, 0.42, 0.49, 0.83, 0.8, 0.67, 0.67, 0.62, 0.62, 0.56, 0.65, 0.71, 0.69, 0.47 ], "tomorrow": [ 0.37, 0.32, 0.14, 0.09, 0.06, 0.02, 0.02, 0.06, 0.08, 0.09, 0.1, 0.1, 0.13, 0.17, 0.31, 0.24, 0.14, 0.14, 0.11, 0.08, 0.07, 0.06, 0.05, 0.03 ], "raw_today": [ { "start": "2022-08-17T00:00:00+02:00", "end": "2022-08-17T01:00:00+02:00", "value": 0.02 }, { "start": "2022-08-17T01:00:00+02:00", "end": "2022-08-17T02:00:00+02:00", "value": 0.02 }, { "start": "2022-08-17T02:00:00+02:00", "end": "2022-08-17T03:00:00+02:00", "value": 0.01 }, { "start": "2022-08-17T03:00:00+02:00", "end": "2022-08-17T04:00:00+02:00", "value": 0.01 }, { "start": "2022-08-17T04:00:00+02:00", "end": "2022-08-17T05:00:00+02:00", "value": 0.01 }, { "start": "2022-08-17T05:00:00+02:00", "end": "2022-08-17T06:00:00+02:00", "value": 0.01 }, { "start": "2022-08-17T06:00:00+02:00", "end": "2022-08-17T07:00:00+02:00", "value": 0.02 }, { "start": "2022-08-17T07:00:00+02:00", "end": "2022-08-17T08:00:00+02:00", "value": 0.03 }, { "start": "2022-08-17T08:00:00+02:00", "end": "2022-08-17T09:00:00+02:00", "value": 0.07 }, { "start": "2022-08-17T09:00:00+02:00", "end": "2022-08-17T10:00:00+02:00", "value": 0.31 }, { "start": "2022-08-17T10:00:00+02:00", "end": "2022-08-17T11:00:00+02:00", "value": 0.35 }, { "start": "2022-08-17T11:00:00+02:00", "end": "2022-08-17T12:00:00+02:00", "value": 0.42 }, { "start": "2022-08-17T12:00:00+02:00", "end": "2022-08-17T13:00:00+02:00", "value": 0.49 }, { "start": "2022-08-17T13:00:00+02:00", "end": "2022-08-17T14:00:00+02:00", "value": 0.83 }, { "start": "2022-08-17T14:00:00+02:00", "end": "2022-08-17T15:00:00+02:00", "value": 0.8 }, { "start": "2022-08-17T15:00:00+02:00", "end": "2022-08-17T16:00:00+02:00", "value": 0.67 }, { "start": "2022-08-17T16:00:00+02:00", "end": "2022-08-17T17:00:00+02:00", "value": 0.67 }, { "start": "2022-08-17T17:00:00+02:00", "end": "2022-08-17T18:00:00+02:00", "value": 0.62 }, { "start": "2022-08-17T18:00:00+02:00", "end": "2022-08-17T19:00:00+02:00", "value": 0.62 }, { "start": "2022-08-17T19:00:00+02:00", "end": "2022-08-17T20:00:00+02:00", "value": 0.56 }, { "start": "2022-08-17T20:00:00+02:00", "end": "2022-08-17T21:00:00+02:00", "value": 0.65 }, { "start": "2022-08-17T21:00:00+02:00", "end": "2022-08-17T22:00:00+02:00", "value": 0.71 }, { "start": "2022-08-17T22:00:00+02:00", "end": "2022-08-17T23:00:00+02:00", "value": 0.69 }, { "start": "2022-08-17T23:00:00+02:00", "end": "2022-08-18T00:00:00+02:00", "value": 0.47 } ], "raw_tomorrow": [ { "start": "2022-08-18T00:00:00+02:00", "end": "2022-08-18T01:00:00+02:00", "value": 0.37 }, { "start": "2022-08-18T01:00:00+02:00", "end": "2022-08-18T02:00:00+02:00", "value": 0.32 }, { "start": "2022-08-18T02:00:00+02:00", "end": "2022-08-18T03:00:00+02:00", "value": 0.14 }, { "start": "2022-08-18T03:00:00+02:00", "end": "2022-08-18T04:00:00+02:00", "value": 0.09 }, { "start": "2022-08-18T04:00:00+02:00", "end": "2022-08-18T05:00:00+02:00", "value": 0.06 }, { "start": "2022-08-18T05:00:00+02:00", "end": "2022-08-18T06:00:00+02:00", "value": 0.02 }, { "start": "2022-08-18T06:00:00+02:00", "end": "2022-08-18T07:00:00+02:00", "value": 0.02 }, { "start": "2022-08-18T07:00:00+02:00", "end": "2022-08-18T08:00:00+02:00", "value": 0.06 }, { "start": "2022-08-18T08:00:00+02:00", "end": "2022-08-18T09:00:00+02:00", "value": 0.08 }, { "start": "2022-08-18T09:00:00+02:00", "end": "2022-08-18T10:00:00+02:00", "value": 0.09 }, { "start": "2022-08-18T10:00:00+02:00", "end": "2022-08-18T11:00:00+02:00", "value": 0.1 }, { "start": "2022-08-18T11:00:00+02:00", "end": "2022-08-18T12:00:00+02:00", "value": 0.1 }, { "start": "2022-08-18T12:00:00+02:00", "end": "2022-08-18T13:00:00+02:00", "value": 0.13 }, { "start": "2022-08-18T13:00:00+02:00", "end": "2022-08-18T14:00:00+02:00", "value": 0.17 }, { "start": "2022-08-18T14:00:00+02:00", "end": "2022-08-18T15:00:00+02:00", "value": 0.31 }, { "start": "2022-08-18T15:00:00+02:00", "end": "2022-08-18T16:00:00+02:00", "value": 0.24 }, { "start": "2022-08-18T16:00:00+02:00", "end": "2022-08-18T17:00:00+02:00", "value": 0.14 }, { "start": "2022-08-18T17:00:00+02:00", "end": "2022-08-18T18:00:00+02:00", "value": 0.14 }, { "start": "2022-08-18T18:00:00+02:00", "end": "2022-08-18T19:00:00+02:00", "value": 0.11 }, { "start": "2022-08-18T19:00:00+02:00", "end": "2022-08-18T20:00:00+02:00", "value": 0.08 }, { "start": "2022-08-18T20:00:00+02:00", "end": "2022-08-18T21:00:00+02:00", "value": 0.07 }, { "start": "2022-08-18T21:00:00+02:00", "end": "2022-08-18T22:00:00+02:00", "value": 0.06 }, { "start": "2022-08-18T22:00:00+02:00", "end": "2022-08-18T23:00:00+02:00", "value": 0.05 }, { "start": "2022-08-18T23:00:00+02:00", "end": "2022-08-19T00:00:00+02:00", "value": 0.03 } ], "unit_of_measurement": "NOK/kWh", "icon": "mdi:flash", "friendly_name": "nordpool_kwh_trheim_nok_2_10_025" }, "last_changed": "2022-08-17T12:00:00.024Z", "last_updated": "2022-08-17T12:00:00.024Z", "context": { "id": "01GANTSEGREJ0TY5GM9KF4C0GJ", "parent_id": null, "user_id": null }, "timeSinceChangedMs": 3180008, "original_state": "0.8" } }
Price reciver
{ "payload": { "priceData": [ { "value": 0.02, "start": "2022-08-17T00:00:00+02:00" }, { "value": 0.02, "start": "2022-08-17T01:00:00+02:00" }, { "value": 0.01, "start": "2022-08-17T02:00:00+02:00" }, { "value": 0.01, "start": "2022-08-17T03:00:00+02:00" }, { "value": 0.01, "start": "2022-08-17T04:00:00+02:00" }, { "value": 0.01, "start": "2022-08-17T05:00:00+02:00" }, { "value": 0.02, "start": "2022-08-17T06:00:00+02:00" }, { "value": 0.03, "start": "2022-08-17T07:00:00+02:00" }, { "value": 0.07, "start": "2022-08-17T08:00:00+02:00" }, { "value": 0.31, "start": "2022-08-17T09:00:00+02:00" }, { "value": 0.35, "start": "2022-08-17T10:00:00+02:00" }, { "value": 0.42, "start": "2022-08-17T11:00:00+02:00" }, { "value": 0.49, "start": "2022-08-17T12:00:00+02:00" }, { "value": 0.83, "start": "2022-08-17T13:00:00+02:00" }, { "value": 0.8, "start": "2022-08-17T14:00:00+02:00" }, { "value": 0.67, "start": "2022-08-17T15:00:00+02:00" }, { "value": 0.67, "start": "2022-08-17T16:00:00+02:00" }, { "value": 0.62, "start": "2022-08-17T17:00:00+02:00" }, { "value": 0.62, "start": "2022-08-17T18:00:00+02:00" }, { "value": 0.56, "start": "2022-08-17T19:00:00+02:00" }, { "value": 0.65, "start": "2022-08-17T20:00:00+02:00" }, { "value": 0.71, "start": "2022-08-17T21:00:00+02:00" }, { "value": 0.69, "start": "2022-08-17T22:00:00+02:00" }, { "value": 0.47, "start": "2022-08-17T23:00:00+02:00" }, { "value": 0.37, "start": "2022-08-18T00:00:00+02:00" }, { "value": 0.32, "start": "2022-08-18T01:00:00+02:00" }, { "value": 0.14, "start": "2022-08-18T02:00:00+02:00" }, { "value": 0.09, "start": "2022-08-18T03:00:00+02:00" }, { "value": 0.06, "start": "2022-08-18T04:00:00+02:00" }, { "value": 0.02, "start": "2022-08-18T05:00:00+02:00" }, { "value": 0.02, "start": "2022-08-18T06:00:00+02:00" }, { "value": 0.06, "start": "2022-08-18T07:00:00+02:00" }, { "value": 0.08, "start": "2022-08-18T08:00:00+02:00" }, { "value": 0.09, "start": "2022-08-18T09:00:00+02:00" }, { "value": 0.1, "start": "2022-08-18T10:00:00+02:00" }, { "value": 0.1, "start": "2022-08-18T11:00:00+02:00" }, { "value": 0.13, "start": "2022-08-18T12:00:00+02:00" }, { "value": 0.17, "start": "2022-08-18T13:00:00+02:00" }, { "value": 0.31, "start": "2022-08-18T14:00:00+02:00" }, { "value": 0.24, "start": "2022-08-18T15:00:00+02:00" }, { "value": 0.14, "start": "2022-08-18T16:00:00+02:00" }, { "value": 0.14, "start": "2022-08-18T17:00:00+02:00" }, { "value": 0.11, "start": "2022-08-18T18:00:00+02:00" }, { "value": 0.08, "start": "2022-08-18T19:00:00+02:00" }, { "value": 0.07, "start": "2022-08-18T20:00:00+02:00" }, { "value": 0.06, "start": "2022-08-18T21:00:00+02:00" }, { "value": 0.05, "start": "2022-08-18T22:00:00+02:00" }, { "value": 0.03, "start": "2022-08-18T23:00:00+02:00" } ], "source": "Nordpool" }, "_msgid": "f9a61c013b7f75e2" }
Tensio Nettleie Weekday
{ "payload": { "priceData": [ { "value": 28.41, "start": "2022-08-17T00:00:00+02:00" }, { "value": 28.41, "start": "2022-08-17T01:00:00+02:00" }, { "value": 28.4, "start": "2022-08-17T02:00:00+02:00" }, { "value": 28.4, "start": "2022-08-17T03:00:00+02:00" }, { "value": 28.4, "start": "2022-08-17T04:00:00+02:00" }, { "value": 28.4, "start": "2022-08-17T05:00:00+02:00" }, { "value": 36.28, "start": "2022-08-17T06:00:00+02:00" }, { "value": 36.29, "start": "2022-08-17T07:00:00+02:00" }, { "value": 36.33, "start": "2022-08-17T08:00:00+02:00" }, { "value": 36.57, "start": "2022-08-17T09:00:00+02:00" }, { "value": 36.61, "start": "2022-08-17T10:00:00+02:00" }, { "value": 36.68, "start": "2022-08-17T11:00:00+02:00" }, { "value": 36.75, "start": "2022-08-17T12:00:00+02:00" }, { "value": 37.09, "start": "2022-08-17T13:00:00+02:00" }, { "value": 37.06, "start": "2022-08-17T14:00:00+02:00" }, { "value": 36.93, "start": "2022-08-17T15:00:00+02:00" }, { "value": 36.93, "start": "2022-08-17T16:00:00+02:00" }, { "value": 36.88, "start": "2022-08-17T17:00:00+02:00" }, { "value": 36.88, "start": "2022-08-17T18:00:00+02:00" }, { "value": 36.82, "start": "2022-08-17T19:00:00+02:00" }, { "value": 36.91, "start": "2022-08-17T20:00:00+02:00" }, { "value": 36.97, "start": "2022-08-17T21:00:00+02:00" }, { "value": 29.08, "start": "2022-08-17T22:00:00+02:00" }, { "value": 28.86, "start": "2022-08-17T23:00:00+02:00" }, { "value": 28.76, "start": "2022-08-18T00:00:00+02:00" }, { "value": 28.71, "start": "2022-08-18T01:00:00+02:00" }, { "value": 28.53, "start": "2022-08-18T02:00:00+02:00" }, { "value": 28.48, "start": "2022-08-18T03:00:00+02:00" }, { "value": 28.45, "start": "2022-08-18T04:00:00+02:00" }, { "value": 28.41, "start": "2022-08-18T05:00:00+02:00" }, { "value": 36.28, "start": "2022-08-18T06:00:00+02:00" }, { "value": 36.32, "start": "2022-08-18T07:00:00+02:00" }, { "value": 36.34, "start": "2022-08-18T08:00:00+02:00" }, { "value": 36.35, "start": "2022-08-18T09:00:00+02:00" }, { "value": 36.36, "start": "2022-08-18T10:00:00+02:00" }, { "value": 36.36, "start": "2022-08-18T11:00:00+02:00" }, { "value": 36.39, "start": "2022-08-18T12:00:00+02:00" }, { "value": 36.43, "start": "2022-08-18T13:00:00+02:00" }, { "value": 36.57, "start": "2022-08-18T14:00:00+02:00" }, { "value": 36.5, "start": "2022-08-18T15:00:00+02:00" }, { "value": 36.4, "start": "2022-08-18T16:00:00+02:00" }, { "value": 36.4, "start": "2022-08-18T17:00:00+02:00" }, { "value": 36.37, "start": "2022-08-18T18:00:00+02:00" }, { "value": 36.34, "start": "2022-08-18T19:00:00+02:00" }, { "value": 36.33, "start": "2022-08-18T20:00:00+02:00" }, { "value": 36.32, "start": "2022-08-18T21:00:00+02:00" }, { "value": 28.44, "start": "2022-08-18T22:00:00+02:00" }, { "value": 28.42, "start": "2022-08-18T23:00:00+02:00" } ], "source": "Nordpool" }, "_msgid": "f9a61c013b7f75e2" }
Tensio Nettleie Weekend
Silly me, my bad. The grid tariff obviously needs to have it in decimal form.
I've setup powersaver as you see in the picture, attached output for each node from the debug as seen in the picture. In the two last outputs only grid tariff is present? I've removed the wire to the strategy lowest price node for now
Nordpool sensor:
Price reciver
Tensio Nettleie Weekday
Tensio Nettleie Weekend