Advice, another garage door project Topic is solved

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
gamlebardun
Posts: 13
Joined: Wednesday 07 November 2018 20:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.97
Location: Jessheim, Norway
Contact:

Advice, another garage door project

Post by gamlebardun »

Greetings
I'm about to finally do my garage door controller project, and I'm looking for advice.
For several reasons (replay resistance, range ..) I have chosen adafruit feather 32u4 433MHz units at both ends, and intend to use airspayce radiohead library instead of mysensors to handle the radio part.
The missing piece is then having my serially connected arduino board talk to Domoticz.
Since I am in full control on the arduino-side, I consider pretending to be a mysensors gateway as this is supported by domoticz.
Another alternative is writing something on the domoticz side and use either the api page of domoticz, or say MQTT, to interact with the controller.
Before I start the final work - have I overlooked a better alternative?
Thanks in advance for tips, advice and any comment.
User avatar
waltervl
Posts: 5155
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Advice, another garage door project

Post by waltervl »

What is the hardware your Domoticz is running on, a RPi? How is the Arduino going to talk with the server, through USB, Wireless?
You could also think of connecting 2 wires between the GPIO of the RPi and the Arduino Digital I/O. 1 for the open/close command to the Arduino and if necessary 1 for feedback of the Arduino that the Garage door is opened or closed (if you have a sensor detecting this)
See https://www.domoticz.com/wiki/GPIO
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
gamlebardun
Posts: 13
Joined: Wednesday 07 November 2018 20:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.97
Location: Jessheim, Norway
Contact:

Re: Advice, another garage door project

Post by gamlebardun »

Hi @waltervl
Thanks for the feedback
The hardware part is sorted. I was wondering how to interface a (USB) serial to Domoticz.
I think I have found a way - Python plugin looks promising.

Kind regards
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 0 guests