I'm away from the workshop during the week right now, so can't get up to much.
Fof the last 6 months or so I've been using a "smart plug" to control my 3000VA / 110VAC isolation transformer in the workshop. I use this to power the various tools I bought in Canada that require 110VAC, such as the Bridgeport power feed, belt sander, band saw etc.
Although the transformer has been approved (ie UK made and has proper CE marking), I know from experience that it gets pretty hot if you forget to switch it off at the end of the day and come back to it next day. So regardless of the (low) risk of fire, it must be using a fair bit of power on standby - several tens of Watts I'd guess.
I like TP Link, so that's what I bought. The TP Link HS110 may cost a little more than some of the generic Chinese ones but at least I have some confidence in the quality and safety of the design and manufacture.
And if you have coughed up a few quid extra for the slightly snazzier version (ie the HS110 rather than the slightly more basic HS100), you'd also have a measure of the instantaneous and cumulative energy consumption. Not strictly necessary but possibly interesting(?). Depends how much you get out I suppose.
Home Assistant - HASS.IO:
You can string loads of "smart" (ie Wifi connected) devices together using various "hubs" such as Google Assistant, Apple Homekit etc. But there are also some simpler(?), less proprietary (open source) options such as Home Assistant that can run on devices such as a Raspberry Pi or an iOS device etc. It's all there on Github, just waiting to be used.
The website is where you go to download images for the likes of RPi.
I've got several RPi's - versions 1, 2 and (as of today) 3. The latest version (3) differs from the previous versions in having Wifi and Bluetooth, as well as faster processor, video and memory of course. I'm far from expert / experienced in their use as I find Arduino much easier to understand than the Python or Linux that the RPi expects. Arduino is pretty much C which I have had some (minimal) exposure of.
Various videos outline the procedure to get Home Assistant (HASS.IO) installed on a RPi, along with a few sensible add-ons. Although you can add a display (or connect to any HDMI dispay), keyboard, mouse etc and end up with a perfectly usable desktop PC, obviously I don't want to have to go to that bother. So HA allows you to control the RPi through a browser.
Overview of how to install stuff from DrZz.
A more software-orientated intro from BRUH Automation, who clearly knows what he is talking about:
Your actual Raspberry Pi:
Got one of these delivered at work today. The price is pretty much fixed whether you buy from RS, Farnell, CPC or whatever - but at around £30 you can't complain. I have several 8GB MicroSD cards and of course I just noticed that lthough you can run it on 8GB, you soon run out of space. Which is why they recommend 32GB. Hmm. Ah well, I'll see how I get on with the 8GB for now.
Here's a RPi 2 and an RPi 3. The main visual difference is the metal can containing the Wifi / BT device (and the Broadcom SOC has also developed a metal shield). Beyond that there's little physical difference, which is handy as it allows me to reuse the nice case I bought for the RPi 2. When I say "little physical difference", in fact the power and ACT LEDs have been moved to make way for the Wifi / BT module. So they don't line up with the light pipes in the case...
Wow, this is funny. Looking at this photo you'd think the boards had been folded. It's just a trick of the light:
This is what you are supposed to see - red power light on and green light flashing / mostly on.
Here's a comparison of the 2 models.
So first, download the appropriate image for your RPi. And install Etcher to create a bootable image for the MicroSD card.
Obviously this is where things ground to an almost complete halt, being out of range of a mobile phone signal (can't use my 4G hotspot) and the B&B bandwidth being not far from dialup speed. And of course I can't see my iPhone pictures because they haven't uploaded themselves to the (i)Cloud and thence downloaded themselves onto the laptop.
I resumed the next day but came up against a brick wall when trying to get the thing to boot. Then I went back and spotted the following detail:
Ah. That explains why it wouldn't boot up off either of my MicroSD cards. The red LED would do an 8 flash fault code and although that doubtless indicates a precise fault condition, the RPi troubleshooting pages didn't go into that level of detail.
So this is what you need to do - install Hassbian ie a Pi image with Hass....
...on Github:
So - start again. this time with a degree of success. Whew!
That'll do for now. Perhaps I may go back to it and do something with it at some point.
No comments:
Post a Comment