Support for InfluxDB 2.x> #48
Replies: 16 comments 21 replies
-
Hi Luis, @BCNelson has already begun working on adding support for Influx 2.x in PR #47. I haven't approved it yet simply because I haven't tested it, but you're welcome to try it out. You can pull BCNelson's fork with the changes into a separate directory and test it on your Pi from there. Just make sure to stop the original project from running with
So, from the |
Beta Was this translation helpful? Give feedback.
-
Hello. Has anyone had success with version 2.x? I have a client that would like to use a more recent version of InfluxDB and they are concerned about using 1.8. |
Beta Was this translation helpful? Give feedback.
-
Is there anything I can help with on this, David? Research? Testing? Other? ...... |
Beta Was this translation helpful? Give feedback.
-
Followed the instructions but ran into a small hurdle. There's probably something silly happening with my paths but I get this error when I try to run using:
Error:
I don't want to add sys.path to power_monitor.py because I'm sure there's some other explanation for the error. Let me know if this is something simple or if I should just keep researching. |
Beta Was this translation helpful? Give feedback.
-
I have it up and running and right now it is storing data on a personal
influx2 server. I'll see how it runs for a bit and let you know if I
see/hear anything. Have to go rebuild a bunch of dashboards but it is
pulling from one of the CTs.
- Mike
…On Tue, Dec 17, 2024 at 3:32 PM acabrera2012 ***@***.***> wrote:
That worked! I don't have the CTs connected to any live wires but it's
still logging idle noise values to my InfluxDB Cloud account. It has been
for hours now. So far so good. I'll keep it running overnight just to
confirm everything is stable. I'll be in touch....
—
Reply to this email directly, view it on GitHub
<#48 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAH5VFMDTBQBYNCN5Z63CUL2GCJ5FAVCNFSM6AAAAABTN7OKRCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNJZHA2DCOI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
I also wrote a very quick/simple downsampling task.. I'll have to make sure
it is correct.
…On Tue, Dec 17, 2024 at 4:25 PM Mike Holzman ***@***.***> wrote:
I have it up and running and right now it is storing data on a personal
influx2 server. I'll see how it runs for a bit and let you know if I
see/hear anything. Have to go rebuild a bunch of dashboards but it is
pulling from one of the CTs.
- Mike
On Tue, Dec 17, 2024 at 3:32 PM acabrera2012 ***@***.***>
wrote:
> That worked! I don't have the CTs connected to any live wires but it's
> still logging idle noise values to my InfluxDB Cloud account. It has been
> for hours now. So far so good. I'll keep it running overnight just to
> confirm everything is stable. I'll be in touch....
>
> —
> Reply to this email directly, view it on GitHub
> <#48 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAH5VFMDTBQBYNCN5Z63CUL2GCJ5FAVCNFSM6AAAAABTN7OKRCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNJZHA2DCOI>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***
> com>
>
|
Beta Was this translation helpful? Give feedback.
-
Ran fairly well for the past 16 hours but stopped in the middle of the night for some reason. I thought I was running it in the background but using a Terminal window instead of running it as a service. The Terminal window probably timed out. Anyway, not bad for a first test. What's next? |
Beta Was this translation helpful? Give feedback.
-
Going to try with live connection readings now just to confirm..... |
Beta Was this translation helpful? Give feedback.
-
Oddly only showing data for one of the CTs but I'm not convinced it's an issue with the new code.... |
Beta Was this translation helpful? Give feedback.
-
It has been running fine in my instance. I only have one CT connected but
the other 5 are recording data, just zeros. I was wondering how frequently
it sends data to the InfluxDB. Does it batch up some of the data so if
sending to a remote server it sends a group of points rather than a point
each time?
I haven't read through all the code to look at that, but it could be useful
to have a configuration setting for managing the frequency for when you
don't need full realtime data, in case you want to batch every second, or
every minute, etc. This could be a feature request for offboard and cloud
servers to reduce the frequency of transactions.
- Mike
…On Wed, Dec 18, 2024 at 8:57 AM acabrera2012 ***@***.***> wrote:
Oddly only showing data for one of the CTs but I'm not convinced it's an
issue with the new code....
—
Reply to this email directly, view it on GitHub
<#48 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAH5VFO27L5T5GPGG2KLDWD2GGEOTAVCNFSM6AAAAABTN7OKRCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNRQGY3DINQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
I could imagine that given the sample rate and the data there may be in
memory constraints as well as risk of data loss. But could still be handy.
Might be able to do it within the db also.
I offloaded Grafana because my Pi3 was lagging a bit.
…On Wed, Dec 18, 2024 at 10:52 AM acabrera2012 ***@***.***> wrote:
It looks like it takes a number of samples and then sends the data to the
DB. Not sure if that can be changed to a time interval, like every hour,
but that would be awesome.
—
Reply to this email directly, view it on GitHub
<#48 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAH5VFJYF5AENMRXK3NSBVD2GGK4HAVCNFSM6AAAAABTN7OKRCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNRQG4ZTKNY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
So, what's next? Anything I can help with @David00 or @mholzma that won't slow down your current progress? |
Beta Was this translation helpful? Give feedback.
-
Happy holidays, everyone! Fyi. I'm going to continue to run the 0.4 code to see if there are any hourly or overall InfluxDB Cloud limitations on the Free Tier. If there's anything else I can do or test in the mean time, let me know. Cheers. |
Beta Was this translation helpful? Give feedback.
-
I’m okay with Grafana if here is something you want me to work on.. I would
need to pull down the default ones I think, since I don’t use them.
- Mike
…On Fri, Dec 27, 2024 at 9:01 PM David Albrecht ***@***.***> wrote:
Sorry, just seeing this! There are some additional things I still need to
find time to do, like new dashboards and additional testing. The dashboards
would be a great thing to help out with if you're good with Grafana!
—
Reply to this email directly, view it on GitHub
<#48 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAH5VFMWGUJUJNQIMOGZTYL2HYICLAVCNFSM6AAAAABTN7OKRCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNRYGE2TGMA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Fyi. So far, everything appears to be running smoothly with continuous data pushes from Power Monitor. InfluxDB Cloud does have some other limits for the free tier as follows: ` Read: Rate of 300 MB per 5 minutes (average of 1000 kb/s) Storage: 30 days of data retention I didn't see an easy way, within InfluxDB Cloud, to tell if Power Monitor exceeds the Data-in or Read limits. I didn't see any warnings or errors either. I don't think we're exceeding anything but it is possible that InfluxDB Cloud quietly truncates or discards excess data. |
Beta Was this translation helpful? Give feedback.
-
Hello, guys. I hope all is well. Anything new and interesting to report on your efforts? |
Beta Was this translation helpful? Give feedback.
-
I have already a running a Influxdb instance 2.1.1 and I assume I can configure a remote instance - in config.py
However what is the possibility to support a 2.x version?
Beta Was this translation helpful? Give feedback.
All reactions