<div dir="ltr">this time i take i from top and down, <div><br></div><div>yes, heating should be controlled just as you wrote, some might unlock the house and not have the sms access, of course they will not have the benefits of a preheated house, but what the heck... and LED to show status would be nice to tell them that heat is comming</div>
<div><br></div><div>Interesting about the 3G dongle... but maybe in my case i can make do with the alarm system if there are a spare input and output, will have to check it</div><div><br></div><div>As for current yes... i will prop give the pi its own 5V supply, then a 4 port usb hub with its own supply of 2A</div>
<div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-29 11:43 GMT+02:00 Gareth Coleman <span dir="ltr"><<a href="mailto:gareth@sublime.org" target="_blank">gareth@sublime.org</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello everybody, I thought I'd take the chance of chipping in even though I almost certainly don't fully understand the situation!<div>
<br></div><div>Seems like you have two separate requirements, one to turn the heating on and off by text message, and the other to turn the heating on/off by the alarm output (indicating occupancy). And by 'off' you mean set the desired temperature to 5 degrees C, 'on' is set to 19 or so.</div>
<div><br></div><div>We've experimented with using a cheap 3G dongle attached to a raspberry pi and using free software called gammu to send text messages. The software also receives text messages and drops them into a folder on the raspberry pi's filing system. It's pretty straightforward to set up - to make things easy we bought a known-compatible dongle off ebay for £10. Just make sure the Pi has a decent power supply so that the surges of current the dongle needs don't make the Pi brown-out.</div>
<div><br></div><div>From there you could use any sort of simple text parsing system that is familiar (python, node.js, bash etc) to work out if the heating system should be changed to enter frost mode. Personally I'd use node-red because I think it's really good at allowing non-programmers to understand the system configuration. You don't want to be called out every time the system needs tweaking - the end-users need to 'own' the system. However if they are hams then they might be comfortable on the command line editing code directly, maybe not.</div>
<div><br></div><div>One of the many great things about node-red is that you get a web interface out of the box, it looks like the attached image. It would be fine for slightly technical people, not so great for the general public as you can easily deploy new code that breaks things.</div>
<div><br></div><div>Interfacing with the alarm might be more trivial or not, depending on how the alarm works (I've not experimented with such systems). But assuming it's something accessible such as a relay contact or a simple signalling voltage with some ability to source current, you can just whack it into the Pi's gpio pins (maybe use an opto-coupler or buffer to make things more robust) and take things from there.</div>
<div><br></div><div>Hope that helps</div><div><br></div><div>Gareth</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 29 July 2014 10:35, Kevin Wood <span dir="ltr"><<a href="mailto:kevin@the-wood-family.com" target="_blank">kevin@the-wood-family.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Bo,<br>
<br>
I'm actually working on something quite similar at the moment for a second<br>
home that needs frost protection / monitoring remotely, in this case with<br>
oil fired heating.<br>
<br>
My plan is a raspberry pi attached to an AVR which controls the heating<br>
system.<br>
<br>
I'm thinking that the AVR can harvest temperature data from a couple of<br>
OneWire sensors, run the heating and hot water schedules and control<br>
relays that activate the heating system as required. It'll also have an<br>
RFM on the board for later integration with OpenTRV and, if I can reverse<br>
engineer it, the wireless oil level sensor on the oil tank.<br>
<br>
R-Pi can host a web interface or, more likely in the first iteration,<br>
provide a mechanism to at least SSH into it and check everything remotely.<br>
Of course it could also do email notifications and SMS would be possible<br>
either via an internet SMS gateway, or just hang a GSM module off it with<br>
a cheap pay as you go SIM installed?<br>
<br>
Does this premises have internet connectivity?<br>
<br>
Kevin<br>
<div><br>
> I was at local ham club last night at looked at their heating<br>
><br>
> So far i "THINK" its all electrical heating as there is no district<br>
> heating<br>
> installed, makes things a bit more easy since heat not used will go back<br>
> to<br>
> the cylinder :-D<br>
><br>
><br>
> Next bit, there is one big room with 4 rads, which means one box should<br>
> control them all, the box will be central placed. Its mainly old timers so<br>
> the less complicated the better, the rest of the rooms are one rad per<br>
> room.<br>
><br>
><br>
> Mostly @kevin but others might chip in, they have some kind of remote<br>
> control where they can send a text to turn stuff on and they would like to<br>
> be able to turn on the heat remotely, how could we get to that?<br>
><br>
> the point is that when the house is locked heating should turn off<br>
> completely or run at 5degree to prevent frost issues. then either by<br>
> remote<br>
> command or when house is unlocked it should go to warm mode, there would<br>
> be<br>
> no need to sense if its day or night or if people are in the room etc. the<br>
> alarm will output a signal when its on/off<br>
><br>
> any ideas?<br>
><br>
> /bo<br>
><br>
> --<br>
><br>
> |||||<br>
</div>> @(~Ô^Ô~)@<br>
<div>> -------------oOo---U---oOo-------------<br>
> | |<br>
> | Bo Herrmannsen |<br>
> | |<br>
> | |<br>
> | "blessed are the "cracked", |<br>
> | for its they who let in the light" |<br>
> | Ooo |<br>
> |_________________ooO____( )________|<br>
> ( ) ) /<br>
> \ ( (_/<br>
> \_)<br>
</div>> _______________________________________________<br>
> OpenTRV-dev mailing list<br>
> <a href="mailto:OpenTRV-dev@lists.opentrv.org.uk" target="_blank">OpenTRV-dev@lists.opentrv.org.uk</a><br>
> <a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" target="_blank">http://lists.opentrv.org.uk/listinfo/opentrv-dev</a><br>
><br>
<br>
<br>
_______________________________________________<br>
OpenTRV-dev mailing list<br>
<a href="mailto:OpenTRV-dev@lists.opentrv.org.uk" target="_blank">OpenTRV-dev@lists.opentrv.org.uk</a><br>
<a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" target="_blank">http://lists.opentrv.org.uk/listinfo/opentrv-dev</a><span class="HOEnZb"><font color="#888888"><br>
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div dir="ltr">------------------------<br>Gareth Coleman<div>layer zero labs</div><div><a href="http://l0l.org.uk" target="_blank">l0l.org.uk</a></div>
</div>
</font></span></div>
<br>_______________________________________________<br>
OpenTRV-dev mailing list<br>
<a href="mailto:OpenTRV-dev@lists.opentrv.org.uk">OpenTRV-dev@lists.opentrv.org.uk</a><br>
<a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" target="_blank">http://lists.opentrv.org.uk/listinfo/opentrv-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><pre><pre><span style="white-space:pre-wrap"> |||||
@(~Ô^Ô~)@
-------------oOo---U---oOo-------------
| |
| Bo Herrmannsen |
| |
| |
| "blessed are the "cracked", |
| for its they who let in the light" |
| Ooo |
|_________________ooO____( )________|
( ) ) /
\ ( (_/
\_)
</span></pre></pre><pre style="white-space:pre-wrap"><br></pre></div>
</div>