Trigger 5500SHAC Scene from DLT

Discussion in 'C-Bus Automation Controllers' started by Chris Peck, Aug 18, 2020.

  1. Chris Peck

    Chris Peck

    Joined:
    Jun 1, 2018
    Messages:
    7
    Likes Received:
    0
    HI all,
    It seems to be a fairly common question but I am having no luck with other similar solutions.

    I have scenes defined in my 5500SHAC and would like to trigger them from a 5 Button DLT switch.

    As an example -
    Local Network/Trigger Control/GRP-TC-Kitchen is defined in my SHAC 5500 with several action selectors
    My switch has 8 empty scenes

    I cannot add the trigger control to the switch commands as it does not show in the available groups in the switch configuration
    I have set the switch Scene Trigger Group to GRP-TC-Kitchen but this does not seem to change anything.

    Can anyone walk me through what I am doing wrong?

    Xnip2020-08-17_20-40-02.jpg Xnip2020-08-17_20-40-37.jpg

    Regards,
    Chris
     
    Chris Peck, Aug 18, 2020
    #1
  2. Chris Peck

    Ashley

    Joined:
    Dec 1, 2005
    Messages:
    1,580
    Likes Received:
    188
    Location:
    Adelaide, Australia
    You haven't shown the switch configuration, but you need to select <scene> as the function and scene 1 as the group. Then if you click on the 3 vertical dots on the left of the function you can select the trigger group and action selector
     
    Ashley, Aug 18, 2020
    #2
  3. Chris Peck

    Chris Peck

    Joined:
    Jun 1, 2018
    Messages:
    7
    Likes Received:
    0
    Thank you fellow Adelaidian!
    It seems that the action selectors are not copied back from the SHAC to the switches. Should I just define it again in the switch?

    The Action Selector dropdown list is empty
    Xnip2020-08-18_17-10-11.jpg
     
    Last edited: Aug 18, 2020
    Chris Peck, Aug 18, 2020
    #3
  4. Chris Peck

    Ashley

    Joined:
    Dec 1, 2005
    Messages:
    1,580
    Likes Received:
    188
    Location:
    Adelaide, Australia
    Unfortunately there is no automatic synchronization between toolkit and the SHAC. I usually define everything in toolkit the import into the SHAC.
     
    Ashley, Aug 18, 2020
    #4
  5. Chris Peck

    RichieP

    Joined:
    May 21, 2018
    Messages:
    7
    Likes Received:
    0
    I have created user parameters in the shac, AC zone temps, I want to display them on a DLT, but when i import CGL into toolkit the user parameters i have created (250) do not get imported into toolkit.
    Is there a way of importing these points into toolkit?
     
    RichieP, Aug 22, 2020
    #5
  6. Chris Peck

    Pie Boy

    Joined:
    Nov 21, 2012
    Messages:
    251
    Likes Received:
    31
    Location:
    New Zealand
    application 250 can only exist on the SHAC,
    Are you using a Dlt or an EDLT
    easiest way to do this would be write the temp to the dlt label to a dummy ga and have this displayed on the dlt
    -- event script for Ac Zone user parameter
    Code:
    local level = event.getvalue()
    SetCBusUnicodeLabel(0, 56, 23, 'English', 'Variant2',  'temp= '..level)
     
    Or if you are using Edlt you may want to send the value from the event script to the measurement application
    then display as such on Edlt
     
    Pie Boy, Aug 22, 2020
    #6
  7. Chris Peck

    RichieP

    Joined:
    May 21, 2018
    Messages:
    7
    Likes Received:
    0
    Thank you for your responce
    I am using EDLT's,
    I am new to the shac and have only just started using it.
    Haven't played with Lua much yet. is the above code an DLT example?
    if i have the EDLT would i be best to write to a measurment group
    i've got all day to get these temps to display on my EDLT's,
    The user parameters in the shac, i'm importing them through BACnet .
    The user parameter display although i have put a 1 in decimal places parameter it still shows 3 decimal places, you know how i can fix this?
     
    RichieP, Aug 22, 2020
    #7
  8. Chris Peck

    Pie Boy

    Joined:
    Nov 21, 2012
    Messages:
    251
    Likes Received:
    31
    Location:
    New Zealand
    the above would work with either Dlt or Edlt

    But if you want to use the measurement widget in the edlt the below should do it, you will need to make the measurement app object in the SHAC first then align up the address and id parameters within the SetCbusMeasurement() function

    Code:
    local level = event.getvalue()
    level = math.floor(level) -- this should round the value to a whole number 
    -- Set temperature and units of channel 1 of sensor 1 on the local network 
    SetCBusMeasurement('Local', 'sensor1', 1, level, 0) 
    -- 0 is the units parameter as per chapter 28 of the C-Bus documentation
    
    I usually use this way (as above) and set the Edlt page widget to time and temp and specify the measurement app details(address and id) so the current temp readout is on the page without taking up a switch location on the Edlt

    Then use the first version (previous post) to write the label to variant 2 for the heating control set point group address this way you can have the set point ga alter the set point and then the feedback from the heating system to write the set point temp back to the variant 2 using one switch location etc on Edlt
     
    Pie Boy, Aug 22, 2020
    #8
  9. Chris Peck

    RichieP

    Joined:
    May 21, 2018
    Messages:
    7
    Likes Received:
    0
    Thank you again, i had never used the measurement application, but between posts i have created measurement objects in shac, exporteded them and have written to them via BACnet and then displayed them on the DLT using measurement id and channel, writing to them via BACnet lets me set a cov aswell.
    Still playing with it as we speak, but seems to work OK.
    Will have a go at using your code to adjust set point. this is awesome thanks for your help
     
    RichieP, Aug 22, 2020
    #9
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.