OpenAmpere

Gerätewissen

Diese Seiten sind technisch und auf Englisch. Sie sammeln, was die Mitwirkenden von OpenAmpere über die Geräte herausgefunden haben, jeweils mit Quelle und wie sicher die Angabe ist. Sie zeigen den neuesten Stand der Entwicklung, der manchmal schon über deine installierte Version hinausgeht. Es sind keine offiziellen Angaben der Hersteller. Für die Einrichtung brauchst du sie nicht, die App erklärt dir alles Nötige.

Relays, smart plugs and SG Ready

Not official manufacturer information. Compiled by the OpenAmpere contributors; can be incomplete or wrong. No affiliation with the manufacturers named here, not legal advice. See Device knowledge.

Applies to: Shelly relays (Gen1, Gen2 and newer), any device that can be switched by calling a web address, heat pumps with an SG Ready input switched through such a relay · OpenAmpere: consumers, src/openampere/consumers.py (my-PV heating rods: mypv/elwa.md) · Support: switching on and off; their power is not read · Confirmed on a real device: no

Summary

Behaviour

FactStatusSource
Shelly Gen1 relays switch with http://<address>/relay/<channel>?turn=on or turn=off.derivedShelly's Gen1 HTTP API as used by the code; docs/devices.md
Shelly Gen2 and newer switch with http://<address>/rpc/Switch.Set?id=<channel>&on=true or on=false.derivedShelly's Gen2 RPC API as used by the code; docs/devices.md
An SG Ready input of a heat pump is a contact that a relay can switch; the reaction to the signal is configured on the heat pump.deriveddocs/devices.md
A relay can come back switched off after a power cut, so after a restart of OpenAmpere its state is not known.derived#243, #247
A relay keeps its state when nobody switches it: one that OpenAmpere switched on stays on while OpenAmpere is stopped or uninstalled.derived#359, #365; docs/devices.md

Decisions in OpenAmpere

DecisionWhyIssue/PR
Relays and web-address devices are only switched on and off, with minimum run and pause times, and with the power the owner enters; the channel of a Shelly relay is selectable. A web-address device takes one address for on and one for off (http or https).Works with any switchable device without reading it.docs/devices.md
A relay that OpenAmpere really switched on is remembered (meta consumer_switched_on with its configuration, kept across restarts and a backup restore). It is switched off when it is disabled or removed, when its address, channel or type changes, or when test mode is entered.Release only what OpenAmpere switched; switching off is the safe direction.#217, #224, #243, #247
Switching off is written even with the master switch off or in test mode.Leaving a device on is the risk.#217, #243
After a restart OpenAmpere sends the wanted state once; in manual mode it always sends.The relay's state is unknown after a power cut.#243, #247
An unreachable device is tried again after 15 s, 30 s and so on up to every 10 minutes, not on every tick; only the first error is logged. A disabled or removed device that stays unreachable is given up after a day.Avoids flooding the network and the log.#243, #247
When OpenAmpere stops, only adjustable devices (such as a heating rod) are set to 0 W; relays are left as they are. The app and the guides tell owners to set relays to "Aus" (off) on the "Geräte" page before stopping or uninstalling.Relays have no time limit and OpenAmpere cannot switch them after it has stopped.#359, #365
Modbus consumers accept only device addresses 1–247; never the broadcast 0.Behind a gateway every device would take a write to 0.#259, #262

Open questions

Sources

Diese Seite auf GitHub ansehen und verbessern