Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sandoche/smart-home-automations

Smart automation with hue and wiz bulbs
https://github.com/sandoche/smart-home-automations

automation home-assistant home-automation hue hue-bridge hue-lights iot nestjs typescript wiz wiz-light wiz-lights

Last synced: 2 days ago
JSON representation

Smart automation with hue and wiz bulbs

Awesome Lists containing this project

README

        

# Smart home script


MIT
medium: sandoche

Twitter: sandochee

Smart automation with hue and wiz bulbs, this contains a tiny vue app, a simple API for tuning on, off, dimming and resetting lights, and a cron job for making automations.

## 🏷️ Devices supported

- Philips Hue
- Wiz

## ⚡ Set up

```bash
pnpm install
pnpm setup:hue

# put the hue bridge user and client key in the .env file and fill the other variables

pnpm build
pnpm start

# open http://localhost:3000
```

## ⚙️ API

- `/lights/on` - Turn on all lights
- `/lights/off` - Turn off all lights
- `/lights/reset` - Reset to default settings of the lights that are on
- `/lights/update/:brightness/:temperature/:color` - Update the lights that are on with the given parameters

## 📝 Notes

- Color changing is not implemented

## 📖 Documentation

- https://github.com/uditkarode/wikari
- https://github.com/peter-murray/node-hue-api

## ⭐️ Show your support

Please ⭐️ this repository if this project helped you!

[![patreon.png](https://c5.patreon.com/external/logo/become_a_patron_button.png)](https://www.patreon.com/sandoche)

## 🍺 Buy me a beer

If you like this project, feel free to donate:

- PayPal: https://www.paypal.me/kanbanote
- Bitcoin: 19JiNZ1LkMaz57tewqJaTg2hQWH4RgW4Yp
- Ethereum: 0xded81fa4624e05339924355fe3504ba9587d5419
- Monero: 43jqzMquW2q989UKSrB2YbeffhmJhbYb2Yxu289bv7pLRh4xVgMKj5yTd52iL6x1dvCYs9ERg5biHYxMjGkpSTs6S2jMyJn

## 📄 License

[MIT License](./LICENSE)

Copyright (c) Sandoche Adittane