Share Your Data Logging and Visualization Implementations

Thanks to all for stirring this up. I'm excited to see this progress.

@csteele I'm "@tooluser". :wink: Already in.

If you could add me to this one, I'll fill it in and start the versioning/etc process.

I'm also going to (in my copious free time) work on a versioning system that uses GitHub versions rather than a JSON file stored in a repo. I was thinking we could add a wiki to the HubitatCommunity to gather techniques or something? @csteele

Done.

Thanks!

I've posted a version based on Codersaur's at:

And when I say 'based on' I mean really essentially identical with very minor tweaks. . . . that's some really nice code! Thank you, Codersaur!

@ogiewon

6 Likes

worked for me. Finally have the monitoring I want.

1 Like

Thanks for making this available. I installed influxdb and grafana on my Ubuntu system and had data logging and charted in less than an hour. The influxdb logging app on my HE installed without a problem.

Here's a sample set of graphs: one is to help me verify the correct functioning of some rules that control how a hot water recirculation pump is cycled; and the other shows various temperature sensors around the house.

Thanks again for a great addition to my home automation system.

-Scott

2 Likes

Ok so I got this up and running. Quite cool btw! Anyone have directions on how to setup dashboards effectively?

Anyone have any good methods of setting up a Docker Container that runs Influx and Grafana? I followed the links through Codersaur's site which linked to a Home Assistant tutorial but the Container I pull won't start.
Thanks.

Use this:

https://hub.docker.com/r/samuelebistoletti/docker-statsd-influxdb-grafana/

Works perfect.

2 Likes

So I'm gathering from error research that this is an x86 installation?
I'm trying to run it on Raspberry Pi.
Maybe that's what my last error was as well. I'll try to find the ARM version.

Alright so I got it running on my Mac. We'll see how this goes...

Hey so I got it all working. Awesome stuff!
Do you get mode to report to InfluxDB?
I toggled the toggle to ON but I don't see it under _heHub or anything.

Thanks!

I would like to find this, too. Because:

I see the switch data makes it to Influx, but I'm not getting it to display - even in a table format, which confuses me. Continuous scalar data like temperature is fine.

1 Like

Thanks for sharing this!!

1 Like

For switches I can see them graphed with value binary.

As for the dashboards. I am really liking the heatmap. Nice to see the distribution of all the temp sensors in the house.

3 Likes

Were there any special steps to getting it going on your Mac? I downloaded Docker and added influxdb-grafana. I started docker and then went it and added the influxdb but when I try to access it (http://localhost8086), I get a page not found. In the Data Source page, I see my InfluxDB config and it tests fine. When I go to the Home Dashboard, it doesn't show any installed datasources. I'm missing something really simple here.

I'll reply, though you didn't ask me: no, it was trivial for me (High Sierra, I think? Maybe Mojave).

1 Like