Showing posts with label automated home. Show all posts
Showing posts with label automated home. Show all posts

Wednesday, 13 March 2019

Raspberry Pi Zero W - baby steps

I don't know why I've waited so long to do this. I love messing around with home automation, and here's a fully-functional computer with wireless and 20-odd GPIO (input-ouput) pins.

I've also been meaning to begin using Linux (technically I already do, I use MacOS's Terminal a lot, and have set up and run a couple of Ubuntu servers with python and mysql). The Pi has a desktop, USBs for keyboard and mouse, HDMI output. This one has 1Ghz processor 256Mb of ram and for a HD, whatever free space is on the card that you put in. All of this on a board which is half the size of a credit card and costs less than a tenner (or less than a fiver for the non-wireless version).

When we finally invent time travel, or at least find a way to communicate across time (as per Gibson's The Peripheral which I heartily recommend)  my teenage self will be astounded by this information. I remember the day when I first heard the word 'megabyte'. It wasn't far off the day that I felt very powerful after plugging an 8k expansion into my computer.

Anyhow, back to the plot. What I've learned so far is that that the 'less than a tenner' Raspberry Pi Zero W is 'bare bones'. I've bought a few bits and pieces that have cost much more than the computer(!) including a header for the GPI pins, a breadboard & components kit, pre-loaded micro SD (effectively the HD and OS), mini HDMI to proper-size HDMI adaptor.

Wednesday, 1 August 2018

How do LIFXstyle and Hue-topia look when built to run on the new dark mode?

This good:



I'm really chuffed with this, in fact I'm increasingly pleased with dark mode, it's really easy on the eye and Apple have done a great job.

If I had applications that really needed dark mode then it's my lighting controllers Hue-topia and LIFXstyle. The last thing you want when you're adjusting mood lighting is a bright laptop screen illuminating the room.

The new versions with dark mode enabled will be ready before too long.

Saturday, 23 July 2016

Flic button support in LIFXstyle and Hue-topia

Although it seems slightly ironic to install smart bulbs and then buy a physical button to switch them on/off, a 'smart button' is something I've been searching for for some time.

A LIFXstyle user asked me about support for Flic buttons and they looked just like what I've been looking for. And they've lived up to the promise. There's nothing for scale in the picture below. The buttons are pretty small, around an inch in diameter. They have a small battery within, which is said to have a life of 5 years and then is replaceable. They come with a fabulous sticky back and can be stuck onto a surface, pulled off and stuck to something else apparently ad infinitum (the sticky surface is washable). There's an optional clip which can be fitted if you want to wear the button.

(Let me say right out that I've had to buy my buttons like everyone else, and I'm not earning any kind of commission).

I should also point out that Flic buttons can work Hue and LIFX bulbs without my software, but maybe you're like me and would rather not be connecting your buttons and your bulbs to cloud services.

They've turned out to be very easy to use and integrate into my apps. Support on a Mac involves running the Flic Service which is currently beta.

There's now a window within LIFXstyle and Hue-topia which allows you to add and configure your buttons.

The above window is called up using the menu item View > Flic Manager (cmd-4)
Note also the Menu item LIFXstyle > Connect to Flic Service / Disconnect from Flic Service. Connection should be made automatically, but you can try toggling this if you have problems.
If your button isn't in the list, use the 'Scan' button and press your Flic button. It should appear in the Flic Manager list if it's discoverable. (Your computer may also ask for permission to pair if you've not already paired that button with the computer.) Stop scanning and check the box to tell LIFXstyle/Hue-topia you want to connect to it.
For each button in the list, choose presets (or 'All on / All off') for each action (single, double-click, hold)
Edit your button's name. If you use the keywords white, black, green, blue or yellow in the name (eg 'My black button #1') then the 'ready' icon will appear in the right colour.

The Flic service requires MacOS 10.10 or higher. Without using the Flic functionality, LIFXstyle should run on 10.9 or higher, Hue-topia should run on 10.8 or above.


All of this is available in v2.0 beta of both LIFXstyle and Hue-topia. At present these aren't available for download on the site, but please contact me if you'd like to help test either.

SaveSave