External integration - SFR Box (box status, local)

Hi everyone! :waving_hand:

After the Freebox by @Will_71 and the Livebox by @lmilcent, it’s the turn of the SFR Box: its status directly in Gladys, locally, without an SFR account.

The classic: Internet cuts out while you’re at work, and you only find out in the evening :sweat_smile:. There, Gladys knows right away.

What it does

  • :satellite_antenna: The line: DSL or fiber, synchronized or not, synchronized speeds, attenuation and noise margin for DSL.
  • :globe_with_meridians: Internet: connected or not, IPv6, public IP.
  • :antenna_bars: Wi-Fi: enabled or not, uptime, temperature when the box has a sensor, model and firmware.
  • :eyes: Connected devices: a presence device per MAC address, to know who is at home.
  • :clapper_board: Two scene triggers: « Internet Connection Lost » and « Internet Connection Restored », with the duration of the outage. A scene action « Restart the SFR Box ».
  • :puzzle_piece: A « SFR Box » widget: speeds, uptime, temperature and status.
  • In French, English, German and Spanish :wink:

The cool thing

Internet connection lost → notification by SMS or on the watch, and the alarm switches to local mode :police_car_light:
Connection restored after 10 minutes → « Internet is back (10 min outage) » :mobile_phone_with_arrow:
The teenager’s phone connects to Wi-Fi → « welcome home » :house:

Installation

:warning: Gladys 5.1 minimum.

:light_bulb: It arrives in the store during the day. In a hurry? Integrations → Install from GitHub, with the address GitHub - guim31/gladys-sfr-box: SFR Box internet box status (line, WAN, Wi-Fi, connected devices) for Gladys Assistant, local API · GitHub

  1. In the configuration, enter the box address (usually 192.168.1.1), and its administrator username and password for the information that requires it (Wi-Fi, connected devices).
  2. Click on Test the connection.
  3. Discovery tab: add the box, and the devices whose presence you want to track.

Honest small reservations

  • :warning: Beta, developed without SFR Box. It relies on the library sfrbox-api, that of the official Home Assistant integration (thanks to the HACF team!), and its real box responses were used for testing.
  • NB4 to NB6 boxes are covered. SFR Box 8 and 8X, I don’t know yet: they do not appear in the API documentation nor in Home Assistant. If you have one, your feedback interests me!

If you have an SFR Box, even a simple « it works » with the model, it’s precious :folded_hands:

Like the previous ones, developed with Claude Code :robot:. Independent project, not affiliated with SFR.

Repository: GitHub - guim31/gladys-sfr-box: SFR Box internet box status (line, WAN, Wi-Fi, connected devices) for Gladys Assistant, local API · GitHub

1 Like