Control a garage port with Arduino via Domoticz Topic is solved

Client tools or tools that can connect with Domoticz. Tools for Windows, iOS, Android, Linux etc.

Moderator: leecollings

Post Reply
LordMax
Posts: 35
Joined: Saturday 10 April 2021 21:24
Target OS: Windows
Domoticz version: 2021.1
Contact:

Control a garage port with Arduino via Domoticz

Post by LordMax »

Hi!

I am trying to control my garage port with an Arduino. I have a Domoticz windows server running controlling all lights and sensors in my house and I want to add my garage port to the system, the gate works like if it gets a puls it opens/closes and if it gets another pulse while opening/closing it stops, then goes the reversed way. I have a Relay to control the pulse but how do I "connect" it to domoticz?

Thanks beforehand!
Best regards Max
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Control a garage port with Arduino via Domoticz

Post by waltervl »

What kind of wireless gateways to Domoticz do you have? Because that save you some money to buy a new gateway. Wifi is off course 1 of the possibility but there is also zigbee, zwave, RF etc.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
zygios
Posts: 15
Joined: Saturday 01 December 2018 6:42
Target OS: Linux
Domoticz version:
Contact:

Re: Control a garage port with Arduino via Domoticz

Post by zygios »

You need Arduino with Ethernet shield + Relay or more simple would be to buy ESP8266 and connect relay (on ESP8266 install espeasy firmware with works perfectly with Domoticz.
LordMax
Posts: 35
Joined: Saturday 10 April 2021 21:24
Target OS: Windows
Domoticz version: 2021.1
Contact:

Re: Control a garage port with Arduino via Domoticz

Post by LordMax »

I have a Arduino D1 Mini Pro (based on ESP-8266EX) and a relay
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Control a garage port with Arduino via Domoticz

Post by waltervl »

If it is compatible with ESPEASY you have a domoticz interface with that.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
LordMax
Posts: 35
Joined: Saturday 10 April 2021 21:24
Target OS: Windows
Domoticz version: 2021.1
Contact:

Re: Control a garage port with Arduino via Domoticz

Post by LordMax »

Ok, I will give it a try! Wish me good luck :)
LordMax
Posts: 35
Joined: Saturday 10 April 2021 21:24
Target OS: Windows
Domoticz version: 2021.1
Contact:

Re: Control a garage port with Arduino via Domoticz

Post by LordMax »

I just got it working! I had to wait for the arduino. It was easy to setup and works flawless. Thanks for the help!
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Control a garage port with Arduino via Domoticz

Post by waltervl »

Good to hear! What was your method you used, with Espeasy?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
tvurce
Posts: 30
Joined: Saturday 27 October 2018 19:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Control a garage port with Arduino via Domoticz

Post by tvurce »

How to do that without espeasy? Because i have on this esp32 another sensors etc. reporting to domoticz and i want to drive relay with the same esp32 through domoticz.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest