Posts

Showing posts with the label Raspberry

Signal K, stream data changes

Image
Updated 2025-06-28 ! Are You searching for a solution where You want to create graphs and gauges from SignalK(SK) data ? Use NodeRed(NR), installed as a SK plugin , with the standard dashboard and it's easy to create info as seen in the picture. And this is without a database as InfluxDB and tools like Grafana. You use the WebSocket interface , or SK subscribe nodes, to subscribe to changes in data from the SK server. 

Signal K quick install, Raspberry Pi, Ubuntu

Image
Updated 2025-06-23 ! I have got some questions installing, just,  Signal K (SK) so will do a summary with links. Signal K is the hub to receive data, from different devices in different data formats, and send it on to different equipment, or databases, in different formats. Most common for standard marine equipment are the old NMEA 0183 and the newer NMEA 2000 protocol which is also handled.  Besides the SK "hub" function developers  have  created  plugins  for different purposes. This is due to that  SK is open-source ! Sharing is caring ! In this post you can check the devices I'm using connected to the SK server and also my setup.

Home Assistant and Node-RED

Image
Node-Red (NR) is  Flow-based programming for the Internet of Things. I have in the past  written a lot of posts  for Node-RED and the   HA implementation  makes it easy to interact with HA:s entities. The best thing is that even if you don't are a skilled programmer, but like logic flows, you can make really advanced things and it really complements the logic that could be made within Home Assistant(HA). In this post I will do a quick introduction to what is possible with NR together with HA.

Remote access for Linux, remote.it, made simple

Image
Updated 2025-03-23 ! Sometimes it's really nice to reach your applications, secure and quick, at home when you are somewhere else.  There are several applications but this post will be describe a really quick setup with remote.it  on a Raspberry Pi(RPi) or another Linux platform. Of course there also is a Windows version. The most used services are; http, ssh, vnc, rdp, SAMBA(smb/cifs) ..... and  or non-commercial use, with up to 5 devices, it's free ! I'm using it to access Home Assistant , display  NodeRed dashboard , access servers with "ssh" and file sharing with SAMBA there all applications are running on RPi:s at home.

Install Weather34 with WeatherLink

Image
Updated 2025-01-09 PHP 8.2 ! 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.  T his is made  without  additional software such as Cumulus, Weather display or the Meteobridge product. This application is updated !! , to use the v2 API. Check   this post  !!

Install Weather34 with WeatherLink, v2 API

Image
Updated 2025-01-08 OK PHP 8.2 ! This post is an update from a former post which handles on how to set up a weather WEB-site with data from Davis Weather Link(WL) but here adapted to the latest WL API v2. Any product that reports weather data to WL can be used as a source for this weather template. T his is made  without  additional software such as Cumulus, Weather display or the Meteobridge product.

DMI forecast API for atmosphere, ocean and sea ice, free !

Image
Updated 2025-01-04 DMI is the Danish Meteorological Institute and the   Open Data API provides free and open access to DMI’s data.They are covering a pretty big area not just Denmark . I'm maintaining the weather station for Domstens yacht club and have become really interested in weather "issues". The actual use case for me is that I have to change the mooring, of our boat, if the water level exceeds 60 cm from normal.   For several years I have been searching for a free forecast API so I can get an early warning when the water level rises. Node-Red is used.

Raspberry Pi OS install with Mac/Windows/Linux

Image
Updated 2024-12-13 ! When starting up a new project with Raspberry Pi I like to start up fresh and with a minimal OS.  Therefore i always use Raspberry Pi OS(ROS) Lite and then adding what I need .  Doing it right You don't have to use an external display, keybord and mouse, just a " ssh "  client. Flash to a SSD ? Check this post .

Receive temperature, 433 MHz sensors, with RTL-SDR

Image
  Updated 2024-12-01 ! In my underfloor heating project, using Node-RED, I have to have one sensing thermometer per room/zone, seems to be 8 in total, so therefore it would be nice with a wireless battery sourced device with good resolution and frequent updates. During the test phase I used a Z-way device but the resolution was pretty bad. Another device mentioned is  the  Ruuvi tag  but since it's a bluetooth device the transmitting range could be better. After some googling I went for 433 MHz devices.

Underfloor heating with PID controller, Node-RED

Image
Updated 2024-11-14 ! In a former post I did some hacking/checking how our underfloor heating control system handled the valves, actuators, regulating the heat.  Now it was time to do some tests with Node-RED(NR), with a PID controller ,  and a Shelly 1 (S1) connected via WiFi and driving the actuator. The actuators are in my case controlled by 24 VAC and the S1 accepts 110 - 240 VAC, 24 - 60 VDC and 12 VDC. So in this case it was simple to just add a rectifier and a capacitor, to the 24 VAC, to get approx 36 VDC to source the S1.

Matter bridge, with Shelly, or non Matter devices

Image
Matter is a smart home standard currently being developed by a consortium of over two hundred companies, including big players such as   Apple ,   Google ,   Phillips ,   Amazon   and   Samsung . Many new devices have Matter implemented, from the beginning, but devices, such as most of Shelly devices don't. On the other hand many hubs can be upgraded to Matter support. For example an Apple TV. With a Matter bridge  you can solve the incompability. This post will use  Matter bridge plugin Manager and the Shelly plugin  but it could be other devices shown in the picture below.

Shelly devices as "native" Apple HomeKit accessories

Image
Updated 2024-11-09 I have been using Shelly devices for quite some time both on our boat , off grid, and also as HomeKit (HK) accessories via Homebridge (HB) .  I was really amazed when I found that some smart guys have created a software package that replaces the stock, official, Shelly firmware with the  "Shelly-HomeKit" package which emulates a "native"  Apple HomeKit accessory. It's very nice done, really simple, and the flashing of the software is done over the air (OTA) with your ordinary WEB-browser.

Node-Red quick install

Image
Updated 2024-11-06 ! 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. Running  Node-Red with  multiple instances  ?

SeaTalk1 to NMEA 0183 converter, DIY

Image
Updated 2024-08-30 !  !! Another SW solution is available for RPi 5 here !  using the same HW. Thanks to Thomas, (the guy with the nice marine interface board ) ,  it's now possible  to decode, one way, the SeaTalk1(ST1) sentences in a pretty simple way. You just  use OpenPlotter(OP) and/or SignalK(SK) and an  Optocoupler . The thing that made it, is that Thomas   has released a "how to" and  Python source code , that will read the data from a GPIO pin on the Raspberry Pi, (RPi), and format it so the standard parser in SignalK can translate it to SignalK delta format. It is then  available as NMEA 0183. It's even possible to send the data in to a NMEA 2000 network, with a proper hardware interface.

Waveshare CAN hat with Signal K & OpenPlotter

Image
Updated 2024-07-08 To get information from the NMEA 2000(N2K) network, to the RPi, I have been using  Actisense NGT-1 , for a long time,  and later also the  Yacht Devices YDWG 02  but now it was time for a Raspberry Pi(RPi) CAN hat(CH) from Waveshare(WS). WS have 3 different models but I picked the 2 channel isolated one . It's recommended to use an isolated one which also is demanded for those interfaces which can be approved by the N2K group.

Raspberry Pi OS Lite with GUI, RDP, VNC, Chromium

Image
Updated 2024-07-01 ! I like the Raspberry Pi(RPi), with Raspberry Pi OS Lite (no Desktop is included), headless operation, and then adding the software You need. Until now I haven't had a use case where I needed a Desktop but now was time.  Why don't use the Raspberry Pi OS with Desktop ?? In that package there is a lot of software I don't need and I really want to optimize the RPi. I think that the less software You install the happier RPi will be... 😉

OpenPlotter v4 stable, install guide

Image
Updated 2024-06-30 ! OpenPlotter(OP), a Boat Navigation application, is really a nice and simple installation of OpenPlotter (OP) OpenCPN (OC) SignalK (SK)  and other supporting applications for Your boat. An overall information about the OP package is found  here   and you can watch the OP v4 progress  here .

Raspberry Pi 2, 3, 4, 5 USB SSD or USB drive boot

Image
Updated 2024-06-06 ! After having tested several methods creating a bootable USB SSD, or other USB drive, for Raspberry Pi(RPi) 3 4 and 5, I finished with this simple method Create the setup you want on a ordinary SD card(Or use existing) Make a bootable backup/clone of the SD card saving it to the USB SSD Remove the SD card and boot from the USB SSD Having a RPi 4, 5 ? Use this post on how to write the OS direct to the SSD.  

Raspberry 4,5 USB SSD boot in 60 seconds !

Image
Updated 2024-06-05 ! Yes, it's really true ! Thats the maximum time it takes to write the Raspberry Pi(RPi) OS to a bootable USB SSD and maybe read this post ? If you have a RPi 4, 5 and a USB SSD or  other USB drive , that works as a boot media, just use  the RPi imager which can write the image direct to  the USB  storage. Having an older RPi ? Use this post instead. If you already have a SD card with working applications and you want to "transfer",  copy/clone,  them to a bootable SSD use this post .

OpenPlotter V3, install guide

Image
Updated 2024-03-01 ! OpenPlotter(OP), a Boat Navigation application, is really a nice and simple installation of OpenPlotter (OP) OpenCPN (OC) SignalK (SK)  and other supporting applications for Your boat. An overall information about the OP package is found here . Install guide for the new stable OP, version 4, is found here .