A fantastic way to distribute data between devices is using MQTT. In this post I will do a quick and simple setup with Node-Red(NR) and the Mosquitto(MQ) broker on a Raspberry Pi. Very short, the Broker, installed on a server, handles incoming Publishing and Subscriptions from clients. Every published Message is "linked" to a Topic. All Subscribers use a Topic to "link" to the right Message. How to install Node-Red(NR) is found here and the MQ manual here.
Updated 2020-02-13 ! I have written several post about the HomeKit Bridge, Homebridge, but if You want a simple way to handle the server and plugins the guys at HOOBS have done a nice software package with a browser interface. They even created an image with Buster, for use with Raspberry Pi(RPi) and the HOOBS V3 package, which You can download here.
Node-Red(NR) is Flow-based programming for the Internet of Things This post isn't made as a complete install guide, there are several, just some links to the best information I have found. The best thing is that even if You don't are a skilled programmer, but like logic flows, You can make really advanced things. It's pre-installed on some Raspberry Pi(RPi) distributions.
If You want Your Private Weather Station(PWS) Davis Vantage Pro2, or other Davis products that use WeatherLink, to provide data for the template we use at Domstens Båtklubb just follow the instructions below. This is made without additional software such as Cumulus, Weather display or the Meteobridge product.
Updated 2019-12-09 A very nice way to fix a backup is to make a copy, bootable, of the actual SD card You are using in the RPi and this when the RPi is up and running. You clone from the command line so You don't need the standard GUI, Pixel, and the SD card copy function. It is also possible to set up a cronjob, explained later, which for example makes a clone every night at 1 o'clock.
Updated 2019-12-03 ! When starting up a new project with Raspberry Pi I like to start up fresh and with a minimal OS. Therefore i allways use Raspbian Lite. Doing it right You don't have to use an external display, keybord and mouse, just a ssh client. Connect the card reader, with the SD card inserted, to Your client and format the card with SD Formatter and use the "Owerwrite Formate" option. This will also check that the SD card is OK. Here You find a post with headless WiFi install.
With HomeBridge installed on a Raspberry Pi, (RPi), You just install the homebridge-ring plugin and the Ring accessories will appear in Apple HomeKit This post will cover the Ring video doorbell but is a guide for other Ring products. Prerequisites
It seems that the "aisdispatcher", (AISD) from AISHub.net almost have been a "de facto" standard. The dispatcher receivesNMEA 0183 VDM/VDO messages, (NAIS) via an UDP/TCP connection or serial interface and forwards it to one or several destinations as UDP streams.
The AIS posts on this blog have been very popular so this post will be a follow up which will enable You to show AIS targets, including AtoN:s, on OpenSeaMap, (OSM), together with buoys and beacons. The application showing the map is SignalK, (SK) a OpenSource project for marine use. Need an AIS-dispatcher ? Forwarding the AIS data somewhere.
For a new project I needed a small wireless temperature sensor, there You don't have to change battery so often, and this gave the RuuviTag. Having used Node-Red on Raspberry Pi before, the first application was this dashboard.
There are some Node-Red nodes, (NRN), that are dependent on the old Noble package which don't work on Node > v8. One nice and simple NRN is the node-red-contrib-noble which have the same problem. I picked up the freshest source, dependent on @abandonware/noble, forked it and added install instructions. It works with Node <= v12.
The latest models of Rasberry Pi, (RPi), comes with built in Bluetooth, (BT), so how to receive data from Your Bluetooth devices ? A Bluetooth Beacon, could be aRuuvuTag,is a device that You don't have to pair with, You just scan and receive the data that they are transmitting. Start with checking that Your BT interface is working, in a terminal window, typing hciconfig
This Blogpost was initially made before the IKEA outlets was enabled in the Apple Home app. They could then just be reached via a Tradfri Homebridge plugin. Since a while blinds are supported by this plugin but not by the IKEA Gateway and app so maybe its time again to install it ? Another post covers the installation of the Trådfri gateway with a HomeKit approach. (Without Homebridge)
Updated 2019-08-20 ! These devices are available for Apples HomeKit. The devices are Bluetooth, BLE, or WiFi connected so it could be a limited range in Your house. The Z-Wave solution have a smarter setup running on a type of network called a "mesh network". One Z-Wave product will pass the signal along to another (“hop”) until the final destination is reached. Every device, not battery charged, in your home acts as a messenger; the more devices you have, the more powerful and strong your network is.
Updated 2019-08-10 ! New to Node-Red(NR) and maybe start with a simple application You can benefit direct from ? This application is measuring Your Internet connection at chosen intervals using Speedtest.net and showing the result in a graph. If the speed is under a set value it will send You an email.
To optimize the reception with SDR:s, Software Defined Radios, it is important to receive on the proper frequency. Due to variations in production there could be deviations. The calibration could be done against standard GSM transmitters which are providing a stable reference frequency.