Free AI web copilot to create summaries, insights and extended knowledge, download it at here
1665
Abstract
<p id="941f">Here’s a little video introducing my Raspberry Pi home automation server:</p>
<figure id="e7b2">
<div>
<div>
<img class="ratio" src="http://placehold.it/16x9">
<iframe class="" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FRUUhDi8tBTU%3Ffeature%3Doembed&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DRUUhDi8tBTU&image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FRUUhDi8tBTU%2Fhqdefault.jpg&key=a19fcc184b9711e1b4764040d3dc5c07&type=text%2Fhtml&schema=youtube" allowfullscreen="" frameborder="0" height="480" width="854">
</div>
</div>
</figure></iframe></div></div></figure><p id="4350">Another great thing about the Raspberry Pi is that you can easily get it onto wifi. Just add an external adapter like the cheapo ones from Rosewill and you’re set. You can put your server anywhere in the house–in a cabinet, under your desk, in the garage, etc. Here’s my wifi setup:</p>
<figure id="ac73">
<div>
<div>
<img class="ratio" src="http://placehold.it/16x9">
<iframe class="" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fydw7AI2CF4k%3Ffeature%3Doembed&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dydw7AI2CF4k&image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fydw7AI2CF4k%2Fhqdefault.jpg&key=a19fcc184b9711e1b4764040d3dc5c07&type=text%2Fhtml&schema=youtube" allowfullscreen="" frameborder="0" height="480" width="854">
</div>
</div>
</figur
# Options
e></iframe></div></div></figure><p id="04e9">So once you have your Raspberry Pi home automation server set up (and perhaps embedded in a project), how do you actually communicate it or upload new code? You can be fancy and get it to run an FTP server, but I find it’s often easier just to use Putty to send stuff over SSH:</p>
<figure id="5a39">
<div>
<div>
<img class="ratio" src="http://placehold.it/16x9">
<iframe class="" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FczdVvgQr2MQ%3Ffeature%3Doembed&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DczdVvgQr2MQ&image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FczdVvgQr2MQ%2Fhqdefault.jpg&key=a19fcc184b9711e1b4764040d3dc5c07&type=text%2Fhtml&schema=youtube" allowfullscreen="" frameborder="0" height="480" width="854">
</div>
</div>
</figure></iframe></div></div></figure><p id="3661">So what does my server actually do? Well for starters, it uses CHRON to run my Bidgely scraping script once per minute, pulling in my realtime electrical usage. It also scrapes data from the endpoints of a ton of other APIs. You can even have it control things like Phillips Hue over your home network, using Python. I’ll share more on how I’m using my Pi in future posts.</p><blockquote id="e0d3"><p><b><i>Sign up for <a href="https://diylifetech.substack.com/"></a></i><a href="https://diylifetech.substack.com/">The DIY Life Tech <i>newsletter</i></a><i> to get the best tech for home, travel, work and life right in your inbox.</i></b></p></blockquote></article></body>