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
3 minutes ago, SmartLifeSystems said:

The 15 min is an example. But while the desire temperature not true, the 15 min  will restart.

Or have you got a better idea this?

 

But if we take no notice of the schedule time, you can do the next option? The termostat head setlevel example 24 C, while the temperature reach the original value, and the thermostat head stand back the original value.

  • Topic Author
  • Posted

    So it looks like you'll restart 15 minutes till desired temperature has reached.

    My suggestion is when desired temperature has reached turnOff the boiler. Looks simpler solution.

    In any case both scenarios could be supported. 

    Posted
    9 minutes ago, cag014 said:

    So it looks like you'll restart 15 minutes till desired temperature has reached.

    My suggestion is when desired temperature has reached turnOff the boiler. Looks simpler solution.

    In any case both scenarios could be supported. 

    I am curious.

    Posted
    8 hours ago, cag014 said:

    {0,"926",{state="centralSceneSupport=2.Pressed",trueAct={ {"818","turnOff;else;turnOn","","{818:on=true}"}}}},

    even without changebrightness action i get same erroe.

    I tried every combination of "on" property: true, 1, and result always the same. Line works only if i don't use any condition.

     

    line 447 is  if rCmd then cRes=fibaro:getValue(devId,rCmd):gsub(" ","") end

    Posted

    check this link please about device properties on fibaro hue plugin

     

    Please login or register to see this link.

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

    even without changebrightness action i get same erroe.

    I tried every combination of "on" property: true, 1, and result always the same. Line works only if i don't use any condition.

     

    line 447 is  if rCmd then cRes=fibaro:getValue(devId,rCmd):gsub(" ","") end

    Wow... on startup Hue device returns null value!?

    Any how, please replace line 447 with that one

    Please login or register to see this code.

    Tested and works.

    Posted

    perfect.

     

    Thanks

    Time to AIO 2.01?

    Any news about hc3 version?

  • Topic Author
  • Posted

    Yes... will be release soon with HC3 version.

    Actually HC3 version is ready beside alarm functionality. Fibaro has changed the concept and I trying to keep smooth transition from HC2 to HC3.

     

     

    Posted (edited)

    just another question

     

    {0,"|`lineadx`|`lineasxt`|`lineasxb`",{state="value=true",trueAct={"`pozzo`","turnOn",""},falseAct={"`pozzo`","turnOff","","={`lineadx`:value=false|`lineasxt`:value=false|`lineasxb`:value=false|"}}},

     

     

    why during validation:

    Please login or register to see this image.

    /monthly_2020_06/image.png.4cc6b666320c85971df76640cee8f59e.png" />

     

    [DEBUG] 16:19:36

    Please login or register to see this code.

     

    Edited by gggizmo
  • Topic Author
  • Posted

    Means device ID 967 is a master device.

    Master doesn't support sending commands or reading values!

    in your example 

    967:value=false 

    value property is unavailable for master device.

    please check it by API (  http://hc2/api/devices/967  )

    Use slave devices

     

     

     

     

  • Topic Author
  • Posted

    @SmartLifeSystems

    I'm trying to understand the sequence of events between temp sensor and thermostat

    What I understand is

    If tempSense<thermostat then set thermostat to 24 C and turn on boiler in loop of 15 minutes till tempSense>= thermostat, turonOff boiler and set thermostat to original value, which is ?

    Could you post the command for thermostat temp setup

     

    Posted

    For example: thermostat is seted 22C. If temp sens < thermostat head, turn on the boiler, and set up the thermostat head 24C for 15 min and after set back the original value. The bioler only if turn off, then the temp sens >= thermostat head original value.

    But if solvable, would be best this: thermostat head 22C If temp sens < thermostat head, turn on the boiler, and set level 24C the thermostat head. If the thermostat head has reached the desired temp (temp sens >= thermostat head original value) turn off the boiler, and set the thermostat head level the original value.

    What do you think about this?

     

    boiler ID = 37

    temp sens ID = 11

    thermostat head ID = 12

    Posted

    so with aio it's not possible to control devices via secondary gateway.

    Let me explain:

    this devices are on one hcl linked as slave gateway to primary hc2. It's in garden too far to control sprinklers with primary hc2. So in primary hc2 for these devices i see only one id not master and child

  • Topic Author
  • Posted (edited)
    2 hours ago, gggizmo said:

    so with aio it's not possible to control devices via secondary gateway.

    Let me explain:

    this devices are on one hcl linked as slave gateway to primary hc2. It's in garden too far to control sprinklers with primary hc2. So in primary hc2 for these devices i see only one id not master and child

    You're the first user trying to use slave gateway.

    Could you please post device API data from primary gateway (  http://hc2/api/devices/967  )

    I'll see what I can do. I believe it could be solved

     

    Edited by cag014
    Posted
    1 hour ago, cag014 said:

    You're the first user trying to use slave gateway.

    Could you please post device API data from primary gateway (  http://hc2/api/devices/967  )

    I'll see what I can do. I believe it could be solved

     

    Please login or register to see this code.

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

    Please login or register to see this code.

    Let's try it...

    please change line (somewhere around line number 1008 )

         if j.parentId>1 then jDlist["numDev"]=jDlist["numDev"]+1;jDlist[j.id]=j.properties.nodeId;jDlist["nId"..jDlist[j.id]]=os_time()
    to

         if j.parentId>1 or j.remoteGatewayId>0 then jDlist["numDev"]=jDlist["numDev"]+1;jDlist[j.id]=j.properties.nodeId;jDlist["nId"..jDlist[j.id]]=os_time()

     

    Let me know if it works
     

    Posted
    11 minutes ago, cag014 said:

    Let's try it...

    please change line (somewhere around line number 1008 )

         if j.parentId>1 then jDlist["numDev"]=jDlist["numDev"]+1;jDlist[j.id]=j.properties.nodeId;jDlist["nId"..jDlist[j.id]]=os_time()
    to

         if j.parentId>1 or j.remoteGatewayId>0 then jDlist["numDev"]=jDlist["numDev"]+1;jDlist[j.id]=j.properties.nodeId;jDlist["nId"..jDlist[j.id]]=os_time()

     

    Let me know if it works
     

    attemtp to index field'?' (a nil value)

    in line 905

     

    local idF={jDid[dId].name.." @ "..jDid[dId].room, jDid[dId].name..":"..realId(dId)..":"..jDid[dId].room, "", jDid[dId].name.."<sup>"..realId(dId).."</sup>"..jDid[dId].room, jDid[dId].room..":"..realId(dId)..":"..jDid[dId].name}

    Posted
    9 minutes ago, gggizmo said:

    attemtp to index field'?' (a nil value)

    in line 905

     

    local idF={jDid[dId].name.." @ "..jDid[dId].room, jDid[dId].name..":"..realId(dId)..":"..jDid[dId].room, "", jDid[dId].name.."<sup>"..realId(dId).."</sup>"..jDid[dId].room, jDid[dId].room..":"..realId(dId)..":"..jDid[dId].name}

    Sorry, my fault...wrong device id

     

    Works perfectly thanks

     

     

  • Topic Author
  • Posted

    Great.

    Since I'm trying to avoid Lua errors and to provide human readable error messages, could you please elaborate what was wrong with the device that caused the error?

    I mean is it z_wave device? If so, could you please post device data to understand why the code didn't find the error.

    Thanks

  • Topic Author
  • Posted (edited)

    @SmartLifeSystems

    Please try line below (since I don't know the thermostat real command, I'm using "setPoint" command as an example)

    Please login or register to see this code.

     

    What do you think? Is it what you need or I'm off target?

    Edited by cag014

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