Updated 2021-12-05 !
In the harbour we are using a Davis weather station, Vantage Pro2, as our PWS(Private Weather Station).
If you like to display the data, online on the web, you can use the Davis service, Weatherlink(WL) where you register an account.
Another way is to retrieve the weather data as XML or JSON, from the Weatherlink web-site, and use it in your own application (open source!).
Another approach with NodeRed could be find here.
December 05, 2021
October 16, 2021
Raspberry, restart network, or reboot, at ping failure
Using a Raspberry Pi Zero(RPi), with wifi, I sometimes have problem that the WiFi connection is lost. This is due to that, at our boat, we are using the Teltonika RUT 240 router. The router just have one receiver/transmitter, LAN and WAN WiFi are shared, and in some use cases the WiFi will temporarily be disconnected. To restart the WiFi quick the following solution is used.
This post will cover a solution, a bash script, with inspiration from this blogpost, but with some fine tuning. 😉
Another way could be using the watchdog function, described here, with reboot.
October 15, 2021
SIGNL4, automated alerting with free mobile app
I'm involved in several projects where you, as quick as possible, want to get an alert if anything fails. After a lot of Googling I found SIGNL4.
They have several ways to create an alert, can involve a team, have a nice app and is free, up to 5 users, if you use the "STARTER" option.
In this post, as an example, I will show how I detect if my AIS receiver/dispatcher stops receiving AIS targets, sent to Vesselfinder, and how an alert is forwarded to the SIGNL4 app.
August 24, 2021
Ring doorbell install and relay
The electrical install instructions for the Ring Doorbell maybe could be a little easier to find ?
So will give some links where you are connecting to
- Internal doorbells
- No internal doorbell but charging the battery
- External relay, triggering "anything"
- Wireless relay
Ring Device manuals are found here.
August 08, 2021
Homebridge made simple, HOOBS
Updated 2021-08-08 !
I have written several post about the HomeKit Bridge, Homebridge(HB), but if You want another simple way, with GUI, to handle the server and plugins the guys at HOOBS have done a nice software package.
I personally prefer the Homebridge "native" install, which seems to be updated more frequently.
July 24, 2021
Raymarine AXIOM and NMEA0183
Updated 2021-07-24 !
Some solutions
- Pick N1 data from the AIS
- NMEA 2000, N2 to N1 konverter
- SeaTalk NG, NG to N1 konverter
July 14, 2021
AIS dispatcher, stand alone
Updated 2021-07-14 !
The dispatcher "aisdispatcher"(AISD), Linux v1.2, from AISHub.net receives NMEA 0183 VDM/VDO messages, (NAIS) via an UDP/TCP connection, or serial interface, and forwards it to one or several destinations as UDP streams. It works at command line with no GUI.
Please note ! This software is "labeled" deprecated and the AISHub guys recommend you to use this package, with built in GUI, instead. The old version, described in this post, still works, for RPi OS before Bookworm, and is very lightweight.
Please note ! This software is "labeled" deprecated and the AISHub guys recommend you to use this package, with built in GUI, instead. The old version, described in this post, still works, for RPi OS before Bookworm, and is very lightweight.
The best AIS application ? is found here !
July 07, 2021
MySQL and NodeRed
Updated 2021-07-07 !
Also timestamps in different environments are a little complicated.
So this post will cover both areas with some code examples done on a
Raspberry Pi.
July 01, 2021
Raspberry fan control, Node-Red
Do You want to have control over the Raspberry Pi(RPi) ?
Functions
- CPU Temperature
- CPU Load %
- Free RAM %
- Disk Usage %
- Shutdown and Reboot buttons
- Fan PWM control via GPIO
Other NR posts on this site
June 15, 2021
Volvo Penta NMEA 2000 Gateway
Updated 2021-06-15
It's always nice to have ALL information at the same place, navigator/plotter, when You are out with the boat.
What could be missing is the engine information/data. If You have a Volvo Penta from 2006 or later it could be pretty easy.
There are some "standard" NMEA 2000 gateways to choose from, for example;
It's always nice to have ALL information at the same place, navigator/plotter, when You are out with the boat.
What could be missing is the engine information/data. If You have a Volvo Penta from 2006 or later it could be pretty easy.
There are some "standard" NMEA 2000 gateways to choose from, for example;
May 21, 2021
HomeKit bridge with Z-Wave
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, acts as a messenger; the more devices you have, the more powerful and strong your network is.
Raspberry USB SSD boot made simple ?
Check
link
April 15, 2021
Homekit, temperature with DS18B20
Updated 2021-04-15 !
This assumes that You have Homebridge up and running on a Raspberry Pi
Check this post !! "ANY" temp source can be HomeKit enabled.
March 22, 2021
Wordpress with PHP Everywhere
Sometimes you have to handle things in Wordpress that you can't find any plugin for.
In our case I had to visualize a list from a MySQL database and in another case I had to fetch data from another website.
In both cases I solved it with inserted PHP code which is executing and getting the info.
March 13, 2021
SignalK switch with NodeRed and WilhelmSK
Here I'm trying to do the "ultimate" SignalK switch blog post including(no N2K)
- Shelly 1 as the hardware switch
- NodeRed as the function engine
- NodeRed dashboard as input/output interface
- WilhelmSK as input/output, check picture
- A http endpoint as state sensing
The post is ment to be a template where you can pick the parts which are right for your setup.
February 15, 2021
Raspberry Pi measuring Voltage
I'm always a little confused that as soon as someone wants to get an analog
measure to a Raspberry Pi(RPi) they are often taking a detour via an
Arduino/ESP or some other microcontroller.
Why not just take an Arduino peripheral and use it together with a RPi
?
In my case I needed to measure the voltage across a fresh water tank level
sensor in our boat, but i could be any DC voltage. Hints for sending the data to a Signal K(SK) server is found below.
In this post I will use an
ADS 1115(AD), or ADS 1015, as AD converter.
January 01, 2021
Scanner GUI with NodeRed
In a former post I installed CUPS printer software for a Cannon printer. The scanning functionality is supported by the package SANE. But there is no nice GUI for the scanning function so I made one, with NodeRed(NR), which I really think is "wife" enabled.
Subscribe to:
Posts (Atom)