# Help needed in adding skylight to Homey

**URL:** <https://community.homey.app/t/help-needed-in-adding-skylight-to-homey/31040>\
**Category:** Questions & Help\
**Created:** [June 8, 2020, 8:34pm UTC](https://community.homey.app/t/help-needed-in-adding-skylight-to-homey/31040 "2020-06-08T20:34:43Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hermann\_Stengel](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hermann_stengel/32/12501_2.png) [@Hermann\_Stengel](https://community.homey.app/u/Hermann_Stengel)\
**Post date:** [June 8, 2020, 8:34pm UTC](https://community.homey.app/t/help-needed-in-adding-skylight-to-homey/31040/1 "2020-06-08T20:34:43Z")

</div>

Hi, yesterday I installed a new skylight (Skylux iWindow3) on our roof, it is operated by a RF remote. According to the manual it can also be controlled by domotica systems, but I really have no clue how to do this.  
I assume I need some kind of gateway with controllable pulse switches?

 ![IWindow](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/d/dd7090bcb1ae6544aef2b27b850b969b379b6a61.jpeg)  
I hope you can help.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [June 9, 2020, 5:38am UTC](https://community.homey.app/t/help-needed-in-adding-skylight-to-homey/31040/2 "2020-06-09T05:38:48Z")

</div>

The cheapest solution would be a [Sonoff 4CH Pro](https://www.itead.cc/sonoff-4ch-pro.html), because it has 4 potential-free relays that you can use to switch the four contacts. However, it’s not trivial to implement because you would need to flash the Tasmota firmware on the Sonoff device first, and set up Tasmota so it will send pulses (I _think_ that Tasmota supports this feature, but not entirely sure).

If any of the above doesn’t make sense to you, you should probably ask someone to help you out 😉

---

<div class="post-metadata">

**Author:** ![Hermann\_Stengel](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hermann_stengel/32/12501_2.png) [@Hermann\_Stengel](https://community.homey.app/u/Hermann_Stengel)\
**Post date:** [June 10, 2020, 6:50am UTC](https://community.homey.app/t/help-needed-in-adding-skylight-to-homey/31040/3 "2020-06-10T06:50:15Z")

</div>

Thanks Robert for your reply.  
I get what you mean, the only thing is I do not know how to flash the original and replace it with an other firmware. Can you (or someone else) point me in the direction of some resources?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [June 10, 2020, 7:02am UTC](https://community.homey.app/t/help-needed-in-adding-skylight-to-homey/31040/4 "2020-06-10T07:02:55Z")

</div>

The Tasmota docs can be found here: [https://tasmota.github.io/docs/](https://tasmota.github.io/docs/)

---

<div class="post-metadata">

**Author:** ![Hermann\_Stengel](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hermann_stengel/32/12501_2.png) [@Hermann\_Stengel](https://community.homey.app/u/Hermann_Stengel)\
**Post date:** [June 10, 2020, 7:53am UTC](https://community.homey.app/t/help-needed-in-adding-skylight-to-homey/31040/5 "2020-06-10T07:53:11Z")

</div>

Thanks, is this the way to flash the Sonoff: [https://www.youtube.com/watch?v=jY1VWsxN74o](https://www.youtube.com/watch?v=jY1VWsxN74o)

---

<div class="post-metadata">

**Author:** ![Hermann\_Stengel](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hermann_stengel/32/12501_2.png) [@Hermann\_Stengel](https://community.homey.app/u/Hermann_Stengel)\
**Post date:** [June 10, 2020, 8:04am UTC](https://community.homey.app/t/help-needed-in-adding-skylight-to-homey/31040/6 "2020-06-10T08:04:49Z")

</div>

Or maybe even better: [https://hackaday.com/2020/02/25/flashing-sonoff-devices-with-tasmota-gets-easier/](https://hackaday.com/2020/02/25/flashing-sonoff-devices-with-tasmota-gets-easier/)

---

<div class="post-metadata">

**Author:** ![Hermann\_Stengel](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hermann_stengel/32/12501_2.png) [@Hermann\_Stengel](https://community.homey.app/u/Hermann_Stengel)\
**Post date:** [June 20, 2020, 10:36am UTC](https://community.homey.app/t/help-needed-in-adding-skylight-to-homey/31040/7 "2020-06-20T10:36:34Z")

</div>

Thanks @robertklep for pointing me into a direction. In the meanwhile I did some research and found out there are two ways of flashing the device, over the air and wired, the last require some soldering. Therefore I bought the device, some jumper cables and a FTDI adaptor.  
I also found several tutorials how to do this, can you advise me one?

 ![IMG_20200620_121831](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/8/f80fcb82c3fcaf0b3996bc75d046f1c374d765a6.jpeg)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [June 20, 2020, 10:48am UTC](https://community.homey.app/t/help-needed-in-adding-skylight-to-homey/31040/8 "2020-06-20T10:48:04Z")

</div>

I don’t know which ones you found?

---

<div class="post-metadata">

**Author:** ![Hermann\_Stengel](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hermann_stengel/32/12501_2.png) [@Hermann\_Stengel](https://community.homey.app/u/Hermann_Stengel)\
**Post date:** [June 20, 2020, 11:23am UTC](https://community.homey.app/t/help-needed-in-adding-skylight-to-homey/31040/9 "2020-06-20T11:23:57Z")

</div>

I found [this](https://www.youtube.com/watch?v=jY1VWsxN74o) tutorial and installed Atom on my PC, when adding the Tasmota file into it, Atom froze and timed out over and over. Tried to remove Atom, restart PC, reinstall Atom and it froze and timed out again, even without adding the Tasmota file. I think somehow it is embedded in my machines registry and is not removed after I uninstalled Atom. Really a shame, this tutorial looked really promising. When I looked further I found a tutorial where something like [EZflash](https://www.youtube.com/watch?v=NNW05smSNOA&t=4s) is used, maybe this I can use this when I do not get Atom to work.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [June 20, 2020, 11:42am UTC](https://community.homey.app/t/help-needed-in-adding-skylight-to-homey/31040/10 "2020-06-20T11:42:42Z")

</div>

I don’t use either tool, I typically use `esptool.py` on macOS to flash Tasmota. [The official documentation](https://tasmota.github.io/docs/Getting-Started/) might be worthwhile to check out.

---

<div class="post-metadata">

**Author:** ![Hermann\_Stengel](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hermann_stengel/32/12501_2.png) [@Hermann\_Stengel](https://community.homey.app/u/Hermann_Stengel)\
**Post date:** [June 20, 2020, 12:06pm UTC](https://community.homey.app/t/help-needed-in-adding-skylight-to-homey/31040/11 "2020-06-20T12:06:14Z")

</div>

Wow, a lot of reading and learning is laying ahead of me 🙂  
As soon I get the opportunity, I’ll start the project.  
Thanks @robertklep!

---

<div class="post-metadata">

**Author:** ![Hermann\_Stengel](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hermann_stengel/32/12501_2.png) [@Hermann\_Stengel](https://community.homey.app/u/Hermann_Stengel)\
**Post date:** [June 26, 2020, 7:33pm UTC](https://community.homey.app/t/help-needed-in-adding-skylight-to-homey/31040/12 "2020-06-26T19:33:30Z")

</div>

@robertklep, I read the article on github (witch was really helpful for sure!), watched some video explanations to flash the device and install Tasmota on the Sonoff. Now I reached the point of MQTT setup, I fount out you can build your own or get a cloud based MQTT. Building my own would be a great project but for that I have to dive in really deep. Maybe you can advise me a cloud based one?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [June 26, 2020, 8:25pm UTC](https://community.homey.app/t/help-needed-in-adding-skylight-to-homey/31040/13 "2020-06-26T20:25:25Z")

</div>

You should probably just use the MQTT Broker app for Homey.

---

<div class="post-metadata">

**Author:** ![Hermann\_Stengel](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hermann_stengel/32/12501_2.png) [@Hermann\_Stengel](https://community.homey.app/u/Hermann_Stengel)\
**Post date:** [June 26, 2020, 9:13pm UTC](https://community.homey.app/t/help-needed-in-adding-skylight-to-homey/31040/14 "2020-06-26T21:13:13Z")

</div>

That’s it, nothing more needed?  
Wich one do you mean?  
MQTT broker of MQTT for Tasmota?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [June 27, 2020, 4:29am UTC](https://community.homey.app/t/help-needed-in-adding-skylight-to-homey/31040/15 "2020-06-27T04:29:36Z")

</div>

Yes, that’s it (as far as MQTT is concerned). You need the MQTT Broker app.

Once it’s up and running, you can point Tasmota’s MQTT configuration to the IP-address of your Homey.

---

<div class="post-metadata">

**Author:** ![Hermann\_Stengel](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hermann_stengel/32/12501_2.png) [@Hermann\_Stengel](https://community.homey.app/u/Hermann_Stengel)\
**Post date:** [June 27, 2020, 7:18am UTC](https://community.homey.app/t/help-needed-in-adding-skylight-to-homey/31040/16 "2020-06-27T07:18:21Z")

</div>

Thanks @robertklep, I’ll give it a try.
