Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Garagentor HmIP-MOD-TM #394

Closed
raphiegg opened this issue Feb 23, 2019 · 24 comments
Closed

Garagentor HmIP-MOD-TM #394

raphiegg opened this issue Feb 23, 2019 · 24 comments
Labels

Comments

@raphiegg
Copy link

Gibt es eine Möglichkeit das oben genannte Funkmodul zu integrieren?
Das wäre super :)

@thkl
Copy link
Owner

thkl commented Feb 23, 2019

Was macht das Modul ?

@raphiegg
Copy link
Author

Das Modul steuert den Garagentor-Antrieb und die integrierte Lampe (Channel 1 = Tor-Antrieb, Channel 2 = LED Lampe)

Auszug aus der Doku für das Modul:
HmIP_Device_Documentation.pdf

@thkl
Copy link
Owner

thkl commented Feb 23, 2019

Ok, also müsste das Doorman_Command von Channel 1 und der Door_State entsprechend auf die HomeKit Characteristics gemappt werden.

Channel 2 ist „nur“ ein Ein/Aus Aktor für eine Beleuchtung ??

@raphiegg
Copy link
Author

Genau, die Lampe auf Channel 2 wird über STATE (true/false) gesteuert

@raphiegg
Copy link
Author

Hier wären noch die Datenpunkte:
bildschirmfoto 2019-02-23 um 22 32 55

@thkl
Copy link
Owner

thkl commented Feb 24, 2019

Hmm ich müsste wissen, welche Werte an Doorman_Command gesendet werden und welche Werte Door_State haben kann. Laut der Doku ist es ein ENUM
NOP OPEN STOP CLOSE PARTIAL_OPEN bzw CLOSED OPEN VENTILATION_POSITION POSITION_UNKNOWN

Ich bräuchte aber die Numerischen Werte dafür ...

@thkl
Copy link
Owner

thkl commented Feb 24, 2019

Ok ich hab es aus der Firmware gefischt:

NOP = 0
OPEN = 1
STOP = 2
CLOSE = 3
PARTIAL_OPEN = 4

CLOSED = 0
OPEN = 1
VENTILATION_POSITION = 2
POSITION_UNKNOWN = 4

Ich schau mir das mal an, sollte nicht so schwer sein

@raphiegg
Copy link
Author

POSITION_UNKNOWN müssste 3 sein ansonsten sollte das so stimmen

Vielleicht hilft das noch:
Channel 1 SECTION:
0 = CLOSED
2 = OPENING
3 = OPEN
5 = CLOSING

thkl added a commit that referenced this issue Feb 24, 2019
@thkl
Copy link
Owner

thkl commented Feb 24, 2019

Das HomeKit Device kennt eh nur Offen und Geschlossen .. (die Zustände öffnet und schließt bekomme ich nicht aus dem HMIP Gerät)

@thkl
Copy link
Owner

thkl commented Feb 24, 2019

So, ich hab den Service dafür gebaut ChannelServices/HomeMaticHomeKitGarageDoorOpenerService.js

in der ChannelServices/channel_config.json muss

{
"type": "HmIP-MOD-TM:DOOR_RECEIVER",
"service": "HomeMaticHomeKitGarageDoorOpenerService"
}

hinzugefügt werden.

Kann es mangels Garagentor nicht testen :)

@raphiegg
Copy link
Author

Habe es mal getestet, in der Home App steht beim Garagentor "keine Antwort". Auch wenn ich es dann anklicke geht das Tor in der Animation zu jedoch steht immer noch "keine Antwort" und nach einer weile geht das Tor in der Animation wieder auf. ("keine Antwort" bleibt).

Hier ein Auszug aus der Homebridge:
[2019-2-24 15:07:59] [RaspMatic] HmIP-MOD-TM homekit state request
[2019-2-24 15:07:59] [RaspMatic] RPC getValue Call for 001E5932FAFF9D:1 DOOR_STATE
[2019-2-24 15:07:59] [RaspMatic] RPC getValue (001E5932FAFF9D:1 DOOR_STATE) Response 0 Errors: null
[2019-2-24 15:07:59] [RaspMatic] HmIP-MOD-TM ccu says door is closed
[2019-2-24 15:08:20] [RaspMatic] HmIP-MOD-TM Homekit Door Command 1
[2019-2-24 15:08:20] [RaspMatic] HmIP-MOD-TM sent 3 to ccu
[2019-2-24 15:08:20] [RaspMatic] (Rpc) Send 3 to DOOR_COMMAND at HmIP-RF.001E5932FAFF9D:1 type number
[2019-2-24 15:08:20] [RaspMatic] routing via ip xmlrpc
[2019-2-24 15:08:20] [RaspMatic] XMLRpc setValue HmIP-RF.001E5932FAFF9D:1 DOOR_COMMAND 3
[2019-2-24 15:08:20] [RaspMatic] RPC setValue Call for 001E5932FAFF9D:1 DOOR_COMMAND Value 3 Type number
[2019-2-24 15:08:21] [RaspMatic] rpc <- system.multicall on HmIP-RF.
[2019-2-24 15:08:21] [RaspMatic] RPC event for HmIP-RF.001E5932FAFF9D:0 CONFIG_PENDING with value false
[2019-2-24 15:08:21] [RaspMatic] RPC event for HmIP-RF.001E5932FAFF9D:0 RSSI_DEVICE with value -65
[2019-2-24 15:08:21] [RaspMatic] RPC event for HmIP-RF.001E5932FAFF9D:0 DUTY_CYCLE with value false
[2019-2-24 15:08:21] [RaspMatic] RPC event for HmIP-RF.001E5932FAFF9D:0 UNREACH with value false
[2019-2-24 15:08:21] [RaspMatic] RPC event for HmIP-RF.001E5932FAFF9D:0 RSSI_PEER with value -67
[2019-2-24 15:08:21] [RaspMatic] RPC setValue (001E5932FAFF9D:1 DOOR_COMMAND) Response "" Errors: null
[2019-2-24 15:08:21] [RaspMatic] rpc <- system.multicall on HmIP-RF.
[2019-2-24 15:08:21] [RaspMatic] RPC event for HmIP-RF.001E5932FAFF9D:1 DOOR_STATE with value 0
[2019-2-24 15:08:21] [RaspMatic] Accessory HmIP MOD TM 001E5932FAFF9D 1 found -> Send Event
[2019-2-24 15:08:21] [RaspMatic] RPC event for HmIP-RF.001E5932FAFF9D:1 SECTION_STATUS with value 0
[2019-2-24 15:08:21] [RaspMatic] Accessory HmIP MOD TM 001E5932FAFF9D 1 found -> Send Event
[2019-2-24 15:08:21] [RaspMatic] RPC event for HmIP-RF.001E5932FAFF9D:1 SECTION with value 0
[2019-2-24 15:08:21] [RaspMatic] Accessory HmIP MOD TM 001E5932FAFF9D 1 found -> Send Event
[2019-2-24 15:08:21] [RaspMatic] RPC event for HmIP-RF.001E5932FAFF9D:1 PROCESS with value 0
[2019-2-24 15:08:21] [RaspMatic] Accessory HmIP MOD TM 001E5932FAFF9D 1 found -> Send Event
[2019-2-24 15:08:21] [RaspMatic] RPC event for HmIP-RF.001E5932FAFF9D:1 ERROR_CODE with value 1
[2019-2-24 15:08:21] [RaspMatic] Accessory HmIP MOD TM 001E5932FAFF9D 1 found -> Send Event
[2019-2-24 15:08:21] [RaspMatic] rpc <- system.multicall on HmIP-RF.
[2019-2-24 15:08:21] [RaspMatic] RPC event for HmIP-RF.001E5932FAFF9D:2 SECTION_STATUS with value 0
[2019-2-24 15:08:21] [RaspMatic] RPC event for HmIP-RF.001E5932FAFF9D:2 STATE with value false
[2019-2-24 15:08:21] [RaspMatic] RPC event for HmIP-RF.001E5932FAFF9D:2 SECTION with value 0
[2019-2-24 15:08:21] [RaspMatic] RPC event for HmIP-RF.001E5932FAFF9D:2 PROCESS with value 0

@raphiegg
Copy link
Author

Habe noch ein wenig rum probiert...
Wenn ich die Homebridge starte steht im Home-App zuerst "Wird geöffnet..." bis das irgendwann "keine Antwort" steht.
Wenn ich das Tor über den Taster öffne und die Home-App neu starte erkennt Homekit das das Tor offen ist und ich kann es auch über die Home-App schliessen. Jedoch steht dann wieder ewig "Schliessen..." und wenn ich nun die App neu starte steht wieder "Wird geöffnet...".
Als ob Homekit den geschlossenen Zustand nicht richtig interpretiert.

@thkl
Copy link
Owner

thkl commented Feb 24, 2019

Ja ok das kann ich noch ändern .. wenn der Current und Target state nicht gleich sind interpretiert das HomeKit als öffnend bzw schließend ...

thkl added a commit that referenced this issue Feb 24, 2019
@raphiegg
Copy link
Author

Leider besteht der Fehler immer noch, es verhält sich genau gleich wie vorher.
Sobald die Homebridge gestartet wird steht "Wird geöffnet..." allerdings kommt eine Push-Meldung "Garagentor wurde geschlossen".

Btw vielen Dank für die ganze Arbeit und die schnelle Antwort :)

@thkl
Copy link
Owner

thkl commented Feb 25, 2019

Ok, dann fehlt nur noch der Initiale Query beim Start des Plugins .. bau ich ein

thkl added a commit that referenced this issue Feb 25, 2019
@raphiegg
Copy link
Author

Jetzt habe ich das umgekehrte Problem. Ich starte die Homebridge, Garagentor geschlossen, soweit alles gut. Dann öffne ich es, das funktioniert auch. Aber dann steht ewig "Wird geöffnet" und wenn ich nach einer weile die Home-App verlasse und neu starte habe ich von allen Geräten der Homebridge "Keine Antwort" dann schliesse ich das App erneut und starte es neu. Dann steht beim Garagentor "Schliesst..." und dreht ewig. Erst wenn ich das Tor manuell schliesse und die App neu starte steht wieder "Geschlossen"

@stale
Copy link

stale bot commented Aug 24, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 24, 2019
@stale stale bot closed this as completed Sep 23, 2019
@DanielsCode
Copy link

Hi, gibt es hierzu schon ein Update? Ich überlege mir gerade den HmIP-MOD-TM zukaufen und würde vorher gerne wissen, ob dieser zuverlässig mit homebridge funktioniert.

@googie0815
Copy link

Ich habe es nicht zum laufen bekommen. Das einzige was ging war, dass ich auf öffnen ging, das Tor in kurz Lüftungsstellung ging und sich dann wieder geschlossen hat. Bin aber nur ein Laie

@DanielsCode
Copy link

Danke für deine Rückmeldung. Gibt es noch andere Erfahrungen? Etwas positivere? ;-)

@raphiegg
Copy link
Author

raphiegg commented May 7, 2020

Hallo, ich habe es leider ebenfalls nicht zum laufen bekommen... ich habe es nun mit dem homebridge-http-garagedoor plugin gelöst.

@DanielsCode
Copy link

@thkl hast du eine Idee? Oder lieber gleich auf https://github.com/thkl/homebridge-homematic/wiki/Garagentor ausweichen?

@googie0815
Copy link

@DanielsCode @raphiegg
bei mir läuft es mittlerweile. mein Weg war folgender: CCU3 gekauft, auf dieser redmatic installiert, dort homebridge plugin installiert, in die home aufgenommen und es lief...
was es nicht abbildet ist die Lüftungsstellung. ist jetzt nicht so wichtig aber vielleicht auch ein problem von homekit. öffnen, schließen, licht ein/aus funktioniert

@Baum789
Copy link

Baum789 commented Feb 11, 2022

moin,
ist es mittlerweile möglich auch die Lüftungsstellung mit zu implementieren?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants