Zum Hauptinhalt springen

eedomus bridge Smart-Home-Integration, kostenlos und Open Source

eedomus bridge-Integration für Gladys Assistant

The peripherals of your eedomus box in Gladys: lights, shutters, heating, sensors, meters…

Info

Die Dokumentation dieser Integration wird von ihrem Autor geschrieben und ist bisher nur auf Englisch verfügbar.

This integration connects Gladys to your eedomus box and offers every eedomus peripheral in the Discovery tab of Gladys: lamps, plugs, shutters, pilot wire heaters, setpoints, sensors, meters, remotes. Once a device is added, its values follow the box every few seconds, and Gladys controls it through the box, which keeps running with its Z-Wave, Zigbee, RF modules and its plugins. Move to Gladys at your own pace, room after room, or use both side by side. Unofficial, not affiliated with Connected Object (the maker of eedomus).

Development version (0.1). Built from the eedomus API documentation and tested on a simulated box, not yet on a real eedomus. Your feedback is welcome on the GitHub repository: it is what makes the next version.

What you get​

eedomus peripherals (usage)In Gladys
Lamp (on/off or dimmer)a light: on/off, brightness
Electrical appliance, heating relaya switch (and its level when it has some)
Pilot wire heating (Arrêt, Hors gel, Eco, Confort -2, Confort -1, Confort)a pilot wire heater, every order
Temperature setpoint, thermostat whose values are temperaturesa thermostat setpoint
Shutter, shutters, opening centralisationa shutter: open, close, stop (when the box has one), position
Alarm arming, other actuator, thermostat modea list of its values
Remote, wall switch (Interrupteur/Télécommande)a button: every press is an event for your scenes
Motion, presence, opening, smoke, flood detectorsmotion, opening, smoke and leak sensors
Temperature, humidity, luminosity, pressure, CO₂, noise, rain, wind, UVthe sensor of the right category
Power, energy (Linky, plugs), voltage, current, water and gas meterspower, energy index, voltage, current, volume
Other indicators (day phase, messages…)a text, or a value with its unit
Battery level of battery modulesthe battery level

Each eedomus peripheral makes one Gladys device, named after the peripheral and its room ("Lamp (Living room)"); its id, usage and parent module are kept in its parameters. A module with several channels (a motion sensor with its temperature and luminosity) makes one device per channel, so that each channel keeps its room.

The integration reads the unit of each value first: a peripheral left with the "Temperature" usage but measuring watts is offered as a power meter.

Requirements​

  • An eedomus box (eedomus+ or eedomus) and its API credentials.
  • For the local connection: the Gladys machine reaches the box on the local network (port 80). Otherwise, the eedomus cloud is used (internet access).

Installation​

  1. Get your API credentials: on secure.eedomus.com, Configuration → Mon compte → Identifiants API. eedomus sends the API user and the API secret by email. They are not the ones of your eedomus account.
  2. Find the IP address of the box on your network (your internet router lists the devices of your network), like 192.168.1.30.
  3. In Gladys, open the integration, Configuration:
    • IP address of the eedomus box: 192.168.1.30. Leave it empty to go through the eedomus cloud only.
    • API user and API secret: paste them.
  4. Click Test the connection: the local API and the eedomus cloud are tried one after the other, then the number of peripherals, rooms and devices offered shows up.
  5. Open the Discovery tab and add the devices you want. Their values are sent as soon as they are added.

Options​

  • Prefer the local connection (a Gladys toggle): on by default. The integration talks to the box on your network, and goes through the eedomus cloud only when the box does not answer (the box is then tried again every 5 minutes). Turn it off to go through the cloud first, the box being the fallback.
  • Interval between two reads of the values: 15 seconds by default (5 to 300). The values of all the devices you added are read in one request to the box. Through the eedomus cloud, at most once a minute, to stay within the cloud quotas.

Good to know​

  • The box stays in charge of the modules: Gladys sends its commands to the box, which drives the Z-Wave, Zigbee, RF modules. Keep it running, with its rules if you wish.
  • The box is slow: the integration sends one request at a time, never closer than 0.6 s apart. A command shows up in Gladys within 2 seconds.
  • Values, not events: the values are read at the chosen interval, so a motion lasting less than the interval may be missed. Lower the interval for your motion sensors' sake, not below 5 seconds.
  • Remotes and wall switches: every new value is a press for your scenes ("Simple appui" a click, "Double appui" a double click, "Appui long" a long press…), even the same button twice in a row, as long as the presses are a read apart.
  • Lists of values: a command always sends one of the values eedomus allows for the peripheral: a dimmer whose list has 10 % steps goes to the nearest step, a setpoint to the nearest temperature of its list.
  • A new or renamed peripheral shows up within 15 minutes, at once with the Scan button of the Discovery tab.
  • Transport badge: "local" through the box, "cloud" through eedomus, with an orange dot on the fallback way; "unreachable" when nothing answers, or when the box itself has lost the module ("Non joignable" in eedomus).
  • Door sensors: eedomus says Fermé / Ouvert, Gladys 1 for closed and 0 for open; the integration converts.

Troubleshooting​

Status messageWhat to do
eedomus refused the API credentialsCheck the API user and secret (Configuration → Mon compte → Identifiants API), not the account.
The eedomus box (…) is unreachableCheck its IP address, seen from the Gladys machine (not localhost). Is the box on?
Connected through the eedomus cloud: the box …The box does not answer on the network: check its address; the cloud keeps things working.
The eedomus cloud is unreachableCheck the internet access of the Gladys machine, or set the box address.
eedomus answered with an errorThe message of the box says why (an unknown peripheral, a value it does not allow…).

The logs of the integration (Gladys, integration page) give the details. They never contain the API secret.

Privacy​

With the local connection, everything stays on your network: the integration only talks to your box. The eedomus cloud (api.eedomus.com) is used only when the box does not answer, or when you chose it. The API secret is stored as a secret by Gladys and never written to the logs.

Konfigurationseinstellungen​

Diese Einstellungen fragt eedomus bridge in seinem Konfigurationsbildschirm in Gladys ab.

EinstellungTypPflichtfeldBeschreibung
Your eedomus peripherals in GladyssectionNeinEvery peripheral of your eedomus box is offered in the Discovery tab: lamps and dimmers, plugs, shutters, pilot wire heating, setpoints, motion, door, smoke and flood sensors, temperature, humidity, luminosity, power and energy, remotes. The values follow the box every few seconds and Gladys controls the peripherals through the box, which keeps running: migrate at your pace, or use both side by side. The integration talks to the box on your network (its local API), and through the eedomus cloud when the box does not answer. Unofficial, not affiliated with Connected Object.
IP address of the eedomus boxstringNeinIts address on your network, seen from the Gladys machine (your internet router lists the devices of your network). Leave empty to go through the eedomus cloud only.
API userstringJaOn secure.eedomus.com: Configuration → Mon compte → Identifiants API. eedomus sends them by email. They are not the ones of your eedomus account.
API secretsecretJa
Interval between two reads of the values (s)numberNeinGladys reads the values of the devices you added at this pace, in one request to the box. Through the eedomus cloud, at most once a minute.

So installierst du eedomus bridge in Gladys​

  1. Öffne in Gladys Integrationen: eedomus bridge erscheint im Katalog neben den nativen Integrationen, mit einem Community-Badge.
  2. Klicke auf Installieren. Gladys lädt das Docker-Image (ghcr.io/lm1lc3n7/gladys-eedomus:0.1.1) herunter, startet es in einer vom Kern isolierten Sandbox und erzeugt die Oberfläche der Integration (Geräte, Erkennung und Konfiguration).
  3. Öffne den Bildschirm Konfiguration der Integration, fülle die Einstellungen aus und speichere.
  4. Du kannst sie auch direkt über die URL ihres Repositorys installieren: https://github.com/LM1LC3N7/gladys-eedomus.

eedomus bridge benötigt Gladys >=5.1.0. Der Katalog in Gladys wird stündlich aktualisiert, eine neue Version ist also spätestens eine Stunde nach ihrer Veröffentlichung verfügbar.

Du nutzt Gladys noch nicht? Es ist kostenlos und Open Source: folge der Installationsanleitung, um loszulegen.

Über externe Integrationen​

eedomus bridge ist eine externe Integration: eine Community-Integration, die als Docker-Container verpackt und auf GitHub veröffentlicht wird. Gladys installiert sie mit einem Klick und führt sie in einer vom Kern isolierten Sandbox aus. Sie wird von LM1LC3N7 veröffentlicht und gepflegt, nicht vom Gladys-Kernteam.

Abonniere den Newsletter von Gladys Assistant

Ein paar E-Mails im Monat zu neuen Releases und Neuigkeiten aus dem Projekt. Verschickt von Pierre-Gilles Leymarie, dem Gründer des Projekts. Jederzeit abbestellbar 🙂