Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 675 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 675 Bytes

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