Re: [asterisk-users] Asterisk to switch on electric heaters remotely?

2010-10-19 Thread marvin horst
This would be overkill, but I thought I would mention these products in case
someone was looking for a more robust/industrial automation solution that
could be integrated with the linux command line and asterisk. I do use
asterisk as a remote control device for a few non-critical inputs (air
supply valves) in our production plant. I also use asterisk for remotely
checking status on few IO points. Opto 22 produces the SNAP PAC System a line
of  IO control brains. Some of these devices/brains can run a control
program independently, other serve as remote IO points for a controlling
brain or a program running on your linux server. Most of the software is
free with the exception of a few programs that are used in a large scale
deployment situation.

Cheapest non-controlling brain
http://www.opto22.com/site/pr_details.aspx?cid=4item=SNAP-PAC-EB2

SDK for linux development (free). The SDK contains a program called eioctl
that you can compile for command line control of IO points.
http://www.opto22.com/site/pr_details.aspx?cid=4item=SNAP-PAC-EB2
http://www.opto22.com/site/downloads/dl_drilldown.aspx?aid=2890

On Mon, Oct 18, 2010 at 8:09 PM, Bryant Zimmerman brya...@zktech.comwrote:

 I would look at x10 triggered switches. There are some command line tools
 you could call from an IVR.
 I did a lot of x10 development on windows back in the day. I have seen some
 things for linux as well.

 http://www.heyu.org/

 Bryant

 --
 *From*: C F shma...@gmail.com
 *Sent*: Monday, October 18, 2010 7:55 PM
 *To*: Asterisk Users Mailing List - Non-Commercial Discussion 
 asterisk-users@lists.digium.com
 *Subject*: Re: [asterisk-users] Asterisk to switch on electric heaters
 remotely?


 Ah Sandman http://sandman.com use a relay that goes onto an fxs port,
 call that fxs port and you have a connection. Since that only work
 momentary you will need a flip flop relay, the advantage is that by
 calling it again you can turn it off.
 Ring relay:
 http://sandman.com/wizard.html#UniversalRingRelay
 flip flop relay:
 http://altronix.com/index.php?pid=2model_num=RBR1224


 On Mon, Oct 18, 2010 at 7:09 AM, Gilles codecompl...@free.fr wrote:
  Hello
 
  I'm sure someone has already tried this: I use a couple of electric
  heaters to heat my office.
 
  I'd like to somehow connect them to Asterisk so that I could switch
  them on remotely by either calling the IVR or sending an e-mail to the
  Asterisk host, so that the room is warm when I get to the office :-)
 
  Any information appreciated.
 
  Thank you.
 
 
  --
  _
  -- Bandwidth and Colocation Provided by http://www.api-digital.com --
  New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
 
  asterisk-users mailing list
  To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
 http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




-- 
Marvin Horst
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Asterisk to switch on electric heaters remotely?

2010-10-19 Thread Gilles
On Mon, 18 Oct 2010 13:09:50 +0200, Gilles codecompl...@free.fr
wrote:
I'm sure someone has already tried this: I use a couple of electric
heaters to heat my office.

Thanks everyone for the great feedback. Following Steve Edward's
advice, I won't automate the process and will only switch the heaters
on manually by dialing into the IVR or sending an e-mail. It's an
individual office to which I have the only key, so there's no risk of
the heaters eg. being covered with clothes.

I'll check the following sites X10 and Arduino, and the other
resources mentionned above.


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Asterisk to switch on electric heaters remotely?

2010-10-18 Thread Gilles
Hello

I'm sure someone has already tried this: I use a couple of electric
heaters to heat my office.

I'd like to somehow connect them to Asterisk so that I could switch
them on remotely by either calling the IVR or sending an e-mail to the
Asterisk host, so that the room is warm when I get to the office :-)

Any information appreciated.

Thank you.


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk to switch on electric heaters remotely?

2010-10-18 Thread Gareth Blades
Something like http://www.audon.co.uk/udin.html UDIN-8R. It can only 
control 750W so you will probably need to get it to control a more 
powerfull relay as a heater is going to take a lot of current.
It can be controlled by a virtual serial port so you just program the 
extension to make a system() call to a simple script which sends a 
string of characters to the serial port.

That device is quite expensive. You could probably find something much 
cheaper on ebay.


Gilles wrote:
 Hello
 
 I'm sure someone has already tried this: I use a couple of electric
 heaters to heat my office.
 
 I'd like to somehow connect them to Asterisk so that I could switch
 them on remotely by either calling the IVR or sending an e-mail to the
 Asterisk host, so that the room is warm when I get to the office :-)
 
 Any information appreciated.
 
 Thank you.
 
 


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk to switch on electric heaters remotely?

2010-10-18 Thread Roberto Piola
we're using a Damocles Mini
(http://www.hw-group.com/products/damocles/damocles_mini_en.html). of
course, the damocles will have to drive a high-power relay.

the damocles can be driven via snmp, so you'll have to simply call the
snmpset unix standard utility

On Mon, Oct 18, 2010 at 1:24 PM, Gareth Blades
list-aster...@skycomuk.com wrote:
 Something like http://www.audon.co.uk/udin.html UDIN-8R. It can only
 control 750W so you will probably need to get it to control a more
 powerfull relay as a heater is going to take a lot of current.
 It can be controlled by a virtual serial port so you just program the
 extension to make a system() call to a simple script which sends a
 string of characters to the serial port.

 That device is quite expensive. You could probably find something much
 cheaper on ebay.


 Gilles wrote:
 Hello

 I'm sure someone has already tried this: I use a couple of electric
 heaters to heat my office.

 I'd like to somehow connect them to Asterisk so that I could switch
 them on remotely by either calling the IVR or sending an e-mail to the
 Asterisk host, so that the room is warm when I get to the office :-)

 Any information appreciated.

 Thank you.




 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




-- 
Roberto Piola, Ph.D.
Senior Network Engineer
Outsourcing Infrastructure

VISIANT OUTSOURCING

strada del Drosso 128/6 - 10135 Torino
T +39 011 3473520 - F +39 011 3473522
M +39 3356961505
roberto.pi...@visiant.it

www.visiantoutsourcing.it


Questo messaggio è destinato alle sole persone indicate e può
contenere informazioni riservate. Se avete ricevuto questo e-mail per
errore siete pregati di comunicarlo immediatamente al mittente o di
inviare un e-mail a: info.outsourc...@visiant.it. Ogni altro uso del
messaggio è vietato.

This e-mail may contain confidential and/or privileged information. It
is intended solely for the addressee. If you are not the intended
recipient please notify immediately the sender or email:
info.outsourc...@visiant.it. All other use is prohibited.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk to switch on electric heaters remotely?

2010-10-18 Thread Steve Edwards
On Mon, 18 Oct 2010, Gilles wrote:

 I'd like to somehow connect them to Asterisk so that I could switch
 them on remotely by either calling the IVR or sending an e-mail to the
 Asterisk host, so that the room is warm when I get to the office :-)

X10.

(X10's web site, x10.com sucks.)

http://www.smarthome.com/2414U/PowerLinc-INSTEON-Controller-USB-Based-Home-Automation-Device/p.aspx
http://www.smarthome.com/2477SA1/INSTEON-220V-240V-30-AMP-Load-Controller-Normally-Open-Relay-Dual-Band/p.aspx

Not a big fan of the idea though. What if someone tossed their coat over 
the heater the previous day? What if you get hit by a truck on your way 
in and the heater runs continuously until...?

-- 
Thanks in advance,
-
Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
Newline  Fax: +1-760-731-3000

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk to switch on electric heaters remotely?

2010-10-18 Thread Marco Signorini
Hi
Did you looked at Arduino + Ethernet Shield?
Is something you can program in C or C++ to receive a simple TCP and/or
HTTP packet and turn on an external relay.
From the dialplan you can run an http query through curl and/or an
external AGI command.

Best regards,
Marco Signorini.

--
Marco Signorini
http://www.ethermania.com
http://www.ingegnitech.com


Roberto Piola wrote:
 we're using a Damocles Mini
 (http://www.hw-group.com/products/damocles/damocles_mini_en.html). of
 course, the damocles will have to drive a high-power relay.

 the damocles can be driven via snmp, so you'll have to simply call the
 snmpset unix standard utility

 On Mon, Oct 18, 2010 at 1:24 PM, Gareth Blades
 list-aster...@skycomuk.com wrote:
   
 Something like http://www.audon.co.uk/udin.html UDIN-8R. It can only
 control 750W so you will probably need to get it to control a more
 powerfull relay as a heater is going to take a lot of current.
 It can be controlled by a virtual serial port so you just program the
 extension to make a system() call to a simple script which sends a
 string of characters to the serial port.

 That device is quite expensive. You could probably find something much
 cheaper on ebay.


 Gilles wrote:
 
 Hello

 I'm sure someone has already tried this: I use a couple of electric
 heaters to heat my office.

 I'd like to somehow connect them to Asterisk so that I could switch
 them on remotely by either calling the IVR or sending an e-mail to the
 Asterisk host, so that the room is warm when I get to the office :-)

 Any information appreciated.

 Thank you.


   
 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

 



   


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk to switch on electric heaters remotely?

2010-10-18 Thread Danny Nicholas
Mindless technology is only as good as the weakest mind that develops and
uses it...


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk to switch on electric heaters remotely?

2010-10-18 Thread Darren Wiebe
  We recently completed a project using products from here:  
http://www.controlbyweb.com/webrelay/  They were easy to setup and can 
be controlled in a variety of fashions included http queries.

Darren Wiebe

On 18/10/2010 8:34 AM, Marco Signorini wrote:
 Hi
 Did you looked at Arduino + Ethernet Shield?
 Is something you can program in C or C++ to receive a simple TCP and/or
 HTTP packet and turn on an external relay.
  From the dialplan you can run an http query through curl and/or an
 external AGI command.

 Best regards,
 Marco Signorini.

 --
 Marco Signorini
 http://www.ethermania.com
 http://www.ingegnitech.com


 Roberto Piola wrote:
 we're using a Damocles Mini
 (http://www.hw-group.com/products/damocles/damocles_mini_en.html). of
 course, the damocles will have to drive a high-power relay.

 the damocles can be driven via snmp, so you'll have to simply call the
 snmpset unix standard utility

 On Mon, Oct 18, 2010 at 1:24 PM, Gareth Blades
 list-aster...@skycomuk.com  wrote:

 Something like http://www.audon.co.uk/udin.html UDIN-8R. It can only
 control 750W so you will probably need to get it to control a more
 powerfull relay as a heater is going to take a lot of current.
 It can be controlled by a virtual serial port so you just program the
 extension to make a system() call to a simple script which sends a
 string of characters to the serial port.

 That device is quite expensive. You could probably find something much
 cheaper on ebay.


 Gilles wrote:

 Hello

 I'm sure someone has already tried this: I use a couple of electric
 heaters to heat my office.

 I'd like to somehow connect them to Asterisk so that I could switch
 them on remotely by either calling the IVR or sending an e-mail to the
 Asterisk host, so that the room is warm when I get to the office :-)

 Any information appreciated.

 Thank you.



 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users








-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk to switch on electric heaters remotely?

2010-10-18 Thread Lyle Giese
Gilles wrote:
 Hello

 I'm sure someone has already tried this: I use a couple of electric
 heaters to heat my office.

 I'd like to somehow connect them to Asterisk so that I could switch
 them on remotely by either calling the IVR or sending an e-mail to the
 Asterisk host, so that the room is warm when I get to the office :-)

 Any information appreciated.

 Thank you.


   
I use a linux box to control the hvac in my home using a QK108 instead
of a conventional thermostat(on a forced air nat gas furnace). I use
1wire probes from www.hobbyboards.com to monitor temperature and
humidity. I wrote custom perl cgi scripts to control this via a webpage.

Up to you from there on how fancy you want to get. I suspose you could
use an IVR system to reset the temperature...

Lyle


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk to switch on electric heaters remotely?

2010-10-18 Thread Daniel Tryba
On Mon, Oct 18, 2010 at 04:34:34PM +0200, Marco Signorini wrote:
 Did you looked at Arduino + Ethernet Shield?
 Is something you can program in C or C++ to receive a simple TCP and/or
 HTTP packet and turn on an external relay.
 From the dialplan you can run an http query through curl and/or an
 external AGI command.

I second this (as a hobby project). The Arduino starter/exp kit. contains all
necesarry components (a relay and PTC). The relay can switch 5A IIRC but
since I only have to short my thermostat this is not a problem.
Spaceheaters require a heavier relay. Building this is a the combination
of 2 examples (CIRC10 and CIRC11 from
http://ardx.org/src//guide/2/ARDX-EG-OOML-DD.pdf).

-- 

   Daniel Tryba

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk to switch on electric heaters remotely?

2010-10-18 Thread C F
The other way is to use an RC3 from vikingelectronics.com
http://www.vikingelectronics.com/products/view_product.php?pid=217


On Mon, Oct 18, 2010 at 7:53 PM, C F shma...@gmail.com wrote:
 Ah Sandman http://sandman.com use a relay that goes onto an fxs port,
 call that fxs port and you have a connection. Since that only work
 momentary you will need a flip flop relay, the advantage is that by
 calling it again you can turn it off.
 Ring relay:
 http://sandman.com/wizard.html#UniversalRingRelay
 flip flop relay:
 http://altronix.com/index.php?pid=2model_num=RBR1224


 On Mon, Oct 18, 2010 at 7:09 AM, Gilles codecompl...@free.fr wrote:
 Hello

 I'm sure someone has already tried this: I use a couple of electric
 heaters to heat my office.

 I'd like to somehow connect them to Asterisk so that I could switch
 them on remotely by either calling the IVR or sending an e-mail to the
 Asterisk host, so that the room is warm when I get to the office :-)

 Any information appreciated.

 Thank you.


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk to switch on electric heaters remotely?

2010-10-18 Thread Bryant Zimmerman
I would look at x10 triggered switches. There are some command line tools 
you could call from an IVR. 
I did a lot of x10 development on windows back in the day. I have seen some 
things for linux as well.

http://www.heyu.org/

Bryant


 From: C F shma...@gmail.com
Sent: Monday, October 18, 2010 7:55 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] Asterisk to switch on electric heaters 
remotely?

Ah Sandman http://sandman.com use a relay that goes onto an fxs port,
call that fxs port and you have a connection. Since that only work
momentary you will need a flip flop relay, the advantage is that by
calling it again you can turn it off.
Ring relay:
http://sandman.com/wizard.html#UniversalRingRelay
flip flop relay:
http://altronix.com/index.php?pid=2model_num=RBR1224

On Mon, Oct 18, 2010 at 7:09 AM, Gilles codecompl...@free.fr wrote:
 Hello

 I'm sure someone has already tried this: I use a couple of electric
 heaters to heat my office.

 I'd like to somehow connect them to Asterisk so that I could switch
 them on remotely by either calling the IVR or sending an e-mail to the
 Asterisk host, so that the room is warm when I get to the office :-)

 Any information appreciated.

 Thank you.


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users