Created At

Aug 25, 2021

Last Update

Sep 06, 2021

Platforms

Yubii Home Pro, HC 3

Views

643

Download

33

Type Quick App

  • Version:
    • v1.0 (Documentation available, Power buttons, temperature slider) 09/08/2021
    • v1.1 (Fixed device Type and Icon, minor improvements) 25/08/2021
  • Additional Hardware required (ATTENTION!)
    • IR emitter device, like Global Cache or Blastbot
  • Functions
    • ON and OFF discrete
    • Temperature selection via Slider
  • How to configure

To use that device you need to access your Home Center at your browser, and go to:

Settings > Devices > Click at the "+" blue icon, at the top right corner > Other Devices > Upload File

At General Tab of the device select Role "Air Conditioner, category "Climate", and select the Icon you wish (there is already a default Air Conditioning icon on the gateway, you can select it)

  1. Configure the "ip" and "port" variables of this QuickApp, to do so click on the "Variables" tab of this QuickApp.
    • Keep the "ip" name of the variable, change only its value, with the IP of your IR emitting device
    • Also change the "port" variable, set the TCP port used in your emitter to the value, most common products:
      • Blastbot: 9999
      • Global Caché: 4998 
  2. Also configure the strings to be sent to your emitter, in the example below the strings to send commands to Elgin brand Air Conditioner were configured, if you use another brand, you must learn the command and insert it between quotation marks " " in the code, so that the entire string turns blue.

     Also note that depending on the IR device, the structure of the String may be different.

     Blastbot uses the following structure:

     37993,1,1,125,61,16,15,16,15,16,46,16,15,16,46,16,15,16,15,16,15,16,46,16,46, 16,15,16,15,16,15,16,46,16,46,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16, 15,16,15,16,15,16,15,16,15,16,15,16,46,16,15,16,15,16,15,16,15,16,15,16,15, 16,15,16,46,16,15,16,15,16,15,16,15,16,46,16,46,16,46,16,46,16,46,16,46,16, 46,16,46,16,15,16,15,16,46,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15, 16,46,16,46,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,46,16,15,16,15,16, 46,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,46,16,15,16,15,16,15, 16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16, 15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15, 16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,46,16,15,16,15,16,46,16,15,16, 46,16,46,16,15,16,15,16,15,16,46,16,37990x0D0x0A

     While Global Caché uses the following pattern:

    send,1:1,0,37993,1,1,125,61,16,15,16,15,16,46,16,15,16,46,16,15,16,15,16,15,16,46,16,46,16,15,16,15,16,15,16,46,16,46,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16, 15,16,15,16,15,16,15,16,15,16,15,16,46,16,15,16,15,16,15,16,15,16,15,16,15, 16,15,16,46,16,15,16,15,16,15,16,15,16,46,16,46,16,46,16,46,16,46,16,46,16, 46,16,46,16,15,16,15,16,46,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15, 16,46,16,46,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,46,16,15,16,15,16, 46,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,46,16,15,16,15,16,15, 16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16, 15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15, 16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,46,16,15,16,15,16,46,16,15,16, 46,16,46,16,15,16,15,16,15,16,46,16,37990x0D0x0A

    Remembering that the number after the colon(:) is the Global Caché emmiter port (P2 female jack)

  3. If you need to add/remove temperature degrees you need to implement the "IF-ELSE" structure between lines 75 and 113

If you have any suggestion leave at the comments. Enjoy it!

0 Comments,  Want to add comment please login
Load more comments
© 2024. Nice-Polska Sp. z o.o.Privacy policyTerms & ConditionsFeedback