Open bomilkar opened 4 hours ago
hi Roland @bomilkar !
the depict_system does not change anything in the outdated dev files (datapoints_vcal, datapoints_vdens, ...). use -cnfg devices.json
instead of -dev ...
the -dev mechanism is an anachronism left from the beginings of open3e.
If you interested in the main ecu only, you might use -dev 680
. the datapoints_680 gets updated by depict_system.
Thanks!
open3e -c can0 -cnfg devices.json --scanall
Does the job.
But both
open3e -c can0 -dev 680 --scanall
open3e -c can0 -dev 0x680 --scanall
crash with
ModuleNotFoundError: No module named 'open3e.Open3Edatapoints680'
ModuleNotFoundError: No module named 'open3e.Open3Edatapoints0x680'
respectively.
oh, sorry. so you need to do open3e -c can0 -dev _680 --scanall
(including the underscore)
pls give me a short note if it works that way
ps. more details regarding the -dev issue see here: https://github.com/open3e/open3e/issues/153
No, not yet:
$ open3e -c can0 -dev _680 --scanall
Traceback (most recent call last):
File "/home/pi/.local/bin/open3e", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/pi/.local/lib/python3.11/site-packages/open3e/Open3Eclient.py", line 324, in main
ecu = open3e.Open3Eclass.O3Eclass(ecutx=deftx, doip=args.doip, can=args.can, dev=args.dev)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pi/.local/lib/python3.11/site-packages/open3e/Open3Eclass.py", line 64, in __init__
didmoduledev = importlib.import_module(module_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1142, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'open3e.Open3Edatapoints_680'
Open3Edatapoints_680.py exists in the current directory. Is the current directory not on the search path??
fu.. . I'm in a hurry right now, I will come back later.
It is a problem related to the pip installation. in earlier times it worked..
After a firmware update on my Vitocal 250A it fails to generate a list of all DIDs:
I ran open3e_depictSystem and all "normal" reads work like they did before. For instance: