Page 1 of 1

Gauge Dash/OBD2 Link

Posted: Thu Aug 07, 2025 3:15 pm
by TheJackBurton
I am wanting to integrate this to use with my truck for live gauges, similar to what are shown on the website, like the Load, Engine Temp, Oil Pressure... Pretty much any sensor data available on the CanBus via the OBD2 port. Is there already a library or setting to turn this on, or do I have to set it up a specific way? Thank you

Re: Gauge Dash/OBD2 Link

Posted: Thu Aug 07, 2025 3:23 pm
by TheJackBurton
I found the Dash Board section of the GitHub. I will explore this further and see what I can put together.

Re: Gauge Dash/OBD2 Link

Posted: Thu Aug 07, 2025 3:34 pm
by hudiy
Hello,
Hudiy only supports communication via ELM327, which provides a unified way to access OBD-II data.
The OBD-II standard guarantees access to a set of common vehicle parameters (such as RPM, speed, engine temperature, and engine load). However, some data is vendor-specific and requires knowledge of the appropriate PIDs in order to retrieve it.

To create your own diagnostic data displays, you can use HTML/JavaScript. We provide several examples on our GitHub showing how such displays can be implemented:
To communicate with the ELM327 device from HTML/JavaScript through Hudiy, you should use the following messages from the Hudiy API (these are also used in the examples mentioned above for reference): Later, displays created in HTML/JavaScript can be used as Widgets, Overlays, or full Applications within Hudiy: If you have any further questions or need assistance with the implementation, just let us know - we’ll will try to help.

Re: Gauge Dash/OBD2 Link

Posted: Thu Aug 28, 2025 9:43 am
by Caiimen
Hello, I am a beginner with all this and I would like to know how to add all these additions, through which means.

Re: Gauge Dash/OBD2 Link

Posted: Thu Aug 28, 2025 11:22 am
by hudiy
If you’d like to use the examples available on our GitHub, below we’re sharing configuration files based on the default ones. You can copy and paste them into the files in your installation (in $HOME/.hudiy/share/config). Note that the .hudiy folder is hidden (the dot before the name). To show hidden files in the Raspberry Pi file manager (pcmanfm), use the key combination CTRL + H (toggles hidden files on or off).

To run the HTML/JavaScript examples, you’ll need to configure ELM327 — the instructions are here: viewtopic.php?t=25

You’ll also need to install and start an HTTP server — this is described in the README file for the examples: https://github.com/wiboma/hudiy/blob/ma ... javascript

To start the HTTP server automatically at system startup, you can add it to /etc/xdg/labwc/autostart. This is a system file that requires administrator privileges to edit. The simplest way is to open it in the terminal with an editor such as nano:

Code: Select all

sudo nano /etc/xdg/labwc/autostart
In the configuration files below, we assume that the HTTP server has been started on port 12345 in the api/js examples directory. The file obd_widget.html has been added as a widget, gauges.html as an application, and the files tacho.html and speedo.html as overlays.

applications.json

Code: Select all

{
    "applications": [
        {
            "action": "obd2_gauges_app",
            "url": "http://127.0.0.1:12345/gauges.html"
        }
    ]
}
applications_menu.json

Code: Select all

{
    "categories": [
        {
            "isDefault": true,
            "iconFontFamily": "Material Symbols Rounded",
            "iconName": "call",
            "label": "Phone"
        },
        {
            "iconFontFamily": "Material Symbols Rounded",
            "iconName": "library_music",
            "label": "Music"
        },
        {
            "iconFontFamily": "Hudiy Symbols",
            "iconName": "\ue900",
            "label": "Android Auto"
        },
        {
            "iconFontFamily": "Material Symbols Rounded",
            "iconName": "general_device",
            "label": "Autobox"
        },
        {
            "iconFontFamily": "Material Symbols Rounded",
            "iconName": "apps",
            "label": "Hudiy"
        }
    ],
    "items": [
        {
            "categories": [
                "Phone"
            ],
            "iconFontFamily": "Material Symbols Rounded",
            "iconName": "contacts",
            "action": "contacts",
            "label": "Contacts"
        },
        {
            "categories": [
                "Phone"
            ],
            "iconFontFamily": "Material Symbols Rounded",
            "iconName": "contacts",
            "action": "favorite_contacts",
            "label": "Favorites"
        },
        {
            "categories": [
                "Phone"
            ],
            "iconFontFamily": "Material Symbols Rounded",
            "iconName": "dialpad",
            "action": "dialpad",
            "label": "Dialpad"
        },
        {
            "categories": [
                "Phone"
            ],
            "iconFontFamily": "Material Symbols Rounded",
            "iconName": "call_log",
            "action": "calls_history",
            "label": "Call log"
        },
        {
            "categories": [
                "Phone"
            ],
            "iconFontFamily": "Material Symbols Rounded",
            "iconName": "phone_in_talk",
            "action": "active_call",
            "label": "Active call"
        },
        {
            "categories": [
                "Phone"
            ],
            "iconFontFamily": "Material Symbols Rounded",
            "iconName": "notifications",
            "action": "phone_notifications",
            "label": "Notifications"
        },
        {
            "categories": [
                "Music"
            ],
            "iconFontFamily": "Material Symbols Rounded",
            "iconName": "audio_file",
            "action": "storage_music_player",
            "label": "Storage Music"
        },
        {
            "categories": [
                "Music"
            ],
            "iconFontFamily": "Material Symbols Rounded",
            "iconName": "cell_tower",
            "action": "fm_radio_player",
            "label": "FM Radio"
        },
        {
            "categories": [
                "Music"
            ],
            "iconFontFamily": "Material Symbols Rounded",
            "iconName": "media_bluetooth_on",
            "action": "a2dp_music_player",
            "label": "A2DP"
        },
        {
            "categories": [
                "Music"
            ],
            "iconFontFamily": "Material Symbols Rounded",
            "iconName": "general_device",
            "action": "autobox_player",
            "label": "Autobox Music"
        },
        {
            "categories": [
                "Music"
            ],
            "iconFontFamily": "Hudiy Symbols",
            "iconName": "\ue900",
            "action": "android_auto_player",
            "label": "Android Auto"
        },
        {
            "categories": [
                "Hudiy"
            ],
            "iconFontFamily": "Material Symbols Rounded",
            "iconName": "web_asset",
            "action": "background_applications",
            "label": "Active apps"
        },
        {
            "categories": [
                "Hudiy"
            ],
            "iconFontFamily": "Material Symbols Rounded",
            "iconName": "speed",
            "action": "obd2_gauges_app",
            "label": "Gauges"
        },
        {
            "categories": [
                "Hudiy"
            ],
            "iconFontFamily": "Material Symbols Rounded",
            "iconName": "settings",
            "action": "settings_menu",
            "label": "Settings"
        },
        {
            "categories": [
                "Android Auto"
            ],
            "iconFontFamily": "Material Symbols Rounded",
            "iconName": "usb",
            "action": "connect_android_auto_usb",
            "label": "Connect USB"
        },
        {
            "categories": [
                "Android Auto"
            ],
            "iconFontFamily": "Material Symbols Rounded",
            "iconName": "wifi",
            "action": "connect_android_auto_wifi",
            "label": "Connect WiFi"
        },
        {
            "categories": [
                "Android Auto"
            ],
            "iconFontFamily": "Material Symbols Rounded",
            "iconName": "redo",
            "action": "resume_android_auto_projection",
            "label": "Resume"
        },
        {
            "categories": [
                "Android Auto"
            ],
            "iconFontFamily": "Material Symbols Rounded",
            "iconName": "cancel_presentation",
            "action": "quit_android_auto",
            "label": "Quit"
        },
        {
            "categories": [
                "Autobox"
            ],
            "iconFontFamily": "Material Symbols Rounded",
            "iconName": "wifi",
            "action": "connect_autobox_wifi",
            "label": "Connect WiFi"
        },
        {
            "categories": [
                "Autobox"
            ],
            "iconFontFamily": "Material Symbols Rounded",
            "iconName": "redo",
            "action": "resume_autobox_projection",
            "label": "Resume"
        }
    ]
}
dashboards.json

Code: Select all

{
    "dashboards": [
        {
            "isDefault": true,
            "action": "hudiy_dashboard",
            "widgets": [
                {
                    "type": "date_time",
                    "size": "small_narrow"
                },
                {
                    "type": "navigation",
                    "size": "medium_narrow"
                },
                {
                    "type": "now_playing",
                    "size": "large_narrow"
                },
                {
                    "type": "phone",
                    "size": "small_narrow"
                },
                {
                    "type": "web_static",
                    "size": "medium_narrow",
                    "url": "http://127.0.0.1:12345/obd_widget.html"
                }
            ]
        }
    ]
}
overlays.json

Code: Select all

{
    "overlays" : [
        {
            "identifier" : "Speedo",
            "action" : "",
            "width" : 300,
            "height" : 300,
            "x" : 0,
            "y" : 0,
            "visibility" : "NATIVE_UI_ONLY",
            "url" : "http://127.0.0.1:12345/speedo.html",
            "controlAudioFocus" : false,
            "audioStreamCategory" : "NONE",
            "visibleOnActions" : [

            ],
            "staticPosition" : false
        },
        {
            "identifier" : "Tacho",
            "action" : "",
            "width" : 300,
            "height" : 300,
            "x" : 0,
            "y" : 0,
            "visibility" : "NATIVE_UI_ONLY",
            "url" : "http://127.0.0.1:12345/tacho.html",
            "controlAudioFocus" : false,
            "audioStreamCategory" : "NONE",
            "visibleOnActions" : [

            ],
            "staticPosition" : false
        }
    ],
    "navigationOverlayPosition" : {
        "x" : 0,
        "y" : 0
    },
    "volumeOverlayPosition" : {
        "x" : 0,
        "y" : 0
    },
    "navigationOverlayVisibility" : "NONE",
    "volumeOverlayVisibility" : "NONE",
    "navigationOverlayOpacity" : 100,
    "xStep" : 20,
    "yStep" : 10
}
t1.png
t1.png (120.05 KiB) Viewed 957 times
t2.png
t2.png (50.46 KiB) Viewed 957 times
t5.png
t5.png (78.74 KiB) Viewed 957 times
t4.png
t4.png (145.81 KiB) Viewed 957 times

Re: Gauge Dash/OBD2 Link

Posted: Thu Aug 28, 2025 3:00 pm
by alex124.rh
Hi there, i was going to be trying this soon and wondered if bluetooth OBD adapters will interfere with any other functions simultaneously operating like AA CP AND BT devices. thanks

Re: Gauge Dash/OBD2 Link

Posted: Thu Aug 28, 2025 3:41 pm
by hudiy
alex124.rh wrote: Thu Aug 28, 2025 3:00 pm Hi there, i was going to be trying this soon and wondered if bluetooth OBD adapters will interfere with any other functions simultaneously operating like AA CP AND BT devices. thanks
We haven’t observed any issues when using ELM327 Bluetooth together with other Hudiy Bluetooth features. The Bluetooth bandwidth should be sufficient to handle, for example, ELM327 and A2DP/HFP at the same time. Android Auto, apart from HFP, uses very little Bluetooth bandwidth (only for triggering wireless connection). Apple CarPlay uses the Bluetooth module in the CarlinKit dongle for its communication and forwards everything over USB.