switch type garage door

Moderator: leecollings

Post Reply
heistje
Posts: 23
Joined: Saturday 21 January 2017 13:42
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Belgium
Contact:

switch type garage door

Post by heistje »

maybe somebody could help me with this:

I have a garage door that is operated with a push button:
-> push when open: close door
-> push while moving: stop
-> next push after stop: reverse
-> push when closed: open
I installed a Qubino ZMNHBD1 and I'm using one of its contacts as a push button in parallel with the hardware push button.
I'm also using a Finaro binary sensor (FGBS-001 - 2 contacts) to determine if the garage door is open or closed.

In Domoticz I'm using the switch type "push on button" to operate the garage door, (--> ZMNHBD1)
a switch type "On/Off" (Light/Switch) to see when the door is open, (--> FGBS-001 CH1)
and also a switch type "On/Off" "Light/Switch" to see when the door is closed... (--> FGBS-001 CH2)

Works fine but Isn't there a solution where I could work with just one switch type? I mean where all information is integrated in one type?

As you can see in next image I already tried to add the 2 "On/Off" switches as slave devices in the "push on button" and this works,
the button becomes red once the door is open or closed and becomes grey in between the 2
BUT unfortunately I can't see the difference between open and close... both --> red
garage door.JPG
garage door.JPG (24.27 KiB) Viewed 4040 times
I would really appreciate your ideas/suggestions!.
Thx!
Bullseye on RPI 4
Aeotec Z-Wave Plus Z-Stick Gen5
Zwave-JS-UI
RFXtrx433E
Eth8020
P1 USB
Shellys
ESP8266
TheeDude
Posts: 46
Joined: Wednesday 07 October 2015 0:43
Target OS: Linux
Domoticz version:
Contact:

Re: switch type garage door

Post by TheeDude »

This is something I am interested in also!
Tried to do something in Blockly, with a couple of virtual switches, but didn´t have much success.

Have you found a solution?
MYLE
Posts: 20
Joined: Monday 10 April 2017 8:29
Target OS: Linux
Domoticz version:
Contact:

Re: switch type garage door

Post by MYLE »

I use the blinds icon as I have a magent switch telling me if open / close

Thinking out side the square / garage why not make them hidden switches and use blockly script to change the blinds status remember reading some I think putting a $ in front of the name make it hidden I think

Only been doing this for a month
heistje
Posts: 23
Joined: Saturday 21 January 2017 13:42
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Belgium
Contact:

Re: switch type garage door

Post by heistje »

found this solution:
I'm using a virtual switch (selector --> 'blinds inverted') with an other set of icons (icon for 'open' and one for 'closed')
Below "devices" I found that the Idx of this virtual Switch is 204
garage.JPG
garage.JPG (24.6 KiB) Viewed 3749 times
I downloaded a garage switch from https://drive.google.com/drive/folders/ ... WdHV1Qxbm8 (unther 'D' you will find a garage door..)
Uploaded them in Domoticz with the help from this: https://www.domoticz.com/wiki/Custom_ic ... binterface

I installed a Fibaro Universal switch which detects if the door is open or closed (electrical contacts).

Below "Edit" from the On/Off switch that detects garage door=open I've put following JSON command by "On action":
"http://ipadresDomoticz:8080/json.htm?type=command&param=switchlight&idx=204&switchcmd=On"
idx204=the idx of the virtual switch.

Below "Edit" from the On/Off switch that detects garage door=closed I've put following JSON command by "On action":
"http://ipadresDomoticz:8080/json.htm?type=command&param=switchlight&idx=204&switchcmd=Off"
idx204=the idx of the virtual switch.

Hope this helps..

grtz!
Bullseye on RPI 4
Aeotec Z-Wave Plus Z-Stick Gen5
Zwave-JS-UI
RFXtrx433E
Eth8020
P1 USB
Shellys
ESP8266
magichew
Posts: 1
Joined: Saturday 30 June 2018 11:19
Target OS: Linux
Domoticz version:
Contact:

Re: switch type garage door

Post by magichew »

Hi

I've read your messages regarding the garage door and I think you and I are trying to achieve the same thing yet I have had no success yet.

I have a Xaiomi MI Home Hub with various different sensors, switches etc. All working well through Domoticz. I have a contact sensor on my Garage Door which functions as expected and separately I have a Sonoff SV unit which opens and closes the door. The Sonoff is set up in Domoticz so that when the button is pressed, 1 second later the button turns off. So one press begins opening, another press stops the door and then the next press will close.

I'm looking for a way of merging the button and the sensor in to one button which can be pressed to open, stop, close and also reports the status of the door.

Any advice?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest