# Can asterisk use thermo sensor to call automatically?

**URL:** <https://community.asterisk.org/t/can-asterisk-use-thermo-sensor-to-call-automatically/36336>\
**Category:** Asterisk Support\
**Created:** [August 13, 2011, 8:19am UTC](https://community.asterisk.org/t/can-asterisk-use-thermo-sensor-to-call-automatically/36336 "2011-08-13T08:19:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [August 13, 2011, 8:19am UTC](https://community.asterisk.org/t/can-asterisk-use-thermo-sensor-to-call-automatically/36336/1 "2011-08-13T08:19:32Z")

</div>

If there such function in asterisk, that in case of high temperature (using either motherboard/cpu thermo sensor or external sensor) server starts dialing emergency number ?  
For example, there is such device for a little bit more than 100 euro [http://www.firebox.com/product/3946/FireText-Smoke-Alarm?&currency\_conversion=1](http://www.firebox.com/product/3946/FireText-Smoke-Alarm?&currency_conversion=1) that can send sms or ring 4 predefined numbers in case of emergency, but what about asterisk ?

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [August 13, 2011, 8:53am UTC](https://community.asterisk.org/t/can-asterisk-use-thermo-sensor-to-call-automatically/36336/2 "2011-08-13T08:53:10Z")

</div>

No. But the box as a whole could do that, given the right software. Software outside Asterisk would monitor the temperature and generate a .call file when the alarm was generated.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [August 13, 2011, 10:33pm UTC](https://community.asterisk.org/t/can-asterisk-use-thermo-sensor-to-call-automatically/36336/3 "2011-08-13T22:33:25Z")

</div>

so, I suppose I need  
1 thermo sensor (in case of using extra one , not server built in)  
2 software (may be digitemp ?) that reads data from sensor and creates a .call file in /var/spool/asterisk/outgoing/  
3 configure a cron job to perform this task regularly

[linuxfocus.org/English/Novem … e315.shtml](http://www.linuxfocus.org/English/November2003/article315.shtml)

---

<div class="post-metadata">

**Author:** ![bira\_more](https://avatars.discourse-cdn.com/v4/letter/b/bbce88/32.png) [@bira\_more](https://community.asterisk.org/u/bira_more)\
**Post date:** [August 13, 2011, 11:24pm UTC](https://community.asterisk.org/t/can-asterisk-use-thermo-sensor-to-call-automatically/36336/4 "2011-08-13T23:24:24Z")

</div>

sensors - generate lot of info. I mean you can see what will give you `sensors` and then you can continue further.  
Script could be very simple - and you can call it every minute (cron). I am not sure if you can bind script to some of sensors.
