victronenergy / dynamic-ess

MIT License
76 stars 5 forks source link

[Bug]: TypeError: Cannot read properties of undefined (reading '18') #133

Closed gjongenelen closed 3 months ago

gjongenelen commented 3 months ago

Contact Details

redacted

VRM portal ID

c0619ab55e90

Country / region

Netherlands (nl)

B max

4.8

TB max

3

FB max

3

TG max

30

FG max

30

Battery costs

0.03

Buy price

(p+0.13)*1.21+0.025

Sell price

(p+0.13)*1.21+0.015

feed-in possible

yes

feed-in control

yes

Version

0.1.15

What happened?

Dess was running fine, but today the dashboard stopped loading. I found the following error: 15/03/2024, 18:43:33[node: prepare dess variables]() function : (error) "TypeError: Cannot read properties of undefined (reading '18')"

When did it happen?

Now

Relevant log output

No response

Screenshots

![DESCRIPTION](LINK.png)
dirkjanfaber commented 3 months ago

Just pushed a 0.1.16 release out (with updated flows) that fixes this. Might be a few minutes before the palette manager knows about this update.

Note that you will need to re-import the used flow in order afterwards.

gjongenelen commented 3 months ago

The error changed to:

15/03/2024, 19:44:27[node: prepare dess variables](https://myip:1881/#)
function : (error)
"TypeError: Cannot read properties of undefined (reading '19')"
dirkjanfaber commented 3 months ago

Did you re-import the flow?

gjongenelen commented 3 months ago

Yes, deleted and replaced the nodes on re-import

dirkjanfaber commented 3 months ago

As VRM admin I've checked on your site what I overlooked (and fixed it). I see what that was now and I'll make another release.

Meanwhile it should already work on your site.

gjongenelen commented 3 months ago

Awesome! Dankjewel