obd-gui | Raspberry Pi powered dashboard with live OBD stats
kandi X-RAY | obd-gui Summary
kandi X-RAY | obd-gui Summary
Raspberry Pi powered dashboard with live OBD stats & graphs and reverse camera support.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Main example function .
- Connect to the server .
- Initialize the buffer .
- Push an element .
- Manually connect the mock
- Execute a query .
- Format a name .
- Return a random query .
obd-gui Key Features
obd-gui Examples and Code Snippets
Community Discussions
Trending Discussions on Internet of Things (IoT)
QUESTION
I have js files Dashboard and Adverts. I managed to get Dashboard to list the information in one json file (advertisers), but when clicking on an advertiser I want it to navigate to a separate page that will display some data (Say title and text) from the second json file (productadverts). I can't get it to work. Below is the code for the Dashboard and next for Adverts. Then the json files
...ANSWER
Answered 2020-May-17 at 23:55The new object to get params in React Navigation 5 is:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install obd-gui
On the Pi, in a terminal, run: sudo apt update && sudo apt upgrade pip3 install obd PySimpleGUI keyboard git clone https://github.com/trishmapow/obd-gui
To connect to the module, run: bluetoothctl to enter bluetoothctl shell scan on and scan off once you see your module pair [MAC] where MAC is the address of your OBD module trust [MAC] paired-devices check your module is listed quit to exit bluetoothctl shell sudo sdptool add SP sudo rfcomm connect hci0 [MAC] you should see 'press ctrl+c for hangup'
Now to see if you can interface with the module: cd into obd-gui python3 gui.py, if you see the numbers and graph updating, great! Otherwise alt-tab to switch to the terminal and see the errors (or exit the app using alt+f4). I had to make some patches to get my module working, you can find them here. Check the troubleshooting guide and issues in the repo. You may have to dig into the pythonOBD source in ~/.local/lib/python3.7/site-packages/obd
PiFace config steps: unfortunately the apt and pip packages for the piface don't seem to exist anymore, so we have to install manually. git clone both pifacecommon and pifacedigital-io, cd into the directories and run sudo python3 setup.py install for both modules enable SPI in sudo raspi-config, under 'interfacing' (iirc) run sudo python3 piface.py from the obd-gui folder. sudo is required for the keyboard module to work and emulate keypresses try pressing the first button, the relay should switch. The second and third buttons should emulate the left and right arrow keys respectively
Autostart the apps with the Pi: copy the files in autostart to /etc/xdg/autostart. Make any necessary edits to the desktop files. add your module's MAC address in connect.sh if the scripts complain about missing modules when running with sudo, uncomment the sys.path.append lines at the top of gui.py and piface.py (edit as necessary depending on your Python version, you can run pip3 show obd to see where your package is installed). This is a quick fix solution, there are cleaner ways if you edit sudoers, etc.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page