sbender9 / signalk-venus-plugin

Read and control Victron GX devices
https://www.victronenergy.com
Apache License 2.0
11 stars 15 forks source link

Not receiving deltas after update #147

Closed Fgonzalez22 closed 2 months ago

Fgonzalez22 commented 3 months ago

Running raspberry pi with venus os, and another raspberry with openplotter. I have been using the venus plugin for more than a year without issues but after the last update even though signalk states the Venus plugin is started, no deltas are coming in. Connections have not changed via MQQT Plain text, but I see a password field that wasn't there before. Could that be the issue?

The server log for the venus pluggin looks like this:

Aug 11 18:47:57 2024-08-11T21:47:57.728Z signalk-venus-plugin mqtt reconnect Aug 11 18:47:57 2024-08-11T21:47:57.739Z signalk-venus-plugin mqtt close Aug 11 18:47:58 2024-08-11T21:47:58.739Z signalk-venus-plugin mqtt reconnect Aug 11 18:47:58 2024-08-11T21:47:58.754Z signalk-venus-plugin mqtt close Aug 11 18:47:59 2024-08-11T21:47:59.753Z signalk-venus-plugin mqtt reconnect

Thanks!

sbender9 commented 3 months ago

Yeah. I might have broken something. You can revert to the previous major release.

Fgonzalez22 commented 3 months ago

Thanks for your feedback! I will do as suggested. How do I go back to previous major release? I don't see in the signalk AppStore the possibility of reverting to previous versions or to delete and choose which version to reinstall. Can you provide me with some guidelines on how to do that.

Thanks for your help!

Fgonzalez22 commented 3 months ago

Scott, any help or guideline in how to revert or install previous versions from SK AppStore? Would save me !

sbender9 commented 3 months ago

Sorry, and I totally forgot about this!

cd ~/.signalk
npm install --no-save signalk-venus-plugin@1.37.0
sbender9 commented 3 months ago

Have you tried with 1.38.1 ?

sbender9 commented 3 months ago

What version of Venu OS are you running?

Fgonzalez22 commented 3 months ago

npm install --no-save signalk-venus-plugin@1.37.0

Thanks Scott, its working fine with 1.37.0 !

Fgonzalez22 commented 3 months ago

Have you tried with 1.38.1 ?

That's the last one available for me, it stopped working when i installed it

Fgonzalez22 commented 3 months ago

What version of Venu OS are you running?

Running v3.30 Quite recent but not the last one, since I have made many adaptations, to include analog and digital inputs, relays, etc. that have quite some work to be done once its updated.

sbender9 commented 3 months ago

So far, I can't reproduce your issue. How do you have the plugin configured? Is is MQTT Plain Text or SSL?

sbender9 commented 3 months ago

And you just got the close/reconnect messages? No other error message at all?

Fgonzalez22 commented 3 months ago

So far, I can't reproduce your issue. How do you have the plugin configured? Is is MQTT Plain Text or SSL?

Its MQTT Plain Text... Host: venus.local

Fgonzalez22 commented 3 months ago

And you just got the close/reconnect messages? No other error message at all?

Yes that's all i got. No other errors. Now after re-intalling previous version it re-started directly. No need for any setup.

sbender9 commented 2 months ago

This is resolved, right?

Fgonzalez22 commented 2 months ago

I have not updated to the last version since that was the one that was causing the problem. I went back to signalk-venus-plugin@1.37.0. Should I re install the latest version?

Fgonzalez22 commented 2 months ago

I can confirm that lastest version is not working for me. Again went back v1.37.0

sbender9 commented 2 months ago

can you please try with v1.39.0 when you have a chance?

Fgonzalez22 commented 2 months ago

Testing v1.39.0 restarted openplotter and venus and seems ok. Cannot restart router at this time, just in case that may be the cause the link could not been established. I'll let you know how things go on. Thanks