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
25 minutes ago, cag014 said:

OK... misunderstanding.

Now you have two choices to use HC2 devices directly or to use SlaveSwitch/Sensor/Dimmer emualtions.

To my opinion is better to use emulation of devices, I think it's slightly faster and you can see on HC3 UI  HC2 devices (their status and control)

Again... @Rover has the best experience what is better?
@Rover what is your recommendations?

 

I am using SlaveSensors for all D/W sensor devices, because of usability in HC3 alarm zones.

I am using SlaveSensor for motion sensor device and SensorSwitches for the light coupled to these motion sensor. This because of smaller delays.

I am using HC2 actuator devices <device>'hc2 (lights) directly because it spares the effort of making a lot of SlaveSwitches. When going to sleep it takes a long time to turnoff all these lights, but so what. I do not bother because after migration of HC2 devices to HC3, this will be fast.

Status and control of HC2 devices is perfectly visible and operatable from HC2 UI itself.

 

Are the SlaveX-v2 different from the previous optimized version of a few days ago?

  • Topic Author
  • Posted
    31 minutes ago, Sjakie said:

    Sorry I overlooked your question at this moment NO  slave devices

    I want to use the whole HC2 as slave.

    Do I need to use SlaveSwitch also if I use 

    jSlave={ 
           hc2={user=xxxxxxxxx?

    First of all why you're using 240'hc3 ? >>>> your documentation the line with example.

    .//Sjakie

     

    ok see your point. For me I dont mind the speed (at this moment)

    But to see in HC3 the status of the  devices is easy it will take a long time to do the all.

    Advantage I dont need to adapt my rules later?

    If I now add all with name and in Js

     

    //Sjakie

    OK.. so the 240'hc3 belongs to slave HC3? That's OK and correct.

    Regarding what is better slave device or slave controller, to my opinion if slave device is primary device in line - I suggest to use Slave emulation on HC3.

    The reason for that, is when it's emulated then the trigger comes directly from HC3. Otherwise it's scanned by AOQ and some delays could be expected.

     

     

    Posted
    1 hour ago, Rover said:

    I am using SlaveSensors for all D/W sensor devices, because of usability in HC3 alarm zones.

    I am using SlaveSensor for motion sensor device and SensorSwitches for the light coupled to these motion sensor. This because of smaller delays.

    I am using HC2 actuator devices <device>'hc2 (lights) directly because it spares the effort of making a lot of SlaveSwitches. When going to sleep it takes a long time to turnoff all these lights, but so what. I do not bother because after migration of HC2 devices to HC3, this will be fast.

    Status and control of HC2 devices is perfectly visible and operatable from HC2 UI itself.

     

    Are the SlaveX-v2 different from the previous optimized version of a few days ago?

     

    OK, but i migrated all devices to the HC3. I don't use the HC2.

    Posted

    Yep, creating slaves.

    Getting error (35) Item ID 'zoldermechVentLaag' not found in the system.

    here he is?? Whats the error?

    Please login or register to see this image.

    /monthly_2020_10/image.png.070fc2a4f255c5b07079b1a0736623f0.png" />

    image.png.7c3ad1266ded78b805716b663ec2180f.png

     

     

     

    hehe its a verry small error

    My keyboard give other signs

    ` shoiuld be
    ' getting
  • Topic Author
  • Posted (edited)
    16 minutes ago, Sjakie said:

    zoldermechVentLaag

    how it define in jS2n?

    Attached version has more CPU improvements.. now I have same CPU load with or without timeSlots.

    May I ask all users to review jM lines and to optimize as much as possible.

     

    Please login or register to see this attachment.

    Edited by cag014
    Posted
    2 minutes ago, cag014 said:

    how it define in jS2n?

    As it should bezoldermechVentLaag=1079,

    ' was in rule instead of  `

    ER is having ' so mistake of human behind keyboard(as useual)

    hehe 2 simple rules are now in.

    //Sjakie

    Posted
    10 minutes ago, cag014 said:

    how it define in jS2n?

    Attached version has more CPU improvements.. now I have same CPU load with or without timeSlots.

    May I ask all users to review jM lines and to optimize as much as possible.

     

    Please login or register to see this attachment.

    [22.10.2020] [16:48:14] [ERROR] [QUICKAPP66]: QuickApp crashed

    [22.10.2020] [16:48:14] [ERROR] [QUICKAPP66]: mainCode.lua:2: attempt to perform arithmetic on a nil value

  • Topic Author
  • Posted
    3 minutes ago, Rover said:

    [22.10.2020] [16:48:14] [ERROR] [QUICKAPP66]: QuickApp crashed

    [22.10.2020] [16:48:14] [ERROR] [QUICKAPP66]: mainCode.lua:2: attempt to perform arithmetic on a nil value

    ???

    What timeDrift value you have in AOQ global parameters (user_data)?

     

    Posted (edited)
    On 10/21/2020 at 10:04 AM, Rover said:

    Hi cag,

    You are developping a lot on AOQ. Which recent features are (not yet) valid on AOS?

    After migration of HC3 to HC2 I want to move my HC2 to my son abroad, but he is not a sort of developper. So the idea is to start in the house of my son with AOS, while I can develop on my HC3 (using slaves for the HC2) and send him from time to time a new version of AOS.

    How to implement this on a for my son simplest way?

    In HC2 it is not possible to call a scene, outside the alarm response scene, in order to fulfill the disarming when breached. I did it by means of toggling a global parameter, what is working in HC2.

    In AOQ it seams that no such problems are present.

    Does AOS on HC2 has special issues in the light of disarming?

     

     

     

    10 minutes ago, cag014 said:

    ???

    What timeDrift value you have in AOQ global parameters (user_data)?

     

    So the errors are in version 5.3!

     

    timeDrift   = 0  --(seconds) system's time drift.   

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

    In HC2 it is not possible to call a scene, outside the alarm response scene, in order to fulfill the disarming when breached. I did it by means of toggling a global parameter, what is working in HC2.

    In AOQ it seams that no such problems are present.

    Does AOS on HC2 has special issues in the light of disarming?

     

     

     

    So the errors are in version 5.3!

     

    timeDrift   = 0  --(seconds) system's time drift.   

    Works fine for me...

    Do you use $timeDrift in jM lines?

    Posted

    Cag014 I have my complex devided in 20 pieces.

    I will start with one and finish it before to start another.

    Support is needed desperateley! >>>Thanks!!

    I need a few examples to work with and ongoing to pick it up,

    2 issues at the moment:

    one to create a global variable or userkeyword?

    Can we add on this rule or create a new rule?

    Toilet= occupied or free will be used for ventilation in combination with 4 other ventilation needed rooms. Perhaps you will approach different?

    {0,"`toiletdeur`",
      {state="value=true",
      trueAct={{"`toiletSpottoilet`|`zoldermechVentLaag`","turnOn","","{`toiletpir`:value=false}"},{"`toiletSpottoilet`|`zoldermechVentLaag`","turnOff","","{`toiletpir`:value=true}"}}}},
     
    trueact GV= Toilet=Occupied   false=>GV Toilet=Free
    For my light:
    7 days with >>>>different time>>>>hal.locatieGezin = false >>>>>>switch light off on groundfloor  for each off the 4 rooms with delay
    Please assist,
    //Sjakie

     

    Posted
    1 hour ago, cag014 said:

    Do you use $timeDrift in jM lines?

    No

    Posted
    On 10/21/2020 at 10:04 AM, Rover said:

    Hi cag,

    You are developping a lot on AOQ. Which recent features are (not yet) valid on AOS?

    After migration of HC3 to HC2 I want to move my HC2 to my son abroad, but he is not a sort of developper. So the idea is to start in the house of my son with AOS, while I can develop on my HC3 (using slaves for the HC2) and send him from time to time a new version of AOS.

    How to implement this on a for my son simplest way?

    @cag014 ?

    Posted
    2 hours ago, cag014 said:

    Works fine for me...

    Do you use $timeDrift in jM lines?

     

    Oooops. For me too.

    Please login or register to see this attachment.

     

  • Topic Author
  • Posted
    47 minutes ago, Rover said:

    Hi cag,

    You are developping a lot on AOQ. Which recent features are (not yet) valid on AOS?

    After migration of HC3 to HC2 I want to move my HC2 to my son abroad, but he is not a sort of developper. So the idea is to start in the house of my son with AOS, while I can develop on my HC3 (using slaves for the HC2) and send him from time to time a new version of AOS.

    How to implement this on a for my son simplest way?

    I think the best idea is develop on AOQ on your HC3 and then transfer the jM lines to him.

    It's pretty same that what I'm doing right now on my HC3. I have one motion sensor, one switch, one RGBW and one keyFob. Using these devices I can simulate almost every basic scenario...

    Regarding  using slave devices for HC2, you do realize while you develop some solution, it will active "crazy" at his home?

    I do believe you have enough devices on your HC3 to simulate whatever needed on HC2

    11 minutes ago, SmartLifeSystems said:

     

    Oooops. For me too.

    Please login or register to see this attachment.

     

    Use attached

     

    Please login or register to see this attachment.

    Posted (edited)
    5 minutes ago, cag014 said:

    I think the best idea is develop on AOQ on your HC3 and then transfer the jM lines to him.

    It's pretty same that what I'm doing right now on my HC3. I have one motion sensor, one switch, one RGBW and one keyFob. Using these devices I can simulate almost every basic scenario...

    Regarding  using slave devices for HC2, you do realize while you develop some solution, it will active "crazy" at his home?

    I do believe you have enough devices on your HC3 to simulate whatever needed on HC2

    So all your new features in AOQ have also been implemented in AOS 3.1 ???

    Edited by Rover
  • Topic Author
  • Posted (edited)
    4 minutes ago, Rover said:

    So all your new features in AOQ have also been implemented in AOS 3.1 ???

    With few exceptions:

    1. No slave support

    2. Alarm as in HC2 (HC3 has totally different approach)

    3. Verification not supported.

     

    Everything else exactly the same.

    Edited by cag014
    Posted
    11 minutes ago, cag014 said:

    I think the best idea is develop on AOQ on your HC3 and then transfer the jM lines to him.

    It's pretty same that what I'm doing right now on my HC3. I have one motion sensor, one switch, one RGBW and one keyFob. Using these devices I can simulate almost every basic scenario...

    Regarding  using slave devices for HC2, you do realize while you develop some solution, it will active "crazy" at his home?

    I do believe you have enough devices on your HC3 to simulate whatever needed on HC2

    Use attached

     

    Please login or register to see this attachment.

     

    I'am astonished.

    Please login or register to see this attachment.

     

    Posted
    1 minute ago, cag014 said:

    With few exceptions:

    1. No slave support

    2. Alarm as in HC2 (HC3 has totally different approach)

    3. Verification not supported.

     

    Everything else exactly the same.

    But you have added quite a lot in the last period: if/and human reading, rpt, etc., etc.....

  • Topic Author
  • Posted
    1 minute ago, SmartLifeSystems said:

     

    I'am astonished.

    Please login or register to see this attachment.

     

    Finally it looks the same as for others....

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