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


  • 0

(HC3) How changing a device parameters from QA?


Mateo

Question

Hello,

 

Can anyone tell me how changing, from a QA, the devices parameters?

I do have a Neo CoolCam Siren + a Aeon Labs one that I would like to configure from a QA before ringing it.

The idea is to configure it to a gentle music when someone ringing, or as an horrible sound in case of breach or security alert :)

 

I do have tested this, which was natural but that has no impact on the device parameter:

Please login or register to see this code.

 

I have tried to adapt former VD code from HC2, but no way to adapt it :(

Please login or register to see this code.

and i'm then stuck :)

 

looks like i'm sharing the issue (or lets call it "question") with @FBerges

Thanks in advance for any recommendation or QA example :)

 

have a good week end

 

 

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0
Guest kallecux

Hi @Mateo, I did it this way:

 

Please login or register to see this code.

 

Link to comment
Share on other sites

  • 0

Hi @kallecux,

Are you satisfied with the doorbell?

Is  it AEON labs?

Thanks for the QA (My first German on)

//Sjakie

Link to comment
Share on other sites

  • 0

Hello neighbors, Hello to the coast

I had tried to change a CAM siren so that I have a doorbell and an alarm siren depending on the requirements.
As @Mateo wrote fibaro.call (deviceID, "setParameter", 37, 2, 1).
I tried that in all combinations.
At some point I was sure that it was a bug in the firmware.
The admin from https://intuitech.de/intuitech-forum/ then confirmed to me that it is so and that he also sees the error.
A new Betta is currently being tested and I hope that the bug in the release has been fixed.
The CAM siren is still in stock and I am currently using the Aeotec Doorbell 6 AEOEZW162, which works just fine with the HC3.
@kallecux
I hadn't yet implemented your solution to the problem on the screen. Great solution, I'll see if I can get it to work.
Since a release will hopefully come soon, I'm not sure what I'm doing.
Greetings from Germany / Sauerland
Frank

Link to comment
Share on other sites

  • 0
Guest kallecux

Hi @Sjakie, hi @FBerges

 

it's a Neo Coolcam and it meets my requirements.

 

It sounds"DingDong" :-)

 

565730642_neocoolcam2.png.873371a1cf23f51362c498e56108eadd.png

 

Greetings!

Karl Heinz 

Edited by kallecux
Link to comment
Share on other sites

  • 0

Good morning to the coast

The siren I want to use and have already used several times is here:

Please login or register to see this attachment.


I would like to use it for different alarm messages and as a doorbell.
The sound is mediocre but usable.

Greetings from the Sauerland
Frank

PS I also use the German language forum here:

Please login or register to see this link.

Link to comment
Share on other sites

  • 0
  • Inquirer
  • Hi

    @FBerges @JcBorgs @kallecux

     

    Thanks a lot for your ideas and support,

     

    All in now working well and please find attached here a running QA for Aeon Labs Siren Management.

    May be good for the community.

     

    the QA enables to:

    * Chose Volume Level

    * Chose ring

    * Launch templates (door bell, security breach, water flood...)

     

    Please have a quick look on it below. You can also download the fqa.

     

    Please login or register to see this image.

    /monthly_2020_05/image.png.03b1b3d8e779ecc9efd446202bf41d6d.png" />

     

    Regarding the code, i use the following one:

    Please login or register to see this code.

    Thanks all for your support

    will start now NeoCool Cam Siren for a new QA that i will share here :)

     

    take care,

    mathias

    Please login or register to see this attachment.

    • Thanks 1
    Link to comment
    Share on other sites

    • 0

    @Mateo

    Hi
    Thanks for the QA.
    This is all new territory for me and I have never dealt with it.
    What do I have to enter where so that I can try something?
    Sorry for the stupid question but I'm not looking through yet.
    I am happy that I can already cope with the normal LUA to a certain extent and my programming skills are already a bit rusty.
    I haven't programmed for about 30 years and come from Fortran66, Assambler68000 and Basic09 and LUA is still new to me.
    Please help an old man across the street!

    Greetings to the neighboring country
    Frank

    Link to comment
    Share on other sites

    • 0

    Ah now I know why it confused me!
    I have a :

    Please login or register to see this attachment.


    You have a :

    Please login or register to see this attachment.


    So the problems, it took a while.
    I have the following for the devices:

    Please login or register to see this attachment.

     

     

    SORRY


    greeting
    Frank

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • On 5/25/2020 at 5:59 PM, FBerges said:

    @Mateo

    Hi
    Thanks for the QA.
    This is all new territory for me and I have never dealt with it.
    What do I have to enter where so that I can try something?
    Sorry for the stupid question but I'm not looking through yet.
    I am happy that I can already cope with the normal LUA to a certain extent and my programming skills are already a bit rusty.
    I haven't programmed for about 30 years and come from Fortran66, Assambler68000 and Basic09 and LUA is still new to me.
    Please help an old man across the street!

    Greetings to the neighboring country
    Frank

     

     

    hi @FBerges

    i'm still discoring all this also and quite a newbie too :) but all together we will progress :)

     

    you can use the QA code i've shared by saving it on your hard disk, and then adding a new device in HC3, chosing other and then quickapp

    Doing so will enable you to use the code after adapting it a little to integrate your own device id.

    For my own usage, i took the habit never having a device ID in clear into my code but all in one single globalVariable.

    In case of crash and id changes, i only have to update this variable without touching any other scene or QA.

     

    regarding the code used to update the parameter, it's not a call action as you were supposing, if i remember well, but an api one.

    Globally, what you have to write is something close to this:

     

    1. Defining the device Id you want to work on:

    Please login or register to see this code.

     

    2. Preparing a table with all expected information for parameters

    id is the number of the parameter you want to change

    size is the bit syze of the transmitted data

    value is the expected value to change

     

    id, syze and value are specific to all devices, and you will find those information in the device user guide

    Please login or register to see this code.

     

    3. Sending the data through APIs, which looks to be a very extended function of HC3

    Please login or register to see this code.

     

    4. And it's done. for more, you can test the result of the api put:

    Please login or register to see this code.

     

     

    this is basically what i have used in the QA in two main functions (changing siren and volumes) that i'm calling from each button of the QA :)

     

    this is very well working.

     

    regarding your other questions, and for an overall understanding, @jgab has brought to the community fantastic contents. I owe him most of my recent progress.

    Don't hesite to read and follow, he is really helping in his experience :)

     

    Endly, i'm really interested into the aeotec door bell 6. If it works for you, guess i will buy one :)

     

    hope all this help :)

     

    cheers from France, all the best & take care

     

     

    Link to comment
    Share on other sites

    • 0

    Hello @mateo,

    Thanks for sharing!

    If I create  your QA for my doorbell Aeotec it doest work.

    Can you post how to create Home Table in HC3?

    Thanks,

    //Sjakie

    Link to comment
    Share on other sites

    Join the conversation

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

    Guest
    Answer this question...

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