Hi all!
I have a Marantec garage door and the Maveo “addon” to control the garage door via smartphone. Until now there is no integration into Home Assistant (at least I couldn´t find any, only some ideas and requests).
I did some research and found a very simple way to integrate it into Home Assistant as a simple switch.
To get this up and running you first need to activate 3rdr party access to your system via the Maveo app and enable TCP:
(sorry, I use the German app :-))
By default the port is configured to 2785 (TCP)
Then you need to add some code to your configuration.yaml:
switch:
- platform: command_line
switches:
garagentor_light_switch:
command_on: echo -e "C;Garagentor;lightOn" | nc 192.168.1.151 2785
command_off: echo -e "C;Garagentor;lightOff" | nc 192.168.1.151 2785
friendly_name: Garagentor Light Switch
- platform: command_line
switches:
garagentor_switch:
command_on: echo -e "C;Garagentor;open" | nc 192.168.1.151 2785
command_off: echo -e "C;Garagentor;close" | nc 192.168.1.151 2785
friendly_name: Garagentor Switch
You need to change the name of your garage door. Please check the app for the correct name. In my case it´s “Garagentor”.
Restart Home Assistant and you can include the switches for the light and of course the garage door:
That works really good to switch on/off the light and open/close the garage door.
The only think I´m missing is a current status of the light and garage door. Until now I did not found a solution for that. So, currently you never know if the garage door is open or closed. But I´m still wokring on it.
BTW: all commands which are possible:
open: C;Garagentor;open
close: C;Garagentor;close
stop: C;Garagentor;stop
light on: C;Garagentor;lightOn
light off: C;Garagentor;lightOff
If you trigger these commands you will get a response like this:
garage door is open: S;Garagentor;open
garage door is closed: S;Garagentor;closed
garage door is opening: S;Garagentor;opening
garage door is closing: S;Garagentor;closing
light is on: S;Garagentor;lightOn
light is off: S;Garagentor;lightOff
The status codes are great, but you only get a status if you fire a command, which is not really helpful.
But as I said, I´m still in working on it and maybe there is a solution for it.
Any comments or better ideas how to integrate it?