/smartlife

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Smart Life / Tuya web interface

Instructions to run your own

  1. Clone this repository
git clone https://github.com/ndg63276/smartlife.git
  1. Enter the project folder
cd smartlife
  1. Run the included server by
python serve.py
  1. Navigate to http://localhost:8000 in your browser

Instructions to run your own using docker and docker compose

Of course you will require docker and docker-compose setup and working first

  1. Clone this repository
git clone https://github.com/ndg63276/smartlife.git
  1. Enter the project folder
cd smartlife
  1. Build a local docker image
docker build -t ndg63276/smartlife .
  1. Run Your locally built docker image with docker compose
docker compose up
  1. Navigate to http://localhost:8000 in your browser

Known Bugs

If you use the China region, you will need a CORS-anywhere server, see https://github.com/Rob--W/cors-anywhere for help. Once you have set one up, insert the address at the top of functions.js.

Website

This tool is available (without the CORS bug) at https://smartathome.co.uk/smartlife/

SmartAtHome

All the tools from the SmartAtHome website are available at https://github.com/ndg63276/smartathome