dy-sh / singlehub

Home automation controller with node-based visual programming (supported MQTT, MySensors and Xiaomi protocols)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SingleHub

Home automation controller with node-based visual programming (Node.js port of MyNodes.NET).

This software allows you to control hardware devices using MQTT, MySensors, Xiaomi and other protocols. You can use this program as a control center for your smart home, integrating various devices in one system, or as a controller for your simple device in Ardiuno.

The program can be used for drawing graphs, collecting some statistics, using timers, visualizing and testing some logic, using voice synthesis, working with files, databases, executing OS commands on a schedule and etc. You can integrate several SingleHub systems running on different computers into one large system.

The code is written using the following frameworks/technologies/tools: Node, Express, Vue, Pug, Stylus, Vuetify, Socket.io, Webpack, TypeScript.

Feel free to join the development!

Find out more on the YouTube channel.

To be aware of all the changes, look at the changelog.

How to install

Install requirements:

Install SingleHub:

git clone https://github.com/dy-sh/singlehub
cd singlehub
npm i

How to run

npm start

Open the configuration wizard in a browser: http://localhost:1312

How to upgrade to the latest version

git pull
npm run build

How to run for develop (watch mode):

npm run watch

Issues:

If you get "Can't find Python executable C:\Python36\python.exe, you can set the PYTHON env variable." error when installing, try this:

npm install --global --production windows-build-tools

About

Home automation controller with node-based visual programming (supported MQTT, MySensors and Xiaomi protocols)

License:GNU General Public License v3.0


Languages

Language:TypeScript 87.9%Language:Vue 6.8%Language:CSS 3.6%Language:JavaScript 1.0%Language:Stylus 0.5%Language:HTML 0.1%