https://github.com/zebrajaeger/remote-object-rotator-and-camera-trigger
https://github.com/zebrajaeger/remote-object-rotator-and-camera-trigger
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zebrajaeger/remote-object-rotator-and-camera-trigger
- Owner: zebrajaeger
- Created: 2023-01-19T08:34:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-01T09:49:35.000Z (over 2 years ago)
- Last Synced: 2025-02-07T23:42:57.730Z (3 months ago)
- Language: JavaScript
- Size: 168 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# remote-object-rotator-and-camera-trigger

## Setting WiFi credentials
- Power the flashed ESP32
- It starts new access point
- Connect to AP and it should open the settings dialog
- Change Settings, unplug and plug-in the device## Handlers
### Status
- http://x.x.x.x/status
- GET
- no parameters
- no bodyExample:
```json
{
"pos": 4000,
"running": false
}
```### Camera
- http://x.x.x.x/camera
- POST
- no parametersBody (Example):
```json
{
"focus": 500,
"trigger": 1000
}
```means: 500ms camera focus time and 1000ms camera trigger time.
### Stepper-move
- http://x.x.x.x/move
- POST
- no parameters
Body (Example):```json
{
"move": 1000,
"off-after-move": true
}
```means:
- rotating the motor 1000 steps
- negative values are allowed
- switch the motor off after the motion
- optional
- default: false