PLUGIN: VeraFlux - Send Device Data to InfluxDB

I know nothing about InfluxDB or VeraFlux, but there are many articles on InfluxDB memory hunger. These may be relevant, search for others:

https://medium.com/cobe-io/memory-adventures-with-influxdb-28b8157aebe8

https://www.dummylabs.com/post/2019-01-13-influxdb-part1/

(see discussion under “InfluxDB Advantages” section in this article)

I also note you have a Java process running. Java’s runtime allocates but never frees memory from the system. It will allocate memory from its configured min/start (-Xms) to its configured max (-Xmx) linearly; it will never return unused memory to the system. You may need to periodically restart the java process to reduce overall system memory use (ideally, of course, you would find a happy setting for max that works for your other system process and the total amount of system RAM, so that java hitting its limit doesn’t cause paging (swap) or system failure).

Increasing your swap size is likely only going to slow your system down and cause excess wear on the drive.

2 posts were merged into an existing topic: Linux Guy’s - Why isn’t this working? .SSH Auth keys for Pi

I have an issue with adding pressure sensors to the sent data types.
I made an issue on GitHub, but mabye @BlueSmurf is more active at this forum?

1 Like

Anyone manage to add additional fields to already existing service tables? I followed the patterns and triple checked. Nothing gets updated for new items.

I’ve added a request on github to look at the possibility to slightly change the plugin so it can be used on Influx 2.x (compared to 1.8.x , there are some changes, concept of a access-token, organisation-id , …)
Hopefully there is still somebody looking at it or we keep stuck on InfluxDB 1.8.x

1 Like

I am wondering the same thing, if this plugin would work with the newer InfluxDB 2.0 ?

If you are using Multi System Reactor that supports InfluxDB 1.8.X and 2.0, so might be able to use that instead of this VeraFlux plugin.

https://reactor.toggledbits.com/docs/InfluxDB-Plugin/

1 Like

Hey guys…

At the moment I don’t have any plans to update the plugin - I’m weighing up whether I stick with the Vera platform. Ezlo seems to be a long way from delivering anything that has feature parity, and even if/when they do I suspect all plugins will need an extensive rewrite.

If rigpapa has got 2.x Influx code in his repo then it might be easy to update it. I’ll take a look. But not making any promises.

It’s in a whole new Reactor (Multi-hub) product that works with both Vera and eZLO, but it’s not Lua so I don’t think it would do you much good. It’s all node (JS) now, and I’m using the @influxdata/influxdb-client package for the interface.