Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


Recommended Posts

  • Topic Author
  • Posted (edited)
    5 hours ago, Rover said:

    What is in webEye the meaning of value TBR?

    To Be Received.. when AOQ started this is the initial value of remote controllers. 

    Edited by cag014
  • Topic Author
  • Posted
    7 hours ago, Rover said:

    One AOQ OK, other AOQ (the one with okAct/errAct): 

    Please login or register to see this spoiler.

    Bug fixed

     

    Please login or register to see this attachment.

    Posted
    2 hours ago, cag014 said:

    Bug fixed

     

    Please login or register to see this attachment.

    ? and nice display of okAct/errAct in webEye ?

  • Topic Author
  • Posted (edited)

    To all,

    Something went wrong on forum and my user has been reset!! Have submitted ticket, hope they can restore it.

    Any how, I have a new version which  runs on PC using @jgab HC3 emulator... will totally free your RAM and CPU load, but you'll depend on PC and LAN connection.

    Another advantage, you can run that to try new actions w/o stopping original AOQ that runs on HC3.

    Let me know if anyone interested to use/try it.

     

    Working to have same code on PC to support all controllers (HCL,HC2,HC3)

    Edited by cag014
    • Like 2
    Posted
    13 minutes ago, cag014 said:

    To all,

    Something went wrong on forum and my user has been reset!! Have submitted ticket, hope they can restore it.

    Any how, I have a new version which  runs on PC using @jgab HC3 emulator... will totally free your RAM and CPU load, but you'll depend on PC and LAN connection.

    Another advantage, you can run that to try new actions w/o stopping original AOQ that runs on HC3.

    Let me know if anyone interested to use/try it.

     

    Working to have same code on PC to support all controllers (HCL,HC2,HC3)

    Newbie @cag014 ?

    • Like 1
  • Topic Author
  • Posted (edited)
    7 minutes ago, Rover said:

    Newbie @cag014 ?

    Absolutely, thanks for first reputation point?

    Edited by cag014
    • Like 2
    Posted
    7 hours ago, cag014 said:

    To all,

    Something went wrong on forum and my user has been reset!! Have submitted ticket, hope they can restore it.

    Any how, I have a new version which  runs on PC using @jgab HC3 emulator... will totally free your RAM and CPU load, but you'll depend on PC and LAN connection.

    Another advantage, you can run that to try new actions w/o stopping original AOQ that runs on HC3.

    Let me know if anyone interested to use/try it.

     

    Working to have same code on PC to support all controllers (HCL,HC2,HC3)

    i'm in.

    I have a small test lab with a cluster of 2 intel nuc with vmware, so i can install another vm and use the emulator.

    tnx

    Posted

    Downloading QA from Edge: All-in-One-1 (2).fqa

    Downloading QA from Firefox: All-in-One-1.json ?‍♂️

    Posted
    51 minutes ago, Rover said:

    Downloading QA from Edge: All-in-One-1 (2).fqa

    Downloading QA from Firefox: All-in-One-1.json ?‍♂️

    After reboot Firefox: O.K.

  • Topic Author
  • Posted (edited)
    5 hours ago, Rover said:

    After reboot Firefox: O.K.

    What exactly happened?

    On 1/26/2021 at 8:28 PM, gggizmo said:

    i'm in.

    I have a small test lab with a cluster of 2 intel nuc with vmware, so i can install another vm and use the emulator.

    tnx

    Do you familiar with HC3 emulator by @jgab?

    I just want to know where to start to post the files

    Edited by cag014
    Posted
    On 1/27/2021 at 10:30 PM, cag014 said:

    What exactly happened?

    Do you familiar with HC3 emulator by @jgab?

    I just want to know where to start to post the files

    Nope, i'll try and play with hc3 emulatore on next we

    Posted (edited)
    On 1/27/2021 at 10:30 PM, cag014 said:

    What exactly happened?

    What happened: Downloading QA from Firefox: All-in-One-1.json

     

    Edited by Rover
  • Topic Author
  • Posted (edited)
    On 1/29/2021 at 7:28 AM, gggizmo said:

    Nope, i'll try and play with hc3 emulatore on next we

    Before we start... thanks to @jgab (and others) for amazing HC3 API code...

    OK, let's start

    First of all download and install

    Please login or register to see this link.

     

    Please login or register to see this link.

    Run ZeroBrane, go to Project->Project Dircetory->Choose and create directory for AOR (All-in-One Remote) files.

    Now copy attached files to this directory.

    Open user_data.lua file in ZeroBrane and set all parameters as usual.

    Please note in jSlave table you must to define primary (master) controller, it could be HCL, HC2 or HC3. Devices of master controller are devices w/o suffix.  (340 and not 340'hc2)

    jSlave={

    master={user="xxx",passwd="xxx",ip="xx.xx.xx.xx"}

    }

    Changes from standard AOQ (or AOS)

    1. No need to define System globals to store global variables or reminders, AOR stores the data on local files. Just set true or false.

    2. to view data as HCwebEye, go to project directory and open webEye.html  file (double click and that's all). This file refreshed as usual by AOR (press load page. To force refresh to view latest data (and commands menu), delete the file and AOR will create new updated file in few seconds.

    3. HC2 Virtual devices and their buttons not supported. (yet)

     

    Now open AOR.lua file in ZeroBrane and run it. Press

    Please login or register to see this image.

    /monthly_2021_01/image.png.84b54f68715d94bd5437c73e7bd6d6c6.png" />, to stop press same button again.

    You should see same lines in "Output" window in ZeroBrane

    Please login or register to see this spoiler.

     

    It runs much faster than on HC2 !!???  (Don't know about HC3)

    Please let me know on any problem.

     

    By the way HC3 API creates a web server where you can control devices (HC2 devices works also)

     you can open your web browser at  http://127.0.0.1:6872/web/

     

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Edited by cag014
  • Topic Author
  • Posted

    Few changes in AOR.lua to reduce traffic

    Please login or register to see this attachment.

    Posted

    Hi @cag014! Have you any idea for the devices icon changing in the AOQ?

    Is it possible? For example, if the weather is rainy, change the weather station's icon to an another icon.

  • Topic Author
  • Posted

    No, 

    Do you able to change icon somehow in other way?

    Posted
    3 minutes ago, cag014 said:

    No, 

    Do you able to change icon somehow in other way?

     

    In LUA is it possible?

    Just now, SmartLifeSystems said:

     

    In LUA is it possible?

     

    I thought because the icons also have ID.

  • Topic Author
  • Posted
    7 minutes ago, SmartLifeSystems said:

     

    In LUA is it possible?

     

    I thought because the icons also have ID.

    Yes, it possible...

    Will try to implement that...

    Posted
    1 minute ago, cag014 said:

    Yes, it possible...

    Will try to implement that...

     

    Oh. Thanks!

  • Topic Author
  • Posted (edited)

    @SmartLifeSystems

    Attached version includes an option to change icons of devices and scenes. (HCL, HC2, HC3). The command is setIcon

    Please make sure to provide correct icon ID

    1. device icon must be a number for all controllers.
    2. scene icon should be a number  for HCL and HC2 and Icon name for HC3

    Here an example how to do it in action tables:

    for devices:

    trueAct={"300","setIcon,1010"}

    trueAct={"400'hc2","setIcon,1010"}

    for scenes:

    trueAct=("_35","setIcon,scene_movie"}   --- HC3

    trueAct=("_35'hc2","setIcon,100"} -- HCL,HC2

     

    All standard parameters could be in use (delay,conditions and etc)

     

     

     

    Please login or register to see this attachment.

    Edited by cag014

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...