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
    2 hours ago, Rover said:

    This does not work:

    Please login or register to see this spoiler.

    Honestly never thought that few variables need to be set to same value, but nice idea. Will be included in next Release.

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

    What about this puterror?

    Please login or register to see this spoiler.

    Wow... It means the timeout of 8 seconds ! has occurred...

    Is your HC2 runs on high CPU or/and RAM?

    In any case for next release I will increase the delay to 25  seconds. It should not cause any delays on other actions.

    Posted
    3 minutes ago, cag014 said:

    Wow... It means the timeout of 8 seconds ! has occurred...

    Is your HC2 runs on high CPU or/and RAM?

    In any case for next release I will increase the delay to 25  seconds. It should not cause any delays on other actions.

    HC2 CPU: average 2% with spikes of 30%

    HC2 RAM : 40% occupied,

    The timeout happens only on initiation after a change in AOQ, so what ?

  • Topic Author
  • Posted
    13 hours ago, Rover said:

    HC2 CPU: average 2% with spikes of 30%

    HC2 RAM : 40% occupied,

    The timeout happens only on initiation after a change in AOQ, so what ?

    OK, I have noticed that this indeed happened when you start AOQ if previous run has an error.....

    I'm tracing that, but yet didn't find any reason for that...

    Posted

    So at last i figured out the cause of high cpu load on my HC3 system. It's not a single element:

     

    1) 1 defective fibaro motion sensor. It' was spamming report every 5 seconds. No way to fix this beahvior, rset, reconfigure. I tried a spare one and spam report it's gone

    2) zwave network topology of my system: i have a fibaro fgs-223 acting as repeater, to drive zwave devices in my garage lab. Traffic routed via this node create cpu spikes ( just1 sec. of high cpu)

    3) 4 wall tablet i use for monitoring and acting on several devices. I used imperyhome in the past, and now i'm using homeremote. So when i use this app cpu spikes near 100%. Maybe i designed a wrong layout, i don't know at the moment i'm investigating.

     

     

    {0,"`mbagno`",{state="value=true",trueAct={"`lbagno`","turnOn","","{`luxbagno`:value<15}"},falseAct={"`lbagno`","turnOff","90","{`mbagno`:value=false|`pbagno`:value=true}"}}},
     
    {0,"`mbagno`",{state="value=true",trueAct={"`lbagno`","turnOn","","{`luxbagno`:value<15}"},falseAct={"`lbagno`","turnOff","90","{`mbagno`:value=false|`pbagno`:value=true|`lbagno`:value=true}"}}},
     
    CAg what do you think of second line? maybe before sending turnoff command check if light is on?
    Posted
    3 hours ago, cag014 said:

    OK, I have noticed that this indeed happened when you start AOQ if previous run has an error.....

    Not if previous run has an error, but if I made a change (also without previous error).

    Posted

    cag please compare this 2 jm matrix.

    Why the second one raise cpu load and introduce 1-3 seconds delay. What i'm dooing wrong?

     

    jM={
    {0,"$24clock",{state="value=04:00",lineState={"{&sprinkler:value=true}"},trueAct={{"`lineadx`","turnOn",""},{"`lineadx`","turnOff","1800"},{"`lineasxb`","turnOn","1770"},{"`lineasxb`","turnOff","3570"},{"`lineasxt`","turnOn","3540"},{"`lineasxt`","turnOff","5340"},{"`lineacx`","turnOn","5310"},{"`lineacx`","turnOff","8910"}}}},
    {0,"`lineadx`|`lineasxt`|`lineasxb`|`lineacx`",{state="value=true",lineState={"{&sprinkler:value=true}"},trueAct={"`pompa`","turnOn",""},falseAct={"`pompa`","turnOff","","={`lineadx`:value=false|`lineasxt`:value=false|`lineasxb`:value=false|`lineacx`:value=false}"}}},     
    {0,"`tlab`",{state="value>25",lineState={"{&cooling:value=true}"},timeSlot="08:00~20:00",trueAct={{"`climalab`","setThermostatMode,Cool",""},{"`climalab`","setThermostatFanMode,AutoMedium",""},{"`climalab`","setCoolingThermostatSetpoint,24",""},{"`climalab`","setThermostatMode,Off","","{`tlab`:value<23}"}}}},
    {0,"$24clock",{state="value=20:05",lineState={"{&cooling:value=true}"},trueAct={"`climalab`","setThermostatMode,Off",""}}},
    {0,"`tlaura`|`tjacopo`",{state="value<18",lineState={"{&heating:value=true}"},timeSlot="16:30~21:55,~22:00",trueAct={"`caldaia`","turnOn",""},falseAct={"`caldaia`","turnOff",""}}},
    {0,"$24clock",{state="value=05:00",lineState={"{&heating:value=true}"},timeSlot="~07:00",trueAct={"`caldaia`","turnOn",""},falseAct={"`caldaia`","turnOff",""}}},
    {0,"$24clock",{state="value=07:30",lineState={"{&vmc:value=true}"},timeSlot="~14:00",trueAct={"`vmcs`","turnOn",""},falseAct={"`vmcs`","turnOff",""}}},
    {0,"`track`",{state="value>38",trueAct={{"`vrack`","turnOn",""},{"`vrack`","turnOff","1800"}}}},
    {0,"`plab`",{state="value=true",trueAct={"`llab`","turnOn","","{`luxlab`:value<15}"}}},  
    {0,"`mlab`",{state="value=true",falseAct={"`llab`","turnOff","120","{`plafonieralab`:value=false}"}}},
    {0,"`mportoncino`|`mscala`|`pingresso`",{state="value=true",trueAct={"`lscala`","turnOn","","{`luxscala`:value<15}"},falseAct={"`lscala`","turnOff","64","={`mscala`:value=false|`mportoncino`:value=false|`pingresso`:value=false}"}}},
    {0,"`pbagno`",{state="value=true",falseAct={"`stufabagno`","turnOn",""},trueAct={"`stufabagno`","turnOff","0"}}},
    {0,"`mbagno`",{state="value=true",trueAct={"`lbagno`","turnOn","","{`luxbagno`:value<15}"},falseAct={"`lbagno`","turnOff","60","{`mbagno`:value=false|`pbagno`:value=true}"}}},
    {0,"`mantibagno`|`mantibagnetto`",{state="value=true",trueAct={"`lantibagno`","turnOn",""},falseAct={"`lantibagno`","turnOff","30"}}},
    {0,"`mbagnetto`",{state="value=true",trueAct={"`lbagnetto`","turnOn","","{`luxbagnetto`:value<15}"},falseAct={"`lbagnetto`","turnOff","60","{`mbagnetto`:value=false}"}}},
    {0,"`ibagnetto`",{state="centralSceneSupport=1.Pressed",trueAct={"`lbagnetto`","turnOff;else;turnOn","","{`lbagnetto`:value=true}"}}},
    {0,"`ibagnetto`",{state="centralSceneSupport=3.Pressed",trueAct={"`lbagnetto`","turnOff;else;turnOn","","{`lbagnetto`:value=true}"}}},
    {0,"`ibagnetto`",{state="centralSceneSupport=2.Pressed",trueAct={"`sbagnetto`","turnOff;else;turnOn","","{`sbagnetto`:value=true}"}}},
    {0,"`ibagnetto`",{state="centralSceneSupport=4.Pressed",trueAct={"`sbagnetto`","turnOff;else;turnOn","","{`sbagnetto`:value=true}"}}}, 
    {0,"`rcamera`",{state="centralSceneSupport=dummy",trigAct={"`lcamera`","turnOff;else;setValue,100","","{`lcamera`:value>0}"}}},  
    {0,"`isoggiorno`",{state="centralSceneSupport=1.Pressed",trueAct={"`lsoggiorno`","turnOff;else;setValue,100","","{`lsoggiorno`:value>0}"}}},
    {0,"`isoggiorno`",{state="centralSceneSupport=2.Pressed",trueAct={{"`piantanaalta`","+changeBrightness,255",""},{"`piantanaalta`","turnOff;else;turnOn","","{`piantanaalta`:on=true}"}}}},
    {0,"`isoggiorno`",{state="centralSceneSupport=3.Pressed",trueAct={{"`piantanadivano`","+changeBrightness,255",""},{"`piantanadivano`","turnOff;else;turnOn","","{`piantanadivano`:on=true}"}}}},
    {0,"`isoggiorno`",{state="centralSceneSupport=4.Pressed",trueAct={{"`piantanabassa`","+changeBrightness,255",""},{"`piantanabassa`","turnOff;else;turnOn","","{`piantanabassa`:on=true}"}}}},  
    {0,"`icucina`",{state="centralSceneSupport=1.Pressed",trueAct={"`lcottura`","turnOff;else;turnOn","","{`lcottura`:value=true}"}}},
    {0,"`icucina`",{state="centralSceneSupport=3.Pressed",trueAct={"`lcottura`","turnOff;else;turnOn","","{`lcottura`:value=true}"}}},
    {0,"`icucina`",{state="centralSceneSupport=2.Pressed",trueAct={{"`lcucina`","+changeBrightness,255",""},{"`lcucina`","turnOff;else;turnOn","","{`lcucina`:on=true}"}}}},
    {0,"`icucina`",{state="centralSceneSupport=4.Pressed",trueAct={{"`lcucina`","+changeBrightness,255",""},{"`lcucina`","turnOff;else;turnOn","","{`lcucina`:on=true}"}}}},
    {0,"`isala`",{state="centralSceneSupport=3.Pressed",trueAct={"`lcottura`","turnOff;else;turnOn","","{`lcottura`:value=true}"}}},
    {0,"`isala`",{state="centralSceneSupport=4.Pressed",trueAct={{"`lcucina`","+changeBrightness,255",""},{"`lcucina`","turnOff;else;turnOn","","{`lcucina`:on=true}"}}}},   
    {0,"`isala`",{state="centralSceneSupport=2.Pressed",trueAct={{"`fstufa`","+changeBrightness,255",""},{"`fstufa`","turnOff;else;turnOn","","{`fstufa`:on=true}"}}}},
    {0,"`isala`",{state="centralSceneSupport=1.Pressed",trueAct={{"`fradio`","+changeBrightness,255",""},{"`fradio`","turnOff;else;turnOn","","{`fradio`:on=true}"}}}},   
    {0,"`mingresso`|`pingresso`",{state="value=true",timeSlot="16:00~08:00",trueAct={"`corridoio`","turnOn",""},falseAct={"`corridoio`","turnOff","40","{`mingresso`:value=false|`pingresso`:value=false}"}}},
    {0, "$RAM",{state="value>85",trueAct={{"RAM>85%","sendNote","Warning. \nSystem memory is $RAM% ",true},{"|$lineId|","setStateValue","80"}},falseAct={{"|$lineId|","setStateValue","85"},{"RAM<80%","sendNote","System memory is $RAM%"}}}}, 
    {0, "$HC3onLine",{state="value=true",trueAct={"","tts","$dayTime, Home center is on line"},falseAct={"","tts","$dayTime, Home center is off line"}}}, 
    {0, "$internet",{state="value=online",trigAct={"","tts","$dayTime, Internet is $internet"}}}, 
        } 

     

     

     

     

    jM={
    {0,"$24clock",{state="value=04:00",lineState={"{&sprinkler:value=true}"},trueAct={{"`lineadx`","turnOn",""},{"`lineadx`","turnOff","1800"},{"`lineasxb`","turnOn","1770"},{"`lineasxb`","turnOff","3570"},{"`lineasxt`","turnOn","3540"},{"`lineasxt`","turnOff","5340"},{"`lineacx`","turnOn","5310"},{"`lineacx`","turnOff","8910"}}}},
    {0,"`lineadx`|`lineasxt`|`lineasxb`|`lineacx`",{state="value=true",lineState={"{&sprinkler:value=true}"},trueAct={"`pompa`","turnOn",""},falseAct={"`pompa`","turnOff","","={`lineadx`:value=false|`lineasxt`:value=false|`lineasxb`:value=false|`lineacx`:value=false}"}}},     
    {0,"`tlab`",{state="value>25",lineState={"{&cooling:value=true}"},timeSlot="08:00~20:00",trueAct={{"`climalab`","setThermostatMode,Cool",""},{"`climalab`","setThermostatFanMode,AutoMedium",""},{"`climalab`","setCoolingThermostatSetpoint,24",""},{"`climalab`","setThermostatMode,Off","","{`tlab`:value<23}"}}}},
    {0,"`tlab`",{state="value<16",lineState={"{&heating:value=true}"},timeSlot="08:00~20:00",trueAct={{"`climalab`","setThermostatMode,Heat",""},{"`climalab`","setThermostatFanMode,AutoMedium",""},{"`climalab`","setHeatingThermostatSetpoint,19",""},{"`climalab`","setThermostatMode,Off","","{`tlab`:value>21}"}}}},
    {0,"$24clock",{state="value=20:05",trueAct={"`climalab`","setThermostatMode,Off",""}}},
    {0,"`tlaura`|`tjacopo`",{state="value<18",lineState={"{&heating:value=true}"},timeSlot="16:30~21:55,~22:00",trueAct={"`caldaia`","turnOn",""},falseAct={"`caldaia`","turnOff",""}}},
    {0,"$24clock",{state="value=05:00",lineState={"{&heating:value=true}"},timeSlot="~07:00",trueAct={"`caldaia`","turnOn",""},falseAct={"`caldaia`","turnOff",""}}},
    {0,"$24clock",{state="value=07:30",lineState={"{&vmc:value=true}"},timeSlot="~14:00",trueAct={"`vmcs`","turnOn",""},falseAct={"`vmcs`","turnOff",""}}},
    {0,"`track`",{state="value>38",trueAct={{"`vrack`","turnOn",""},{"`vrack`","turnOff","1800"}}}},
    {0,"`plab`",{state="value=true",timeSlot="?$sunriseHour+3600?~?$sunsetHour-3600?",trueAct={"`llab`","turnOn","","{`luxlab`:value<15}"}}},
    {0,"`plab`",{state="value=true",timeSlot="?$sunsetHour-3600?~?$sunriseHour+3600?",trueAct={"`llab`","turnOn",""}}},
    {0,"`mlab`",{state="value=true",falseAct={"`llab`","turnOff","120","{`plafonieralab`:value=false|`llab`:value=true}"}}},
    {0,"`mportoncino`|`mscala`|`pingresso`",{state="value=true",timeSlot="?$sunriseHour+3600?~?$sunsetHour-3600?",trueAct={"`lscala`","turnOn","","{`luxscala`:value<15}"},falseAct={"`lscala`","turnOff","64","={`mscala`:value=false|`mportoncino`:value=false|`pingresso`:value=false|`lscala`:value=true}"}}},
    {0,"`mportoncino`|`mscala`|`pingresso`",{state="value=true",timeSlot="?$sunsetHour-3600?~?$sunriseHour+3600?",trueAct={"`lscala`","turnOn",""},falseAct={"`lscala`","turnOff","64","={`mscala`:value=false|`mportoncino`:value=false|`pingresso`:value=false|`lscala`:value=true}"}}},
    {0,"`pbagno`",{state="value=true",falseAct={"`stufabagno`","turnOn",""},trueAct={"`stufabagno`","turnOff",""}}},
    {0,"`mbagno`",{state="value=true",timeSlot="?$sunriseHour+3600?~?$sunsetHour-3600?",trueAct={"`lbagno`","turnOn","","{`luxbagno`:value<15}"},falseAct={"`lbagno`","turnOff","90","{`mbagno`:value=false|`pbagno`:value=true}"}}},
    {0,"`mbagno`",{state="value=true",timeSlot="?$sunsetHour-3600?~?$sunriseHour+3600?",trueAct={"`lbagno`","turnOn",""},falseAct={"`lbagno`","turnOff","90","{`mbagno`:value=false|`pbagno`:value=true}"}}},
    {0,"`mantibagno`|`mantibagnetto`",{state="value=true",trueAct={"`lantibagno`","turnOn",""},falseAct={"`lantibagno`","turnOff","40","{`mantibagno`:value=false|`mantibagnetto`:value=false}"}}},
    {0,"`mbagnetto`",{state="value=true",timeSlot="?$sunriseHour+3600?~?$sunsetHour-3600?",trueAct={"`lbagnetto`","turnOn","","{`luxbagnetto`:value<15}"},falseAct={"`lbagnetto`","turnOff","60","{`mbagnetto`:value=false|`lbagnetto`:value=true}"}}},
    {0,"`mbagnetto`",{state="value=true",timeSlot="?$sunsetHour-3600?~?$sunriseHour+3600?",trueAct={"`lbagnetto`","turnOn",""},falseAct={"`lbagnetto`","turnOff","60","{`mbagnetto`:value=false|`lbagnetto`:value=true}"}}},
    {0,"`ibagnetto`",{state="centralSceneSupport=1.Pressed",trueAct={"`lbagnetto`","turnOff;else;turnOn","","{`lbagnetto`:value=true}"}}},
    {0,"`ibagnetto`",{state="centralSceneSupport=3.Pressed",trueAct={"`lbagnetto`","turnOff;else;turnOn","","{`lbagnetto`:value=true}"}}},
    {0,"`ibagnetto`",{state="centralSceneSupport=2.Pressed",trueAct={"`sbagnetto`","turnOff;else;turnOn","","{`sbagnetto`:value=true}"}}},
    {0,"`ibagnetto`",{state="centralSceneSupport=4.Pressed",trueAct={"`sbagnetto`","turnOff;else;turnOn","","{`sbagnetto`:value=true}"}}}, 
    {0,"`rcamera`",{state="centralSceneSupport=dummy",trigAct={"`lcamera`","turnOff;else;setValue,100","","{`lcamera`:value>0}"}}},  
    {0,"`isoggiorno`",{state="centralSceneSupport=1.Pressed",trueAct={"`lsoggiorno`","turnOff;else;setValue,100","","{`lsoggiorno`:value>0}"}}},
    {0,"`isoggiorno`",{state="centralSceneSupport=2.Pressed",trueAct={{"`piantanaalta`","+changeBrightness,255",""},{"`piantanaalta`","turnOff;else;turnOn","","{`piantanaalta`:on=true}"}}}},
    {0,"`isoggiorno`",{state="centralSceneSupport=3.Pressed",trueAct={{"`piantanadivano`","+changeBrightness,255",""},{"`piantanadivano`","turnOff;else;turnOn","","{`piantanadivano`:on=true}"}}}},
    {0,"`isoggiorno`",{state="centralSceneSupport=4.Pressed",trueAct={{"`piantanabassa`","+changeBrightness,255",""},{"`piantanabassa`","turnOff;else;turnOn","","{`piantanabassa`:on=true}"}}}},{0,"`icucina`",{state="centralSceneSupport=1.Pressed",trueAct={"`lcottura`","turnOff;else;turnOn","","{`lcottura`:value=true}"}}},
    {0,"`icucina`",{state="centralSceneSupport=3.Pressed",trueAct={"`lcottura`","turnOff;else;turnOn","","{`lcottura`:value=true}"}}},
    {0,"`icucina`",{state="centralSceneSupport=2.Pressed",trueAct={{"`lcucina`","+changeBrightness,255",""},{"`lcucina`","turnOff;else;turnOn","","{`lcucina`:on=true}"}}}},
    {0,"`icucina`",{state="centralSceneSupport=4.Pressed",trueAct={{"`lcucina`","+changeBrightness,255",""},{"`lcucina`","turnOff;else;turnOn","","{`lcucina`:on=true}"}}}},
    {0,"`isala`",{state="centralSceneSupport=3.Pressed",trueAct={"`lcottura`","turnOff;else;turnOn","","{`lcottura`:value=true}"}}},
    {0,"`isala`",{state="centralSceneSupport=4.Pressed",trueAct={{"`lcucina`","+changeBrightness,255",""},{"`lcucina`","turnOff;else;turnOn","","{`lcucina`:on=true}"}}}},   
    {0,"`isala`",{state="centralSceneSupport=2.Pressed",trueAct={{"`fstufa`","+changeBrightness,255",""},{"`fstufa`","turnOff;else;turnOn","","{`fstufa`:on=true}"}}}},
    {0,"`isala`",{state="centralSceneSupport=1.Pressed",trueAct={{"`fradio`","+changeBrightness,255",""},{"`fradio`","turnOff;else;turnOn","","{`fradio`:on=true}"}}}},  
    {0,"`mingresso`|`pingresso`",{state="value=true",timeSlot="?$sunsetHour-3600?~?$sunriseHour+3600?",trueAct={"`corridoio`","turnOn",""},falseAct={"`corridoio`","turnOff","40","{`mingresso`:value=false|`pingresso`:value=false}"}}},
    {0, "$RAM",{state="value>85",trueAct={{"RAM>85%","sendNote","Warning. \nSystem memory is $RAM% ",true},{"|$lineId|","setStateValue","80"}},falseAct={{"|$lineId|","setStateValue","85"},{"RAM<80%","sendNote","System memory is $RAM%"}}}}, 
    {0, "$HC3onLine",{state="value=true",trueAct={"","tts","$dayTime, Home center is on line"},falseAct={"","tts","$dayTime, Home center is off line"}}}, 
    {0, "$internet",{state="value=online",trigAct={"","tts","$dayTime, Internet is $internet"}}}, 
        }

  • Topic Author
  • Posted

    Just to clarify that you know the jM tables are not the same?

  • Topic Author
  • Posted

    @gggizmo

    May I ask you to remove from jM{} below lines and to see if the delay and CPU load back to normal.

    {0,"`mportoncino`|`mscala`|`pingresso`",{state="value=true",timeSlot="?$sunriseHour+3600?~?$sunsetHour-3600?",trueAct={"`lscala`","turnOn","","{`luxscala`:value<15}"},falseAct={"`lscala`","turnOff","64","={`mscala`:value=false|`mportoncino`:value=false|`pingresso`:value=false|`lscala`:value=true}"}}},
    {0,"`mportoncino`|`mscala`|`pingresso`",{state="value=true",timeSlot="?$sunsetHour-3600?~?$sunriseHour+3600?",trueAct={"`lscala`","turnOn",""},falseAct={"`lscala`","turnOff","64","={`mscala`:value=false|`mportoncino`:value=false|`pingresso`:value=false|`lscala`:value=true}"}}},

     

    Now not related to the delay remarks:

    Few remarks on your second jM

     

    1. You do understand that red marked action will never be executed!

    {0,"`tlab`",{state="value>25",lineState={"{&cooling:value=true}"},timeSlot="08:00~20:00",trueAct={{"`climalab`","setThermostatMode,Cool",""},{"`climalab`","setThermostatFanMode,AutoMedium",""},{"`climalab`","setCoolingThermostatSetpoint,24",""},{"`climalab`","setThermostatMode,Off","","{`tlab`:value<23}"}}}},

     

    2. I think you can have just one line for that

    {0,"`plab`",{state="value=true",timeSlot="?$sunriseHour+3600?~?$sunsetHour-3600?",trueAct={"`llab`","turnOn","","{`luxlab`:value<15}"}}},
    {0,"`plab`",{state="value=true",timeSlot="?$sunsetHour-3600?~?$sunriseHour+3600?",trueAct={"`llab`","turnOn",""}}},

     I believe after sunset the lux is low at any case....

    {0,"`plab`",{state="value=true",trueAct={"`llab`","turnOn","","{`luxlab`:value<15}"}}},

    Posted
    5 hours ago, cag014 said:

     

     

    2. I think you can have just one line for that

    {0,"`plab`",{state="value=true",timeSlot="?$sunriseHour+3600?~?$sunsetHour-3600?",trueAct={"`llab`","turnOn","","{`luxlab`:value<15}"}}},
    {0,"`plab`",{state="value=true",timeSlot="?$sunsetHour-3600?~?$sunriseHour+3600?",trueAct={"`llab`","turnOn",""}}},

     I believe after sunset the lux is low at any case....

    {0,"`plab`",{state="value=true",trueAct={"`llab`","turnOn","","{`luxlab`:value<15}"}}},

    problem is philio sensor. It reposrt lux only after motion trigger, so if last lux value reported was >15 light stays off till next motion trigger.

    That's why i don't check lux after sunset

    Posted
    5 hours ago, cag014 said:

    @gggizmo

    May I ask you to remove from jM{} below lines and to see if the delay and CPU load back to normal.

    {0,"`mportoncino`|`mscala`|`pingresso`",{state="value=true",timeSlot="?$sunriseHour+3600?~?$sunsetHour-3600?",trueAct={"`lscala`","turnOn","","{`luxscala`:value<15}"},falseAct={"`lscala`","turnOff","64","={`mscala`:value=false|`mportoncino`:value=false|`pingresso`:value=false|`lscala`:value=true}"}}},
    {0,"`mportoncino`|`mscala`|`pingresso`",{state="value=true",timeSlot="?$sunsetHour-3600?~?$sunriseHour+3600?",trueAct={"`lscala`","turnOn",""},falseAct={"`lscala`","turnOff","64","={`mscala`:value=false|`mportoncino`:value=false|`pingresso`:value=false|`lscala`:value=true}"}}},

     

     

    no difference at all

  • Topic Author
  • Posted
    2 hours ago, gggizmo said:

    no difference at all

    Honestly I don't see any reason for delay...

    My suggestion is just remove line by line from jM{} and see when the system starts to behave normally.

    Posted (edited)
    2 hours ago, cag014 said:

    Honestly I don't see any reason for delay...

    My suggestion is just remove line by line from jM{} and see when the system starts to behave normally.

    just tried, but the only difference is when i avoid use of variables sunset and sunrise in timeslot.

     

    I'm really sorry to waste your time with a lot of weird problems. I appreciate your support. Thank you, really.

     

    Let me know if in the next release i have to modify line in main code for remotes.

     

    Thanks again

     

    Edited by gggizmo
  • Topic Author
  • Posted (edited)
    1 hour ago, gggizmo said:

    just tried,, but the onli difference is when i avoid use of variables sunset and sunrise in timeslot.

    Have added 30 lines of sunset and sunrise for testing, no difference.

    But let's try to see if your assumption is correct, did some changes to avoid frequent sun hours update.

    Please download attached version

    BTW this version should fix your issue with turnOn;else;turnOff problem w/o any extra delays.

     

    @Rover this versions supports multiple variables update {"&var1|&var2|&var3","setGlobal","start"}

     

    Let me know your findings...

    Please login or register to see this attachment.

    Edited by cag014
    Posted
    38 minutes ago, cag014 said:

    Have added 30 lines of sunset and sunrise for testing, no difference.

    But let's try to see if your assumption is correct, did some changes to avoid frequent sun hours update.

    Please download attached version

    BTW this version should fix your issue with turnOn;else;turnOff problem w/o any extra delays.

     

    @Rover this versions supports multiple variables update {"&var1|&var2|&var3","setGlobal","start"}

     

    Let me know your findings...

    Please login or register to see this attachment.

    Ok i'll add just one timeslot line a time and check.

     

    ps. lights have the usual problem , do i have  to modify main code as in preious release?

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

    Ok i'll add just one timeslot line a time and check.

     

    ps. lights have the usual problem , do i have  to modify main code as in preious release?

    You can add sun hours as many as you need, no extra load...

    Are you sure the lights have the same problem with this release?

    Posted
    1 minute ago, cag014 said:

    You can add sun hours as many as you need, no extra load...

    Are you sure the lights have the same problem with this release?

    Yes, was the first thing i checked..

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

    Yes, was the first thing i checked..

    OK...pls. modify main code as in previous release?

    I must to find why it happens... will let you know

    Posted
    1 hour ago, gggizmo said:

    @Rover this versions supports multiple variables update {"&var1|&var2|&var3","setGlobal","start"}

     

    Let me know your findings...

    Please login or register to see this attachment.

    Yes, multiple variables update works! ?

    posterror is still there... The time from Save AOQ code to fully initiated (and then post error) takes 56 seconds.

    Posted

    Cag, just a question. There's a way to temporary disable aoq, for testing for example block or lua scene. May be i missed something but if i press on off button aoq goes in reinit

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