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)

    OK, now everything is clear, thanks.

    One question - when you're using SlaveSensor how fast it reacts on changes? I mean when you open door, how fast you see the slavesensor icon changes ?

    Looks like when too many SlaveSensor emulated, HC2 response slows down.

    Edited by cag014
  • Topic Author
  • Posted

    Let's try to optimize SlaveSensor

    Please download attached and copy/paste to Lua code of SlaveSensor...

    First try just see if it works correctly and then replace all of them

     

    Please login or register to see this attachment.

    Posted
    6 hours ago, cag014 said:

    Let's try to optimize SlaveSensor

    Please download attached and copy/paste to Lua code of SlaveSensor...

    First try just see if it works correctly and then replace all of them

     

    Please login or register to see this attachment.

    It might be the easiest way first to concentrate at the SlaveSensor motionsensor, because it is a rather closed environment without arming/disarming issues.

    Only the LUA code of this SlaveSensor has been changed.

    Now I count about 10 seconds between moving myself before the sensor and light is getting on.

    Please login or register to see this spoiler.

     

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

    It might be the easiest way first to concentrate at the SlaveSensor motionsensor, because it is a rather closed environment without arming/disarming issues.

    Only the LUA code of this SlaveSensor has been changed.

    Now I count about 10 seconds between moving myself before the sensor and light is getting on.

    Please login or register to see this spoiler.

    This is after Lua code change?

    On my system it reacts less than 1 second.

    What about icon change on HC3 when you move before the sensor?

    Posted (edited)

    Hi cag!

     

    Can you send me a code for the terminal? I use MacBook and the code is in your PDF, don't working the HC WebEye. :(

     

    Thanks!

    Edited by SmartLifeSystems
  • Topic Author
  • Posted

    Code of hcWebEye?

    It is java script code and not pdf

    Posted
    3 minutes ago, cag014 said:

    Code of hcWebEye?

    It is java script code and not pdf

     

     

    No. I think what is in your HcWebEye user manual PDF. That's code should copy-paste to the terminal. Isn't it?

    Posted
    9 minutes ago, cag014 said:

    This is after Lua code change?

    On my system it reacts less than 1 second.

    What about icon change on HC3 when you move before the sensor?

    Yes, after LUA code change.

    The icon on HC3 changes very fast when I move before the sensor, but then it takes about 10 seconds before lights on.

  • Topic Author
  • Posted
    4 hours ago, SmartLifeSystems said:

     

     

    No. I think what is in your HcWebEye user manual PDF. That's code should copy-paste to the terminal. Isn't it?

    Hope that's what you need

    Please login or register to see this link.

    Please login or register to see this link.

    For achieving the same on mac system, for chrome browser use the following command on terminal:

    open -n -a /Applications/Google\ Chrome.app --args --user-data-dir="/tmp/someFolderName" --disable-web-security

    4 hours ago, Rover said:

    Yes, after LUA code change.

    The icon on HC3 changes very fast when I move before the sensor, but then it takes about 10 seconds before lights on.

    So the command on HC3 executed fast, but HTTP to turn on light on HC2 takes time...?

    Can you turn ON other device which is on HC3, just to verify that the issue is communication to HC2

    Posted (edited)
    29 minutes ago, cag014 said:

    Hope that's what you need

    Please login or register to see this link.

     

    For achieving the same on mac system, for chrome browser use the following command on terminal:

     

    open -n -a /Applications/Google\ Chrome.app --args --user-data-dir="/tmp/someFolderName" --disable-web-security

     

    So the command on HC3 executed fast, but HTTP to turn on light on HC2 takes time...?

    Can you turn ON other device which is on HC3, just to verify that the issue is communication to HC2

     

    Complicated:

    In the last version of SlaveSensor the icon has been vanished, so I cannot give that information.

    But besides of the 2 HC2 steered lights my only HC3 device (wallplug) is turned on and off with the other two.

    Result:

    • When I move before the sensor, after about 5 seconds the HC3 device is getting on and about 5 seconds later the HC2 steered lights are getting on.
    • When sensor is getting false, (maybe, I cannot verify with looking at icon) after about 5 seconds the HC3 device is getting off and about 5 seconds later (that is sure) the HC2 steered lights are getting off.
    Edited by Rover
    Posted

    Guys, just for in formation:

    Cag the slaveSensor/switch is great!!

    20-25 slave devices import from HC2 into HC3

    HC2 is slowing down a fraction

    HC3 arming 7 zones( I dont have sensor in 2 zones there for I created a kind of common zone)

    HC3 respond fast on arming and breaching almost directly

    On HC3 AOS and toiletlight with HUE

    Unfortuannaly HC3 crashed so its now only HUE and two sensors.

    Awaiting Fibaro answer,

    //Sjakie

     

    Posted

    Riddle:

    After days of good behavior Pushover do no function from AOQ, it does work from HC2 and from HC3 scene.

    Please login or register to see this spoiler.

     

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

    Riddle:

    After days of good behavior Pushover do no function from AOQ, it does work from HC2 and from HC3 scene.

    Please login or register to see this spoiler.

    What? Did you updated the pushover QA. Looks like missing function Send_Pushover !???

    Can you see in QA QuickApp:Send_Pushover?

    How it works from HC2?

    Edited by cag014
    Posted
    2 minutes ago, cag014 said:

    What? Did you updated the pushover QA. Looks like missing function Send_Pushover !???

    It has worked very good.

    Please login or register to see this spoiler.

     

    Please login or register to see this attachment.

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

    It has worked very good.

    Please login or register to see this spoiler.

    Yeap, as I though it's now Send_pushOver

    Posted
    2 hours ago, Rover said:

     

    Complicated:

    In the last version of SlaveSensor the icon has been vanished, so I cannot give that information.

    But besides of the 2 HC2 steered lights my only HC3 device (wallplug) is turned on and off with the other two.

    Result:

    • When I move before the sensor, after about 5 seconds the HC3 device is getting on and about 5 seconds later the HC2 steered lights are getting on.
    • When sensor is getting false, (maybe, I cannot verify with looking at icon) after about 5 seconds the HC3 device is getting off and about 5 seconds later (that is sure) the HC2 steered lights are getting off.

    I must say that HC2 is not really relaxed...

    Please login or register to see this spoiler.

     

    Posted
    2 hours ago, cag014 said:

    Hope that's what you need

    Please login or register to see this link.

     

    For achieving the same on mac system, for chrome browser use the following command on terminal:

     

    open -n -a /Applications/Google\ Chrome.app --args --user-data-dir="/tmp/someFolderName" --disable-web-security

     

    So the command on HC3 executed fast, but HTTP to turn on light on HC2 takes time...?

    Can you turn ON other device which is on HC3, just to verify that the issue is communication to HC2

     

    What i did wrong?

     

    Please login or register to see this attachment.

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

    I must say that HC2 is not really relaxed...

    Please login or register to see this spoiler.

    It's very confused, from one hand @Sjakie reports fast response with 20-25 slaves and in your case it takes 5 seconds just to identify state change...

    Posted (edited)
    7 minutes ago, SmartLifeSystems said:

     

    What i did wrong?

     

    Please login or register to see this attachment.

     

    OK, i was the idiot. Working fine. :)

    Thanks your help!

    Edited by SmartLifeSystems
  • Topic Author
  • Posted
    2 minutes ago, SmartLifeSystems said:

     

    What i did wrong?

     

    Please login or register to see this attachment.

     

    7 minutes ago, SmartLifeSystems said:

     

    What i did wrong?

     

    Please login or register to see this attachment.

    Looks OK... this is Chrome, right?

    Could you try following solution...

     

    1 minute ago, SmartLifeSystems said:

     

    OK, i was the idiot. Working fine. :)

    Thanks your help!

    Ok, I'll not ask...?

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