elazzi / smartlife

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:GNU General Public License v3.0


Languages

Language:JavaScript 63.5%Language:HTML 20.1%Language:CSS 13.8%Language:Python 2.0%Language:Shell 0.6%