Skip to content

A hack to write data from a MySensors serial gateway to InfluxDB

Notifications You must be signed in to change notification settings

jstrutz/mysensors-influxdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MySensors InfluxDB bridge

A tiny node.js script to read from a serial MySensors gateway, and send the received data on to InfluxDB 0.9+. Note - This is pretty hackey code

Usage

Starting: npm run start

Be sure to define the following ENV vars:

  • INFLUXDB_HOST
  • INFLUXDB_PORT
  • INFLUXDB_DATABASE
  • SERIAL_PORT the usb serial port device for your mysensors gateway. Mine is /dev/ttyASM0. Make sure you have the right permissions on it.

I'm using dokku to run this on my local LAN, for home automation purposes.

License

Released under the MIT License

About

A hack to write data from a MySensors serial gateway to InfluxDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published