Comments (4)
rtlamr -msgtype=idm -format=json | rtlamr-collect
should work.
Or, you can also set these with env variables in the readme, I've had this setup working like a champ for 2 months.
from rtlamr-collect.
@boozedog My Electric meter was IDM, I could not see my water meter. YMMV. The power meter should transmit two message types. I've got a setup under my github called metermaid that uses rtlamr, mysql and grafana to display. Might want to check it out as well. It can handle different message types with a little tweaking. RTLAMR is still a wonderful bit of code.
from the readme:
At a minimum rtlamr must have the following environment variables defined:
RTLAMR_MSGTYPE=idm Currently only idm packets are supported.
RTLAMR_FORMAT=json rtlamr-collect input must be json.
RTLAMR_FILTERID=000000000 List your meter id's here separated by commas. This is not strictly necessary, but it is highly recommended because listening to all the meters in a given area is likely to have high series cardinality and will negatively impact InfluxDB's performance.
rtlamr-collect should take its input directly from the output of an rtlamr instance through a pipe.
from rtlamr-collect.
Thanks @jreiners ... I'm trying that now, but I don't think my devices are sending any idm messages. My hunch is that the output in the OP above is some other kind of message.
from rtlamr-collect.
ahhh "Currently only idm packets are supported"
there we go
thank u @jreiners
closing this issue
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.