Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Ask Me About Webinar: Data Center Assets - Modeling, Cooling, and CFD Simulation
Join our 30-minute expert session on July 10, 2025 (9:00 AM & 5:00 PM CET), to explore Digital Twins, cooling simulations, and IT infrastructure modeling. Learn how to boost resiliency and plan power capacity effectively. Register now to secure your spot!

Can2Go/SSL vs. ULTI: The Reporting Command

Gateways and Energy Servers

Schneider Electric support forum to share knowledge about product selection, installation and troubleshooting for EcoStruxure Panel Server, PowerTag, Com'X, Link150…

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • EcoStruxure Power & Grid
  • Gateways and Energy Servers
  • Can2Go/SSL vs. ULTI: The Reporting Command
Options
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
Romain_Polette
Kirk Romain_Polette Kirk
102
Guillaume_Evrard
Commander Guillaume_Evrard Commander
46
Randi_Dolan
Commander Randi_Dolan Commander
46
Thierry_Baudard
Commander Thierry_Baudard Commander
31
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to Gateways and Energy Servers
LaurentCoene
Captain LaurentCoene Captain
Captain

Posted: ‎2014-08-01 12:38 AM

3 Likes
2
1181
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2014-08-01 12:38 AM

Can2Go/SSL vs. ULTI: The Reporting Command

As discussed in previous article (https://powersolutionscommunity.schneider-electric.com/docs/DOC-2699), we have been so far sending on/off and level control commands from the Can2Go to the ULTI switches and dimmers. At the same time, we have been pulling the current status on a constant basis and synchronized things to avoid conflicts with the commands.

This worked fairly well, however it had two big disadvantages:

1) Response time in the app was not great when switching from the wall to update the status in the app.

2) The Zigbee traffic was pretty heavy as we kept pulling the status all the time.

To solve this problem, the ZCL offers the reporting command. Our Can2Go box provides the Lua.zcl.send_configure_reporting_command function in order to configure the reporting so that every time a change is made on the switch or dimmer, it immediatly let our Can2Go box know.

Easy, you're starting to think: just a function call away!!!! However, it's not that simple! For the reporting to work, you need to bind the devices together so that the "reporter" knows where to send its new status. Note that you can actually bind a switch/dimmer to multiple devices! Unfortunately (and this is where things are starting to get fishy), binding is not done by the ZCL but by the ZDO and currently Can2Go does not offer a way to access the ZDO binding commands. (we've been asking for it though!!) 🙂

In order to do the binding, you will actually need a USB Zigbee device and a small piece of software to do the binding. [beware, this is not for the faint hearted!]. Luckily for us, Schneider Electric do provide a USB Zigbee stick that will just do that (the reference is WHC2_5921).

4354

You will need to plug that on a PC (sorry no Mac or VM success, but it actually runs even on Windows 8.1).

Next, you need to join your USB stick to your zigbee network. Just open up the zigbee network on the Can2Go by checking the "Permit Join Broadcast" and click on Save.

4361

Then on your USB key, you just press the setup button. Two extra comments: if it was already part of a network, you will have to remove it first. Second, it seems that once unplugged from the computer, it seems to lose the zigbee network, so you will have to re-add it.

Final comment, if you have difficulty, you can use Zoolkit to join/leave the zigbee network easily. It's especially practical if you have many zigbee network in your office environment.

Once you've join the network, you will need to use an awesome little app developed internally by the awesome Mark Van den Broeke. (DLL Test App) that gives you a DOS like command line to do pretty much anything on a zigbee network.

Unzip the files and run the exe. (yes, it works on Windows 8.1 too and this comes as is. Do not expect any bug fix, changes...).

First you will need to find out which COM port your zigbee device is attached to. To do that, just do the command: "serial list".

You will get the com port on which your Zigbee USB device is plugged.

Then you need to connect to your device. Just type: "serial open comX" (where comX) is the port that was just listed.

From there, the tool can let you do direct ZCL commands. For example, to use the on/off cluster, you need to connect to the switch doing "zcl addr  u <short id> <destination id>".

Then, just use the zcl onoff command; for example "zcl onoff toggle" will toggle the light on and off.

To do the binding, as we said earlier, you need to do a "zdo bind" command. The format is as followed:

zdo bind i <switch short id> <switch extended id> <switch destination id> <cluster id> <can2go extended id> <can2go destination id>

Note that all the parameters are in Hex!!! Let's review them all:

-- switch short id: you can retrieve it by using the zcl.lookup_node_short_id_by_extended_id(<extended id>) method in your Can2Go box. Note that the number returned will be a decimal value so do remember to convert that to hex before using it in our little tool

-- switch extended id: this is the Mac Addr written on the side of your switch (just remove the ":")

4374

-- switch destination id: this is 10 for a single gang switch/dimmer or 10 and 11 for the 2-gang version. Remember to convert that to hex, so it ends up as a and b.

-- cluster id: 6 for the on/off cluster and 8 for the level control (dimming) cluster. Note that for a dimmer you will have to bind both clusters!!!!

-- can2go extended id: this is the extended node id that you can find in the Can2Go zigbee configuration

4375

-- can2go destination id: not exactly sure why, but it should be 3!

And you're done!

Let's recap all the commands for a dimmer:

serial list (to find out which com port to use)

serial open <com port>  (to connect to the USB Zigbee dongle)

zdo bind i <switch short id> <switch extended id> <switch destination id> 6 <can2go extended id> 3 (to bind the on/off cluster)

zdo bind i <switch short id> <switch extended id> <switch destination id> 8 <can2go extended id> 3 (to bind the level control cluster)

And it will look just like this:

4376

The hard part is over! Now we only have to run our ZCL commands in lua to specify and configure our reporting command.

For the on/off cluster registration here is an example:

    error_code, error_msg = zcl.send_configure_reporting_command(

        shortId,             -- destination_short_id

        extendedId,          -- destination_extended_id

        destinationEndPoint, -- destination_endpoint

        0x0006,              -- cluster_id

        0x0000,              -- attribute_id

        0x10,                -- attribute_data_type : ZCL_BOOLEAN_ATTRIBUTE_TYPE

        0x0000,              -- minimum reporting interval

        0x0300,              -- maximum reporting interval: 5mins

        0x01,                -- reportable change

        0x0104 )             -- application_profile 

The comments should be pretty self explanatory and you can refer to the ZCL specification if you need greater details. The only one worth really mentioning is the maximum reporting. If you set it to 0x0000 then the reporting will only happen when a change occurs.

The attribute type needs to match what is specified in the ZCL spec, so 0x10 for the on/off cluster and 0x20 for the dimming.

You're done!

Next will be to integrate this with the script of the previous article and your solution will be complete and solid! We will post that in a future article.

Hope this helps! 😉

Attachments
ULTI vs Can2Go Reporting Command.zip
Zoolkit_1_0_0_215_Setup.exe
Tags (7)
  • Tags:
  • can2go
  • command
  • reporting
  • ssl
  • ulti
  • zdo
  • zigbee
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
Replies 2
LaurentCoene
Captain LaurentCoene Captain
Captain

Posted: ‎2014-08-20 01:18 AM

0 Likes
0
1023
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2014-08-20 01:18 AM

Quick addendum: turns out that this USB dongle hasn't been released yet. We'll come back with a solution using a 3rd party device soon!

Reply
StefanEnser
Lt. Commander StefanEnser Lt. Commander
Lt. Commander

Posted: ‎2016-03-29 03:06 AM

0 Likes
0
1023
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2016-03-29 03:06 AM

Hi Laurent,

any news regarding the ZigBee USB dongle?

Reply
Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of