Ik heb 95904 measurements:
Maar in influxDB web zie ik onder data explorer niks.
Dit is mijn flow:
Please keep this topic in English
Odd response, arenāt you going to try the 3 commands I suggested? Then youāll discover if the data is written into āHomeyā database, or not.
Iāve tried to install ādata-explorerā but it didnāt work out for me. I use Grafana interface. And there also I have to enter a query first, before I get to see any dataā¦
It works a bit different. The flow cards donāt tell you the database is online in that way.
You can let them send a notification about the state though.
Hereās an example of how you can use them:
Homey and app metrics can be disabled, so they donāt get logged. You can do this if Homey is getting red hot.
Sorry, I forgot to write in English. I have setup an influxDB on docker on my Synology nas.
I suppose the query must come from the homey. So I canāt use linux influxdb-client.
I tried to get info into influxDB v2 before trying Grafana. But I cant see any data in the bucket.
To anybody having issue with Influxdb v2 (empty bucket), just follow the Tips from @tlangelaar. I also wrongly interpreted " Organization Profile" vs āuser IDā. Solved the issue by me.
Iām an enthusiast user of Influxdb on Homey, and I would love to be able to report enum capabilities. Iām not sure this app is still maintainedā¦ Do you think this is doable ? (from a SDK point of view)
First I will update the app to SDK3, and will then look at new features like logging to Influxdb and also see if enums are doable.
First, thank you @balmli for great app. Now I have data from InfluxDB Cloud and Grafana and for those they would like to follow, I created two very simple screen by screen guides. I hope you donĀ“t mind if I share it here.
V. 1.1.0 with support for enums. Also flows to log numbers, booleans and text directly to InfluxDb.
Please test and report any issues here
cc: @IamNague
The influxdb app states itās connected. I get no data in my database and the measurements stays at 0
Anyone an idea if I do anything wrong? Do I need to create a flow to send data?
I have exactly the same no answer found.
If applicable: maybe add incoming / outgoing firewall rule(s) on the server?
Influxdb is running in a docker container. As far as I know there is no firewall on it. Also not on the host OS.
thatās correct
Yes you have to create a flow to send data to InfluxDB.
I canāt find how to WRITE a value to InfluxDB
When I start this flow, even after 10 minutes the value is nog found in _measurement, _name or somewhere elseā¦.
The app writes all measurements without any flow. Only flow you need is to set write frequency. I made the mistake of adding https:// in the url field in the app configurator.
Take a look in the configurator to see if you have any measurements and if the connection is online.
Thanks, but if i want to write a value due a flow how is that possible?
I canāt find the MEASUREMENT_TEST value 55 in my influxDb
Hope this isnāt a stupid question, but I have data from Aqara sensors (temp, humidity,pressure) that go to Insights but donāt appear in Influx. My other data does so I guess Iām missing something??
I am also just playing around with influxDB for a couple of days now, but I think I know what could be the problem. As long as a sensor does noet give an update to Homey, there is no data of the sensor in de InfluxDB . Aquara sensors donāt update that often I think. However, I also have a few Aquara sensors and they do apear in the database after a while.
Hey @balmli ,
I have a request for BLL variables to be saved to the InfluxDB.
QlusterIT / nl.qluster-it.BetterLogic / issues / #12 - Be able to save numeric values to InfluxDB ā Bitbucket
When using flows for this, the flow will be killed when it gets executed to many times.
The solution for this i have just finished building and am using in the Device Capabilities App.
It would be great if you could implement this variable listener in the InfluxDB app
If so, you would just need to execute these few steps:
npm install betterlogiclibrary
"permissions": ["homey:app:net.i-dev.betterlogic"]
to the app.jsonconst { BL } = require('betterlogiclibrary');
await BL.init({ homey: this.homey });
BL.onVariableUpdate = async ({ variable, formattedDate }) => {
if (!variable.remove) return;
switch (variable.type) {
case "number":
case "trigger":
writeToInfluxDB('number', variable.value);
break;
case "string":
writeToInfluxDB('string', variable.value);
break;
case "boolean":
writeToInfluxDB('boolean', variable.value);
break;
}
}
Thatās it
Well, ofc you need to really write it to the InfluxDB, but you get the point
And perhaps you need a setting if people want to write them, or something like that.