Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sandoche/smart-home-automations
- Owner: sandoche
- License: mit
- Created: 2023-11-29T17:08:37.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2023-12-01T19:13:18.000Z (12 months ago)
- Last Synced: 2024-10-12T14:06:30.994Z (about 1 month ago)
- Topics: automation, home-assistant, home-automation, hue, hue-bridge, hue-lights, iot, nestjs, typescript, wiz, wiz-light, wiz-lights
- Language: JavaScript
- Homepage:
- Size: 306 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Smart home script
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!
## 🍺 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