Tag: Python

ESP8266 Environment Sensor

Humidity control is essential to make sure your home is healthy and comfortable. Too much humidity is bad but so is too little. In the summer, air conditioning dries up the air. I have been running a humidifier to help mitigate that problem. To ensure it provides enough moisture in …


Garden Lights

At home, I wanted to install lights along the fence to create an ambiance in my backyard. I wanted to have the lights turn on at sunset and turn off a few hours later, entirely automatically. The last requirement was to be able to control the system remotely. I also …


Where are all the hams?

When I build or install a new antenna, I always run a series of tests. Like everyone else, I look at the resonant frequency and SWR. But to see how the antenna is performing, I run WSPR1 for a few days. Then I use the data collected by WSPR …


APRS Telemetry

I wrote a little python program to send my iGate telemetry through APRS. The metrics include the temperature of the Raspberry-Pi, the load average, the amount of free memory, and network traffic. Sending the iGate metrics through APRS allows me to use the graph tools offered by aprs.fi or …


Keeping your AllStar node cool

In a previous article I describe how I built a mobile Allstar node. I carry this node me with when I go to a meeting, or on a trip, leaving the node running in my car. California is a sunny state, and the inside of a car can get hot …


How to debug with logging

Many developers often use print statements for debugging their code. Print statements are a good way to trace and troubleshoot potential problems, but they are not great when working on collaborative projects. Prints are also problematic in multi-threaded programs. You have to remove your print statements before shipping your code …


Concatenation of strings in Python

Most Python books or blog posts, teach us that concatenating strings using the + sign is a bad idea. This is true: using + or =+ is a really bad idea. In Python, strings are immutable. This means that every time your assign a new value or you want to increase the size …


Page 1 / 2