# \[Suggestion\] Control a radiator with two switches in the Thermostat integration

**URL:** <https://community.gladysassistant.com/t/suggestion-piloter-un-radiateur-fil-pilote-avec-deux-interrupteurs-dans-l-integration-thermostat/11571>\
**Category:** Configuration\
**Created:** [November 13, 2026, 10:05pm UTC](https://community.gladysassistant.com/t/suggestion-piloter-un-radiateur-fil-pilote-avec-deux-interrupteurs-dans-l-integration-thermostat/11571 "2026-11-13T22:05:32Z")\
**Posts on this page:** 7\
**Page:** 1

<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:** [November 13, 2026, 10:05pm UTC](https://community.gladysassistant.com/t/suggestion-piloter-un-radiateur-fil-pilote-avec-deux-interrupteurs-dans-l-integration-thermostat/11571/1 "2026-11-13T22:05:32Z")

</div>

Hi everyone, and thanks @Will_71 for the Thermostat integration

I have **three electric heaters** , each controlled by its own **FIBARO FGS‑224** in wired pilot mode. Via **Z-Wave JS UI** , each module reports to Gladys with two switches, one per output.

Could the **Thermostat integration** allow **selecting two existing switches as actuators in wired pilot mode**? I could then configure a thermostat per heater and associate it with the two outputs of the corresponding module.

For each thermostat, we would define the on/off combination of the two outputs for the four commands **Comfort** , **Eco** , **Frost Protection** , and **Off**. The thermostat would apply this combination with each mode change, including via its programming. The mapping would be configurable to adapt to the wiring of each heater.

This would allow supporting the FGS‑224 and other dual-relay modules already recognized as switches in Gladys.

I can test on my three heaters if it helps. Thanks!

| Wired pilot command | Q1 | Q2 |
| --- | --- | --- |
| Comfort | OFF | OFF |
| Eco | ON | ON |
| Frost Protection | OFF | ON |
| **Off** | **ON** | **OFF** |

---

<div class="post-metadata">

**Author:** ![GBoulvin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gboulvin/32/10006_2.png) [@GBoulvin](https://community.gladysassistant.com/u/GBoulvin)\
**Post date:** [November 13, 2026, 10:10pm UTC](https://community.gladysassistant.com/t/suggestion-piloter-un-radiateur-fil-pilote-avec-deux-interrupteurs-dans-l-integration-thermostat/11571/2 "2026-11-13T22:10:38Z")

</div>

Wouldn’t it be possible via scenes? The trigger would be the command sent by the thermostat integration… I’m just saying that, but I haven’t checked it!

---

<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:** [November 13, 2026, 10:12pm UTC](https://community.gladysassistant.com/t/suggestion-piloter-un-radiateur-fil-pilote-avec-deux-interrupteurs-dans-l-integration-thermostat/11571/3 "2026-11-13T22:12:15Z")

</div>

beh le but serait justement d’arrêter d’avoir x scènes pour y radiateur ^^’

ça me ferait 12 scènes à gérer et maintenir ☹

---

<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:** [November 13, 2026, 10:17pm UTC](https://community.gladysassistant.com/t/suggestion-piloter-un-radiateur-fil-pilote-avec-deux-interrupteurs-dans-l-integration-thermostat/11571/4 "2026-11-13T22:17:40Z")

</div>

This isn’t currently possible, but I can look into adding it.

I’ll let you know as soon as I have something to propose.

---

<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:** [November 13, 2026, 10:18pm UTC](https://community.gladysassistant.com/t/suggestion-piloter-un-radiateur-fil-pilote-avec-deux-interrupteurs-dans-l-integration-thermostat/11571/5 "2026-11-13T22:18:10Z")

</div>

That would be great, thank you 🙂

---

<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:** [November 13, 2026, 11:08pm UTC](https://community.gladysassistant.com/t/suggestion-piloter-un-radiateur-fil-pilote-avec-deux-interrupteurs-dans-l-integration-thermostat/11571/6 "2026-11-13T23:08:26Z")

</div>

I have a first version for you to test. The Thermostat integration now accepts two switches instead of a pilot wire module, so no need for scenes anymore.

How it works

- You create a thermostat per radiator, of type « Radiator with pilot wire » (the radiator regulates with its own thermostat) or « Virtual thermostat » (Gladys regulates on a temperature probe).
- In the « Pilot wire » block, you choose « Two switches (two-relay module) », then the two outputs of your FGS-224.
- A table gives the state of the two switches for each command. It is pre-filled with your table (Comfort off/off, Eco on/on, Frost protection off/on, Off on/off) and remains modifiable if a radiator is wired the other way around.
- The thermostat then applies the correct combination for each mode change: schedule, preset chosen manually, open window (frost protection), off.

Two things to know

- The two switches are reserved for the thermostat. If they are changed elsewhere (scene, dashboard), Gladys will restore the expected order in less than a minute. So, remember to deactivate your current scenes before testing.
- Two relays give four orders: Comfort -1 °C and Comfort -2 °C are sent as Comfort.

For testing

The test image is `willde71/gladys-test:pilot-wire-switches`. It’s a development version: make a backup first, or test on a separate instance.

What I’m most interested in, as I don’t have the equipment to test: do the four commands arrive correctly on your three radiators, and does the transition from one command to another work properly (the two outputs are controlled one after the other)?

Thanks in advance for your feedback!

---

<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:** [November 13, 2026, 11:38pm UTC](https://community.gladysassistant.com/t/suggestion-piloter-un-radiateur-fil-pilote-avec-deux-interrupteurs-dans-l-integration-thermostat/11571/7 "2026-11-13T23:38:56Z")

</div>

(post deleted by author)
