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: Has anyone integrate xap with DL05 PLC from automation direct.


  • Subject: Re: Has anyone integrate xap with DL05 PLC from automation direct.
  • From: "Jose" <sanchezbond007@xxxxxxxxx>
  • Date: Wed, 17 Jun 2009 10:38:21 -0000

Thanks to everybody for the ideas and information.


In xap_automation@xxxxxxx, Patrick Lidstone <patrick@...> wrote:
>
> I've had IVR interactions between xAP and asterisk working nicely in
the
> past, in the pre-broadband days, although now I find a remote web
interfa=
ce
> quicker and easier. What you describe should be doable just with plain
ol=
d
> asterisk, you can integrate to your existing PBX or you might find it
eas=
ier
> to be fully independent and use VOIP numbers for the incoming calls to
yo=
ur
> system, in which case it would stand alone.
>=20
> Executing commands (press 1 to turn the lights on etc) in xAP is
trivial
> from an IVR script - you can invoke some PERL to build and publish the
> message as required, and there are plenty of generic (non-xAP)
examples o=
n
> voip-info.org to get you started.
>=20
> If you want to be able to announce the current status of devices (e.g.
th=
e
> temperature at location x is y degrees) you will almost certainly need
a
> cache to record the last known state broadcast by a device. Your
script w=
ill
> then query the cache status to give the last known value. (You can
find o=
ne
> implementation of a cache on my web page).
>=20
> Incidentally, once you have done the IVR implementation, adding a web
fac=
ing
> capability on top is also really easy as most of the hard work has
alread=
y
> been done!
>=20
> I will try and write up some more detailed instructions, although I'm
a b=
it
> time-constrained over the next couple of weeks, so please bear with
me.
>=20
> P.
>=20
>=20
> 2009/6/15 Jose <sanchezbond007@...>
>=20
> > We have  DL05 in our 30 Tech Colleges and I am looking for the
way to
> > control lights, air conditioners that are connected to DL05,
through a
> > telephone from any place in the world. I am thinking to use
asterisk be=
cause
> > we can add this feature to the PBX. For example if a somebody
call to a
> > house or a company, asterisk respond saying if you know the ext.
mark i=
t
> > know. I suggest that one of the extensions is for the control of
lights=
etc.
> > and if you pres this extension it prompts you for a secret code.
Ones t=
he
> > system verified the secret code it prompts you to on/off light
etc. And=
send
> > the information to the PLC.
> > What are the probabilities of this project with direct soft DL05
and
> > asterisk?
> > see the link below.
> > http://web4.automationdirect.com/static/specs/mdmtel.pdf
> >
> > I am looking for your help because Christopher from asterisk
forum told=
me
> > the following
> >
> > a project like this can certainly be done through asterisk,
however it =
will
> > likely require other software be written to handle it... I dont
believe=
the
> > MDMTEL board from auto direct is an IVR.. it is 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 pho=
ne
> > system, not an automation controller...
> >
> > I use asterisk in my home to do the things you are talking of,
control =
my
> > HVAC, lights, door latches, cameras etc.. however i have
additional har=
dware
> > and software.. and communicate over TCP/IP using the Xap protocol
to my=
main
> > automation server...
> >
> > my PLC's are standalone but ultimately are controlled by the main
serve=
r...
> > asterisk talks to the main server by Xap...
> >
> > example:
> >
> > asterisk dialplan sends me through a voice menu lets say to turn
on the
> > porch light... i am asked first what room I wish to control, then
am gi=
ven a
> > list of lightsi n that room and then I can turn on, turn off, or
set
> > brightness.. this is all done in asterisk... however when I press
the k=
ey to
> > "execute" an external AGI script is called which
communicates via Xap t=
o my
> > main server.. which picks it 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 what=
was
> > handled in asterisk...
> > -Christopher
> >
> > --- In xap_automation@xxxxxxx, Jose sanchez
<sanchezbond007@>
> > wrote:
> > >
> > > Maybe the project of Patrick Lidstone to integrate xap with
asterisk
> > could help.
> > > This all the protocols that work with Dl05
> > > This is what an engineer of hosteng.com told me.
> > > Case 1808: DirectSOFT =E2=80" Control lights via
telephone
> > >
> > > By Greg kiser
> > > Hi Jose,
> > > The bottomline is that whatever ends up talking to the
DL-PLC, must s=
peak
> > 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 optio=
n
> > 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 talk=
s these
> > protocols to the PLC.
> > > =E2=80=A2 Our freely downloadable Ethernet SDK will talk
ECOM protoco=
l to the
> > H0-ECOM100. You can use the Ethernet SDK in a C++ program, for
example.
> > >
> > > --- El s=C3=A1b 13-jun-09, Kevin Hawkins
<yahoogroupskh@> escribi=C3=
=B3:
> > >
> > >
> > > De: Kevin Hawkins <yahoogroupskh@>
> > > Asunto: Re: [xap_automation] Has anyone integrate xap with
DL05 PLC f=
rom
> > automation direct.
> > > A: xap_automation@xxxxxxx
> > > Fecha: s=C3=A1bado, 13 junio, 2009, 7:51 am
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Hi Jose,
> > >
> > > I haven't seen these units before but they look interesting
at the
> > > price they are offered, however I don't think anyone has
written a xA=
P
> > > interface for them. There is a similar product from Barix -
called
> > > the Barionet that does have embedded xAP available but it is
more
> > expensive.
> > >
> > > There is also a new Modbus xAP controller available from
uSapiens/OPN=
ode
> > > - I am not sure if this would in any way help your
interfacing to the
> > > DL05 but take a look... Daniel who developed these is based
in Spain
> > > which might be helpful to you too ?
> > >
> > > http://sites.
google.com/ a/usapiens. com/opnode/ products/ opn-mbs
> > >
> > > K
> > >
> > > Jose sanchez wrote:
> > > >
> > > >
> > > >
> > > >
> > > > I am trying to integrate xap protocol with asterisk or
one of his
> > > > flavors and DL05 (PLC) from automation direct.
> > > >
> > > > There is a sdk from hosteng.com this a free open source
software th=
at
> > > > manage HO-ECOM (module to conect dlo5 to ethernet) They
give me the
> > > > source code.
> > > > If I found the way to integrate Xap protocol and SDK
protocol I can
> > > > control lights, air conditioner that are conected to
the PLC from
> > > > asterisk.
> > > >
> > > >
> > > >
> > > > ------------ --------- --------- --------- ---------
--------- -
> > > >
> > > > =C2=A1Obt=C3=A9n la mejor experiencia en la web!
> > > > Descarga gratis el nuevo Internet Explorer 8
> > > > http://downloads. yahoo.com/ ieak8/?l=3D e1
> > > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
_______________________________________________________________________=
_____________
> > > =C2=A1Obt=C3=A9n la mejor experiencia en la web!
> > > Descarga gratis el nuevo Internet Explorer 8.
> > > http://downloads.yahoo.com/ieak8/?l=3De1
> > >
> >
> >
> >
> >
> > ------------------------------------
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
>




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


xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation 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.