Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #152

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,10 @@ See [fullmessage-example](fullmessage-example.md)
"miele": {
"client-id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"client-secret": "12345678901234567890123456789012",
"polling-interval": 30,
"username": "[email protected]",
"password": "miele_at_home_password",
"country-code": "de-DE",
"mode": "sse"
"mode": "polling"
}
}
```
Expand Down Expand Up @@ -99,11 +98,10 @@ Two-letter language/country code. Examples:

Make sure you have write access to the configuration file, so that the token can be persisted.

# Use server-sent events
# Server-sent events vs polling

Miele provides a server-sent-events API. To enable this, set the `mode`
property in your configuration to `SSE`. With SSE enabled, you will get faster notifications when some device state
changes. This is an experimental setting and not enabled by default.
Miele provides a server-sent-events API. This is always enabled on version 3.x.
To enable additional polling as fallback (each minute), set the `mode` property in your configuration to `polling`.

# Deduplicate messages

Expand Down