Author Topic: UIRT Empfänger / Sender  (Read 5006 times)

0 Members and 1 Guest are viewing this topic.

Zicke

  • $upporter
  • Jr. Member
  • *****
  • Posts: 13
  • Karma: 0
    • View Profile
UIRT Empfänger / Sender
« 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.

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 1999
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: UIRT Empfänger / Sender
« Reply #1 on: September 15, 2015, 05:01:56 PM »
Welche Marke ist Deine Roboter?
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

Zicke

  • $upporter
  • Jr. Member
  • *****
  • Posts: 13
  • Karma: 0
    • View Profile
Re: UIRT Empfänger / Sender
« Reply #2 on: September 15, 2015, 05:34:00 PM »
Samsung Saugroboter »S Line VR10F71UCBC/EG
:)
« Last Edit: September 15, 2015, 05:38:01 PM by Zicke »

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 1999
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: UIRT Empfänger / Sender
« Reply #3 on: September 15, 2015, 06:19:26 PM »
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?
« Last Edit: September 15, 2015, 06:54:24 PM by nime5ter »
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

Zicke

  • $upporter
  • Jr. Member
  • *****
  • Posts: 13
  • Karma: 0
    • View Profile
Re: UIRT Empfänger / Sender
« Reply #4 on: September 15, 2015, 06:35:42 PM »
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"  :) :) :)

« Last Edit: September 15, 2015, 06:37:43 PM by Zicke »

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 1999
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: UIRT Empfänger / Sender
« Reply #5 on: September 15, 2015, 07:17:17 PM »
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.
« Last Edit: September 16, 2015, 01:14:30 PM by nime5ter »
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

Zicke

  • $upporter
  • Jr. Member
  • *****
  • Posts: 13
  • Karma: 0
    • View Profile
Re: UIRT Empfänger / Sender
« Reply #6 on: September 15, 2015, 08:05:19 PM »
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
« Last Edit: September 16, 2015, 05:11:19 AM by Zicke »

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 1999
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: UIRT Empfänger / Sender
« Reply #7 on: September 16, 2015, 09:24:10 AM »
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":
Code: [Select]
<?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}&amp;&amp;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":
Code: [Select]
<?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}&amp;&amp;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.
« Last Edit: September 16, 2015, 10:38:18 AM by nime5ter »
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

Zicke

  • $upporter
  • Jr. Member
  • *****
  • Posts: 13
  • Karma: 0
    • View Profile
Re: UIRT Empfänger / Sender
« Reply #8 on: September 16, 2015, 04:28:46 PM »
Erstmal Vielen Dank für deine Mühe, werde es bald testen  :) und gebe feedback

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 1999
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: UIRT Empfänger / Sender
« Reply #9 on: September 16, 2015, 04:48:01 PM »
Bitte schön.
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

Zicke

  • $upporter
  • Jr. Member
  • *****
  • Posts: 13
  • Karma: 0
    • View Profile
Re: UIRT Empfänger / Sender
« Reply #10 on: September 26, 2015, 07:57:52 AM »
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

Kalle

  • Moderator
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: UIRT Empfänger / Sender
« Reply #11 on: September 26, 2015, 08:29:04 AM »
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?
***********  get excited and make things  **********

Zicke

  • $upporter
  • Jr. Member
  • *****
  • Posts: 13
  • Karma: 0
    • View Profile
Re: UIRT Empfänger / Sender
« Reply #12 on: September 26, 2015, 10:12:11 AM »
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

Kalle

  • Moderator
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: UIRT Empfänger / Sender
« Reply #13 on: September 26, 2015, 12:15:23 PM »
Dafür kannst du den Marmitek nutzen, er leitet die Befehle vom UIRT einfach weiter.
« Last Edit: September 27, 2015, 02:48:38 AM by Kalle »
***********  get excited and make things  **********