Skip to content

Latest commit

 

History

History
executable file
·
22 lines (19 loc) · 565 Bytes

File metadata and controls

executable file
·
22 lines (19 loc) · 565 Bytes

atom2mqtt_wrapper

Node.js implementation to port existing atom1.5 scripts to communicate with mqtt

Install node 7

curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt install librrd-dev

Setup

git clone https://github.com/HomeAutomation/atom2mqtt_wrapper.git
cd atom2mqtt_wrapper
npm install

Run

Rename configuration.json.template to configuration.json and edit the file to match the mqtt server that you would like to connect to

node --harmony_async_await index.js