tag:blogger.com,1999:blog-2224130928818084904.post7081508420365910333..comments2022-01-06T09:02:23.234-08:00Comments on Projects with the Raspberry Pi: Pi Central HeatingJeremyhttp://www.blogger.com/profile/09437206506775164067noreply@blogger.comBlogger30125tag:blogger.com,1999:blog-2224130928818084904.post-60947789309845562502022-01-06T01:27:20.187-08:002022-01-06T01:27:20.187-08:00I dont think Ive scan anything like this before. S...I dont think Ive scan anything like this before. So good to find somebody with some original thoughts on this subject. thank for starting this up. This website is something that is needed on the web, someone with a little originality. Good job for bringing something new to the internet! <a href="http://www.chinayouyu.com/" rel="nofollow">china heat floor mat</a><br />jameshttps://www.blogger.com/profile/09247753816117160049noreply@blogger.comtag:blogger.com,1999:blog-2224130928818084904.post-1776066908511831592020-01-06T04:38:12.102-08:002020-01-06T04:38:12.102-08:00Sorry - I haven't checked back here for some t...Sorry - I haven't checked back here for some time!<br />Yes, the components you list are the ones I used. Nothing special. I'm sure there are alternatives that would work just as well.<br />If you don't fancy doing the electronics then another very easy approach is to use one of the many relay 'hats' available for the pi now and use something like that to control the on/off switches. The input side would probably be served by some of these hats as well. You just need to find a suitable point in the centrol heating controller to sense a voltage indicating the state of the heating/hot water.Jeremyhttps://www.blogger.com/profile/09437206506775164067noreply@blogger.comtag:blogger.com,1999:blog-2224130928818084904.post-7229545457860155402019-05-10T00:33:22.858-07:002019-05-10T00:33:22.858-07:00I don't think the blog is active anymore but I...I don't think the blog is active anymore but I got the circuit details from an earlier comment.<br /><br />"The opto isolators are 4N25 dil packages. The transistors I used were bc108's or something similar. Very cheap, nothing special."<br />Unknownhttps://www.blogger.com/profile/16946000722306001441noreply@blogger.comtag:blogger.com,1999:blog-2224130928818084904.post-46869924158593836962019-05-10T00:15:02.001-07:002019-05-10T00:15:02.001-07:00Great write up, thanks for posting. Would it be p...Great write up, thanks for posting. Would it be possible to get more info on the interface board and components? I've not yet done any electronics projects with the Pi and want to make sure I get it right (and not blow up my Pi or heating controller). ThanksJimmyhttps://www.blogger.com/profile/16330921066813870561noreply@blogger.comtag:blogger.com,1999:blog-2224130928818084904.post-27022658921833549512016-08-18T20:14:37.406-07:002016-08-18T20:14:37.406-07:00Your article is very helpful for me. I will follow...Your article is very helpful for me. I will follow your instruction. Thank you.<br /><a href="http://www.myecoboilers.co.uk/" rel="nofollow">central heating</a><br />Anonymoushttps://www.blogger.com/profile/09158906783532690670noreply@blogger.comtag:blogger.com,1999:blog-2224130928818084904.post-79096527068856421602016-08-17T18:26:27.385-07:002016-08-17T18:26:27.385-07:00You may have one of the many types of heating syst...You may have one of the many types of <a href="http://newhamheating.com/" rel="nofollow">heating systems</a> that you will be needing in your home.<br />Anonymoushttps://www.blogger.com/profile/06356214012814661584noreply@blogger.comtag:blogger.com,1999:blog-2224130928818084904.post-73086544956864267922015-11-08T13:42:08.102-08:002015-11-08T13:42:08.102-08:00Thank you so much for posting this. I never would ...Thank you so much for posting this. I never would have thought to do this with my heating controller. I did the same as you, bought a cheap replacement off ebay and made the connections. I control mine simply through webiopi at the moment but I intend to add temperature sensors and some logic to it in the near future. <br /><br />I also interfaced the android tasker app with the webiopi API so I can issue google now voice commands to my boiler. Even my wife was impressed with that.Unknownhttps://www.blogger.com/profile/16946000722306001441noreply@blogger.comtag:blogger.com,1999:blog-2224130928818084904.post-65058326465131557792015-01-26T07:12:06.426-08:002015-01-26T07:12:06.426-08:00I somewhat over-engineered the connections!
I put ...I somewhat over-engineered the connections!<br />I put a wire either side of each switch - so four wires in all - which in retrospect wasn't required because two of them simply connect to zero volts.<br />I then put two more wires in to read the 'state' of the heating and hot water. To do this I tracked the locations on the board where the LEDs are connected. Through some experimentation I found points that were high/low when the LEDs were on/off. This allowed me to get the Pi to read what the current state is which was useful because I was able to cater for 'human intervention' at the central heating controller. So you can still press the buttons on the controller panel and have them turn the CH/HW on or off. That was all done in the python code.<br />So in all I had 8 wires : 2 for each button<br />1 for each LED<br />1 on zero volts and 1 on 12v (I think it was 12... might have been 5. Can't recall)<br />As you can see I now have probably 3 wires all connected to zero volts!<br />So you could get away with 1 for each button, 1 for each LED, 1 on 0v and 1 on 5v - 6 in all.<br />Jeremyhttps://www.blogger.com/profile/09437206506775164067noreply@blogger.comtag:blogger.com,1999:blog-2224130928818084904.post-47298793131482334142014-12-17T03:01:18.059-08:002014-12-17T03:01:18.059-08:00Hi there - this is a great article.
I am working...Hi there - this is a great article. <br /><br />I am working on a similar venture using a LP522 and plan to use an Arduino as the controller. <br /><br />Can you explain your wiring connections to the LP522 board. I can see the switches use white/black wires for Hot Water Advance, red/yellow for Heating Advance. <br /><br />From the image the brown seems to connect to the Select button? <br /><br />Can’t see where the green wire connects to.<br /><br /><br />What does the brown, blue, green and orange connections do?<br /><br />Your help would be appreciated.<br />Anonymoushttps://www.blogger.com/profile/15852545298805994957noreply@blogger.comtag:blogger.com,1999:blog-2224130928818084904.post-11478748592874685512014-12-11T14:26:02.785-08:002014-12-11T14:26:02.785-08:00thanks for that, i was wondering if you could shar...thanks for that, i was wondering if you could share your files for download i have all the hardware setup but can't seem to get the software side working. thanks lots for this :-)greighttps://www.blogger.com/profile/10163788296369665994noreply@blogger.comtag:blogger.com,1999:blog-2224130928818084904.post-61268046534286332082014-12-10T11:59:50.966-08:002014-12-10T11:59:50.966-08:00The controller is listed above. The web pages are ...The controller is listed above. The web pages are quite simple, although I often fiddle with them a bit to improve the look. I'll list the main page source above as well but there are other pages that allow me to edit the schedule or set the thermostats.<br /><br />This version includes the thermostat stuff that I describe in the '...revisited' post. In this the heating can be 'on' logically but in fact be switched 'off' because the target temperature has been reached. It makes the screen a little more complex because I show the on/off state on the CH/HW buttons and the *actual* state by two little on/off graphics below them.<br /><br />There's also a 'mode' button that controls whether the system follows the schedule or just runs continuously until you click a button.<br /><br />Everything is stored on the database. The screen is really just displaying and modifying the data on there.<br /><br />Hope that helps!<br />Jeremyhttps://www.blogger.com/profile/09437206506775164067noreply@blogger.comtag:blogger.com,1999:blog-2224130928818084904.post-34966132554445779372014-12-04T10:32:48.312-08:002014-12-04T10:32:48.312-08:00And the php web interface? Thanks.And the php web interface? Thanks.greighttps://www.blogger.com/profile/10163788296369665994noreply@blogger.comtag:blogger.com,1999:blog-2224130928818084904.post-78183505154993606982014-12-03T11:17:45.387-08:002014-12-03T11:17:45.387-08:00Am i able to get a copy of the source?Am i able to get a copy of the source?greighttps://www.blogger.com/profile/10163788296369665994noreply@blogger.comtag:blogger.com,1999:blog-2224130928818084904.post-58994454264644273172014-01-07T05:50:06.833-08:002014-01-07T05:50:06.833-08:00The opto isolators are 4N25 dil packages. The tran...The opto isolators are 4N25 dil packages. The transistors I used were bc108's or something similar. Very cheap, nothing special.Jeremyhttps://www.blogger.com/profile/09437206506775164067noreply@blogger.comtag:blogger.com,1999:blog-2224130928818084904.post-75504774330915406942014-01-01T03:32:28.077-08:002014-01-01T03:32:28.077-08:00Exactly what I'm wanting to do! What opto-coup...Exactly what I'm wanting to do! What opto-couplers and transistors did you use?Eclecticahttps://www.blogger.com/profile/16829232992659964227noreply@blogger.comtag:blogger.com,1999:blog-2224130928818084904.post-16801563945617448862013-12-26T19:06:39.309-08:002013-12-26T19:06:39.309-08:00Great blog! Your idea is really good very well wri...Great blog! Your idea is really good very well written and useful to all blogger especially for me.<br /><br /><b><a href="http://www.phoenixheatingandcooling.ca/Phoenix-Heating-and-Cooling-Services-in-Richmond-Hill.php" rel="nofollow">Heating & Cooling Richmond Hill</a></b>phoenix heating and coolinghttps://www.blogger.com/profile/15448930084736844465noreply@blogger.comtag:blogger.com,1999:blog-2224130928818084904.post-40116028351671889902013-10-22T12:47:33.115-07:002013-10-22T12:47:33.115-07:00No... doesn't seem to be necessary. I hadn'...No... doesn't seem to be necessary. I hadn't really thought about it but I assume the Pi is picking up the time from my network. And I guess the internal clock runs even though the Pi is off....<br />I like problems that don't crop up if I don't think about them!Jeremyhttps://www.blogger.com/profile/09437206506775164067noreply@blogger.comtag:blogger.com,1999:blog-2224130928818084904.post-5126508555979095982013-10-09T03:51:07.658-07:002013-10-09T03:51:07.658-07:00Did you install a real time clock on the Pi to ens...Did you install a real time clock on the Pi to ensure correct date and time setting should the Pi be rebooted ?<br />Anonymoushttps://www.blogger.com/profile/02654904538325272751noreply@blogger.comtag:blogger.com,1999:blog-2224130928818084904.post-70722883102723514282013-09-24T08:42:02.967-07:002013-09-24T08:42:02.967-07:00Errr... it was! Not any more...!
The date/time st...Errr... it was! Not any more...!<br /><br />The date/time stuff is all there in the controller. The schedule table has day names ('Monday', 'Tuesday' etc) and times. The code selects a row for the correct day that has a time between now and the last time it ran (15 seconds ago). So each iteration looks for schedule items in a 15 second window.<br />There's a little bit of extra logic that has to cope with the day roll over in htere too.Jeremyhttps://www.blogger.com/profile/09437206506775164067noreply@blogger.comtag:blogger.com,1999:blog-2224130928818084904.post-59485935561658024362013-09-24T06:00:53.162-07:002013-09-24T06:00:53.162-07:00thanks
was that your password for the DB there? :-...thanks<br />was that your password for the DB there? :-)<br />what did you use to select dates/times for the schedule in php?Guillermohttps://www.blogger.com/profile/09716534421456313964noreply@blogger.comtag:blogger.com,1999:blog-2224130928818084904.post-29621318954992030992013-09-23T10:46:48.723-07:002013-09-23T10:46:48.723-07:00Nice job, I am tempted to have a go following your...Nice job, I am tempted to have a go following your excelent advice and well written article. Shame about the php though. I would much prefer using ruby and probably sinatra for the web app. That way you can use a simple orm like datamapper or active record to talk to the data. Or you could even use mongodb - makes a great local datastore and ruby has a simple adapter. I haven't tried mongo on the PI yet though.<br /><br />Good luck with the temperature sensing, let us know how you get on.jontyhttps://www.blogger.com/profile/01030000678707066982noreply@blogger.comtag:blogger.com,1999:blog-2224130928818084904.post-79597630379492785002013-09-21T09:27:41.195-07:002013-09-21T09:27:41.195-07:00Sure... I'll sort that out!Sure... I'll sort that out!Jeremyhttps://www.blogger.com/profile/09437206506775164067noreply@blogger.comtag:blogger.com,1999:blog-2224130928818084904.post-69565469391938155142013-09-20T04:29:15.427-07:002013-09-20T04:29:15.427-07:00any chance of sharing your pyton source? I've ...any chance of sharing your pyton source? I've made something without an auto mode (on a schedule) on php and using mysql and cron to action it<br /><br />it works, but failed all attempts to get a schedule...<br />thanksGuillermohttps://www.blogger.com/profile/09716534421456313964noreply@blogger.comtag:blogger.com,1999:blog-2224130928818084904.post-33017696451223362112013-09-18T02:01:02.140-07:002013-09-18T02:01:02.140-07:00It seems to be cool enough in the box at the momen...It seems to be cool enough in the box at the moment. I made a few slits for the air to flow and that seems to be sufficient.<br /><br />Thanks for the tip though!Jeremyhttps://www.blogger.com/profile/09437206506775164067noreply@blogger.comtag:blogger.com,1999:blog-2224130928818084904.post-43780583320907118132013-09-18T01:59:53.103-07:002013-09-18T01:59:53.103-07:00She seems quietly impressed. Especially when I rep...She seems quietly impressed. Especially when I reprogrammed the on/off times at her request whilst lying in bed on Sunday morning.Jeremyhttps://www.blogger.com/profile/09437206506775164067noreply@blogger.com