event.sender

Discussion in 'C-Bus Automation Controllers' started by sjfp, Sep 29, 2022.

  1. sjfp

    sjfp

    Joined:
    Oct 31, 2004
    Messages:
    141
    Likes Received:
    0
    Location:
    UK
    Hi all, just seeing if there's any doc's available on the event.sender function.
    Trying to find what 'cl' is standing for.

    Have a problem with some groups being triggered but cant frin where from. using event.sender I can see that it labeled 'cl'
     
    sjfp, Sep 29, 2022
    #1
    1. Advertisements

  2. sjfp

    Pie Boy

    Joined:
    Nov 21, 2012
    Messages:
    218
    Likes Received:
    29
    Location:
    New Zealand
    Im unsure if it’s documented…
    but I believe ‘CL’ is code library so some script in a user library I find this when a event script runs an external function in a user library, it makes it hard to work out where the problem is when you have one eh…

    Also fyi, This is what I’ve worked out over the years for event.sender()

    possible return values:
    bus = C-Bus bus
    bn = bacnet
    mb = modbus
    sc = scenes
    se = event script
    ss = scheduled script
    sr = resident script
    us = user interface / visualization rm = remote services
    ap = apps
    po = group monitor object polling
     
    Pie Boy, Sep 29, 2022
    #2
    1. Advertisements

  3. sjfp

    Dasman

    Joined:
    May 5, 2011
    Messages:
    23
    Likes Received:
    3
    Location:
    Adelaide
    not sure if this was a typo, but this one represents as cb.

    Outside that, you have pretty much nailed all the important ones. They have changed between firmware versions a bit (scenes used to come up under SL), but nothing drastically
     
    Dasman, Sep 30, 2022
    #3
  4. sjfp

    Pie Boy

    Joined:
    Nov 21, 2012
    Messages:
    218
    Likes Received:
    29
    Location:
    New Zealand
    Yep :)
     
    Pie Boy, Oct 6, 2022
    #4
  5. sjfp

    sjfp

    Joined:
    Oct 31, 2004
    Messages:
    141
    Likes Received:
    0
    Location:
    UK
    Found the issue. Took a while but it turned out to be keyword that also triggered another event.
    But thanks for help
     
    sjfp, Oct 6, 2022
    #5
    1. Advertisements

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.