init
This commit is contained in:
25
README.md
Normal file
25
README.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# EMMA Go PoC
|
||||
|
||||
The API is mapped via a tunnel on port `10000`.
|
||||
|
||||
Tunnel creation command:
|
||||
ssh -N -L 10000:127.0.0.1:8080 root@192.168.1.200
|
||||
|
||||
## API Curl Requests
|
||||
|
||||
```bash
|
||||
# Base diagnostics
|
||||
curl http://localhost:10000/smarthome-ext/diag
|
||||
|
||||
# All EMMANATIVE diagnostics
|
||||
curl http://localhost:10000/smarthome-ext/diag/EMMANATIVE
|
||||
|
||||
# Get version
|
||||
curl http://localhost:10000/smarthome-ext/diag/EMMANATIVE/GetVersion
|
||||
|
||||
# Get weather
|
||||
curl http://localhost:10000/smarthome-ext/diag/EMMANATIVE/GetWeather
|
||||
|
||||
# Publish PV data
|
||||
curl http://localhost:10000/smarthome-ext/diag/EMMANATIVE/PublishPvData
|
||||
```
|
||||
Reference in New Issue
Block a user