All posts by wpadmin

Dante networking: Ports and protocols

A few facts and figures about Dante packets on the Network

Protocol and ports used by Dante, all UDP

ProtocolSrc. IPSrc. PortDest. IPDest. PortDescription
PTP (v1)All Dante
devices
all224.0.1.129319, 320Clock, Synchronization
of Dante network
MDNSAll Dante
devices
all224.0.0.2515353Device info for Dante
Controller Software
unknown multicastAll Dante
devices
all224.0.0.2318700-8704, 8800Dante Control and
Monitoring
unknown unicastAll Dante
devices
allUnit Receiving stream 4440,4444, 4455Dante Routing
unknown multicastAll Dante
devices
all239.255.x.x4321Audio Broadcast
unknown unicastAll Dante
devices
allUnit Receiving stream 14336-14600Audio Unicast

Multi and unicasts

  • Be aware that multicast’s are always sent, even when there is no “subscriber”. So the network components can be overloaded even if nowhere sound play’s
  • Unicast’s are only sent  if there is a valid routing and the receiving Dante unit is alive. Maximum 2 concurrent Dante Unicast can be sent per unit/stream. A third assigned unit will play nothing until one of the two unicast’s are free

 

Control4 driver for Cisco SBS series switches and network monitoring tools

This driver set is the Swiss army knife, it combines network monitoring tools with the ability to automatic reset power lines and/or ports of a switch. So first we need to make sure to have s Cisco Small Business Series switch in the project, a SG300-28 or whatever, 500 series also should work. It does not matter in which configuration the switches are running.

So for simple port control of the switch we just need the switch driver, setup as follows:

  1. Setup the Switch to allow Telnet access
    Login with your credentials and find the point to activate telnet. Usually Security->TCP/UDP Services
    CropperCapture[485]
  2. Setup the driver in Control4
    Find the driver by tipping “cisco” into the search field
    CropperCapture[476]
    And insert the properties
    CropperCapture[479]
    If the driver starts correctly under Programming all ports are listed
    CropperCapture[486]
    Each port can be switched on/off/toggled using this variables.

But wait, what about my ADSL that hangs every 2 days? No need for expensive power relays (that hang by itself…), we use C4 combined with the Cisco switch to do the job!

How to restart my ADSL modem if its not responding anymore

  1. Add the ping check driver
    CropperCapture[477]
    Insert the IP of the router or in case of a modem a IP from the internet/from your provider
    CropperCapture[480]
    Careful set the properties, in the drivers Documentation tab is explained what they do.
  2. Set the actions to take on ping loss
    To get something happen if the ping is lost, we have a variable named device_power_control, it goes to false if the ping times out, true if it the device answers correct. Furthermore a direct relay connection can be done
    CropperCapture[482]
    The relay connection can be connected to a low voltage relay (to break 12V or such) like the  one from the Controller, also possible to connect to a high voltage relay from a DIN-8REL module to break the power. The down time is 10 seconds, after that the relay closes again
  3. Switch a POE port of the switch on ping  loss
    Jump to programming and set the ports variable to the device_power_control variable
    CropperCapture[484]

Ping is ok but can I test also a telnet port, like the one from Director? Hang on!

Restart devices that should be checked on a telnet/TCP port

  1. Add the telnet check driver
    CropperCapture[481]
    And set the properties, again read the Documentation tab of the driver..
  2. Set the actions to take if port is not available
    The telnet driver has the same variables and relay outputs as the telnet driver, see above how to set up

The drivers for all this you find here (login needed)
ping_check_network_diagnostic_driverworks
telnet_check_network_diagnostic_driverworks

Latest switch driver version 1.00.005. Does expose a relay binding for each port
Download here (login needed)
switch_300-500_Series_Managed_IP_driverworks_cisco

Latest version switch driver 1.00.009

  • For each POE port and each link port a separate Relay connections is available in Connections
  • Only ports that are physically available are listed
  • Divers improvements

Download here (login needed) switch_300-500_Series_Managed_IP_driverworks_cisco_1_00_009

 

Control4 multi dwelling intercom with Koch

Control4’s doorstation solution has a big lack, it does not support multi dwelling houses which are very regular in Europe.
Koch provides the multi dwelling door intercom system TC-Bus which can support up to 115 members.

For each to TC-Bus connected C4 system a SIP gateway is needed, if the TC-Bus has less than 10 members the FBI6101 module should be used. Above the FBI6100 is suitable. To open the door a BRE2/SG module needs to be purchased, it connects from a C4 relay to the TC-Bus and sends the DTMF 7 when the relay is closed, the door opens. (Mention on order that is should send DTMF 7)

Limitations:

  • There is no way to call out, from panel to the doorstation
  • Only audio is supported, video can be inserted via webcam (which is mounted in the TC_Bus doorstation anyway) and a pageflip on the C4 touchpanel

Setup:
Login to the Koch SIP gateway default ip 192.168.1.200, password 1234
Setup the phone-book that  it rings to the intercom group 123:
CropperCapture[464]

Save it!

On C4, create a intercom group 123, assign all panels to the group.
Insert a “3rd party SIP phone” driver and set username and password (numbers only), insert the same credentials in the SIP gateway:
CropperCapture[467]
Save everything and try!
Opening the door can be done via “Custom Button”.

The driver for the dorstation webcam can be found in my other post about Koch:
https://technet.genesis-technologies.ch/koch-doorstation-compatible-with-control4/
Create a bookmark on your touchpanel for the webcam and have it called when the intercom session is accepted. Then you can speak and see the person outside.

International dealers may please contact Koch for sales directly:
http://www.kochag.ch/de/home.html

How to find a Kaleidescape server with unknown IP address

There are 3 ways.:

First and easiest:  Using local link (Kaleidescape KB article [K000037])

In the rare case that the Kaleidescape server has an unknown static IP address and the server is on a different subnet than the computer, it is possible to access the browser interface using an alternate address, known as the link local address.

Follow the procedure below to access the browser interface of the Kaleidescape server using the link local address. You should understand networking in the Windows operating system to safely make the changes. Before you attempt this procedure, try the other methods described in www.kaleidescape.com/go/browser-interface.

  1. Use a computer with a Windows operating system. (The following steps are for Windows XP.)
  2. Connect the computer by an Ethernet patch cable to the same switch as the Kaleidescape server. A wireless connection will not work.
  3. Disable any firewall.
  4. Check that NetBIOS name resolution is enabled. If not, install Bonjour Print Services for Windows according to the instructions at http://support.apple.com/kb/DL999.
  5. On the computer, select Start > Settings > Network Connections > LAN. The LAN Status window appears.
  6. Click Properties. The LAN Properties window appears.
  7. In the LAN Properties window, scroll down the list of items and select Internet Protocol (TCP/IP). Click Properties. The Internet Protocol (TCP/IP) Properties window appears.
  8. Take note of the settings in the Internet Protocol (TCP/IP) Properties window. You will change these settings, and then undo the changes.
  9. Click Use the following IP address and type 169.254.101.101 for IP address and 255.255.0.0 for Subnet mask. Do not change any other fields.
  10. Click OK. The Internet Protocol (TCP/IP) Properties window closes.
  11. Click Close in the LAN Properties window.
  12. Click Close in the LAN Status window, if still open.
  13. Check that the Kaleidescape server is powered on and connected to the network switch; the server front panel should glow blue.
  14. Find the serial number of the server.
  15. The link local address of the server is ll- followed by the 12-character serial number of the server. Here “ll” is two instances of the letter l. For example, if the server serial number is 0000 0001A2B3, then the link local address is ll-00000001A2B3. Enter http://ll-00000001A2B3 in a web browser. The browser interface should appear.
  16. In the browser interface, select the SETTINGS tab, then select Components in the second row of tab. Click the Settings button for the server. The Network Settings window appears. Configure the network.
  17. After the Kaleidescape System has been configured, undo the link local address. The link local address is not suitable for normal operation. To undo the link local address, select Start > Settings > Network Connections > LAN on the computer. In the LAN Status window, click Properties. In the LAN Properties window, select Internet Protocol (TCP/IP) and click Properties. Reset the settings in the Internet Protocol (TCP/IP) Properties window to the original settings previously noted. Click OK, then click Close in the LAN Properties window.

The procedure for Mac users is similar, but append “.local” to link local address, for example, http://ll-00000001A2B3.local.

Second way: Take a serial capture (Kaleidescape KB article [K000074])

Don’t do this if a hard disk is amber! Requires a restart which may is dangerous if a disc already is amber/failed. First replace the disc and let rebuild the filesystem
See this PDF: Kaleidescape-Quick-Reference-Retrieving-Diagnostic-Information
The output contains all network information

Third: Connect via serial and set back to DHCP (Kaleidescape KB article [K000027])

If the IP address of a Kaleidescape component cannot be determined, you can reset the IP address by connecting the RS-232 port of the component to a standard DB-9 serial port of a computer with a DB-9 serial cable. Use a straight-through cable for players and a crossover cable for servers. Then configure a serial-capable terminal emulator (e.g. HyperTerm or PuTTY) to 8 data bits, no parity, 1 stop bit (8N1), and no flow control. For a player or disc vault, set it to 19,200 bps and, for a server, set it to 115,200 bps.

Now execute the following commands (followed by [ENTER]) in the terminal emulator to view or set the network settings: (Always  copy and past the complete string!)
To get the device’s current network settings: 01/1/GET_NETWORK_SETTINGS:
To set a device to DHCP:  01/1/SET_NETWORK_SETTINGS:0::::::

To set a device to a static address, in this case IP address 192.168.1.222, Subnet Mask of 255.255.255.0, Gateway of 192.168.1.1 and primary and secondary DNS of 4.2.2.2 and 192.168.1.2 respectively:  01/1/SET_NETWORK_SETTINGS:1:192.168.1.222:255.255.255.0:192.168.1.1:4.2.2.2:192.168.1.2:

Once you have changed a component’s IP address, reboot it for the changes to take effect.

 

 

Control4 Zigbee: The definitive magic button press guide (..)

ProductIdentifyRebootChannel
Blink
Reset
Defaults
Leave Zigbee
Mesh & Reset
Factory Defaults
In-wall Lighting4 x top 15 x Top 7 x top,
4 x bottom,
7 x top
9 x top,
4 x bottom,
9 x top
(or 9, 9, 9)
13 x top,
4 x bottom,
13 x top
Inwall 2-3
button keypads
4 x top 15 x top 7 x top,
4 x bottom,
7 x top
9 x top,
4 x bottom,
9 x top
(or 9, 9, 9)
13 x top,
4 x bottom,
13 x top
Inwall 6
button keypads
4 x top left 15 x top left 7 x top left,
4 x bottom left,
7 x top left
9 x top left,
4 x bottom left,
9 x top left
(or 9, 9, 9)
13 x top left,
4 x bottom left,
13 x top left
Light devices,
2-3 button
keypads in
Mini-App Mode
Press and
hold bottom
button
N/AN/AN/APress and hold
bottom button
for 13 seconds

6 button
keypad in
Mini-App Mode
Press and
hold bottom
left button
N/AN/AN/APress and hold
left bottom button
for 13 seconds
1-Button
Products
4157913
Thermostats4 x center 15 x center 7 x first left
4 x center
7 x first left

9 x first left
4 x center
9 x first left
(or 9, 9, 9)
13 x first left
4 x center
13 x first left
System Remote
SR-150
4 x red
C4 button
Room off, #,
*, 1, 5, 4, 1, 5
Room Off, #, *, 7, 4, 7N/ARoom Off, #, *, 1, 3, 4, 1, 3
System Remote
SR-250
4 x red
C4 button
Room Off, #,
*, 1, 5, 4, 1, 5
List, Info, Config, 2, 4,
8, 6, #, *
List, Info, Config,
Factory Defaults
Room Off, #, *, 1, 3, 4, 1, 3
Puck
(Button on puck)
4x15x7x9x13x
Puck
(Aux Contact 1)
(with momentary
switch connected)
4x15x7x22x30x
Puck
(Aux Contact 1)
(with latch
switch connected)
8x30x14x44x60x
Puck
(Aux Contact 1&2)
(with momentary
switch connected)
N/AN/AN/A9 x aux1,
4 x aux2,
9 x aux1
13 x aux1,
4 x aux2,
13 x aux1
Puck
(Aux Contact 1&2)
(with latch
switch connected)
N/AN/AN/A18 x aux1,
8 x aux2,
18 x aux1
26 x aux1,
8 x aux2,
26 x aux1
Cardaccess
relay and
contact sensor
4 x id buttonN/AN/AN/AHold id button, apply
power, keep holding until
LED is amber
Cardaccess
motion sensor
4 x id buttonN/AN/AN/AHold id button, apply
power, keep holding until
LED is amber
Cardaccess
mini remote
4 x bottom
button
Pull batteriesN/AN/AHold top left,
insert batteries
LED goes from
green to blue,
release top left,
press bottom right
Axxess
Wireless consact sensor
4 x N/AN/A15 x13 x
Axxess
Doorbell button
4 x internal
button
N/AN/A15 x internal
button
13 x internal
button
Axxess
Relay & contact sensor
4 xN/AN/A15 x13 x

How to find a Kaleidescape server with unknown IP

Use a computer with a Windows operating system. (The following steps are for Windows XP, 7)

  1. Connect the computer by an Ethernet patch cable to the same switch as the Kaleidescape server. A wireless connection will not work.
  2. Disable any firewall.
  3. Check that NetBIOS name resolution is enabled. If not, install Bonjour Print Services for Windows according to the instructions at http://support.apple.com/kb/DL999.
  4. On the computer, select Start > Settings > Network Connections > LAN. The LAN Status window appears.
  5. Click Properties. The LAN Properties window appears.
  6. In the LAN Properties window, scroll down the list of items and select Internet Protocol (TCP/IP). Click Properties. The Internet Protocol (TCP/IP) Properties window appears.
  7. Take note of the settings in the Internet Protocol (TCP/IP) Properties window. You will change these settings, and then undo the changes.
  8. Click Use the following IP address and type 169.254.101.101 for IP address and 255.255.0.0 for Subnet mask. Do not change any other fields.
  9. Click OK. The Internet Protocol (TCP/IP) Properties window closes.
  10. Click Close in the LAN Properties window.
  11. Click Close in the LAN Status window, if still open.
  12. Check that the Kaleidescape server is powered on and connected to the network switch; the server front panel should glow blue.
  13. Find the serial number of the server.
  14. The link local address of the server is ll- followed by the 12-character serial number of the server. Here “ll” is two instances of the letter l. For example, if the server serial number is 0000 0001A2B3, then the link local address is ll-00000001A2B3. Enter http://ll-00000001A2B3 in a web browser. The browser interface should appear.
  15. In the browser interface, select the SETTINGS tab, then select Components in the second row of tab. Click the Settings button for the server. The Network Settings window appears. Configure the network.
  16. After the Kaleidescape System has been configured, undo the link local address. The link local address is not suitable for normal operation. To undo the link local address, select Start > Settings > Network Connections > LAN on the computer. In the LAN Status window, click Properties. In the LAN Properties window, select Internet Protocol (TCP/IP) and click Properties. Reset the settings in the Internet Protocol (TCP/IP) Properties window to the original settings previously noted. Click OK, then click Close in the LAN Properties window.
  17. The procedure for Mac users is similar, but append “.local” to link local address, for example, http://ll-00000001A2B3.local.

Advanced logging not using Composer

This is a Control4 knowledgebase entry, compressed to the imported facts

Composer logging is good for issues that you can reproduce on the fly. If you have an issue that is random and sporadic then Composer logging is not the best option

Using the command c4log you are able to enable logging on any service running on the device. This will save the log on the device under the /log/debug directory. It will create a text file that will fill upto 1 mb (megabyte). Once it gets to 1 mb it will zip that file into a .gz (gzip) file. Then start a new text file that will fill to 1 mb again. Then also will create a gzip file with .2.gz on the extension. It will create a max of 5 .gz files. Once there are 5 .gz files it will overwrite the 1.gz file and next the 2.gz and so on.. (logging zigbee will create a total of 20 .gz fi les.)
Activate/deactivate the log process:

  1. Login to the Controller by using openssh. Ask Google where to download: https://www.google.ch/#q=openssh
  2. install openssh
  3. Open the windows command prompt and type ssh 192.168.0.1 -l root (Enter button)
    (For sure replace the IP with the one of your Controller)
  4. Accept the warning by typing “yes” and copy and paste in the password: t0talc0ntr0l4!
  5. In the command prompt type c4log (Enter button) and you see the list which services can be log’d:
    •     all
    •     amgserver
    •     audio
    •     c4lookup
    •     c4rmengined
    •     daemon
    •     dhcp
    •     director
    •     dtserver
    •     intercom
    •     ioserver
    •     kernel
    •     mp3d
    •     navigator
    •     netusbserver
    •     performance
    •     raproxyd
    •     ripd
    •     sipproxy
    •     sysmand
    •     upman
    •     zap
    •     zserver
  6. To start the logging use the command c4log enable (service).
  7. To stop the logging use the command c4log disable (service).

To have a look to the log process youo can use the command tail to any file that is logged in /var/log/debug. Example: tail -f /var/log/debug/director.log

If you need to send the logs to someone you can locate the logs from SAMBA share of the device.