JRPassphrase Registration Control

In order to register on this site, you must first submit the passphrase below.

Home automation - setup PDF Print E-mail
Written by Administrator   
Thursday, 18 August 2011 15:09


Hi Guys,

Last month we have included the home automation extensions in the Switchfin distro.
Let's describe shortly how it can be configured.

Command line

  • In case you have WLTC module plugged in your IP02/IP08 PBX and if you use Switchfin image with home automation support included you should see something like
    wltc_init: WLTC module found at port 1

    in your system log
  • To get the list of the all available MAC addresses of the remote devices one can do

root@ip0x:~> home-auto /dev/wltc get_address_list


  • To switch on the relay of one of the remote unit (WLRR) please enter

root@ip0x:~> home-auto /dev/wltc set_device 55:44:33:fe:ff:22:00:02 1

  • To check the state of given WLRR unit please enter the following command. Note that WLRR has local button for toggling of the relay state.
    The command below is retrieving the correct current state.

root@ip0x:~> home-auto /dev/wltc get_device 55:44:33:fe:ff:22:00:03

  • To switch off the relay of one of the remote unit please enther

root@ip0x:~> home-auto /dev/wltc set_device 55:44:33:fe:ff:22:00:02 0

Graphical User Interface (GUI)

Thanks to Jason we got home automation integrated in the GUI.
Let's describe how one can setup a simple IVR (DTMF control) using the two WLRR to control the Air Conditioner and the Cooker.

If you have WLTC inserted in your IP02/IP08 and two WLRR end devices plugged in the mains socket you will get them automatically recognized by the GUI.
The first step is to prepare an SIP extension so you can record some voice prompts (Extensions)



Last Updated on Wednesday, 24 August 2011 18:42
Switchfin GUI supports Italian PDF Print E-mail
Written by Administrator   
Tuesday, 25 June 2013 14:03

As you may know Switchfin GUI can be configured in English, French, Russion, Portuguese
Now Italian language is added to the above.

Thanks go to Amleto Rostellato.

Last Updated on Tuesday, 25 June 2013 14:12
Ademco ContactID support added in Switchfin PDF Print E-mail
Written by Administrator   
Monday, 01 April 2013 15:44

Hi Guys,

In a typical alarm system scenario there are numerous alarm panels spread in a different armed premises.
Those premises  are often spread in a very different geographical locations within a town or even country.
The best practice is to collect all the 'alarm events' from all alarm panels in a single central station.
So the question is what is the best communication media and protocol used for this.
Thanking into account the old infrastructure heritage it is not a surprise that the POTS analog telephone lines
have been widely used in the past and even now. And the protocol is Contact ID invented by a company called
which become de-facto a standard for this kind of alarm panel <-> central station communication.
It uses based on a sequence of DTMF tones with handshake and a control sum incorporated.
Here we go we have AlarmSender() Asterisk application implemented in Switchfin. (Note that AlarmReceiver()
supporting Contact ID protocol is available in Asterisk mainstream since Asterisk 1.2)

To test please build Switchfin with AlarmSender enabled in the Switchfin menuconfig.
Then in Asterisk CLI you can do

switchfini1*CLI> originate DAHDI/g1/phone_number application AlarmSender 111118162601000

-- Executing AlarmSender("DAHDI/phone_number", "111118162601000") in new stack
> AlarmSender: Setting read and write formats to u-law
> AlarmSender: Sending ademco contact ID
> AlarmSender: Determining protocol ademco contact ID...
> AlarmSender: Protocol ademco contact ID determined !
> AlarmSender: Trying to send for 1 time (max 4)
> AlarmSender : digits_to_send : 1111181626010006 with checksum : 6
> AlarmSender: Verifying 1400Hz 100ms burst (ACK)
> AlarmSender : Launching receving loop
> AlarmSender: Verifying 2300Hz 100ms burst (ACK)
> AlarmSender : Launching receving loop
AlarmSender: Sending DTMF digits successful !!
> AlarmSender : Launching receving loop
> AlarmSender : Not a Voice frame, trying with next frame
> AlarmSender: Ademco Contact ID sent successfully !
-- Executing [
DAHDI@alarm:3] Hangup("DAHDI/phone_number", "") in new stack

You should have AlarmReceiver (either commercial alarm central station or Asterisk box with AlarmReceiver application)
listening on the phone_number side. The message is actually the last 15 digits. 
For more information about the protocol itself please check Contact ID recommendation

The Asterisk AlarmReceiver application from the remote side responds:

-- Executing [6000@alarm:4] AlarmReceiver("DAHDI/Channel 1", "") in new stack
> AlarmReceiver: Answering channel
> AlarmReceiver: Waiting for connection to stabilize
> AlarmReceiver: Waiting for first event from panel...
> AlarmReceiver: Sending 1400Hz 100ms burst (ACK)
> AlarmReceiver: Waiting for first event from panel...
> AlarmReceiver: Sending 1400Hz 100ms burst (ACK)
> AlarmReceiver: Sending 2300Hz 100ms burst (ACK)
> AlarmMonitoring: Detected format ADEMCO_CONTACT_ID.
== AlarmReceiver: Received Event 1111181626010006

This open the door for a few interesting applications based on IP0x as a component in the smart alarm systems.

Last Updated on Monday, 01 April 2013 16:55
Switchfin supports WLTC - IP0x module for Home Automation PDF Print E-mail
Written by Administrator   
Thursday, 14 July 2011 09:51

Hi Guys,

WLTC support was added in Switchfin trunk.
WireLess Tele Controller (WLTC) manufactured by Switchvoice Ltd. is a ZigBee module for IP0x
intended to be used as home automation controller.
Currently WLTC supports WireLess remote Relay (WLRR) end device (shown on the picture above),
capable to control 220V/16A Appliance.
Very soon we will see released family of other end devices like temperature sensors,
current senses, light switches etc.

For more information about the hardware please read the link

The technology is 6LowPAN enabled.

Let's make a dedicated sub forum for Home Automation.

Last Updated on Thursday, 14 July 2011 11:28
SIM pin in the GUI PDF Print E-mail
Written by Administrator   
Thursday, 20 January 2011 17:34

Hi Guys,

If you compile latest Switchfin with GSM1 support you don't have to modify config files anymore.
The SIM pin number can be entered in the GUI: System Setup -> Configure Hardware.

The new addition is due to Jason!

<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Page 1 of 10