Use Siri to control HomeMatic
Moderator: Co-Administratoren
Use Siri to control HomeMatic
Hello
I own an Iphone and I wanted to control my HomeMatic devices using Siri. After searching I came across a solution named SiriProxy. It allows me to customize actions based on voice commands I make in a very simple way.
What you need:
- Iphone 4s
- Linux server in your network
- Knowledge installing and configuring linux packages
Instead of using dedicated linux server I installed SiriProxy onto my Synology DS211 NAS. These are the basic steps to make it work:
- Install Siriproxy
- Configure local DNS so that it redirects Siri calls to SiriProxy server
- Install SiriProxy certificate in your Iphone 4s
- Create new or customize sample plugin to listen to your voice commands
All steps are documented on SiriProxy page: https://github.com/plamoni/SiriProxy.
Example of plugin script (I am using XML API to change variable state):
listen_for /alarm off/i do
open("http://<homematic CCU IP>/config/xmlapi/statechange.cgi?ise_id=2712&new_value=1")
say "Homematic alarm is off!"
request_completed
end
Enjoy!
Tomaz, Slovenia
I own an Iphone and I wanted to control my HomeMatic devices using Siri. After searching I came across a solution named SiriProxy. It allows me to customize actions based on voice commands I make in a very simple way.
What you need:
- Iphone 4s
- Linux server in your network
- Knowledge installing and configuring linux packages
Instead of using dedicated linux server I installed SiriProxy onto my Synology DS211 NAS. These are the basic steps to make it work:
- Install Siriproxy
- Configure local DNS so that it redirects Siri calls to SiriProxy server
- Install SiriProxy certificate in your Iphone 4s
- Create new or customize sample plugin to listen to your voice commands
All steps are documented on SiriProxy page: https://github.com/plamoni/SiriProxy.
Example of plugin script (I am using XML API to change variable state):
listen_for /alarm off/i do
open("http://<homematic CCU IP>/config/xmlapi/statechange.cgi?ise_id=2712&new_value=1")
say "Homematic alarm is off!"
request_completed
end
Enjoy!
Tomaz, Slovenia
- anli
- Beiträge: 4326
- Registriert: 10.06.2009, 14:01
- Wohnort: 20 Min. nördlich von Hannover und bei Bremen
- Hat sich bedankt: 1 Mal
- Danksagung erhalten: 23 Mal
- Kontaktdaten:
Re: Use Siri to control HomeMatic
Thank you! Very cool! Maybe we can move this thread to the "tips & tricks" section of this board where only hints are posted
Herzliche Grüße, anli
Alle Angaben ohne Gewähr und Haftung meinerseits. Verwendung der von mir zur Verfügung gestellten Downloads auf eigene Gefahr. Ich bitte um Verständnis, dass ich aus zeitlichen Gründen keine unaufgeforderte Hilfestellung per PN/Mail geben kann. Bitte allgemeine Fragen ins Forum stellen, hier können viele fähige User viel schneller helfen.
Homematic-Manager v2: einfaches Tool zum Erstellen von Direktverknüpfungen und Bearbeiten von Gerätenamen, -parametern etc. für Homematic und HomematicIP (Alternative diesbzgl. zur WebUI)
Einsteiger-Hilfe • erweiterter Skript-Parser
Alle Angaben ohne Gewähr und Haftung meinerseits. Verwendung der von mir zur Verfügung gestellten Downloads auf eigene Gefahr. Ich bitte um Verständnis, dass ich aus zeitlichen Gründen keine unaufgeforderte Hilfestellung per PN/Mail geben kann. Bitte allgemeine Fragen ins Forum stellen, hier können viele fähige User viel schneller helfen.
Homematic-Manager v2: einfaches Tool zum Erstellen von Direktverknüpfungen und Bearbeiten von Gerätenamen, -parametern etc. für Homematic und HomematicIP (Alternative diesbzgl. zur WebUI)
Einsteiger-Hilfe • erweiterter Skript-Parser
-
- Ehrenmitglied
- Beiträge: 12194
- Registriert: 29.07.2006, 15:58
- Wohnort: Schweiz
- Danksagung erhalten: 5 Mal
Re: Use Siri to control HomeMatic
... doneanli hat geschrieben:Thank you! Very cool! Maybe we can move this thread to the "tips & tricks" section of this board where only hints are posted
regards
Bümpi
Re: Use Siri to control HomeMatic
Hy, hört sich super an, kann es jemand eventuell etwas ausführlicher und wenn möglich eine Anleitung auf Deutsch für etwas weniger versierte Benutzer machen, das wäre grossartig!
Danke schon im voraus
Danke schon im voraus
System: Raspberry Matic 3.43.15.20190223, 2 Lan-Gateways, 103 Geräte, 63 Programme
-
- Beiträge: 50
- Registriert: 01.04.2010, 00:26
Re: Use Siri to control HomeMatic
Alternative für ältere Geräte ohne Jailbreak:
Programm Voice Activator installieren. Damit kann man der normalen Sprachsteuerungsbefehle hinzufügen zu Standard-Repertoire.
Innerhalb von Voice Activator dann ide URL eingeben, die bei der CCU aufgerufen werden soll (ähnlich wget).
Funktioniert wunderbar.
Gegebenenfalls mit Hands-Free, dann reagiert der Ipod auf ein Stichwort und ruft die Sprachfunktion dann selbst auf, ohne dass man eine Taste drücken muss.
Liebe Grüße
Stefan
Programm Voice Activator installieren. Damit kann man der normalen Sprachsteuerungsbefehle hinzufügen zu Standard-Repertoire.
Innerhalb von Voice Activator dann ide URL eingeben, die bei der CCU aufgerufen werden soll (ähnlich wget).
Funktioniert wunderbar.
Gegebenenfalls mit Hands-Free, dann reagiert der Ipod auf ein Stichwort und ruft die Sprachfunktion dann selbst auf, ohne dass man eine Taste drücken muss.
Liebe Grüße
Stefan
----------------------------------------
1x HM-RC-19, 4x HM-RC-4, 1x HM-PB-2-WM, 1x HM-CCU-1, 1x HM-LC-Sw4-PCB, 1x HM-PB-4-WM, 1x HM-PB-4Dis-WM, 1x HM-Sec-SD, 1x HM-Sec-SD-Team, 11x HM-Sec-SC, 4x HM-LC-Dim1L-Pl, 16x HM-LC-Sw1-Pl, 2x HM-WDS40-TH-I, 2x HM-SwI-3-FM, 1x HM-PBI-4-FM
1x HM-RC-19, 4x HM-RC-4, 1x HM-PB-2-WM, 1x HM-CCU-1, 1x HM-LC-Sw4-PCB, 1x HM-PB-4-WM, 1x HM-PB-4Dis-WM, 1x HM-Sec-SD, 1x HM-Sec-SD-Team, 11x HM-Sec-SC, 4x HM-LC-Dim1L-Pl, 16x HM-LC-Sw1-Pl, 2x HM-WDS40-TH-I, 2x HM-SwI-3-FM, 1x HM-PBI-4-FM
Re: Use Siri to control HomeMatic
Hallo Stefan,
VoiceActivator gibt es anscheinend nur mit Jailbreak,
VoiceActivator gibt es anscheinend nur mit Jailbreak,
Gruß
Sven
(aktuell ca. 200 HomeMatic Funk Aktoren und Sensoren und einigen Hundert Kanälen mit steigender Tendenz)
Sven
(aktuell ca. 200 HomeMatic Funk Aktoren und Sensoren und einigen Hundert Kanälen mit steigender Tendenz)
Re: Use Siri to control HomeMatic
Hi,
in the official Synology Forum i found this step by step Installation Guide:
http://forum.synology.com/enu/viewtopic ... 71#p188371
I follow the instructions, but i have a Problem with the Python ctypes.
in the official Synology Forum i found this step by step Installation Guide:
http://forum.synology.com/enu/viewtopic ... 71#p188371
I follow the instructions, but i have a Problem with the Python ctypes.
-
- Beiträge: 1464
- Registriert: 27.06.2010, 01:01
- Wohnort: Braunschweig
- Hat sich bedankt: 4 Mal
Re: Use Siri to control HomeMatic
Does the CCU fit?tomazmla hat geschrieben: ...
- Linux server in your network
...
--------------------------------------------
Im Einsatz und empfehlenswert:
RaspberryMatic,IO.Broker, Homeputer Studio; CuXD; PocketControl, HomeStatus, Robonect, Alexa, io.Broker
------------------------------------------
Im Einsatz und empfehlenswert:
RaspberryMatic,IO.Broker, Homeputer Studio; CuXD; PocketControl, HomeStatus, Robonect, Alexa, io.Broker
------------------------------------------
Re: Use Siri to control HomeMatic
I didn't try. If you can Install these packages it might:Does the CCU fit?
- ipkg and then:
- ipkg install optware-devel
- ipkg install git
- ipkg install openssl
-ipkg install gcc
- ipkg install openssl-dev
- bash
- curl
- rvm (use this command: curl -L https://get.rvm.io | bash -s stable --ruby)
- siriproxy (make /root/SiriProxy dir and run: git clone git://github.com/plamoni/SiriProxy.git)
Some libraries need to bi fixed (commands I used for Synology):
cp /opt/arm-none-linux-gnueabi/lib/libpthread-2.5.so /opt/arm-none-linux-gnueabi/lib/libpthread-2.5.so.bk
cp /lib/libpthread.so.0 /opt/arm-none-linux-gnueabi/lib/libpthread-2.5.so
cp /opt/lib/libssl.so.0.9.8 /opt/arm-none-linux-gnueabi/lib
cp /opt/lib/libssl.so.0.9.8 /lib
cp /opt/lib/libcrypto.so.0.9.8 /lib
Here are some resources that helped me:
- https://github.com/plamoni/SiriProxy/issues/137
- http://www.synology-forum.de/archive/in ... 530a068b7a
Hope this helps
Regards, Tomaz