# MQTT to Sonoff and Ring Devies

**URL:** <https://discourse.nodered.org/t/mqtt-to-sonoff-and-ring-devies/36392>\
**Category:** General\
**Created:** [23 November 2020 11:34 UTC](https://discourse.nodered.org/t/mqtt-to-sonoff-and-ring-devies/36392 "2020-11-23T11:34:06Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![swanside](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/swanside/32/28781_2.png) [@swanside](https://discourse.nodered.org/u/swanside)\
**Post date:** [23 November 2020 11:34 UTC](https://discourse.nodered.org/t/mqtt-to-sonoff-and-ring-devies/36392/1 "2020-11-23T11:34:06Z")

</div>

Hello  
I am looking at an alternative to make my own MQTT maybe with a Raspberry PI. But I want to control Sonoff devices from using Ring Motion and Door sensors. Is this possible and what would be thebest way to go about this please?  
Thanks  
Paul.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [23 November 2020 11:52 UTC](https://discourse.nodered.org/t/mqtt-to-sonoff-and-ring-devies/36392/2 "2020-11-23T11:52:51Z")

</div>

> [@swanside](#):
>
> I am looking at an alternative to make my own MQTT

Can you explain what you mean by that please?

> [@swanside](#):
>
> I want to control Sonoff devices from using Ring Motion and Door sensors.

This can be done if you are prepared to re-flash the devices with one of the alternatives such as tasmotta or espeasy. If you want to use the device with the manufactures s/w then I am not sure if this is possible.

---

<div class="post-metadata">

**Author:** ![swanside](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/swanside/32/28781_2.png) [@swanside](https://discourse.nodered.org/u/swanside)\
**Post date:** [23 November 2020 12:12 UTC](https://discourse.nodered.org/t/mqtt-to-sonoff-and-ring-devies/36392/3 "2020-11-23T12:12:44Z")

</div>

Hi Colin.  
I have just ordered a DollaTek FT232 USB To TTL Adapter Module Serial Download Brush Plate FT232BL/RL  
SO yeh, I will flash the Sonoff with Tasmotta.  
After that I am looking to run scenes, such as at sunset turn on Sonoff Outside lights, Turn Off at 10pm.  
If the patio door contact on the Ring Alarm is open, and it is after Sunset and after 10PM turn on Sonoff Outside lights. Then turn off 30 Seconds after Patio Door is closed.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [23 November 2020 12:32 UTC](https://discourse.nodered.org/t/mqtt-to-sonoff-and-ring-devies/36392/4 "2020-11-23T12:32:33Z")

</div>

That can all be done using node-red, communicating with the devices through MQTT.

---

<div class="post-metadata">

**Author:** ![swanside](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/swanside/32/28781_2.png) [@swanside](https://discourse.nodered.org/u/swanside)\
**Post date:** [23 November 2020 12:39 UTC](https://discourse.nodered.org/t/mqtt-to-sonoff-and-ring-devies/36392/5 "2020-11-23T12:39:21Z")

</div>

Cool.  
That's what I was hoping for. I just now need to google and find out more info. How would I connect to the Ring Door Contacts? or integrate the Ring account into Node Red?  
Thanks

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [23 November 2020 13:24 UTC](https://discourse.nodered.org/t/mqtt-to-sonoff-and-ring-devies/36392/6 "2020-11-23T13:24:53Z")

</div>

I thought you were flashing them with Tasmotta.

---

<div class="post-metadata">

**Author:** ![swanside](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/swanside/32/28781_2.png) [@swanside](https://discourse.nodered.org/u/swanside)\
**Post date:** [23 November 2020 13:28 UTC](https://discourse.nodered.org/t/mqtt-to-sonoff-and-ring-devies/36392/7 "2020-11-23T13:28:48Z")

</div>

I was not aware I could flash the Ring Devices?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [23 November 2020 13:45 UTC](https://discourse.nodered.org/t/mqtt-to-sonoff-and-ring-devies/36392/8 "2020-11-23T13:45:35Z")

</div>

Ah, sorry, I misinterpreted your post where you mentioned Tasmotta.  
Do the Ring devices have some sort of API or MQTT capability so they can be connected to s/w other than the suppliers? If not then it will be tricky.

---

<div class="post-metadata">

**Author:** ![swanside](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/swanside/32/28781_2.png) [@swanside](https://discourse.nodered.org/u/swanside)\
**Post date:** [23 November 2020 13:48 UTC](https://discourse.nodered.org/t/mqtt-to-sonoff-and-ring-devies/36392/9 "2020-11-23T13:48:00Z")

</div>

From google its pointing to Homebridge to connect by MQTT, so still searching around

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [22 January 2021 13:48 UTC](https://discourse.nodered.org/t/mqtt-to-sonoff-and-ring-devies/36392/10 "2021-01-22T13:48:00Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
