hypernephelist n. [from Greek nepho-, cloud] someone who goes above the clouds.

Azure IoT Hub and MQTT tips & tricks

Azure IoT Hub has had MQTT support for a little while now, as documented in this article: IoT Hub MQTT support. However it might sometimes be tricky to figure out how to use this information with currently available MQTT libraries. Here are a couple tips & tricks and code samples to get you started.

A simple PHP library to communicate with Azure IoT Hub

A little while ago I published a post (in French) about interfacing with the Jeedom home automation server. But I wanted to be able to plug a bit deeper into the software, so I could collect all device events and send them to IoT Hub, without having to use any external tricks. Jeedom being written in PHP, that means I would need a PHP library that I can use to send telemetry data.

Interfacer la solution domotique Jeedom avec Azure IoT

Dans cet article je vais vous détailler plusieurs façons de relier votre installation Jeedom à Azure IoT Hub pour y exploiter vos données de domotique. Jeedom est un logiciel Open Source d’origine française, qui vous permet de créer votre propre centre de contrôle domotique. Le logiciel peut s’installer sur un Raspberry Pi (ce que je vais utiliser), mais vous pouvez aussi acheter du matériel Jeedom plus performant si vous le souhaitez. Par l’intermédiaire d’un système de plugins disponible sur une place de marché, Jeedom peut s’interfacer avec de nombreux matériels et capteurs de type Z-Wave, RFXCom, EnOcean, etc.

Finding your headless Raspberry Pi IP address at boot time

When working on various Raspberry Pi projects, I mostly use the little buggers in “headless” mode, e.g. with no screen, keyboard or mouse connected. This means I have no obvious way of finding the device’s IP address at first boot after a clean re-installation of the OS, other than using brute-force methods like scanning all my network in anger, looking for some Raspberry Pi MAC addresses or open SSH ports. The scanning approach might work on my home network, but is not a very good idea when I am working back at the mothership, where we have thousands of devices connected to the LAN.

Sending messages to Azure IoT Hub in Python using Qpid Proton

While our Azure IoT SDK team is hard at work on an official Python SDK, we have received some requests from customers who were eager getting started using the service using currently available solutions. Python is a pretty easy language/platform to use when prototyping IoT solutions, especially when using devices like the Raspberry Pi where Python is a first-class citizen with many SDKs covering its hardware capabilities.