init
This commit is contained in:
28
CLAUDE.md
Normal file
28
CLAUDE.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# CLAUDE.md
|
||||
|
||||
This file provides guidance to Claude Code (claude.ai/code) when testing the PoC via REST API and curl.
|
||||
|
||||
The API is mapped via a tunnel on port `10000` and exposes endpoints under `/smarthome-ext/diag/EMMANATIVE/`:
|
||||
- `GET /smarthome-ext/diag` — base diagnostics
|
||||
- `PublishPvData` — publish photovoltaic data
|
||||
- `GetWeather` — weather data
|
||||
- `GetVersion` — version info
|
||||
|
||||
## 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