pihud
pihud copied to clipboard
[obd.commands] OBD commands can only be retrieved...
Hi all,
I followed all the steps reported into the readme but I have some issue like below:
[obd.commands] OBD commands can only be retrieved by PID value or dict name
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.7/dist-packages/pihud-0.1.0-py2.7.egg/pihud/main.py", line 81, in
I changed "python -m piHud" with "python -m pihud" otherwise no modue "piHud" is found, and second I do not have a ELM327 connected to the RPi (but I don't think that this is an issue).
Could you please help me to solve the problem? Thanks in advance.
I've got the same issue even if I'm connected to an adapter.
Using python-OBD on it's own in a simple script does work and returns values. Does anyone have tips on how to efficiently debug this?
Its to do with the pihud.rc config file in the home/pi directory. Looks like that is created from the default.rc file however it doesnt like the sensor fields being in quotation marks. I dont really know enough about JSON to understand what its problem is but if you change the lines "sensor": "RPM", to "sensor": RPM, in the pihud.rc the program should load.
I am unable to save any widget layouts becuase when its loading the terminal outputs: Invalid json in config: No JSON object could be decoded
However it continues to load the program. I have been trying to work out what that means Thanks