Best laid plans…

Wanted to work on my garden LED lighting project weekend. Unfortunately, I may have made a slight miscalculation with my measurements... I placed an other with RS for a replacement box, this time a little wider! If all else fails I can always take the circuit board out of the case and place it directly … Continue reading Best laid plans…

WiFi enabling my porch light with a Sonoff Basic Smart Switch.

Having failed to read the warning regarding neutral wires, my attempt at using a Sonoff T1 Smart Switch to control my porch light went down in flames. My plan B was to try using a Sonoff Basic WiFi Smart Switch to perform the same job. My plan to put the relay between the ceiling rose … Continue reading WiFi enabling my porch light with a Sonoff Basic Smart Switch.

Smart switches and the missing neutral!

As part of my learning and experimentation with Homekit and home automation, I recently picked up some Sonoff Basic Smart Switches. I've successfully installed one them outside, controlling a few metres of LED strip lighting. It's pretty novel to turn it on and off via Alexa or from my iPhone, but to be honest, it's … Continue reading Smart switches and the missing neutral!

Running my .Net Core mDNS service on Windows IoT

As part of my ongoing experiments with C# and mDNS (to build my own Homekit accessory), I got to the point where I wanted to run my code on a Raspberry Pi. Microsoft have released a version of Windows 10 that will run on a Raspberry Pi in a headless mode. The main advantage of … Continue reading Running my .Net Core mDNS service on Windows IoT

Apple Bonjour for .Net Core (Part 3)

From Part 1 and Part 2, you can see we have grabbed the a request and parsed it successfully. The next step is to actually answer the request. At this point, I started using Wireshark. I didn't use it in the beginning because I totally forgot about it 🙂 I found this interesting post - https://justanapplication.wordpress.com/category/dns/dns-resource-records/dns-txt-record/ … Continue reading Apple Bonjour for .Net Core (Part 3)

Apple Bonjour for .Net Core (Part 2)

In part 1, I wrote a simple Core console app that could log the multicast requests it received. Running the simple Bonjour Browser utility, I could see this being logged The lines  _services_dns-sd seems to indicate some sort of services request being made, which made sense, given that Bonjour's purpose for existing is to advertise … Continue reading Apple Bonjour for .Net Core (Part 2)

Apple Bonjour for .Net Core

As part of my work on building a .Net implementation of Apple Homekit protocol, I want to have it run on a Raspberry Pi. My plan is to accomplish this using Windows 10 for IoT. This is basically a cut down version of Windows 10, designed to run .Net Core and UWP apps. I haven't … Continue reading Apple Bonjour for .Net Core

Rebuilding CommuterPal with Azure Functions and CosmosDB

A few years ago I built an iOS called Commuter Pal. I never actually launched the app, since I tried to do *way* too much in terms of route planning and intelligent alerting. Since I didn't actually commute myself, it was not something I could field test. Fast forward to 2017 and I've been commuting … Continue reading Rebuilding CommuterPal with Azure Functions and CosmosDB

Roomr 4.1 – Search has arrived!

I've just submitted Roomr 4.1 to the App Store for approval. This version brings my first attempt at a search feature. A few weeks back I was contacted by a user in the Netherlands, who wanted to use Roomr to improve the way they booking parking spaces at their company. They had an existing Exchange … Continue reading Roomr 4.1 – Search has arrived!

Azure Functions and ServiceBus gotcha

Okay, so this might not be a gotcha, but I lost an hour early this morning trying to diagnose a problem with an Azure Function I'm writing. I'm using ServiceBus triggers and outputs to form a processing pipeline using the functions. One function reads the messages on a queue and then puts another message on … Continue reading Azure Functions and ServiceBus gotcha