Is there a simple data logging capability?

Hi,

I'm looking to be able to log a modest amount of data without leaving the local environment (i.e. not going to the internet).

My goal is to capture enough data to see how my sensors are working and how I should setup rules. I would expect the data to be simply logged not analyzed, I would do that in excel.

In my imagination I would think writing to a USB stick connected to the other port on the Hubitat hub would be ideal. I don't know if this is even supported.

My other thought is to write to an SD card connected to an ESP8266. This I might even be capable of accomplishing (I'm not a programmer but can often stumble through enough to get by).

Are there any other options available?

Thanks
John

1 Like

Give influxdb a look. Not too difficult to setup if you have a Linux box somewhere already in the house.

@cuboy29,

Thanks, but no Linux box. I do have a Synology NAS and it has a MariaDB application. But I wouldn't know where to start

For you influxdb (I assume you have something running) can you tell me what Habitat application you use and how does the data get sent to the DB?

Thanks
John

Take a look at this..

2 Likes

@cuboy29,

Thanks much. Will look into that. I also found a video by PaulHawthorne on how to add influxdb to Synology NAS so we'll see.

I still think it would be great if some day in the (far) future the Hubitat folks could add the ability to write to a usb memory stick.

1 Like

If they ever allow us to send the log to a remote syslog server then we can do a lot with it.

2 Likes

How did you handle this part:

Thanks

I didn't.. you don't need the group name for it to log the data.

Thanks!

Sorry to bother you, are you using a Pi? I can't find the correct commands to install it.

Thanks.

No I am not running a raspberry pi for this. I have Linux computer running running this.

I have been using https://corlysis.com/ to meet this need. I used to run influxdb and grafana on a local RPI but this outsource made sense for me to take one more "custom" thing out of the equation to maintain.

Hi, how did you configure Corlysis in order to have Hubitat send data? I am getting this in the error log:

2021-04-01 01:15:32.164 errorpostToInfluxDB(): Something went wrong! Response from InfluxDB: Status: 408, Headers: null, Data: null

app:17072021-04-01 01:15:32.042 infopostToInfluxDB(): Posting data to InfluxDB: Host: http://corlysis.com, Port: 8087, Database: Power, Data:

Here is the setup for the App - you have to get your token from the Corlysis site.

You have to use the code from my fork to get SSL working right. The Pull request is still pending.

1 Like