AGENTS.md standardisation for agentic coding systems(5 min read)

I am amazed at the speed of change in the industry.

Having started to use agentic coding on several open source projects I was appalled at the divergence of different names for instruction files.

Just over a week ago, I started to plan a project to try and at least standarise the open source projects, picking ChatGPT / OpenAI Codex AGENTS.md as the best option of a generic name (and avoid creating new standards).

I didn't get to do much until this weekend, and spent the time creating the Agent Rules (https://agent-rules.org/) microsite and raising feature requests with various open source projects.

My approach is fairly light-weight, based on projects like Editor Config, Semantic Versioning, and Conventional Commits).

This drew out a few comments that, following down the rabbit hole, it looks like the approach from Codex has already gained traction (within the last week) and will become the standard.

A lot of the discussion was on X, so I asked Grok to summarise the timeline and at how fast this has moved.

Continue reading AGENTS.md standardisation for agentic coding systems(5 min read)

Hands-on with Augment Code(3 min read)

Augment Code, one of the new AI-powered coding assistants, promises to make software development faster and more intuitive. But does it hold up in real-world scenarios, beyond demo apps and sample code?

Open source software provides a great opportunity to learn these tools with real code, solving real problems. Plus you get to contribute back to the community.

I decided to put Augment Code through its paces by solving a practical improvement I wanted to make to the pysunspec2 project, involving home IoT devices and solar energy controllers.

Continue reading Hands-on with Augment Code(3 min read)

SmartSetup is the best Matter switch so far(6 min read)

It is not perfect, but the best Matter switch I’ve found so far, for Australia, is the Matter over Thread series by SmartSetup (also available on Amazon).

I’ve previously reviewed a few Matter inline switch modules, including the Sonoff MINIR4M and Zemismart ZME2 dual inline switch, however all older ones are WiFi.

Now Thread-based switches, and inline modules, are starting to appear on the market, and will be a key element to building the mesh backbone of a Thread network.

This article will go through a few of the reasons why the SmartSetup is great, considering external switches vs inline modules, Thread vs wi-fi, and support for detached relay/smart light mode.

I still think there are improvements to be made, so I’ll finish with a discussion of Matter control Binding, and an outline of my ideal device.

SmartSetup packaging

Continue reading SmartSetup is the best Matter switch so far(6 min read)

Setting up iZone climate control with Home Assistant(11 min read)

The iZone Climate Control system is an effective way to manage ducted air conditioning in your home allowing multiple zones with separate target temperatures and controlling the central unit and airflow to each area.

Through the bridge component you can integrate it locally with Home Assistant, as well as other smart home platforms (Google etc, Apple Home, etc). The iZone platform supports other components (lights, irrigation, etc), however I am focussing on the climate control.

You need some additional manual configuration to bring in all the system details, including the current control zone, target temperature, supply temperature, and operating modes.

Once configured you can set up a dashboard to track the climate in your house throughout the day:

History graph of temperatures and climate control states

Continue reading Setting up iZone climate control with Home Assistant(11 min read)

Hands on with Matter and Thread(11 min read)

Matter and Thread offer many benefits, with standardised interoperability, local-only control, built-in security, multi-admin, and IPv6 support — helping drive IPv6 adoption and development skills.

Several devices have now launched, and I have tried out a few of the available devices with Google Home and Home Assistant, however these are early days, and feature implementation still lags behind native integrations in some significant areas.

Thread-based devices:

  • Nanoleaf Essentials light bulb and LED light strip
  • Eve Home smart plug

Wi-Fi devices:

  • Sonoff MINIR4M inline switch
  • Zemismart ZME2 dual inline switch
  • Wiz light bulbs
  • Tapo P110m smart plug

Most devices initially required their native app for firmware upgrades (although the new Eve device updated without it), and there were many features only accessible via native apps (even where the features are in the Matter standard).

In particular none of the switches had separate switch and relay parts for detached operation via Matter bindings, although the Sonoff does support detached mode via the native app, and the Zemismart had the Binding cluster but I couldn't get it working.

Continue reading Hands on with Matter and Thread(11 min read)

Deploying a secure LwM2M IPv6 test server on AWS(15 min read)

Lightweight Machine-to-Machine (LwM2M) is a compact protocol design for Internet-of-Things (IoT) scenarios, that provides end-to-end services including efficient transport, encryption, device lifecycle, and messaging semantics. Devices deployed to the field will connect to full LwM2M endpoints, however you may also want to deploy your own LwM2M demo server for testing purposes.

This article shows you how to deploy an Eclipse Leshan server onto Amazon Web Services (AWS), configured for secure connections (COAPS for messaging, and HTTPS with basic authentication for the Web UI), accessible over the internet, and including support for both IPv6 and legacy IPv4.

First we will configure a network in AWS, then deploy the server, and then test the deployment.

AWS container diagram

Continue reading Deploying a secure LwM2M IPv6 test server on AWS(15 min read)

AI and copyright: Addressing an incongruity(4 min read)

In our rapidly evolving digital age, traditional concepts such as copyright are being rigorously tested. The advent of Artificial Intelligence (AI), in particular, has initiated a crucial debate on the validity and efficacy of existing copyright laws. This debate becomes particularly intense when we consider the striking difference in the treatment of photographs and AI-generated art under current copyright laws. This discrepancy calls into question our collective understanding of creativity, ownership, and the essence of copyright itself. Is it time for us to reevaluate the concept of copyright in the digital era?

Continue reading AI and copyright: Addressing an incongruity(4 min read)

Device Authentication with Nordic Thingy:91 and Azure IoT Hub(22 min read)

Security is an important topic for the Internet of Things, and there are several considerations to secure device identity. A good practice is to use secure protocols (such as TLS or DTLS) for transmitting any sensitive information over the network and to ensure that passwords and other sensitive information are securely stored.

This article will provide an example of using X.509 client certificates for connecting to Azure IoT, using the Nordic Thingy:91 platform. The certificates are securely loaded directly to the device, so they are not exposed in the device firmware.

Using certificates allows a hierarchy of trust to be established, allowing system owners to delegate certificate management to third parties while retaining control of the root trust.

The article also covers the usage of IPv6, and accessing IPv4 servers from the Telstra IoT network, running in IPv6-only mode and using NAT64.

Nordic Thingy:91 Cellular IoT Prototyping Platform, unboxed.

Continue reading Device Authentication with Nordic Thingy:91 and Azure IoT Hub(22 min read)

Running NAT64 in a dual stack network(5 min read)

Network address translation 6-to-4 (NAT64, RFC 6146) is a transition technology that can be used, in conjunction with DNS64 (domain name system 6-to-4, RFC 6147), to replace NAT44 in dual-stack networks, and allowing support of IPv6 only devices.

Dual stack is a common deployment solution for adding IPv6 for both consumer and corporate networks, although IPv6-only is becoming more common, with the typical guidance being "IPv6-Only Where You Can, Dual-Stack Where You Must"

Even if you are still stuck in dual stack, it still makes sense to use some of the IPv4 as a Service technologies, such as NAT64 and DNS64, which have the upside of allowing you to support IPv6 only devices, and no downside. As an additional benefit, you also get valuable experience in IPv6 systems.

The cost is that you need to have infrastructure that supports NAT64, either provided by your ISP, or from your own networking equipment/router. This is not as much an issue for DNS64, as public DNS64 is available, e.g. Google.

If your network supports it, look at implementing NAT64 + DNS64 today; if it does not, contact your equipment provider to find out when they will support this important technology for IPv6.

Network with IPv6 and dual stack devices using NAT64 to access an IPv4 server, with IPv4 devices using NAT44

Continue reading Running NAT64 in a dual stack network(5 min read)