Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

Tado API Guide - updated for 2019

· 63 comments · 1,400 words · Viewed ~34,393 times


Debug screen of a web browser.

Tado is a brilliant smart thermostat. But their API is very poorly documented. This is an updated guide for 2019. I am indebted to Stephen C Phillips' original documentation. Getting started You will need: A Tado (duh!) Your Username (usually your email address) Your Password A Client Secret Getting the client secret I'm using this client secret:…

Book Review - Galileo's Daughter

· 250 words


A serene view of an Italian city.

The realization that Galileo had fathered two nuns made me question everything I’d been taught about him in school. What if he did everything he did as a believing Catholic? I wondered. Isn’t that a much more nuanced, interesting story? And how would his daughter nuns have reacted to his unorthodox notions about the heavens? To his trial for heresy by the Roman Inquisition? This is a quick bio…

Book Review - Why We Sleep

· 1 comment · 200 words


A do not disturb sign hangs on a doorknob.

Professor Matthew Walker explores twenty years of cutting-edge research to solve the mystery of why sleep matters. Why We Sleep delves into everything from what really happens during REM sleep to how caffeine and alcohol affect sleep and why our sleep patterns change across a lifetime, transforming our appreciation of the extraordinary phenomenon that safeguards our existence. I am going to…

HOWTO: Split WAV and CUE files on Linux

· 2 comments · 450 words · Viewed ~1,010 times


A cute penguin.

Mostly notes to myself, as a follow-up to this older post. This is a 3-step process. Add the file to an MKV Use MKVmerge: mkvmerge "audio.wav" --chapters "audio.cue" -o "audio.mkv" You can see that chapter names have been added to the .mkv if you run ffmpeg -i or mkvinfo. Split the MKV by chapter This generates one file per chapter: mkvmerge -D -S "audio.mkv" --split chapters:all -o…

Abusing LinkedIn for better customer service

· 1 comment · 350 words · Viewed ~1,362 times


Firstly apologies for the experience you have had with Green Network Energy and that we have been unable to provide you with the service needed. If you could confirm your account number then I will make sure this is looked in to today and provide an update. For context, I've been at the company since the outset and I'm part of the senior management team at GNE reporting directly to the COO and the owners. I'm responsible for customer services, billing and metering activities so I can assure you that by making contact you have already escalated the issue.

Back when social networks were new, Twitter was a great place to raise a complaint with a company. You could be sure that the Twitter account was run by someone who got social and, more often than not, would show tweets to the CEO. Sadly, Twitter corporate accounts now all follow the same script "Gosh! That doesn't sound good! Let us put this right. Please DM us your customer number, surname,…

"I, Robot" - the 3 laws considered harmful

· 5 comments · 500 words · Viewed ~2,449 times


A metal face with glowing eyes stares at you.

What happens when a robot begins to question its creators? What would be the consequences of creating a robot with a sense of humour? Or the ability to lie? How do we truly tell the difference between man and machine? In "I, Robot", Asimov sets out the Three Laws of Robotics – designed to protect humans from their robotic creations – and pushes them to their limits and beyond. After attending a…

Book Review - Longitude

· 150 words


A book cover.

The dramatic human story of an epic scientific quest: the search for the solution of how to calculate longitude and the unlikely triumph of an English genius. A fascinating look at a defining moment in technological development. Full of intrigue, double-crossing, maths, and science. It cracks along at a fair pace, sometimes lightly skipping over details. I would gladly have read this if it…

Hidden Data in NFC Tags

· 1 comment · 450 words · Viewed ~1,198 times


Various NFC icons.

I've just got a set of wearable NFC tags, and I've discovered something interesting about the way data is stored on them. tl;dr Overwriting a tag can leave old data intact, and still readable. Here's the decoded memory layout of a tag with data written to it. In this case, a (failed) experiment at storing a JavaScript pop-up. # NDEF message: [00] D1 01 7D 55 00 64 61 74 61 3A 74 65 78 74 2F 68 …

Book Review - Death's End

· 2 comments · 150 words · Viewed ~260 times


An explosion in space.

Death’s End (死神永生) is a science fiction novel by the Chinese writer Liu Cixin. It is the third novel in the trilogy titled Remembrance of Earth's Past, following the Hugo Award-winning novel The Three-Body Problem and its sequel, The Dark Forest. This is an unforgiving book. Did you remember every detail from the last two novels? No - better go back and take some notes! It is epic sci-fi. Boun…

Book Review - This Is Going To Hurt

· 200 words


A doctor's white coat hangs on the wall. A red pen in the pocket is leaking.

​Welcome to 97-hour weeks. Welcome to life and death decisions. Welcome to a constant tsunami of bodily fluids. Welcome to earning less than the hospital parking meter. Wave goodbye to your friends and relationships... Welcome to the life of a junior doctor. I saw Kay perform his delightfully disgusting parody songs on the Amateur Transplants tour way back in 2008. The humour in this book is m…

UK Gov Camp Weeknotes

· 350 words


Edent Shouting into a microphone.

I'm finally feeling like I'm settling into my new role. I spent my Saturday at UK GovCamp - an unconference for Civil Servants. I ran a session on Acronyms in the Workplace. It was hillarious listening to people try to introduce themselves without any abbreviations. "I am the Chief Paperclip Office for the United Kingdom's Department of Stationery and Supplies" doesn't take much longer to say…

Amazon Prime Video's weird Unicode problems

· 1 comment · 400 words · Viewed ~412 times


Description with an error in it.

It's 2019 and high-tech devices are still plagued by text encoding bugs. I recently bought the new 4K Amazon Fire Stick. It's a little Android dongle which plays videos. It's neat - but quite often displays weird text errors. Take the kids' TV show House of Anubis, the Fire displays the description like this: Looking at the source code for the description: That's the character "private use…