HiHome is a smart home project that includes a gateway, frontend, backend, and some hardware devices for demonstration purposes. It supports HTTP, MQTT, and Bluetooth communication.
https://www.bilibili.com/video/BV1uk4y1v7fC/
https://www.figma.com/community/file/1224727360969134216/HiHomeWebUI
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Lints and fixes files
npm run lint
See Configuration Reference for customize configuration.
see [egg docs][egg] for more detail.
Development
$ npm i
$ npm run dev
$ open http://localhost:7001/
Deploy
$ npm start
$ npm stop
npm scripts
- Use
npm run lint
to check code style. - Use
npm test
to run unit test. - Use
npm run autod
to auto detect dependencies upgrade, see autod for more detail.
A gateway based on ESP32 that supports MQTT and Bluetooth communication.
After compiling the code, it can be burned onto the ESP32.