VoxCommando
Deutsche Support => allgemein => Topic started by: Zicke on September 15, 2015, 04:43:08 PM
-
Guten Abend ich bin nochmal, da ich ein Staubsauger Roboter habe wollte ich per Fernbedienung die Codes einspeisen in Vox... wie kann ich zum Beispiel das ich den Befehl über Voxcommando mit UIRT geben, das der 2 mal am Tag saugen soll, einmal um 8 Uhr morgens und einmal um 16 Uhr Mittags ? Gibt es das ein simplen Code ? Bitte um Hilfe.
Danke im Voraus.
-
Welche Marke ist Deine Roboter?
-
Samsung Saugroboter »S Line VR10F71UCBC/EG
:)
-
Ganz nett. :)
So, VoxCommando funktioniert mit das USB-UIRT (http://www.usbuirt.com/)
http://voxcommando.com/mediawiki/index.php?title=Plugin_UsbUIRT
... oder mit Global Caché iTach (z.B. http://www.amazon.com/Global-Cache-WF2IR-iTach-Wi-Fi/dp/B0051BU418)
(über den TCP plugin http://voxcommando.com/mediawiki/index.php?title=Plugin_TCP)
Welche UIRT hast Du?
-
Danke der saugt bis jetzt auch ganz gut ;) also ich habe den USB-UIRT w/additional 56KHz IR Sensor ... muss ich das mit dem VC.SetEventTimer irgendwie hin bekommen ??? aber wo kommt dann die uhrzeit rein wann der saugen soll ... das dumme ist immer das ich bei dem sauger nur ein tag einstellen kann und dann ist alles wieder gelöscht, deswegen der UIRT der kommt da schon ganz gut und später kann ich nur sagen das er die wohnung saugen soll also die hardware ist schon recht praktisch UIRT. Danke nochmals "nime5ter" :) :) :)
-
Wenn Du eine Google / Google Mail-Konto hast, dann ist wahrscheinlich die einfachste Lösung ist, um das GgCal Plugin zu benutzen. http://voxcommando.com/mediawiki/index.php?title=Plugin_GgCal_Guide
Aber, ja, man kann auch VC.SetEventTimer benutzen.
-
Also ich bekomme das irgendwie nicht ganz hin "VC.SetEventTimer" & "Uhrzeit wann es ausgefürt werden soll" ...& Eventname "test"
dann TTS.SpeakSync "irgendwas"
hm... hast evtl. eine xml datei für mich lieb frag :-* :P
-
I can't respond in German. You can use Google Translate, hopefully.
1. These examples assume:
a) you have the USB-UIRT plugin working properly already in VoxCommando.
b) you have already learned the necessary IR codes for your Samsung Vacuum Cleaner and you have tested that these work with the USB-UIRT plugin in VoxCommando.
2. If you just want to schedule the robot for today, then VC.SetEventTimer can work well. I provide an example of how to do that in the command group "Mit VC.SetEventTimer".
a) It requires that you enter the proper IR code to start your vacuum cleaner in the "Send IR code to vacuum cleaner" command.
b) You will have to translate the English commands & TTS messages, of course.
3. If you want to schedule the robot for future times during the week, it is easiest to use a Google Calendar with VoxCommando's GgCal plugin. You will have to enable the plugin, give VoxCommando permission to access your Google Calendar, and then you can:
a) Manually enter events in your Google Calendar at specific times throughout the week. This solution is the most efficient, because you can automatically schedule events to occur regularly every day, week, or month in Google Calendar.
or
b) Add events to your Google Calendar using a voice command. I provide an example in the command group "Mit GgCal plugin".
Make sure that in VoxCommando's GgCal plugin settings you have configured the plugin to regularly scan your Google Calendar for new events. Then VoxCommando will regularly read your calendar, and it will generate a special GgCal Event at each of those times. You can use these VoxCommando events to trigger a command that initiates your vacuum cleaner (see the command example "Start robot (send IR code to vacuum)").
See http://voxcommando.com/mediawiki/index.php?title=Plugin_GgCal_Guide
Command group example "Mit VC.SetEventTimer":
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.0.7-->
<commandGroup open="True" name="Mit VC.SetEventTimer" enabled="True" prefix="" priority="0" requiredProcess="" description="">
<command id="326" name="Start sucking at {1} o'clock" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>OK. Setting robot to run at {1} o'clock</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>VC.SetEventTimer</cmdType>
<params>
<param>{1}:00</param>
<param>Sauger</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<phrase>Robot</phrase>
<phrase>start cleaning at</phrase>
<payloadRange>1,24</payloadRange>
<phrase>o'clock</phrase>
</command>
<command id="342" name="Start cleaning in {1} minutes" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<if ifBlockDisabled="False" ifNot="False">
<ifType>(A)==(B)</ifType>
<ifParams>{2}&&minutes</ifParams>
<then>
<action>
<cmdType>VC.SetEventTimer</cmdType>
<params>
<param>{1}m</param>
<param>Sauger</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>OK. Setting robot to clean in {1} minutes.</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
</then>
<else>
<action>
<cmdType>VC.SetEventTimer</cmdType>
<params>
<param>{1}h</param>
<param>Sauger</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>OK. Setting robot to clean in {1} hours.</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
</else>
</if>
<phrase>Start cleaning in</phrase>
<payloadRange>1,30</payloadRange>
<payloadList>minutes, hours</payloadList>
</command>
<command id="328" name="Send IR code to vacuum cleaner" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>Robot will begin to clean now.</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>UsbUIRT.Send</cmdType>
<params>
<param>Hier gehe die "Pronto code" für initialisieren der Staubsauger Roboter</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<event>Sauger</event>
</command>
</commandGroup>
Command group example "Mit GgCal plugin":
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.0.7-->
<commandGroup open="True" name="Mit GgCal plugin" enabled="True" prefix="" priority="0" requiredProcess="" description="">
<command id="343" name="Set robot to clean {1} at {2} o'clock" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>GgCal.QuickAdd</cmdType>
<params>
<param>Sauger {1} {2}:00</param>
<param>Deine Google Kalender Name</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>Adding an Staubsauger Roboter event to your Google Calendar for {1} at {2}:00.</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<phrase>Initialisieren den Roboter</phrase>
<phrase optional="true">am</phrase>
<payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">payloads\de-en-tage.xml</payloadFromXML>
<phrase>um</phrase>
<payloadRange>6,22</payloadRange>
<phrase>Uhr</phrase>
</command>
<command id="344" name="Start robot (send IR code to vacuum)" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<if ifBlockDisabled="False" ifNot="False">
<ifType>(A)==(B)</ifType>
<ifParams>{1}&&Sauger</ifParams>
<then>
<action>
<cmdType>UsbUIRT.Send</cmdType>
<params>
<param>Hier gehe die "Pronto code" für initialisieren der Staubsauger Roboter</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>The robot will start vacuuming now.</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
</then>
<else />
</if>
<event>ggCal.Event.Deine_Kalender_Name</event>
</command>
</commandGroup>
Attached is the payload xml file that I have used to translate English days of the week to German for the Google Calendar command. For the command to work, this should be placed in your "payloads" folder.
I don't know if the translation is necessary if your Google profile is German, but I think it might be. Maybe some of our German users can test the QuickAdd action and let us know. However, if you manually enter "Sauger" events in your calendar rather than using a voice command, this command is not even necessary.
-
Erstmal Vielen Dank für deine Mühe, werde es bald testen :) und gebe feedback
-
Bitte schön.
-
kann man den uirt 2 mal am pc anschließen ? also die Reichweite reicht nicht von Wohnzimmer bis im anderen raum. in 2 räumen sind verschiedene Geräte, möchte des gerne alles steuern lassen, hat schon jemand Erfahrung mit 2 UIRT´?
Danke
-
Für solche Fälle gibt es IR extender z.B.
http://www.amazon.de/Marmitek-Powermid-XL-Fernbedienungsverlängerung/dp/B000GIXH42/ref=sr_1_8?ie=UTF8&qid=1443266645&sr=8-8&keywords=Ir+Repeater
Wie ist das genau zu verstehen "2 UIRT am PC"? Wenn Du einen zweiten UIRT am PC anschließt, ist dieser doch auch im gleichen Raum?
-
Also ein Uirt ist im Wohnzimmer und ein möchte ich im Schlafzimmer verwenden, da ich zur zeit ein uirt habe, der im Wohnzimmer angeschlossen ist und nicht mit dem senden bis ins Schlafzimmer reicht bräuchte ich quasi noch ein zweiten uirt fürs Schlafzimmer ... aus dem Grund wollte ich fragen ob 2 Uirt angeschlossen werden können, oder kann ich den "Marmitek Powermid XL Fernbedienungsverlängerung" verwenden ? wie du den link geschickt hast.
Lg
-
Dafür kannst du den Marmitek nutzen, er leitet die Befehle vom UIRT einfach weiter.