Skip to content

reelyactive/barnacles-influxdb2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

barnacles-influxdb2

Write dynamic ambient data from context-aware physical spaces to InfluxDB v2.

Hello barnacles-influxdb2

const Barnacles = require('barnacles');
const BarnaclesInfluxDB2 = require('barnacles-influxdb2');

let barnacles = new Barnacles();
barnacles.addInterface(BarnaclesInfluxDB2, { /* See options below */ });

Options

barnacles-influxdb2 supports the following options:

Property Default Description
url "http://localhost:8086" Local InfluxDB2 instance
token process.env.INFLUXDB_TOKEN Secret token
org "reelyActive" Organisation
bucket "pareto-anywhere" Bucket

To set the INFLUXDB_TOKEN as an environment variable in Linux:

export INFLUXDB_TOKEN=pasteTokenHere

Contributing

Discover how to contribute to this open source project which upholds a standard code of conduct.

Security

Consult our security policy for best practices using this open source software and to report vulnerabilities.

License

MIT License

Copyright (c) 2023 reelyActive

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Write dynamic ambient data from context-aware physical spaces to InfluxDB v2. We believe in an open Internet of Things.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published