Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/birdra1n/weblightarduinocontrol
Control lights with Arduino over the internet
https://github.com/birdra1n/weblightarduinocontrol
arduino electron iot react-native
Last synced: 2 days ago
JSON representation
Control lights with Arduino over the internet
- Host: GitHub
- URL: https://github.com/birdra1n/weblightarduinocontrol
- Owner: BirdRa1n
- License: mit
- Created: 2022-07-19T14:01:38.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-30T23:25:35.000Z (about 2 years ago)
- Last Synced: 2024-04-24T05:59:33.832Z (7 months ago)
- Topics: arduino, electron, iot, react-native
- Language: JavaScript
- Homepage:
- Size: 463 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WebLightArduinoControl
Control lights with Arduino/ESP over the internet.
Using a simple api, control lights or any other Arduino digital port with this application.[![NativeBase](https://img.shields.io/static/v1?label=NativeBase&message=3.4.9&color=blue)](https://docs.nativebase.io/)
[![Axios](https://img.shields.io/static/v1?label=axios&message=27.2&color=white)](https://axios-http.com/ptbr/docs/intro)## API Documentation
#### Returns the state of all lamps
```http
GET get_ligts
```| Parâmetro | Tipo | Descrição |
| :---------- | :--------- | :---------------------------------- |
| `token_auth` | `string` | **Mandatory**.Authentication token to change the state of the lamps |
| `arduino_id` | `string` | **Mandatory**. arduino identification |#### Change the state of the lamps
```http
GET /set_lights
```| Parâmetro | Tipo | Descrição |
| :---------- | :--------- | :------------------------------------------ |
| `switch_{$id}` | `string` | **Mandatory**. switch identification |## Demo GIF
![App Screenshot](https://link.storjshare.io/s/jxan5bf56rg7jwklmc2kaqiaoqsq/projetos/arduinolightcontrolweb/demonstra%C3%A7%C3%A3o%20.gif?wrap=0)
[GIF Vew](https://link.storjshare.io/s/jxan5bf56rg7jwklmc2kaqiaoqsq/projetos/arduinolightcontrolweb/demonstra%C3%A7%C3%A3o%20.gif)