Comments (2)
rtlamr-collect doesn't use regex for parsing it's input, the json decoder provided in the go standard library is used to parse messages.
Invocation without providing flags to rtlamr assumes that you have set the appropriate values through environment variables instead. If you want to configure rtlamr with command line flags, you must provide the following at a minimum:
rtlamr -msgtype=idm -format=json -filterid=00000000 | rtlamr-collect
Replacing 00000000
with your meter's id. Also keep in mind that rtlamr-collect only supports IDM packets at the moment.
At the moment rtlamr-collect is only configurable with environment variables, so be sure to set the following variables appropriately before execution:
COLLECT_INFLUXDB_HOSTNAME=localhost
COLLECT_INFLUXDB_USER=username
COLLECT_INFLUXDB_PASS=password
from rtlamr-collect.
Got i! Thanks very much for the assistance and the tool!
from rtlamr-collect.
Related Issues (20)
- Significant Rewrite Upgrade Recovery HOT 4
- Anaconda is there a way to run on windows HOT 1
- 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
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.