question

mvader (Victron Energy) avatar image
mvader (Victron Energy) asked

Venus OS v2.82~4 available for testing

Good afternoon this Saturday,

Next v2.82 test version. v2.82~4 to be precise.

In case you haven't seen it yet: last Monday we released v2.80, a release packed with new features. Quickly thereafter came v2.81.

The goal with v2.82 is to be a bug fix release; fixing the known regressions of v2.80, aiming to quickly go to a super stable and reliable version.

In case you don't know what this message is about, then please start with reading this link, which explains the Venus OS beta program.

Change log

Two new changes:

  • Partially fix missing Modbus-TCP register 777, Solar Charger PV current. More information here.
  • Bluetooth wireless sensors (Ruuvis): immediately use an inserted USB Bluetooth Adapter, rather than requiring a reboot first.

Changes in v2.82~2, released yesterday:

  • Fix issue when having a CAN-bus connected battery, DVCC and another battery monitor on the same battery bank. This is fixed by reverting the related code & functionality to how it was on v2.73. Post with more information.
  • Fix issue that, sometimes, greyed out the Enable toggles of analog tank inputs.
  • Make the Wireless bluetooth sensors feature, for the Ruuvis, use all connected bluetooth adapters. With this change, it is possible to connect multiple USB bluetooth adapters. And for example by having one on a slightly long USB cable it will be possible to increase the range. There is a list of tested USB Bluetooth adapters, currently we at Victron are not stocking or shipping any of those. And they were tested either briefly by ourselves, or by someone else - see the list.

Known issues:

  • There is possibly/most likely an issue with the bluetooth module in the Cerbo GX, causing it to no longer data from the Ruuvi sensors. Until now, best, meaning most reliable, available solution is to insert a USB Bluetooth adapter. There is a list of tested USB Bluetooth adapters on Community. The issue is Cerbo GX internal temperature related: when too high, the Bluetooth fails. Nothing else fails, just the Bluetooth. Thank you @stevomyatt for getting is on the right track (temperature) here.
  • There still is an issue with register 777, see discussion below.


What to test?

1. CAN-bus connected battery, with or without BMV or SmartShunt added as well.

For details, see this post.

2. Modbus-TCP
The now added fix for Modbus-TCP is more than just adding the 777 register back how it was. Its a bit long story in detail, but the result is that Modbus-TCP requires good testing. So: if you use it, please to update to this version and confirm in an answer below that it all works well.


That is all for now, some common information below and have a good weekend,

Matthijs.


How to post an issue?

Preferably all issues are organised as answers to this question. One answer per issue. So first check the existing threads. If you have the same as someone else already reported, welcome to add a comment saying "me too". And preferably some more details. And in case its not listed yet, add a new Answer. Note that Answers and Comments are two different things here on community.

Lastly, please first revert to v2.73, to double check if the issue you're seeing was present there as well. Regressions require a different treatment than other issues and bugs, and one of the first things that needs doing in triaging a report is distinguishing between the two.


Running SetupHelper, GuiMods or other customer code?

Please then first remove that, and see if you still have an issue. Or at a minimum mention that, and then don't be surprised if I ask to take that elsewhere directly with @Kevin Windrem, or remove it first.

Venus OS
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

2 Answers
info-6 avatar image
info-6 answered Ā·

Good evening,

There is possibly/most likely an issue with the bluetooth module in the Cerbo GX, causing it to no longer data from the Ruuvi sensors. 

After updating to this version, all 6 Ruuvi-sensors still work with the integrated Bluetooth :-)

Question:
Is there any plan for implementation of MOPEKA sensors in future?

1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

mvader (Victron Energy) avatar image mvader (Victron Energy) ā™¦ā™¦ commented Ā·
Good day @info-6, wrt mopeka: maybe. Not sure yet.
0 Likes 0 Ā·
elvis avatar image
elvis answered Ā·

Venus OS v2.82~4
Modbus Register 777 still broken

screenshot-2022-02-05-21-47-26.png


7 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

mvader (Victron Energy) avatar image mvader (Victron Energy) ā™¦ā™¦ commented Ā·

Hi @Elvis

huh? That is really strange since we tested it as wel. Is there an error message in the modbustcp menu? Could you share a screenshot of that?

0 Likes 0 Ā·
elvis avatar image elvis mvader (Victron Energy) ā™¦ā™¦ commented Ā·

Will this suffice?

screenshot-2022-02-05-21-43-39.png

0 Likes 0 Ā·
mvader (Victron Energy) avatar image mvader (Victron Energy) ā™¦ā™¦ elvis commented Ā·

Yes. I'm trying to reproduce it. Could you try for me to do a range query, that doesn't start at 777, but does include it?


Like so:

1644131111148.png

0 Likes 0 Ā·
1644131111148.png (52.8 KiB)
elvis avatar image elvis mvader (Victron Energy) ā™¦ā™¦ commented Ā·

remote console does not report an error as a range query.

screenshot-2022-02-05-22-27-42.png

./ModbusCli -d 192.168.20.156 -r 771 -c 9 -s 226
[1323, 0, 0, 1, 0, 72, 0, 0, 0]

But error's out as a single register query

0 Likes 0 Ā·
mvader (Victron Energy) avatar image mvader (Victron Energy) ā™¦ā™¦ elvis commented Ā·
Hi again - yes I see the same. And spoken to the developer; and confirmed it, there still is a bug. Not good, also not on the testing on our side, but also happy to have catched it before release - for which I thank you! There will be a new version today/tomorrow. Have a good Sunday, Matthijs
0 Likes 0 Ā·
mvader (Victron Energy) avatar image mvader (Victron Energy) ā™¦ā™¦ mvader (Victron Energy) ā™¦ā™¦ commented Ā·

Hi again @Elvis , v2.82~5 released just now. I checked the ModbusTCP myself: works in all these cases:

  • single register query to 776
  • range query from 776 to 777
  • single register query to 777
  • range query from 777 to 778
0 Likes 0 Ā·
elvis avatar image elvis mvader (Victron Energy) ā™¦ā™¦ commented Ā·
Confirmed.

Now working. :-)

Thanks for the quick attention. I know you guys are very busy.

0 Likes 0 Ā·

Related Resources