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

Posted

Dear cag014,

 

First of all I would like to thank you for all you are doing for our community, both through software developments, but also through your support and advice. I really appreciate the effort.

Personally, I have 2 topics that I would need help with:

1.      I would like to use AOQ to send commands to ZenitGatekeeper (Text to speech) application.  I’m using an HC3 controller, I installed the ZenitGatekeeper application on an android tablet that will sit on the wall for Fibaro purposes and I would like to send TTS commands from AOQ to the tablet.

Do you have any code that I could use in AOQ to interact with that TTS application. ? I just found a LUA code for scenes in HC2 in download section

2.      I used a Fibaro double switch2 to control a light. In some circumstances I want to make that light flashing. To be able to do  that I have to change a parameter to switch, in fact to change parameter to the first device associated with, that is invisible, the Z-Wave device.

Unfortunately that kind of device is not recognized by AOQ, even if I make it visible.

Find below the line from JM table:

 {0,"`mSensor`",{state="value=true",trueAct={{"`gardenLightZWAVE`","setConfiguration,10,1,5",""},{"`gardenLight`","turnOn","2"}}}},  

 

Despite existing, the gardenLightZWAVE device (Id=290) is not found in the system.

The error below:

[15.11.2020] [03:43:04] [DEBUG] [AOQ270]:  [15 Nov 03:43:04] AOQ270.jM hash table:8:~: {0, "`mSensor`"...}
{0,"33",{"state"="value=true","trueAct"={{"290","setConfiguration,10,1,5","1"},{"294","turnOn","2"}}}}

(35) Item ID 290 not found in the system.

 

What exactly should I do in order to resolve that issue ?

  • Topic Author
  • Posted (edited)
    24 minutes ago, MBU said:

    What exactly should I do in order to resolve that issue ?

    Could you please post device 290 API?

    use

    http://<hc3-IP>/api.devices/290

    and please use latest AOQ...

     

    Regrading TTS , I'll post tomorrow Quick App for you

    Edited by cag014
    Posted
    15 hours ago, Rover said:

    Question:

     

    {"&Tuinpomp2uur","setGlobal","~?2*60*60?~Uit","if {`Tuinpomp`:value=true}"},

     

    Does the event `Tuinpomp`:value went false before the execution of the setGlobal delay of ~?2*60*60?~ prevents the execution of the setGlobal?

    Or does "if {`Tuinpomp`:value=true}"} only prevent putting "&Tuinpomp2uur","setGlobal","~?2*60*60?~Uit" in the action queue?

    Hi @cag014, please advice.

    Posted
    8 hours ago, cag014 said:

     

    Another try, please download attached.

     

    Please login or register to see this attachment.

     

    I don't understand. The v6.3 is working fine.

    Please login or register to see this attachment.

    Posted (edited)
    19 hours ago, cag014 said:
    23 hours ago, Rover said:

    I see in the AOQ-Remote QA a feature to change the color of the labels when actived, but no color changing to be seen in Web UI and on iPhone.

     

    Thinking about a way to change the color of a AOQ-Remote label from AOQ. In fact just dynamicly changing from grey to red or green. Starting from creating a list of colors for every button in the QA.

    How to realise this?

    What you refer to? buttons color when activated or the label at the top of AOQ_remote?

    In any case:

    1. The buttons color changed by the mobile app. itself (when pressing)

    2. The label color at the top of the screen, is coded in AOQ_Remote. 

    Edited 17 hours ago by cag014

    Please login or register to see this spoiler.

     

    Edited by Rover
    Posted

    I don't know what has happened, but the response time of HC2 devices (no slaves) has grown to about 2 minutes...

    I am using version 7.7.

     

  • Topic Author
  • Posted (edited)
    1 hour ago, Rover said:

    Hi @cag014, please advice.

    The condition will be tested after delay.... before execution.

    1 hour ago, SmartLifeSystems said:

     

    I don't understand. The v6.3 is working fine.

    Please login or register to see this attachment.

    Where from the not AOQ debug lines come?

    could you please post user_data file?

    Edited by cag014
  • Topic Author
  • Posted (edited)

    @MBU

    Attached text to speech QA... please add it to HC3.

     

    Go to user_data file at TTS function section update as follow:

    Please login or register to see this code.

     

    Now you can use tts in AOQ, for example
    {0,"`motion`",{state="value=ture", trueAct={"","tts"," motion sensor breached"}}},
     
    In addition you can also use in AOQ direct call
    {0,"`motion`",{state="value=ture", trueAct={"`zTTS-ID`","zTTS,motion sensor breached,192.168.10.5:8080"}}},
     
    Since on startup tts commands are ignored, I recommend to use first option
    Please make sure to use your tablet IP

     

    Please login or register to see this attachment.

    Edited by cag014
    Posted
    11 hours ago, cag014 said:

     

     

    The line should be like:

    {0,"`mEntree`",{lineState={"{`lSuspensionPressoir`:value=false}"},state="value=true",timeSlot="$sunsetHour~$sunriseHour",trueAct={{"`lSuspensionPressoir`","turnOn",""},{"`lSuspensionPressoir`","turnOff","180"}}}},

     

    This works perfectly! many thanks as usual!!!

    Posted (edited)
    On 11/15/2020 at 10:42 AM, cag014 said:

    The condition will be tested after delay.... before execution.

    Where from the not AOQ debug lines come?

    could you please post user_data file?

     

    That's the heating scene, what do you see.

     

    Here is my user data.

     

    Edited by SmartLifeSystems
    Posted

    Cag, TTS  works properly, you are blilliant :)

     

    Regarding the other topic with the setConfiguration device, I don't  understand what exactly means to post the device API:

     

     

    Could you please post device 290 API?

    use

    http://<hc3-IP>/api.devices/290

    and please use latest AOQ...

     

    I tried in LUA scene and there is not any problem to change the parameter, but AOQ does't recognize the device 290.

     

    Find below the list of devices associated to the physical  device :

    Please login or register to see this attachment.

     

     

     

     

      

    Posted (edited)
    7 hours ago, Rover said:

    I don't know what has happened, but the response time of HC2 devices (no slaves) has grown to about 2 minutes...

    I am using version 7.7.

     

    Somebody is ringing at the door: Notification after 20 minutes ?

    Edited by Rover
  • Topic Author
  • Posted
    51 minutes ago, Rover said:

    Somebody is ringing at the door: Notification after 20 minutes ?

    Wow...

    What kind of notification? what is the jM line

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

    Cag, TTS  works properly, you are blilliant :)

     

    Regarding the other topic with the setConfiguration device, I don't  understand what exactly means to post the device API:

     

     

    Could you please post device 290 API?

    use

    http://<hc3-IP>/api.devices/290

    and please use latest AOQ...

     

    I tried in LUA scene and there is not any problem to change the parameter, but AOQ does't recognize the device 290.

     

    Find below the list of devices associated to the physical  device :

    Please login or register to see this attachment.

     

     

     

     

      

    OK, now I see the problem. device 290 is parent device and could not be used in AOQ.

    Please use 291 instead... let me know if it works

    Edited by cag014
    Posted (edited)
    10 minutes ago, cag014 said:

    OK, now I see the problem. device 290 is parent device and could not be used in AOQ.

    Please use 291 instead... let me know if it works

    I already try that and unfortunately does't work

    I will create a LUA scene and I call it to be executed from AOQ. Or if you have a better idea....

    Please login or register to see this image.

    /monthly_2020_11/image.png.9207b2cf65ccf1a6b4c63b93e06db942.png" />

    Edited by MBU
  • Topic Author
  • Posted
    3 minutes ago, MBU said:

    I already try that and unfortunately does't work

    Please login or register to see this link.

    Please try

    {"291","+setConfiguration,10,1,5"....

    Posted

    Perfect, It's working properly. Thanks a lot for your fast reaction and professional advice

    Posted (edited)
    1 hour ago, cag014 said:

    Wow...

    What kind of notification? what is the jM line

    It took that time between HC2 D/W sensor in doorbell and reaction in AOQ by pushover and Sonos bellsound.

    The same as reaction time between pushing Scenemaster button and wallswitch on/off.

    And reaction time between motion for motion sensor and light on...

    etc.

    All HC2 devices have a huge delay (again, but worse than before).

    All devices are <device>'hc2.

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

    It took that time between HC2 D/W sensor in doorbell and reaction in AOQ by pushover and Sonos bellsound.

    The same as reaction time between pushing Scenemaster button and wallswitch on/off.

    And reaction time between motion for motion sensor and light on...

    etc.

    All HC2 devices have a huge delay (again, but worse than before).

    All devices are <device>'hc2.

    What is HC2 CPU load? Try to reboot HC2..

    Posted
    30 minutes ago, cag014 said:

    What is HC2 CPU load? Try to reboot HC2..

    Please login or register to see this spoiler.

    The HC2 CPU load does not seem a problem, but I will reboot HC2.

    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...