Correct typos in README and config template #16

Merged
bendodroid merged 1 commit from Bendodroid-newReadme into main 2024-01-15 21:08:28 +01:00
2 changed files with 8 additions and 9 deletions

View file

@ -11,7 +11,6 @@ $ curl -X GET http://[::1]:8080 | jq
"space": "CCCHH",
...
}
```
## Configuring
@ -41,7 +40,7 @@ The same is true for the endpoints for sensors configured under `"dynamic"`.
Currently only `temperature` and `humidity` are implemented.
```shell
curl -X PUT -u user:password -d 23.42 http://[::1]:8080/{temperature,humidity}/location[/name]
curl -X PUT -u user:password -d 23.42 http://[::1]:8080/sensors/{temperature,humidity}/location[/name]
```
## Building

View file

@ -1,8 +1,8 @@
{
"credentials": {
"home-assistant": {
"username": "home-assistant",
"password": "hamiau"
"club-assistant": {
"username": "club-assistant",
"password": "clubmiau"
},
"dooris-hauptraum": {
"username": "dooris-hauptraum",
@ -20,7 +20,7 @@
"description": "Sensor im Ofen"
},
"allowed_credentials": [
"home-assistant"
"club-assistant"
]
},
{
@ -30,20 +30,20 @@
"description": "Sensor im Hauptraum"
},
"allowed_credentials": [
"home-assistant"
"club-assistant"
]
}
],
"humidity": [
{
"sensor_data": {
"unit": "hPa",
"unit": "%",
"location": "Hauptraum",
"name": "Kueche",
"description": "Sensor im Wasserhahn"
},
"allowed_credentials": [
"home-assistant"
"club-assistant"
]
}
]