Comments (4)
Can you provide your current schema? I don't recall making any significant changes to the schema, but I could be wrong.
It should be fairly straight-forward to write select statements that dump all of your data into the new schema.
from rtlamr-collect.
Hi Douglas,
Here is a pastebin with some database info:
I'm still slogging through it but it's no longer inserting new samples.
Is there supposed to be an rtlamr user?
Syslog tells me that it's trying:
Perhaps it's the absence of the "5m_power" query that's screwing it up. Like I said I'm swimming over my head right now. It is super interesting, though.
I'm guessing that main.go is trying to use to 5m_power as its source (which looks like the real data) and since influx is ignoring it, everything breaks down. It looks to me like the "autogen" query was the source of the "real" data in the version I was using before (Feb 2018).
Anywho... I'll keep poking at it in my spare time. If all else fails I'll just install from scratch into a new database and then figure out how to back fill the historical data into it.
Thanks for trying to help,
Mark
from rtlamr-collect.
Hi Douglas,
It seems that the influx measurement name changed from "power' to "rtlamr" sometime after the Feb 2018 version (I didn't look too hard as to when it happened). I use meld here and didn't see an easy diff utility for github.
It's less of a hassle for me right now to just revert the name rather than deal with migrating the influx data and adjusting the Grafana dashboard. I just tweaked main.go and did a go install and that seems to put things right again.
It also appears that the 5 minute data is an order of magnitude less than what it used to be. Perhaps you found an error while digesting the raw data from the meter? Either way, I'll probably export and re-import historical data to match the new scaling.
Thanks again for your help and your work,
Mark
from rtlamr-collect.
I went back through the schema and a few things changed, first the 1w_5m retention schedule is now just autogen since scratch space for de-duplication is no longer required. The first continuous query would need to be adjusted. Adding support for multiple meter protocols also renamed the "power" measurement to "rtlamr" because you can now measure water and gas as well. Finally because readings can come from different meters and protocols now, the multiplier mechanism was also removed.
from rtlamr-collect.
Related Issues (20)
- Using 2 instances on rtlamr-collect HOT 1
- Error parsing encapsulated message HOT 4
- Runtime error due to no PowerOutageFlags in NetIDM meters HOT 3
- invalid memory address HOT 2
- main.go:427: json unmarshal: json: Unmarshal(nil) HOT 6
- 404 Error HOT 5
- InfluxDB 2 support HOT 3
- Error Message Install HOT 1
- Print collected data to stdout HOT 5
- stumped on "COLLECT_INFLUXDB_TOKEN" undefined HOT 4
- Diagnosing Influx issues HOT 2
- Invalid character error HOT 4
- Can you give us some info on how to set up influxdb? HOT 1
- Where to set envinronment variables (Using Windows) HOT 2
- Depeding on grafana zoom level, water meter gallons used is different HOT 2
- unexpected end of JSON input main.main invalid character C /f E M C E . HOT 3
- Unable to build / install HOT 2
- endpoint_type varying for R900 water meter
- Go install instructions fail
- Grafana Dashboards HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtlamr-collect.