Thursday, 17 October 2019

RuuviTag and Node-Red

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.
















Monday, 14 October 2019

OpenPlotter, Beta V2, install guide

Link to other OP related posts 
                           Updated 2019-10-14 !

It's still a Beta in progress, but if You want to check it out it is a nice installation of 
  • OpenPlotter Basic(OP)
  • OpenCPN(OC)
  • SignalK(SK)
and it works on Raspberry Pi 4, Buster

Stable version install is found here                                

Sunday, 13 October 2019

Bluetooth and Node-Red


There are some Node-Red nodes, (RDN), that are dependent on the old Noble package which don't work on Node > v8. 

One nice and simple RDN 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. 


Saturday, 12 October 2019

Bluetooth Beacon and Raspberry

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 a RuuvuTag, 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 windowtyping

hciconfig 

Wednesday, 2 October 2019

Node-Red quick install

                           Updated 2019-10-02 !
  
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.

Friday, 13 September 2019

IKEA Bäve dimmer hack II





Dimming not dimmable LED, IKEA Bäve

In former post I used a Fibaro Z-Wave RGBW controller but in this post I will use an IKEA original !










Other HomeKit posts                  on this Blogg

Tuesday, 3 September 2019

HomeKit, Z-Wave, Telldus Live, and...


Other 
HomeKit posts on this Blogg
Updated 2019-09-03 !

You can use one  Raspberry Pi to
  • Make Your home automation devices appear in the Apple Home App
  • Being the Z-Wave controller with the Razberry Daughter Card
  • HomeKit enable Your Z-Wave devices
  • HomeKit enable Your devices registered at Telldus Live
  • HomeKit enable IKEA Trådfri devices 
  • Homekit enable temperature with sensor  DS18B20
  • HomeKit enable Broadband speed 
or If You have other products there are more than 1700 plugins available

Sunday, 1 September 2019

Homebridge made simple, HOOBS


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 package which You can download here.

Tuesday, 20 August 2019

HomeKit bridge with Z-Wave

Other HomeKit posts on this Blogg
           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.

Monday, 19 August 2019

HomeKit bridge with Z-Wave II

In a former post I used Homebridge on a Raspberry Pi, to make Z-wave devices appear in the Apple Home app, but there is a simpler and faster, way.

Start with the install of the Razberry card or upgrade to Z-way V3.0.0

           Other HomeKit posts on this Blogg


Friday, 16 August 2019

Z-Wave on Raspberry PI


     Updated 2019-08-16 !

Installing a Z-Wave controller on Raspberry Pi is much easier than You think.

The only add on You need is the Razberry Daughter Card and free software from the same site

Wednesday, 14 August 2019

OpenPlotter quick install guide


Updated 2019-08-15 !

OpenPlotter is;
  • A complete boat navigation system
  • Includes OpenCPN, Chart plotter navigation
  • OpenSource, so it's free !
  • Running on Raspberry Pi(RPi)
  • Its hardware is cheap
  • Running on Unix, so its reliable
Check out OP V2 Beta

Saturday, 10 August 2019

Internet speed measure


             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.

Friday, 9 August 2019

SDR calibrate with kalibrate-rtl

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.


Other AIS posts on this Blogg

Thursday, 8 August 2019

Raspberry fan control, Node-Red



             Updated 2019-08-08 !

Do You want to have control over the Raspberry Pi, RPi ? 

Controlling;

  • CPU Temperature
  • CPU Load %
  • Free RAM %
  • Disk Usage %
  • Shutdown and Reboot buttons
  • Fan PWM control via GPIO
Other NR posts on this site

Friday, 2 August 2019

Samba, RPi as Windows file server


             Updated 2019-08-02 !

If You want that the Raspberry Pi, RPi, shall appear in MS Explorer or Mac Finder, as a File server, the easiest way is to install Samba.

This also makes it much easier if You want to edit files on the RPi with editors from Your MS/Apple device. Or maybe moving files from/to the RPi.

Tuesday, 23 July 2019

AIS reciever for Raspberry Pi, 2 channel

Other AIS posts on this Blogg

         Updated 2019-07-23 !!

This post covers the setup for a AIS, dual channel, receiver for Raspberry with systemd autostart.

This setup is used in the NMEA WiFi project.


I'm using the RTL-SDR dongle V3 with almost zero temperature drift or the even better NooElec NESDR Nano 3


Here is another AIS receiver bloggpost,  with nice user interface, map and dispatch facilities.

Improve receiving range? Calibrate ! Instructions in this post

Sunday, 21 July 2019

RPi install Apache/PHP WEB-server


Updated 2019-07-21 !

As a part of one of my project, the ultimate Weather site ?? Weather34, I needed a WEB-host with PHP.

I started up with a fresh Raspbian Lite SD Card with Samba installed.

Update the OS with 

sudo apt-get update
sudo apt-get upgrade
sudo apt-get clean

Log on, with ssh, to the RaspberryPi(RPi), with in this case hostname "pws01", and start to install the Apache server with

$ sudo apt-get install apache2


Wednesday, 10 July 2019

Raspbian install with Mac/Windows/Linux


Updated 2019-10-08 !

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.


Sunday, 30 June 2019

Raspbian Lite with GUI, RDP, VNC

Updated 2019-06-30, Buster !

I like the Raspberry Pi(RPi), with Raspbian 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. 

You maybe wonder, why don't use the Raspbian 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. ;-)

Tuesday, 28 May 2019

Install Weather34 with WeatherLink


Updated 2019-05-28 !!

Interface updated to WeatherLink 2.0(WL2.0) Migrate info in this post

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.


Tuesday, 14 May 2019

Raymarine AXIOM and NMEA0183

Many newer MFD:s don't have any NMEA 0183, N1. The  Axiom don't even have any Seatalk NG connector anymore, just the Device Net micro connector.  Loosing the  N1 info too for example the old VHF, position data for DSC, could be a problem so how to solve it ?

Some solutions

  • Pick N1 data from the AIS
  • NMEA 2000, N2 to N1 konverter

Saturday, 11 May 2019

NMEA WiFi gateway II

My thoughts, about NMEA WiFi have finalised ? since my first post in the subject and the Yacht Devices YDWG-02N is now installed in my NMEA2000/ST/NMEA0183 network and works just fine. 

I'm already using Raymarine ST => ST NG converter but otherwise I had bought the YDNR-02 instead which should have done the same job.

Please find some thoughts from the installation below.

Friday, 10 May 2019

Mojave on unsupported Mac


Updated 2019-05-11 !

My old Mac Book Air, mid 2011, didn't support the latest MacOS, Mojave. So after some checking I found this brilliant fix which did the job.

This guy have really done a fantastic job with great instructions and even a Youtube video.

Tuesday, 9 April 2019

Node-Red multiple instances, RPi

Want to have a test environment for Node-Red, NR, separated from production, but on the same server/hardware ? 

Want to have separated instances for different applications on the same server/hardware ? 

It's pretty easy to have several instances running on the same server just temporarily or auto started at power on. Setup will follow for a Raspberry Pi(RPi) !

A post for NR quick install.