python

Two-factor TOTP codes

    3 minute read     Technology

Two-Factor authentication is a good way of increasing login security in systems, and is now quite widespread: it’s the six digit number that rolls over every 30 seconds. It’s designed to be very simple to operate as a user, but how much effort is involved as a developer?

Garmin Connect code exploration

    7 minute read     Technology

I’m a big fan of fitness tech, and one of my favourite devices is my Garmin fēnix-series sports watch. Garmin’s Connect platform lets you examine your data and activities, but there’s no public API for us to interact with programmatically. Consequently, it’s a perfect opportunity for me to look at it and see what I can pull out.

Reading and writing NFC tags

    6 minute read     Technology

Now that we’ve resolved all of the major teething issues we had with Python 3 and nfcpy, we can look at reading the contents of tags presented by the user and writing our own. There’s a wide variety of tags that can be written, so I’ll cover a couple of the most interesting — Wi-Fi credentials and URIs.

NFC fun with Python

    10 minute read     Technology

I’ve recently been looking into using an NFC reader/writer pad at work to make configuring some devices we have much quicker and easier, as the standard process for these devices is an Android phone and a lot of manual data entry. Checking the device using a mobile is great, but configuring them this way is not scalable.

Slack for push notifications

    6 minute read     Technology

Following on from my post about Push notifications with Python, I’ve recently been looking at using Slack for more advanced notifications and interactions. This post will go through the process from the start, including setting up a Slack workspace and making a new App integration. If you’ve already done part or all of this stuff, feel free to skip ahead!...

SMS conversations with Python

    9 minute read     Technology

Following on from my last post about sending SMSes with Python, we’re now going to look at ways to get SMS responses and how we can use this to build a basic conversation flow. I find I learn best when I have a goal or project, so here I’ll use the example of an SMS-controlled stopwatch.

Sending SMSes from Python

    6 minute read     Technology

In yet another article in the series of ‘playing with Python’, today we’re looking at sending text messages! In Australia, Telstra allows you to evaluate and develop with their API services for free, up to a limit of 1000 SMS per month and at most 100 in a single day.

Push notifications with Python

    5 minute read     Technology

Recently, I’ve had an interest in using push notifications to keep me updated. These are extremely common nowadays, but they’re surprisingly difficult to implement as a hobbyist. I wasn’t opposed to installing an app on my phone or laptop, but I did want whatever service I picked to be reasonably low-cost and easy to use.