Help get this topic noticed by sharing it on Twitter, Facebook, or email.

iRule and C-Bus

Hi. I am about to jump into using iRule, but would like to know what ability the system has to interface with Clipsal C-Bus as I use C-Bus for my lighting etc. in my cinema. Thanks
2 people have
this question
+1
Reply
  • Hi Mat,

    I've have irule interfacing with my C-bus system to control lighting without any problems. At this stage I've only set it up to turn lights on\off\dim however setup any feedback, however this is possible as well (i'm hoping to have a go at feedback in the next month.

    you will however need either an ethernet interface or a serial interface for your cbus system. do you have either of these or a wiser on your c-bus system?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly

  • Hi Joshua

    Thanks for your reply.
    I am still in the process of installing my C-BUS system and will be using a Wiser. I'm hoping the Wiser will allow iRule to access the system through ethernet, but if not I'll install whatever other module is required (ethernet or serial)

    cheers
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly happy, confident, thankful, excited

  • The wiser is a good unit, however it is expensive and there are some annoying limitations with it, the biggest of which is that it will only allow one connection at a time (i.e you cannot connect to it from multiple iphones\ipad's at the same time).

    I'm using a serial interface (http://www.cleverhome.com.au/automati...) combined with one of the global cache itach serial units. This was a lot cheaper than a wiser and allows mulitple connections.

    Clipsal have published full details for the serial control protocol for c-bus which you can find on their website.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly happy, confident, thankful, excited

  • I hope that somebody will take pity on me if I ask nicely and help out with my cbus integration. I've been able to crack most of the nuts involved in integrating all my hardware into irule but cbus is still not working. I have all four amps, three tv's and blu ray players and apple tv's working but I can't seem to get my cbus system to respond to my commands. I am using the 5500CN and I have setup a cgate server. I have even listed the IP address of the ipad connecting in the config file of my cgate server. I'm just trying to get off and on working for my group address's. Any suggestions?? I have been using the commands from irules in built device list for clipsal. Any help would be gratefully accepted.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly

  • Hi John,

    I haven't configured irule to integrate with cbus through the 5500CN (I use the 5500PC connected to an itach serial device) however i'm pretty sure the following will work. (note this will remove the need to have cgate running)

    Configure the IP address of the 5500CN as a gateway in Irule (you'll need to find out what port to use as well), and then attach your "CBUS Device" in irule to that gateway.

    The commands should follow this syntax - (without the quotes obviously)
    "\x0538007901\x0d"
    The above will turn on lighting group 01
    to turn off lighting group 01 the code would be "\x0538000101\x0d"

    The \x0d is the carriage return, the last 4 digits are hex code where the first 2 digits are either 01 to turn a group off or 79 to turn a group on, followed by the group you wish to control.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly happy, confident, thankful, excited

  • Hi Joshua,

    Many thanks for your advice so far. I'm still having no success and my apologies for bothering but I would like to ask a few more questions pls.

    So far I have setup my 5500CN as a gateway in irule. The gateway I chose was a network gateway with the ip address and port number listed. That seems to connect fine. I also edited the device in irule called Clipsal CBus at group address 01 to reflect the data stream that you mentioned before of \x0538007901\x0d for the ON command. If I try and send the command from a button I have configured on a newly created page the lights don't come on.

    Any suggestions would be greatly appreciated. Also can I confirm that you are successfully using a 5500PC with a itach tcp/ip to serial device from global cache. Finally what "device" for your cbus commands do you have listed under your device list in the irule builder. Again any help would be greatly appreciated and accepted.

    Regards,

    JJ
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly happy, confident, thankful, excited

  • Hi John,

    You may need to set the 5500CN to basic mode to accept the commands.

    Setup a button in irule that will send the command "~~~/x0d" to the the 5500CN. This should only need to be done once (will need to be resent anytime power to your cbus system is shut off i.e a blackout etc) and it should then accept commands.

    The device in Irule Builder shouldn't really matter. however make sure your commands are entered as "network commands". Also when you click on "Network commands" under the device you'll see in the bottom left hand corner of the builder there is a "Network Commands Properties" options. Try first setting this to "IP" but also try "RS232\IP".

    Let me know how you go!

    on your other question. yes, I am using the 5500PC connected to a global cache iTach ip2sl (ip to serial). I've used this method of controlling CBus through Irule at several premises. It's cheaper than buying the 5500CN which is expensive in Australia, and it allows multiple users to control the cbus system from different ipads\iphones.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly happy, confident, thankful, excited

  • Hi Josh,

    I now have C-Bus control up and running using serial from a GC100 to the PC interface box.

    I'd be very interested in anything you can share on feedback.

    Cheers,
    Peter M
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly

  • Hi Peter,

    Just started working on feedback this week, however it's not looking easy.
    Have a look at Page 45 of this link - http://training.clipsal.com/downloads...

    it explains how Cbus status replies are formated, it's then a matter of trying to integrate this logic into irule.

    I'll let you know when I've got something working.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly happy, confident, thankful, excited

  • Hi Josh,

    Yeah I have that document and will be using it to figure out dimming. At the moment I'm just using on / off. Dimming doesn't seem too hard.

    I guess parsing the feedback starts with trying to create an individual iRule feedback for each address in the lighting application.

    It's probably beyond me so I hope you can crack it !

    Cheers,
    Peter M
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly

  • can anyone confirm what codes i should use for controlling CBus with irule using the 5500PC with the itach rs232

    in the irule database i see to turn group 01 the codes is.
    \\53800790149g\x0D

    but i read above that i should use the code
    \x0538007901\x0d

    i have the RTI rs232 protocol generator and the top code is the same as what is populated out that.

    i have a job which is 6 hours away and would like to have this nutted out before im there.

    also how should the dimming codes look.

    out of the rti tool to set group 01 to 25% instant it gives me

    \\05380002014080g\r /// would i enter \\05380002014080g\x0D

    or do i need to enter something different. If i need to enter something different how do i convert the code rti tool is giving me.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly

  • Hi Josh, I know it's been a few months since you kindly provided me the above info. I have finally had to concede defeat to some extent and go down the hardware path you recommended. ;) However I now need to go through the process of config. As I can see other people trying to get over this same hurdle I wanted to offer to write up some sort of doco about how to do this with irule. So if information can be provided I would be happy to write up some doco with pictures and post it back to the forum. Any info would be fantastic.

    Regards,

    John Jensen
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly happy, confident, thankful, excited

  • I found another customer near by who was kind enough to let me play with there cbus system.

    And i was able to get on and off to work and also dimming.

    i used the On and Off codes in the database.

    and used the rti tool to generate the rs232

    out of the tool for 01 to 25% i got \\05380002014080g\r

    i just needed to delete the first 0 and add irule's carriage return

    so it looked like this.

    \\5380002014080g\x0D
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly happy, confident, thankful, excited

  • Hi Dave,

    Interesting info and many thanks for sharing. Can I ask if you have a web link for the "rti tool" that you refer to??

    Regards,

    John Jensen
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly happy, confident, thankful, excited

  • I know it's been a few months since any postings have been added to this question. Since then I've decided to complete an install document of mine own. I'm doing all the doco needed to convert CBus commands into irule "language". Is their any interest still??? I'm also doing a complete revamp of the device codes and expanding it to include percentage options for dimmer based lights with ramp rates as well. I noticed that the only devices in the current database dealt only with ON/OFF and nothing else. Is their any interest in this information???
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly

  • I've finished generating all the on / off and dimming commands that I needed for my C-Bus. The only thing I'm still interested in is feedback. It's beyond me to figure it out and I suspect it's simply not possible with the current feedback parsing. Any thoughts ?

    Cheers,
    Peter M
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly happy, confident, thankful, excited

  • In my desire to give back to the community I have created a seven page document that outlines the work needed to integrate CBUS into iRule. I hope this helps somebody out there.

    I can provide it in a pdf format as well upon request. Also I'm creating a CBUS device by bringing together all the codes needed for instant on, instant off and a ramp rate of four seconds for all group addresses. The device is available but incomplete and is entitled CBUS - (RR 4 seconds/Percentages).

    The purpose of this document is to provide guidance in the integration of Clipsal’s CBUS network into the iRule Home Automation system. The document is divided into three sections beginning with hardware setup, followed by an explanation of the software commands needed and finally how to create those commands.
    CBUS commands ultimately begin as hexadecimal-based strings from the iRule software and are converted at an iRule button level into rs232 commands.
    NOTE: CBUS’s network will only recognise rs232 commands formatted into hexadecimal strings.
    HARDWARE SETUP
    The recommended hardware setup for iRule integration is either a global cache IP2SL (Ethernet based and individual power model), WF2SL (Wireless based and individual power model) or IP2SL-P (Ethernet based and POE model) connected to a CBUS 5500PC. The inclusion of the Global Cache device allows for multiple devices using the iRule software to be connected and sending commands to the CBUS network at the same time.
    NOTE: All CBUS network interface units allow for only one connection at a time. Additionally Global Cache serial devices only allow for a maximum of four connections at a time. Multiple CBUS 5500PC units and Global Cache devices maybe needed too satisfy increased connections. Eg. Remote access as well as an iPad, an iPad Mini and 2 iPhone’s.
    CBUS COMMANDS
    CBUS lighting commands are primarily grouped into three key areas:
    1. Instant ON
    2. Instant OFF
    3. Ramp Up or Down
    A basic CBUS (iRule formatted) command sent from the iRule software to your CBUS network looks like this:
    \\5380079004Ag\x0D
    This command sends an instant on request to group address 000. ie. Turn the device or devices connected to group address 000 instantly on with no ramp rate. The command is comprised of the following sections:
    1. A starting prefix of \\53800
    2. The instant on command of 79
    3. The group address affected of 00
    4. A mandatory checksum command of 4A (The purpose of this portion of the command is to ensure the integrity of the command. Outlined in the document C-BUS Quick Start Guide Section 4.3)
    5. A confirmation character of g (This portion of the command asks the CBUS network to confirm the receipt of the command. Outlined in the document C-BUS Quick Start Guide Section 4.2)
    6. An ending back slash and x0D to generate a carriage return (This is the same action as hitting the RETURN/ENTER button on your keyboard.)
    The opposing instant off command is as follows:
    \\538000100C2g\x0D
    The layout of the command is the same as above except that following the 53800 prefix, 01 represents the instant off command.
    NOTE: The above examples are the bare minimum needed for all CBUS strings being sent using iRule. The addition of features such as Ramp Rate does extend the length of the string and changes the layout of the command.
    CREATING YOUR OWN CBUS COMMANDS
    The steps taken to create your own CBUS commands firstly require the following information.
    1. What group address you wish to “change”
    2. Whether or not the change will be instant on, instant off or ramp rate based.
    3. If applicable the percentage based rate that you wish to “change” to. Eg. 25%, 50%, 75%
    NOTE: Ramp rate percentages must be converted using the provided formula on page 5 under ADDITIONAL RESOURCES first.
    With these three pieces of information you can begin the process of creating your CBUS command. Remember that the final command is almost completely hexadecimal based.
    As has been previously mentioned all CBUS (iRule formatted) commands start with a prefix of \\53800. The official CBUS prefix is actually \053800. So the unformatted CBUS prefix is:
    \053800
    with the following additions to the command depending on whether the command is instant on, instant off or ramped based.
    1. Instant ON - \05380079ggzzc
    2. Instant OFF - \05380001ggzzc
    3. Ramp - \053800rrggttzzc
    The additional characters are as follows.
    1. RR = ramp rate
    2. GG = Group Address
    3. TT = The percentage that you wish to ramp to
    4. ZZ = The mandatory CBUS checksum
    5. C = The confirmation character
    6. = Standard carriage return (This is represented in the final command differently for each product. Eg iRule shows it as x0D)

    The calculation needed to create the manadtory checksum is completed as follows:
    1. Open CALCULATOR (Windows 7)
    2. Click on VIEW and come down to PROGRAMMER
    3. Ensure your calculator is set to HEX and your output is set to BYTE

    4. Total up your hexadecimal based string so far
    5. Click on the BIN option to convert to binary
    6. Invert your binary result eg. 10011001 becomes 01100110
    7. Add 1 to your inverted result
    8. Click on the HEX button and note the result.
    9. As a final check add all your hexadecimal numbers together and your total should always be 0.
    By following the above steps you now have all the hexadecimal characters needed to create your CBUS command. A final conversion to an iRule compatible format requires the following changes:
    1. Add an additional back slash at the beginning of the string
    2. Drop the first zero
    3. Add an additional back slash after the confirmation character
    4. Add your carriage return characters, 0xD.
    Your final string when a ramp rate is included is as follows:
    \\53800rrggttzzc\0xD

    EXAMPLE 1
    John wants to turn on a light with a Group Address of 016. He wants it turned on instantly with no ramp rate.
    1. The first numbers of your command are always \053800.
    2. Add the instant on command of 79.
    3. Your string is now \05380079.
    4. When you convert your group address of 016 to hexadecimal you get 10.
    5. Your string is now \0538007910.
    6. Calculator your checksum.
    7. Make sure your calculator is in PROGRAMMER mode and that the option for HEX and BYTE are chosen.
    8. Add 05+38+00+79+10. This comes to C6 in hexadecimal or 1100 0110 in Binary.
    9. Now invert your binary result. This comes to 0011 1001.
    10. Add 1 to the binary result. This comes to 0011 1010.
    11. Click the HEX button and you have your hexadecimal result which is 3A.
    12. Your string is now \05380010793A.
    13. Finally add all your hexadecimal groups together and you should get a result of 0.
    To convert the command to an iRule format add an extra black slash at the beginning of the string, drop the first zero, add your confirmation character at the end (any letter is fine but I always use g) followed by a backslash and lastly the all-important x0D for your carriage return. So the final string for irule looks like this:
    \\5380010793Ag\x0D

    EXAMPLE 2
    John wants to turn on a light with a Group Address of 021. He wants it turned on to 50% progressively over 4 seconds.
    1. The first numbers of your command are always \053800.
    2. As the ramp rate is 4 seconds add 0A to your string.
    3. Your string is now \0538000A.
    4. When you convert your group address of 021 to hexadecimal you get 15.
    5. Your string is now \0538000A15.
    6. Convert your percentage ramp rate to decimal and then to hexadecimal. For 50% you get 7F.
    7. Your string is now \0538000A157F.
    8. Calculate your checksum as outlined on page 3. Your result is 25.
    9. Your string is now \0538000A157F25.
    10. Finally add all your hexadecimal groups together and you should get a result of 0.
    To convert the command to an iRule format add an extra black slash at the beginning of the string, drop the first zero, add your confirmation character at the end (any letter is fine but I always use g) followed by a backslash and lastly the all-important x0D for your carriage return. So the final string for irule looks like this:
    \\538000A157F25\0xD

    ADDITIONAL RESOURCES
    1. The C-BUS Quick Start Guide is currently available at http://training.clipsal.com/downloads....

    2. The formula to convert from a percentage based ramp rate to a decimal result is as follows:

    a. Your percentage multiplied by 255
    b. Divide by 100
    c. Truncate the final result
    Eg. 50% ramp rate is 50 x 255 / 100 = 127.5 Truncated becomes 127

    3. All CBUS group address’s converted to hexadecimal
    Group Address Hex Group Address Hex Group Address Hex
    000 0 086 56 172 AC
    001 1 087 57 173 AD
    002 2 088 58 174 AE
    003 3 089 59 175 AF
    004 4 090 5A 176 B0
    005 5 091 5B 177 B1
    006 6 092 5C 178 B2
    007 7 093 5D 179 B3
    008 8 094 5E 180 B4
    009 9 095 5F 181 B5
    010 A 096 60 182 B6
    011 B 097 61 183 B7
    012 C 098 62 184 B8
    013 D 099 63 185 B9
    014 E 100 64 186 BA
    015 F 101 65 187 BB
    016 10 102 66 188 BC
    017 11 103 67 189 BD
    018 12 104 68 190 BE
    019 13 105 69 191 BF
    020 14 106 6A 192 C0
    021 15 107 6B 193 C1
    022 16 108 6C 194 C2
    023 17 109 6D 195 C3
    024 18 110 6E 196 C4
    025 19 111 6F 197 C5
    026 1A 112 70 198 C6
    027 1B 113 71 199 C7
    028 1C 114 72 200 C8
    029 1D 115 73 201 C9
    030 1E 116 74 202 CA
    031 1F 117 75 203 CB
    032 20 118 76 204 CC
    033 21 119 77 205 CD
    034 22 120 78 206 CE
    035 23 121 79 207 CF
    036 24 122 7A 208 D0
    037 25 123 7B 209 D1
    038 26 124 7C 210 D2
    039 27 125 7D 211 D3
    040 28 126 7E 212 D4
    041 29 127 7F 213 D5
    042 2A 128 80 214 D6
    043 2B 129 81 215 D7
    044 2C 130 82 216 D8
    045 2D 131 83 217 D9
    046 2E 132 84 218 DA
    047 2F 133 85 219 DB
    048 30 134 86 220 DC
    049 31 135 87 221 DD
    050 32 136 88 222 DE
    051 33 137 89 223 DF
    052 34 138 8A 224 E0
    053 35 139 8B 225 E1
    054 36 140 8C 226 E2
    055 37 141 8D 227 E3
    056 38 142 8E 228 E4
    057 39 143 8F 229 E5
    058 3A 144 90 230 E6
    059 3B 145 91 231 E7
    060 3C 146 92 232 E8
    061 3D 147 93 233 E9
    062 3E 148 94 234 EA
    063 3F 149 95 235 EB
    064 40 150 96 236 EC
    065 41 151 97 237 ED
    066 42 152 98 238 EE
    067 43 153 99 239 EF
    068 44 154 9A 240 F0
    069 45 155 9B 241 F1
    070 46 156 9C 242 F2
    071 47 157 9D 243 F3
    072 48 158 9E 244 F4
    073 49 159 9F 245 F5
    074 4A 160 A0 246 F6
    075 4B 161 A1 247 F7
    076 4C 162 A2 248 F8
    077 4D 163 A3 249 F9
    078 4E 164 A4 250 FA
    079 4F 165 A5 251 FB
    080 50 166 A6 252 FC
    081 51 167 A7 253 FD
    082 52 168 A8 254 FE
    083 53 169 A9 255 FF
    084 54 170 AA
    085 55 171 AB

    4. Selection of ramp rates converted from seconds to hexadecimal

    Seconds Hex
    4 0A
    8 12
    12 1A
    20 22
    30 2A
    40 32
    60 3A
    90 42
    120 4A
    180 52
    300 5A
    420 62
    600 6A
    900 72
    1020 7A
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly happy, confident, thankful, excited

  • For anybody who cares I've added to the doco that I wrote. It's now eight pages with extra appendix based info. Also I'm forever adding to the CBUS device in the device list. Just search under the COMMUNITY tab for CLIPSAL as the vendor and download the one entitled CBUS - (RR 4 seconds/percentages).
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly happy, confident, thankful, excited

  • I’m happy
    Hi John if you have any information available to share that would be great.

    Did you have any luck with the feedbacks and iRule?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly happy, confident, thankful, excited

  • Hi Les, I haven't made any attempts at the feedback side of things. My understanding of the CBUS network is that it's very much like a Ethernet network ie. their's always packets flying around and CBUS feedback is about reading those packets. Would you like me to provide you with the current doco that I have created so far? Please note that I am slowly trying to update the device entitled "CBUS - (RR 4 seconds/Percentages)" with new commands all the time. I'm also investigating the possibility of creating an iphone app to auto create these commands. That all takes time as this is JUST a hobby for me.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly happy, confident, thankful, excited

  • I’m thankful
    thanks John,

    great to see you get things this far. I have irule controlling a few lights & blinds on my c-bus system. Feedback will be great when you get to that stage. my skills preclude me from being able to do it. Any chance of getting the doc you have prepared and refer to earlier?

    thanks again
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly happy, confident, thankful, excited

  • Has anyone sussed out the feedback for C-Bus? Would be great to if a load is on have a "selected" button change to reflect the on status.

    cheers
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly

  • Here is the section from the CBUS serial communication guide on feedback. Previously I think this would have been impossible to interpret, but now with variables and operators it may be possible (but not easy !!!) -

    An example of a Standard Format Status Reply, over 3 lines, is:

    D8380068AA0140SSOSS0001000000014000000000000000000CF
    D838S80000000000000000000000000000000000000000000098
    D638BOOOOOOOOOFF00000000000000000000000000000043

    This reply codes the binary status of all 256 possible groups in application 38, the
    standard C-Bus Lighting Application

    Using this example reply:
    The first line above "D8380068AA01 ... " codes up a reply with 48 characters to
    follow, on application 38. The first line starts reporting group address 00. The
    status bytes "68AA01 ... " are interpreted as:

    68: group 0 does not exist, group 1 = OFF, group 2 = OFF, group 3 = ON
    AA: group 4 = OFF, group 5 = OFF, group 6 = OFF, group 7 = OFF
    01 group 8 = ON, and groups 9, 10, 11 do not exist

    The second line of output for the status report has exactly the same format, but
    starts the report group "58" (hex).

    The third line is a slightly shorter, but is otherwise the same, and starts reporting
    from group "BO" (hex).

    Status replies from a remote C-Bus network are generally slightly shorter and run over more lines. Status replies from remote networks can also have other replies interleaved between the status reply lines.

    Cheers,
    Peter
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly happy, confident, thankful, excited

  • Hi Peter,

    Thanks for the info. Never had to get my head around MMI before so the learning curve will initially be steepish.

    Need to get my head wrapped around how the MMI messages which contain the status can be read by iRule then interpreted, then do something. I think your "not easy statement is fairly accurate.

    No experience yet with iRule variables and operators getting my head around iBuilder. Starting to make sense after a day or so.

    I think initially I will aim for just highlighting a switch if a load is on. Think that will be a challenge in itself with aim for dimming slider control.

    On step at a time.

    I will read the serial comms guide......just been through lighting control via PCI which touches on MMI.

    Cheers,
    Ian
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly happy, confident, thankful, excited

  • working cbus feedback at this stage only works with control from Ipad ie does not update when switched on via wallplate https://youtu.be/TIEiimHUd3Y
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly happy, confident, thankful, excited

  • I’m thankful
    well done Dave - persistence pays off. I'd love to hear how it works when you are ready to share
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly happy, confident, thankful, excited

  • once i have worked out feedback from wall plates i will share
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated happy, confident, thankful, excited