victronenergy / dynamic-ess

MIT License
76 stars 5 forks source link

[Bug]: DESS cannot connect to VRM, cannot create feasible schedule #47

Closed LecramRed closed 10 months ago

LecramRed commented 10 months ago

Contact Details

info@redupsell.nl

VRM / Site iD

345657

Country / region

Netherlands (nl)

B max

12

TB max

4

FB max

5

TG max

15

FG max

15

Battery costs

0.025

Buy price

(p+0.02+0.13)*1.21

Sell price

(p+0.02+0.13)*1.21

feed-in possible

yes

feed-in possible

yes

What happened?

The DESS node shows Could not create a feasible schedule. The token is right and so is the site ID. The strange part is that another site, at another location, with the same token, but a different site ID, works well when I change the site ID in the DESS node. Note, that is on one and the same Cerbo (which is located at 'Thuis") The site works well in VRM and GX.

The Debug node says: 503 Service unavailable. And these: 5-9-2023 09:40:06node: debug 1 msg.payload : string[69] "Unable to connect to VRM for more than an hour, disabling dynamic ESS" 5-9-2023 09:40:06node: Battery control function : (error) "TypeError: Cannot read property 'idle_b' of undefined" 5-9-2023 09:40:06node: Payload to graph function : (error) "TypeError: Cannot read property 'C' of undefined" 5-9-2023 09:40:06node: Control Outputs function : (error) "TypeError: Cannot read property 'gsmm' of undefined" 5-9-2023 09:40:06node: Parse buy price info function : (error) "TypeError: Cannot read property 'p_b' of undefined" 5-9-2023 09:40:06node: d113883229f42347 msg : error "Error: Data: false was not of type number"

image

ESS Thuis does not work, Red Upsell Zaak works well on the "ESS Thuis" Cerbo GX image

Relevant log output

No response

Screenshots

No response

dirkjanfaber commented 10 months ago

We looked into this and it looks like you don't have the timezone set correctly on your GX device.

I've added a troubleshooting section in the README for this. Please follow those instructions and it should start functioning.

LecramRed commented 10 months ago

Thanks for your lightning fast answer. You are an angel, now it works. The Dashboard still says "Could not create a feasible schedule", but may be that is caused by the min. SOC of 100% (I put it to 100% to avoid that the car charger would drain the battery)

image