Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

Review: Sonoff Pow - WiFi power switch and monitoring

· 2 comments · 550 words · Viewed ~6,049 times


The good folks at Sonoff have sent me a bunch of kit to review. See my previous review of the S20 WiFi plug. This is the Sonoff Pow - a WiFi enabled in-line power switch. Set Up Wiring up the Pow is relatively easy. The cover to the terminal block is secured with a simple screw. I found the opening a little cramped - but it's easy to open up the entire unit. Which gives us a full view of …

únicode is hard

· 15 comments · 800 words · Viewed ~30,097 times


In the last couple of months, I've been seeing the ú symbol on British receipts. Why? 1963 - ASCII In the beginning* was ASCII. A standard way for computers to exchange text. ASCII was originally designed with 7 bits - that means 128 possible symbols. That ought to be enough for everyone, right? Wrong! ASCII is the American Code for Information Interchange. It contains a $ symbol, but …

Review: Sonoff S20 WiFi Plug

· 3 comments · 700 words · Viewed ~6,506 times


A schematic of a smart plug.

The good folks at Sonoff have sent me a bunch of kit to review. First up, the S20 WiFi Plug - an easy way to retrofit IoT smarts to your existing appliances. This fills the same niche as the Belkin WeMo but with one crucial difference - it's about half the price. Direct from Sonoff it's US$13 - from Amazon UK the smartplug is £15. The cost of the WeMo is £40. How does it compare to the B…

Long Exposures - Creating Average Frames From Movies

· 3 comments · 750 words · Viewed ~8,171 times


I read a Guardian article about an artist who set up an analogue camera in front of their TV, set it to long exposure, and set a movie playing. The result was a rather wonderful collection of images. You can see more of Jason Shulman's works Is there a way to automate this process? Yes! Here's my attempt at a "Long Exposure" of "Taxi Driver". It's not the same as Shulmans's process, but I …

Fixing Broken Zip Files from Bandcamp - File name too long

· 300 words · Viewed ~539 times


I recently downloaded an album from Bandcamp. On trying to extract the zip file using Ubuntu, I got the error "File name too long." This is a known problem with Bandcamp. If you have a problem with long filenames in zip files, here's how to fix it. Quick Solution unzip -p -c whatever.zip "filename.ogg" > shortname.ogg That will extract a specific file from the zip and then rename it before …

A Turing Test For Self-Driving Cars

· 2 comments · 1,100 words · Viewed ~709 times


Imagine that you are sat, blindfolded, in the back of a taxi. How could you tell if you were being driven by a human or an autonomous vehicle? If you've not read Alan Turing's The Imitation Game, I can highly recommend it. The paper is short, well written, and contains a whole world of ideas. This is where we get the concept of the Turing Test. Can a human be fooled into thinking that the…

The Twitter Logo As SVG Circles

· 100 words · Viewed ~1,503 times


The Twitter logo drawn in circles.

Five years ago, Twitter updated its logo and demonstrated that it could be made entirely of circles. Interestingly, the official Twitter logo doesn't use circles directly. So, here is an SVG I've made which is only circles: Or, without the edges, and no transparency: And the raw code: <svg height="100" viewBox="0 0 100 100" width="100" xmlns="http://www.w3.org/2000/svg"> <circle…

A Vegetarian in Beijing

· 3 comments · 800 words · Viewed ~687 times


I was incredibly fortunate that my new employer sent me to a conference in China recently. I can't discuss what I did out there - but I can report on all the delicious food I ate! (NB - I paid for all meals myself!) Being veggie in Beijing was relatively easy. I had a stock phrase "我吃素" (Wo Chi Su - I eat vegetables), and a smattering of tourist level Mandarin. I had recommendations from frie…

Amazon Alexa and Solar Panels

· 5 comments · 1,150 words · Viewed ~13,024 times


I can now query my solar panels via my Alexa Amazon Dot Echo thingie (why so many names?). https://shkspr.mobi/blog/wp-content/uploads/2017/05/VID_20170501_161804.webm I flatter myself as a reasonably competent techie and programmer, but fuck me AWS Lambdas and Alexa skills are a right pile of shite! Sorry if that sounds a bit harsh, but they're a pain in the arse to get anything done. I…

Internet Connected Lightswitches - Redux!

· 4 comments · 1,900 words · Viewed ~1,766 times


Regular readers will remember that I have had a disastrous experience with WiFi light switches. I've had pretty good results with LIFX bulbs - but I really wanted something which can control my lights' switches. Enter the new WisQo smart lightswitches. The company claims that they'll work with the UK's "unique" wiring designs. They've kindly sent me a set to review - adjust your bias filters…