Comments (4)
As a quick note, I looked into this a while ago and it seemed that InfluxDB didn't support storing strings as values. I'm not sure if the data payload could be represented as a really big integer, though.
Even if the data can be represented as an integer, InfluxDB probably cannot use the time series compression on data (or even worse, it might do lossy compression, I don't know enough about internals of InfluxDB).
from ruuvicollector.
Perhaps for influx a series of integer fields
" InfluxDB stores all integers as signed int64 data types. "
Or stored into a SQL (MySQL, SQLlite ) database or
even output to a binary file(s) which could be lifetime managed with logrotate
from ruuvicollector.
This is actually loosely related to what I've been planning to do with the Ruuvi Gateway; I'm planning on creating a new application (actually.. I started prototyping already) that receives the (raw) data from the gateway (either HTTP POST or MQTT) and process+store it to InfluxDB in the same format as RuuviCollector, making it a convenient drop-in replacement for those who want to switch from a raspberry running RuuviCollector to that.
When that's done I'm planning to add HTTP POST and/or MQTT support to RuuviCollector (or make a separate application) to make it possible to use RuuviCollector (or the separate application) as a replacement for the gateway, which in turn means it'll send any data from RuuviTags, not just the supported formats. Perhaps this is something you could use?
InfluxDB does support strings, but they're not really that well compressed and kind of weird to have in a TSDB in the first place, so some processing should be done before long term storage anyway. This could be done either directly by having an application receive the data with HTTP POST or MQTT. You could even just have a simple bash script subscribe to the MQTT and process your custom data for long-term storage.
from ruuvicollector.
ruuvi-go-gateway has now reached reasonable stability to recommend using it, currently it supports sending all manufacturer-specific data with company identifier 0x0499 either over HTTP POST or MQTT. If you have a use for a feature not yet supported (such as sending all manufacturer specific data instead of limiting to ruuvi-only), feel free to open an issue there
from ruuvicollector.
Related Issues (20)
- Feature: INVALID values should be stored as null HOT 2
- RuuviCollector gives up after BT HW error HOT 5
- Feature request/idea: Offset values to collected measurements HOT 1
- How to enable changes in ruuvi-names.properties correctly? HOT 1
- BUG: No data received anymore from Ruuvitags after apt-get update/upgrade HOT 1
- Calibration of Temp and Humidity in Ruuvi Collector? HOT 4
- BUG:named-filter does not recognise ruuvi-names.properties HOT 1
- Feature request/idea: TagSocket support HOT 1
- BUG: java.net.UnknownHostException: <domain> HOT 7
- Feature request/idea: Insert to two influxUrl's HOT 3
- Feature request/idea: put receiver MAC or other unique identifier as tag
- Feature request/idea: temperatureOffset.MAC=nn HOT 5
- Feature request/idea: InfluxDB2 support HOT 3
- I am beginner programmer, but wanting to contribute HOT 3
- Exit uncleanly when database connection is lost HOT 6
- BLE scanning service HOT 1
- Humidity Conversion Formula -broken link -fix provided
- Feature request/idea: replace deprecated hcitool/hcidump
- BUG: Capabilties are not enough after raspberry pi os 12/2022 updates HOT 2
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 ruuvicollector.