# Freebox Delta integration

**URL:** <https://community.gladysassistant.com/t/integration-freebox-delta/7820>\
**Category:** Demandes livrées\
**Tags:** feature-integration\
**Created:** [January 5, 2023, 5:52pm UTC](https://community.gladysassistant.com/t/integration-freebox-delta/7820 "2023-01-05T17:52:47Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![gaelbillon](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gaelbillon/32/12185_2.png) [@gaelbillon](https://community.gladysassistant.com/u/gaelbillon)\
**Post date:** [January 5, 2023, 5:52pm UTC](https://community.gladysassistant.com/t/integration-freebox-delta/7820/1 "2023-01-05T17:52:47Z")

</div>

Hello everyone,  
Similar to the Xiaomi integration, an integration with the Freebox Delta allowing retrieval of its devices, such as the security pack and even Somfy devices like shutters in my case.

Thank you.

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [January 5, 2023, 6:47pm UTC](https://community.gladysassistant.com/t/integration-freebox-delta/7820/2 "2023-01-05T18:47:33Z")

</div>

I’m adding the doc [https://dev.freebox.fr/sdk/os/](https://dev.freebox.fr/sdk/os/)

If a dev with a Freebox happens to pass by

---

<div class="post-metadata">

**Author:** ![Maxime\_187](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/maxime_187/32/11958_2.png) [@Maxime\_187](https://community.gladysassistant.com/u/Maxime_187)\
**Post date:** [January 12, 2023, 8:15pm UTC](https://community.gladysassistant.com/t/integration-freebox-delta/7820/3 "2023-01-12T20:15:59Z")

</div>

Hello everyone.

I also run Gladys on a Freebox Delta and I control my Somfy blinds via the Freebox Home app.

I’d like to make it so that everything goes only through Gladys — I found several Node-RED libraries for Freebox but nothing for home automation, and I can’t find anything either in the API documentation.

Do you think it’s possible to «&nbsp;capture&nbsp;» the request from the app and then simulate it with Gladys or Node-RED?

Thanks in advance for your answers.

---

<div class="post-metadata">

**Author:** ![spenceur](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/spenceur/32/1961_2.png) [@spenceur](https://community.gladysassistant.com/u/spenceur)\
**Post date:** [January 12, 2023, 8:54pm UTC](https://community.gladysassistant.com/t/integration-freebox-delta/7820/4 "2023-01-12T20:54:34Z")

</div>

Maybe by sniffing the frames with software such as Wireshark you might be able to find the request, but I’m not certain.

---

<div class="post-metadata">

**Author:** ![bertrandda](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/bertrandda/32/5929_2.png) [@bertrandda](https://community.gladysassistant.com/u/bertrandda)\
**Post date:** [January 12, 2023, 10:57pm UTC](https://community.gladysassistant.com/t/integration-freebox-delta/7820/5 "2023-01-12T22:57:10Z")

</div>

Hi,  
Do you have the TaHoma box to control your Somfy devices from your phone [Comment connecter mon volet roulant : la marche à suivre | Somfy](https://www.somfy.fr/assistance/faq/volet-roulant/connecter-volet-roulant-somfy) ?  
If so, there appears to be a local API feature to connect third-party software and manage your Somfy devices  
[https://developer.somfy.com/developer-mode](https://developer.somfy.com/developer-mode)

For now there’s no Gladys integration, but what follows is a proposal to potentially make the service work without integration. To be sure, the Somfy local API would need to be studied in more detail to see what’s possible, but I think it can work.  
You’ll have to roll up your sleeves and get hands-on with the tech (medium level)  
1- activate developer mode from your Somfy account  
2 - retrieve a token to authenticate your requests; you can use Postman or Insomnia to help send the requests:

- [Login] request ([GitHub - Somfy-Developer/Somfy-TaHoma-Developer-Mode: A collection of requests to use a local API with Somfy TaHoma gateways](https://github.com/Somfy-Developer/Somfy-TaHoma-Developer-Mode#login))
- [Generate a token] request ([GitHub - Somfy-Developer/Somfy-TaHoma-Developer-Mode: A collection of requests to use a local API with Somfy TaHoma gateways](https://github.com/Somfy-Developer/Somfy-TaHoma-Developer-Mode#generate-a-token)) using the cookie generated by the login
- [Activate your token] request ([GitHub - Somfy-Developer/Somfy-TaHoma-Developer-Mode: A collection of requests to use a local API with Somfy TaHoma gateways](https://github.com/Somfy-Developer/Somfy-TaHoma-Developer-Mode#activate-your-token)) also using the login cookie + the token in the request body

3 - With the token generated by the second request you can add the header `Authorization: Bearer \u003ctoken\u003e` to the local API requests to communicate with your Somfy box  
The list of [available routes](https://somfy-developer.github.io/Somfy-TaHoma-Developer-Mode/)  
We can imagine that you create a virtual MQTT device with 2 buttons associated to 2 scenes, one for the execution route `/exec/apply` that triggers the raise, and one that triggers the lower.  
Maybe discuss with an expert in scenes/virtual devices to refine. It’s quite a bit of tinkering but it would allow you to control your blinds while waiting for a real integration to appear.

If you have questions about the technical jargon of the requests, don’t hesitate — I’ll try to help as best I can.

Not being a Node-RED user I can’t help you with that and maybe there’s a way to simplify what I told you by using Node-RED or even to directly use Gladys’s real «&nbsp;blind&nbsp;» features; someone else would need to look into that side.

I had some free time so I did a first rough outline; if someone is up for taking over, don’t hesitate.

---

<div class="post-metadata">

**Author:** ![Maxime\_187](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/maxime_187/32/11958_2.png) [@Maxime\_187](https://community.gladysassistant.com/u/Maxime_187)\
**Post date:** [January 13, 2023, 11:39am UTC](https://community.gladysassistant.com/t/integration-freebox-delta/7820/6 "2023-01-13T11:39:12Z")

</div>

Thank you for your quick reply.

I don’t have

---

<div class="post-metadata">

**Author:** ![bertrandda](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/bertrandda/32/5929_2.png) [@bertrandda](https://community.gladysassistant.com/u/bertrandda)\
**Post date:** [January 15, 2023, 8:00pm UTC](https://community.gladysassistant.com/t/integration-freebox-delta/7820/7 "2023-01-15T20:00:05Z")

</div>

Sorry, I didn’t understand that, I’ll let someone else reply to you then. On the other hand, it allowed me to see how it worked on Somfy’s side and potentially a Gladys integration could be done easily… we’ll see what happens next.

---

<div class="post-metadata">

**Author:** ![Jluc](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jluc/32/12397_2.png) [@Jluc](https://community.gladysassistant.com/u/Jluc)\
**Post date:** [June 10, 2023, 11:21am UTC](https://community.gladysassistant.com/t/integration-freebox-delta/7820/8 "2023-06-10T11:21:54Z")

</div>

Hello,  
I also have a Freebox Delta and Somfy roller shutters (RTS protocol) that work together as well as the cameras from the security pack. I would be very interested in being able to manage everything with Gladys.  
The voting proposal did not convince many members, so I’d prefer to wait before voting.

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [September 26, 2023, 11:16am UTC](https://community.gladysassistant.com/t/integration-freebox-delta/7820/9 "2023-09-26T11:16:44Z")

</div>

If this may interest Freebox owners (especially those with the security pack) I’ve started the integration into Gladys.  
Well, I’m a beginner with this technology but in a few days, using existing integrations as a guide, I made the connection with the Freebox and retrieved the list of the different devices of the security pack (sensor, remote control, shutters (Somfy IO) and camera)

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/a/a742cb657a65050d47a06eae24615061a26b8047.png)

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/2/2cc2650e6ac69593e6de481981996c7685e9d691.png)

Then I have to add all the features available for each device and fix the few bugs.

I hope to be able to complete this development. As soon as I manage to make something functional I’ll publish a test Docker image.

---

<div class="post-metadata">

**Author:** ![cce66](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/c/8797f3/32.png) [@cce66](https://community.gladysassistant.com/u/cce66)\
**Post date:** [September 26, 2023, 1:50pm UTC](https://community.gladysassistant.com/t/integration-freebox-delta/7820/10 "2023-09-26T13:50:03Z")

</div>

Hi @bertrandda

> [@bertrandda](#):
>
> [https://developer.somfy.com/developer-mode](https://developer.somfy.com/developer-mode)

The link is dead  
I have a myfox HC2 box with which I’d like to communicate via Gladys to control it, your explanations help me a bit  
I managed to communicate via node-red (via the APIs [Myfox API](https://api.myfox.me/dev/authentication)) but it’s true that being able to do it via a Gladys integration would be great… 🙂  
I’ll take a look at it when I have some time and with the examples of integrations already done, I must say 🙂

---

<div class="post-metadata">

**Author:** ![gaelbillon](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gaelbillon/32/12185_2.png) [@gaelbillon](https://community.gladysassistant.com/u/gaelbillon)\
**Post date:** [September 26, 2023, 3:44pm UTC](https://community.gladysassistant.com/t/integration-freebox-delta/7820/11 "2023-09-26T15:44:16Z")

</div>

Hi @_Will_71 great news — count me in as soon as an image is available.  
Thanks for this development.

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [September 29, 2023, 9:03pm UTC](https://community.gladysassistant.com/t/integration-freebox-delta/7820/12 "2023-09-29T21:03:22Z")

</div>

So, I’ve made some progress with reading the sensors and shutters (Somfy IO) of the security pack.

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/b/bf6b54e9773343d8673860764eda1ac08453590e.png)

![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/d/d91a7f746d0c16f0171edfe53b57afc0e7b2600c.png)

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/4/48f4958473af8063303135fd473ecb503196a9ec.png)

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [October 5, 2023, 6:07pm UTC](https://community.gladysassistant.com/t/integration-freebox-delta/7820/13 "2023-10-05T18:07:00Z")

</div>

After reading I can now control my shutters (Somfy IO) from Gladys.

@pierre-gilles, I also have a camera linked to the security pack of my Freebox, I can detect it and retrieve the address to access the video stream, I would like to be able to integrate it into the camera integration list

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [October 6, 2023, 7:11am UTC](https://community.gladysassistant.com/t/integration-freebox-delta/7820/14 "2023-10-06T07:11:46Z")

</div>

> [@\_Will\_71](#):
>
> After reading I can now control my shutters (Somfy IO) from Gladys.

Excellent 👍

> [@\_Will\_71](#):
>
> Do you think it’s possible, if so any lead on how to do that. Thanks for your reply.

It all depends on the feed that’s exposed — what kind of feed do you receive? 🙂

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [October 6, 2023, 7:37am UTC](https://community.gladysassistant.com/t/integration-freebox-delta/7820/15 "2023-10-06T07:37:47Z")

</div>

The Freebox provides me with an HTTP stream

```auto
http://freeboxcam: *********@192.168.***.***/img/stream.m3u8

```

I tried inserting it manually and it works fine in Gladys.

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [October 6, 2023, 7:49am UTC](https://community.gladysassistant.com/t/integration-freebox-delta/7820/16 "2023-10-06T07:49:30Z")

</div>

Ok perfect, in that case it would just require the Freebox Delta integration to create devices of type «&nbsp;camera&nbsp;», then we need to see how to make the «&nbsp;camera&nbsp;» integration properly handle these devices, but normally that shouldn’t pose any problems 🙂

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [October 6, 2023, 8:00am UTC](https://community.gladysassistant.com/t/integration-freebox-delta/7820/17 "2023-10-06T08:00:31Z")

</div>

I’ll see if I can do that and, if necessary, I’ll ask you for help.

---

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [October 6, 2023, 12:24pm UTC](https://community.gladysassistant.com/t/integration-freebox-delta/7820/18 "2023-10-06T12:24:23Z")

</div>

FYI

---

<div class="post-metadata">

**Author:** ![gaelbillon](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gaelbillon/32/12185_2.png) [@gaelbillon](https://community.gladysassistant.com/u/gaelbillon)\
**Post date:** [October 6, 2023, 3:14pm UTC](https://community.gladysassistant.com/t/integration-freebox-delta/7820/19 "2023-10-06T15:14:22Z")

</div>

> [@\_Will\_71](#):
>
> x who have a Freebox, what equipment do you have that you …

Hello @_Will_71,  
Great,

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [October 6, 2023, 4:18pm UTC](https://community.gladysassistant.com/t/integration-freebox-delta/7820/20 "2023-10-06T16:18:35Z")

</div>

Which Somfy tech do you have? IO or RTS.  
For now I really focused on the shutters because that’s the reason I took the Free security pack. €50 for the pack with sensors, camera and Somfy control is much cheaper than Somfy’s Tahoma box.

So right now I have state feedback and control of Somfy IO shutters. For RTS there is only control but it’s the same principle so it should work.

Then I have state feedback from the contact (open/close) sensor and the motion sensor. However, for these sensors, since I have to poll the API (set by default to 30s), there will be a delay between when your sensor changes state and when it is reflected in Gladys. The problem is that I have the impression the API stops returning these states if you make too many requests.

I dug through the forums and on Home Assistant and Jeedom they encounter the same issue.

There are also some pieces of information that are not reported correctly by Free’s API. For example, the motion sensor returns a null battery value while the contact sensor correctly returns a value between 0 and 100.

I can retrieve the camera’s HTTP address but I’ll see how to integrate it.

For the alarm I haven’t done anything yet because there is not yet a component to manage it. So I’ll look into that later.

In any case, as soon as possible I’ll make an image available so you can try it.

[Next page](https://community.gladysassistant.com/t/integration-freebox-delta/7820.md?page=2)
