<p dir="ltr">Bo,</p>
<p dir="ltr">Pi B+ shouldn't cost much more. Are you really going to need 1.2A ?</p>
<div class="gmail_quote">On 29 Jul 2014 11:10, "Bo Herrmannsen" <<a href="mailto:bo.herrmannsen@gmail.com">bo.herrmannsen@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">baah, usb power on pi +: <span style="color:rgb(0,0,0);font-family:'Gotham SSm A','Gotham SSm B','Lucida Grande','Lucida Sans Unicode','Lucida Sans',Geneva,Verdana,sans-serif;font-size:13px;line-height:19px;background-color:rgb(238,238,238)">This is 600mA by default, but can be increased to 1.2A via software.</span><div>
<br></div><div>and that is total.... so 150ma each port default, and 300 if adjusted for max.... </div><div><br></div><div>so for me its a bit maah,</div><div><br></div><div>do i need the extra gpio pins? prob not in this case, i can prop get a 4 port hub for the extra cost of the b+ and come out with more power for each port</div>
<div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-29 11:59 GMT+02:00 Stuart Poulton <span dir="ltr"><<a href="mailto:stuart@poulton.org.uk" target="_blank">stuart@poulton.org.uk</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Bo,<br>
<br>
Take a look at the B+, I think it will remove the requirement for a 4 port hub.<br>
<br>
Stuart<br>
<br>
<br>
<br>
On 29/07/14 10:56, Bo Herrmannsen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
this time i take i from top and down,<br>
<br>
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<br>
<br>
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<br>
<br>
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<br>
<br>
<br>
<br>
<br>
2014-07-29 11:43 GMT+02:00 Gareth Coleman <<a href="mailto:gareth@sublime.org" target="_blank">gareth@sublime.org</a> <mailto:<a href="mailto:gareth@sublime.org" target="_blank">gareth@sublime.org</a>>>:<br>
<br>
Hello everybody, I thought I'd take the chance of chipping in even<br>
though I almost certainly don't fully understand the situation!<br>
<br>
Seems like you have two separate requirements, one to turn the<br>
heating on and off by text message, and the other to turn the<br>
heating on/off by the alarm output (indicating occupancy). And by<br>
'off' you mean set the desired temperature to 5 degrees C, 'on' is<br>
set to 19 or so.<br>
<br>
We've experimented with using a cheap 3G dongle attached to a<br>
raspberry pi and using free software called gammu to send text<br>
messages. The software also receives text messages and drops them<br>
into a folder on the raspberry pi's filing system. It's pretty<br>
straightforward to set up - to make things easy we bought a<br>
known-compatible dongle off ebay for £10. Just make sure the Pi<br>
has a decent power supply so that the surges of current the dongle<br>
needs don't make the Pi brown-out.<br>
<br>
From there you could use any sort of simple text parsing system<br>
that is familiar (python, node.js, bash etc) to work out if the<br>
heating system should be changed to enter frost mode. Personally<br>
I'd use node-red because I think it's really good at allowing<br>
non-programmers to understand the system configuration. You don't<br>
want to be called out every time the system needs tweaking - the<br>
end-users need to 'own' the system. However if they are hams then<br>
they might be comfortable on the command line editing code<br>
directly, maybe not.<br>
<br>
One of the many great things about node-red is that you get a web<br>
interface out of the box, it looks like the attached image. It<br>
would be fine for slightly technical people, not so great for the<br>
general public as you can easily deploy new code that breaks things.<br>
<br>
Interfacing with the alarm might be more trivial or not, depending<br>
on how the alarm works (I've not experimented with such systems).<br>
But assuming it's something accessible such as a relay contact or<br>
a simple signalling voltage with some ability to source current,<br>
you can just whack it into the Pi's gpio pins (maybe use an<br>
opto-coupler or buffer to make things more robust) and take things<br>
from there.<br>
<br>
Hope that helps<br>
<br>
Gareth<br>
<br>
<br>
On 29 July 2014 10:35, Kevin Wood <<a href="mailto:kevin@the-wood-family.com" target="_blank">kevin@the-wood-family.com</a><br>
<mailto:<a href="mailto:kevin@the-wood-family.com" target="_blank">kevin@the-wood-family.<u></u>com</a>>> wrote:<br>
<br>
Hi Bo,<br>
<br>
I'm actually working on something quite similar at the moment<br>
for a second<br>
home that needs frost protection / monitoring remotely, in<br>
this case with<br>
oil fired heating.<br>
<br>
My plan is a raspberry pi attached to an AVR which controls<br>
the heating<br>
system.<br>
<br>
I'm thinking that the AVR can harvest temperature data from a<br>
couple of<br>
OneWire sensors, run the heating and hot water schedules and<br>
control<br>
relays that activate the heating system as required. It'll<br>
also have an<br>
RFM on the board for later integration with OpenTRV and, if I<br>
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<br>
iteration,<br>
provide a mechanism to at least SSH into it and check<br>
everything remotely.<br>
Of course it could also do email notifications and SMS would<br>
be possible<br>
either via an internet SMS gateway, or just hang a GSM module<br>
off it with<br>
a cheap pay as you go SIM installed?<br>
<br>
Does this premises have internet connectivity?<br>
<br>
Kevin<br>
<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<br>
district<br>
> heating<br>
> installed, makes things a bit more easy since heat not used<br>
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<br>
box should<br>
> control them all, the box will be central placed. Its mainly<br>
old timers so<br>
> the less complicated the better, the rest of the rooms are<br>
one rad per<br>
> room.<br>
><br>
><br>
> Mostly @kevin but others might chip in, they have some kind<br>
of remote<br>
> control where they can send a text to turn stuff on and they<br>
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<br>
turn off<br>
> completely or run at 5degree to prevent frost issues. then<br>
either by<br>
> remote<br>
> command or when house is unlocked it should go to warm mode,<br>
there would<br>
> be<br>
> no need to sense if its day or night or if people are in the<br>
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>
> @(~Ô^Ô~)@<br>
> -------------oOo---U---oOo----<u></u>---------<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>
> ______________________________<u></u>_________________<br>
> OpenTRV-dev mailing list<br>
> <a href="mailto:OpenTRV-dev@lists.opentrv.org.uk" target="_blank">OpenTRV-dev@lists.opentrv.org.<u></u>uk</a><br>
<mailto:<a href="mailto:OpenTRV-dev@lists.opentrv.org.uk" target="_blank">OpenTRV-dev@lists.<u></u>opentrv.org.uk</a>><br>
> <a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" target="_blank">http://lists.opentrv.org.uk/<u></u>listinfo/opentrv-dev</a><br>
><br>
<br>
<br>
______________________________<u></u>_________________<br>
OpenTRV-dev mailing list<br>
<a href="mailto:OpenTRV-dev@lists.opentrv.org.uk" target="_blank">OpenTRV-dev@lists.opentrv.org.<u></u>uk</a><br>
<mailto:<a href="mailto:OpenTRV-dev@lists.opentrv.org.uk" target="_blank">OpenTRV-dev@lists.<u></u>opentrv.org.uk</a>><br>
<a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" target="_blank">http://lists.opentrv.org.uk/<u></u>listinfo/opentrv-dev</a><br>
<br>
<br>
<br>
<br>
-- ------------------------<br>
Gareth Coleman<br>
layer zero labs<br>
<a href="http://l0l.org.uk" target="_blank">l0l.org.uk</a> <<a href="http://l0l.org.uk" target="_blank">http://l0l.org.uk</a>><br>
<br>
______________________________<u></u>_________________<br>
OpenTRV-dev mailing list<br>
<a href="mailto:OpenTRV-dev@lists.opentrv.org.uk" target="_blank">OpenTRV-dev@lists.opentrv.org.<u></u>uk</a><br>
<mailto:<a href="mailto:OpenTRV-dev@lists.opentrv.org.uk" target="_blank">OpenTRV-dev@lists.<u></u>opentrv.org.uk</a>><br>
<a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" target="_blank">http://lists.opentrv.org.uk/<u></u>listinfo/opentrv-dev</a><br>
<br>
<br>
<br>
<br>
-- <br>
|||||<br>
@(~Ô^Ô~)@<br>
-------------oOo---U---oOo----<u></u>---------<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>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
OpenTRV-dev mailing list<br>
<a href="mailto:OpenTRV-dev@lists.opentrv.org.uk" target="_blank">OpenTRV-dev@lists.opentrv.org.<u></u>uk</a><br>
<a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" target="_blank">http://lists.opentrv.org.uk/<u></u>listinfo/opentrv-dev</a><br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
OpenTRV-dev mailing list<br>
<a href="mailto:OpenTRV-dev@lists.opentrv.org.uk" target="_blank">OpenTRV-dev@lists.opentrv.org.<u></u>uk</a><br>
<a href="http://lists.opentrv.org.uk/listinfo/opentrv-dev" target="_blank">http://lists.opentrv.org.uk/<u></u>listinfo/opentrv-dev</a><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>
<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>