fixed import form wordpress plugin
[homepage.git] / src / _posts / 2018-07-01-saving-power-of-powerful-printers.md
1 ---
2 id: 1032
3 title: Saving power of powerful printers
4 date: 2018-07-01T17:14:46+00:00
5 author: xro
6 layout: post
7 guid: http://wp.realraum.at/?p=1032
8 permalink: /2018/07/saving-power-of-powerful-printers/
9 responsive_meta_box_designation:
10   - 
11 responsive_meta_box_facebook:
12   - 
13 responsive_meta_box_twitter:
14   - 
15 responsive_meta_box_googleplus:
16   - 
17 responsive_meta_box_text_linkedin:
18   - 
19 snap_isAutoPosted:
20   - 1530458086
21 snap_MYURL:
22   - 
23 snapEdIT:
24   - 1
25 snapTW:
26   - 's:380:"a:1:{i:0;a:12:{s:2:"do";s:1:"1";s:9:"msgFormat";s:15:"%TITLE% - %URL%";s:8:"attchImg";s:1:"1";s:9:"isAutoImg";s:1:"A";s:8:"imgToUse";s:0:"";s:9:"isAutoURL";s:1:"A";s:8:"urlToUse";s:0:"";s:4:"doTW";i:0;s:8:"isPosted";s:1:"1";s:4:"pgID";s:19:"1013729835691233280";s:7:"postURL";s:55:"https://twitter.com/realraum/status/1013729835691233280";s:5:"pDate";s:19:"2018-07-02 10:23:21";}}";'
27 categories:
28   - english
29   - Projekte
30   - realraum News
31 ---
32 At home, my Samsung laser-printer uses 15W during standby. So, a few years back, in order to save power, I put it on a USB-controlled power-plug. Pretty soon I added a tiny script that would query cups if a print-job was queued and would switch the printer on and afterwards off again. It turned out to be a pretty effective power saving measure.
33
34 <p style="height:150px;">
35   <img src="http://wp.realraum.at/wp-content/uploads/2018/07/usbpowerswitching-300x148.jpg" alt="usbpowerswitching" width="300" height="148" class="alignleft size-medium wp-image-1035" />
36 </p>
37
38 Our two very big and reliable printers at realraum were even more power hungry, so I wanted to to something similar for the space.
39
40 Using the hardware I had on hand, I cobbled together the following:
41
42 * A BeagleBone Green to act as cups print-server and to run the python scripts.
43   
44 * An empty 230V power-plug case, housing a 5V power-supply (for the BB) and a small opto-coupler isolated relay to switch the plug.
45   
46 * A second power-plug case with a second small opto-coupler isolated relay.
47
48 While there is a lot of room for optimization, like a leaner BeagleBone image and better housing for the power-plugs, printing- and power-saving-wise it works very well.
49
50 As always you can find our <a href="https://github.com/realraum/printerbone" title="Code on Github" target="_blank">code on Github.</a> Stay tuned for updates.