exzz / netatmo-collector-go Goto Github PK
View Code? Open in Web Editor NEWCollect metrics from Netatmo API and push them into influx database
License: MIT License
Collect metrics from Netatmo API and push them into influx database
License: MIT License
Thanks for the great software that did exactly what I needed it to do 👍
I had an issue with all data being entered as strings (which caused issues when visualizing with Kapacitor).
It seems related to the type not being detected correctly, probably related to reflection. When I use the API/fix from Romain it works correctly:
> show field keys
name: netatmo
fieldKey fieldType
-------- ---------
absolutepressure float
co2 float
humidity float
noise float
pressure float
temperature float
i received a panic after running this
./netatmo-collector-go -config /root/netatmogo.conf
INFO[11-13|17:28:23] Starting
INFO[11-13|17:28:23] Connected to InfluxDB
INFO[11-13|17:28:24] Connected to Netatmo API
DBUG[11-13|17:28:24] New point ts=1479054275 field=Temperature station="Mont Chanson" module=Außen value=5.900
DBUG[11-13|17:28:24] New point ts=1479054275 field=Humidity station="Mont Chanson" module=Außen value=86
DBUG[11-13|17:28:24] New point ts=1479054313 field=Rain station="Mont Chanson" module="Rain gauge" value=0.000
DBUG[11-13|17:28:24] netatmoGather exited
panic: reflect: call of reflect.Value.Interface on zero Value
goroutine 8 [running]:
panic(0x7ba060, 0xc82039ec20)
Will there be a fix for that?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.