Yeoman openHAB Generator [![NPM version][npm-image]][npm-url]
> This is a command-line tool that generates openHAB items, sitemap and a
HABPanel dashboard for your home.
openHAB is a vendor and techology agnostic open source automation software for your home.
!
openHAB generator
With this generator you'll set up your smart home with a least amount of work.
Simply provide some details on how your house is structured:
1. How many floors are in your house
1. Select the rooms on each floor (e.g.
Kitchen,
Living room and
Bathroom)
1. Assign smart devices to each room
1. Done!
As a result this generator will produce an
your-home-name.items file
along with
your-home-name.sitemap and a HABPanel json file that you can later export.
Installation
First, install
Yeoman and generator-openhab using
npm (we assume you have pre-installed
node.js).
If you're using
openHABian, Node.js should be already installed.
``
bash
npm i -g yo generator-openhab
`
Then go to your openhab-config/
folder and generate your files:
`
bash
cd /etc/openhab2
yo openhab
``
License
MIT ©
kubawolanin
[npm-image]: https://badge.fury.io/js/generator-openhab.svg
[npm-url]: https://npmjs.org/package/generator-openhab