The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: control lights via telephone


  • Subject: Re: control lights via telephone
  • From: Jose sanchez <sanchezbond007@xxxxxxxxx>
  • Date: Sat, 23 May 2009 10:10:26 -0700 (PDT)

Thanks for your help=20
I am teaching Refrigeration with PLC I am looking the way to make the
cours=
e more interesting. I have air conditioning, light etc.=C2=A0conected to a
=
plc, but I want to control that with a normal telephone, voip, Celphone
etc=
. using and IVR.=C2=A0 I know that there is xap protocol that works with
as=
terisk and modbus and others that works with DL05, I need an script to
talk=
with one=C2=A0plc and other. I am going to show you a graph of the idea.
See the attachment.


--- El s=C3=A1b 16-may-09, Ben McCormack <yahoogroup@xxxxxxx> e=
scribi=C3=B3:


De: Ben McCormack <yahoogroup@xxxxxxx>
Asunto: Re: [ukha_d] control lights via telephone
A: ukha_d@xxxxxxx
Fecha: s=C3=A1bado, 16 mayo, 2009, 6:05 pm


Jose

What about one of these I found earlier on ebay - No connection or=C2=A0=20
experience just found the unit while browsing.

http://cgi.ebay.co.uk/GSM-SMS-to-RS232-Control-C-BUS-Crestron-AMX-Dynalite_=
W0QQitemZ120419944589QQcmdZViewItemQQptZAU_Gadgets?hash=3Ditem120419944589


So GSM -> RS232 -> DL-PLC

Ben



On 16 May 2009, at=C2=A0 21:19, Jose wrote:

>
> We have about 300 DL05 in our 30 Tech Colleges and I am looking
for=C2=A0=
=20
> the way to control lights, air conditioners that are connected
to=C2=A0=20
> DL05, through a telephone from any place in the world. I am
thinking=C2=
=A0=20
> to use asterisk because we can add this feature to the PBX.
For=C2=A0=20
> example if a somebody call to a house or a company, asterisk
respond=C2=
=A0=20
> saying if you know the ext. mark it know. I suggest that one of
the=C2=A0=
=20
> extensions is for the control of lights etc. and if you pres
this=C2=A0=20
> extension it prompts you for a secret code. Ones the system
verified=C2=
=A0=20
> the secret code it prompts you to on/off light etc. And send
the=C2=A0=20
> information to the PLC.
>
> I need help on how to comunicate xap protocol with any of the=C2=A0=20
> protocols of DL05. Ethernet SDK in a C++ program, for example.
>
>
>
> I post on asterisk and they toldme.
> a project like this can certainly be done through asterisk,
however=C2=A0=
=20
> it will likely require other software be written to handle it...
I=C2=A0=
=20
> dont believe the MDMTEL board from auto direct is an IVR.. it
is=C2=A0=20
> strictly a PC modem so it taks in data carrier only and not voice
>
> asterisk can connect modem calls together but in and of itself is
a=C2=A0=
=20
> phone system, not an automation controller...
>
> I use asterisk in my home to do the things you are talking
of,=C2=A0=20
> control my HVAC, lights, door latches, cameras etc.. however i
have=C2=A0=
=20
> additional hardware and software.. and communicate over TCP/IP
using=C2=
=A0=20
> the Xap protocol to my main automation server...
>
> my PLC's are standalone but ultimately are controlled by the
main=C2=A0=20
> server... asterisk talks to the main server by Xap...
>
> example:
>
> asterisk dialplan sends me through a voice menu lets say to turn
on=C2=A0=
=20
> the porch light... i am asked first what room I wish to
control,=C2=A0=20
> then am given a list of lightsi n that room and then I can turn
on,=C2=A0=
=20
> turn off, or set brightness.. this is all done in asterisk...=C2=A0=20
> however when I press the key to "execute" an external AGI
script is=C2=A0=
=20
> called which communicates via Xap to my main server.. which picks
it=C2=
=A0=20
> up and turns on the light....
>
> asterisk handles the voice interface part of it...
> you would need to code software to talk to your PLC units based
on=C2=A0=
=20
> what was handled in asterisk...
> 2009/5/1 Jose sanchez < sanchezbond007@xxxxxxx direcci=C3=B3n
de=C2=
=A0=20
> correo electr=C3=B3nico est=C3=A1 protegida contra los robots de
spam,=C2=
=A0=20
> necesitas tener Javascript activado para poder verla
>
> The next information was written by Greg Kiser.
>
>
> Case 1808: DirectSOFT =E2=80=93 Control lights via telephone
>
> Hi Jose,
> The bottomline is that whatever ends up talking to the DL-PLC,
must=C2=A0=
=20
> speak one of its protocols.
>
> DL05 Serial Protocols (see pg. 4-4 of DL05 manual)
> Port1 (RS-232C, 9600 bps fixed)
> =E2=80=A2 K-sequence protocol (slave).
> =E2=80=A2 Modbus RTU (slave).
> =E2=80=A2 DirectNET (slave).
> Port2 (RC-232C, 300-38.4Kbps)
> =E2=80=A2 K-sequence protocol (slave).
> =E2=80=A2 Modbus RTU (master/slave).
> =E2=80=A2 DirectNET (master/slave).
> =E2=80=A2 Non-sequence / print protocol.
>
> DL05 Ethernet Protocols (Must have H0-ECOM100 installed in
DL05=C2=A0=20
> option slot).
> =E2=80=A2 ECOM protocol
> =E2=80=A2 Modbus TCP (master/slave)
>
> NOTES
> =E2=80=A2 K-sequence protocol is proprietary.
> =E2=80=A2 DirectNET is open and the manual for it can be downloaded.
> =E2=80=A2 There is canned software sold by AutomationDirect that talks
th=
ese=C2=A0=20
> protocols to the PLC.
> =E2=80=A2 Our freely downloadable Ethernet SDK will talk ECOM protocol
to=
=C2=A0=20
> the H0-ECOM100. You can use the Ethernet SDK in a C++ program,
for=C2=A0=
=20
> example.
>
> Hope this helps a little more.
>
> Best regards,
>
> www.hosteng.com/Support.htm
>
>
> Post on asterisk forum see important information
> forums.digium.com/viewtopic.php?p=3D130001#130001
>
>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>



[Non-text portions of this message have been removed]



------------------------------------


UKHA_D Main Index | UKHA_D Thread Index | UKHA_D Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.