Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manuel-lang/hilight
hiLight is an automatic control system for smart windows. Using sensors and custom preferences, we ensure the perfect lighting for each employee in the office. We also provide a spy-safe office building demo.
https://github.com/manuel-lang/hilight
anti-spy aws iot person-detection smart-window vuejs
Last synced: about 1 month ago
JSON representation
hiLight is an automatic control system for smart windows. Using sensors and custom preferences, we ensure the perfect lighting for each employee in the office. We also provide a spy-safe office building demo.
- Host: GitHub
- URL: https://github.com/manuel-lang/hilight
- Owner: manuel-lang
- Created: 2019-07-09T12:20:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-13T14:01:50.000Z (about 2 years ago)
- Last Synced: 2023-06-14T23:29:13.146Z (over 1 year ago)
- Topics: anti-spy, aws, iot, person-detection, smart-window, vuejs
- Language: Python
- Homepage:
- Size: 2.78 MB
- Stars: 3
- Watchers: 5
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hiLight
hiLight is an automatic control system for smart windows. Using sensors and custom preferences, we ensure the perfect lighting for each employee in the office.
## Magic behind
![magic behind](https://i.imgur.com/HoE6zqv.png)
## Components
- [Frontend](https://github.com/manuel-lang/hiLight/tree/master/hilight): Setting custom lighting preferences and controlling smart windows directly if enabled.
- [Person detector](https://github.com/manuel-lang/hiLight/tree/master/demo_person): Automatic people detection on the outside of the window. Darkens the windows if people are detected.
- [Controlling](https://github.com/manuel-lang/hiLight/tree/master/iot): Control scripts for smart windows that can for instance be run from a Raspberry Pi.
- [Beacon scanner](https://github.com/manuel-lang/hiLight/blob/master/blescan.py): Detecting which person is in the office and at what distance of the windows.## API Documentation
base url: https://c2xolt5232.execute-api.eu-central-1.amazonaws.com/xxx
| URL | Request | Description | Request body example |
|-----|---------|-------------|--------------|
| /profiles | GET | List all user profiles (name, preference and bool to indicate if use custom mode) | - |
|| POST | Create a new user with JSON data (name, preference and use_custom_mode) | {"name":"Adam", "wert":80, "custom":"True"} |
| /profiles/{name} | GET | Get the info for a specific user (name) | - |
| | PUT | Update a user's preference and/or mode with JSON data (name, preference and use_custom_mode) | { "wert":80, "custom":"True"} |
| /operationmode | GET | Get the current operation mode (demo or custom) | - |
| | PUT | Set the current operation mode (demo or custom) | {"paint": "True", "detection": "True"} |
| /activeuser | GET | Get the currently active user's name | - |
| | PUT | Set the currently active user's name | {"username":"Adam"} |
| /winstate | GET | Get all current window values | - |
| | PUT | Set the window values | [{"0":100},{"1":100}, ..., {"5":100 }] |