Hubitat + InfluxDB + Grafana Howto [Ubuntu Linux]

This was easy to setup following these steps:

  1. Install RaspiOS Lite Bullseye 32-bit
  2. Install InfluxDB from OS repository with command "sudo apt install influxdb"
  3. Install InfluxDB Client from OS repository with command "sudo apt install influxdb-client"
  4. Connect to the database with command "influx -precision rfc3339"
  5. Create database with command "create database Hubitat"
  6. Config InfluxDB Logger
  7. Install Grafana Server with commands:
    sudo apt-get install -y adduser libfontconfig1
    wget https://dl.grafana.com/enterprise/release/grafana-enterprise_9.1.2_armhf.deb
    sudo dpkg -i grafana-enterprise_9.1.2_armhf.deb
  8. Run the commands specified after install, ex: enable grafana-server
  9. Set Grafana source and create a panel

Result:

This was setup on a Raspberry Pi 3B+.

But the question is if it is worth it to use a Raspberry at all, and if this setup is enough. For example i want to add energy meters from Shelly, which are not available on Hubitat. Should i use a setup with NodeRed instead?

2 Likes