vemonitor / vedirect_m8

Victron Serial VeDirect Reader and simulator. Fork from karioja/vedirect
MIT License
7 stars 4 forks source link

test example does fail with valid or invalid devices #6

Closed vkuehn closed 4 months ago

vkuehn commented 4 months ago

Describe the bug python examples/vedirectsim.py --port /${HOME}/vmodem0 --device bmv700 causes the error message ValueError: Fatal error, unable to set device settings on bmv700.Valid devices are : (bmv702, 23, smartsolar_1.39)

python examples/vedirectsim.py --port /${HOME}/vmodem0 --device bmv702 causes the same error

To Reproduce Steps to reproduce the behavior: python examples/vedirectsim.py --port /${HOME}/vmodem0 --device bmv700

Expected behavior as in the documentation

Desktop (please complete the following information):

Additional context just started and followed the steps on pypi on a fresh vm

mano8 commented 4 months ago

Hi, thanks for the report and sorry for the bug. Updating the package to version 1.3.0.3 with pip install vedirect_m8 --upgrade should resolve the issue. See this Pull Request for more information.