Wednesday, 10 July 2019

Raspbian install with Mac/Windows/Linux


Updated 2019-07-10 !

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.


Monday, 8 July 2019

Raspberry fan control, Node-Red



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

Sunday, 30 June 2019

Raspbian Lite with GUI, RDP, VNC

Updated 2019-06-30 !

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.

Monday, 1 April 2019

Weather34 & WeatherLink w/o cronjob

Running Weather 34, W34, using my setup, the program "cumulusdata.php" is fetching data from Davis Weatherlink, WL, and are writing the data to a file, type Cumulus. The old way was to fetch the data via a scheduled cronjob. 

Doing a small change to "windspeeddirection.php", "updater.php, and using the latest version of "cumulusdata.php", will do the update with the built in W34 refresh routine instead of cron job.

Thanks to Ken who gave me the hint.

Monday, 18 March 2019

HomeKit bridge with Telldus Live

     Updated 2019-03-18 !


Do You have Telldus devices up and running and want them to be visible and used in Apples Home app ?

With some software and a Raspberry Pi(RPi) they will appear in the HomeKit environment.

Please note that as per 2017-10-22 the Telldus plugin is updated to V1.x and demands Node 8.3 or greater. Upgrade tips of Node from 6.x.x to 8.x.x is found hereThe new version can also locally "talk" direct to a TellStick ZNet Lite Vx.

Other HomeKit posts on this Blogg

Tuesday, 19 February 2019

IKEA Bäve dimmer hack





Dimming not dimmable LED, IKEA Bäve

Inspired by LarsWH and using a Z-Wave controller I got it working with a "standard" component.










Other HomeKit posts 
     on this Blogg        



Monday, 18 February 2019

RPi install Apache/PHP WEB-server


Updated 2019-02-18 !

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


Saturday, 16 February 2019

HomeKit, Trådfri and Gledopto RGB


I bought the Gledopto RGB+CCT LED controller(GO), so I could use RGB LED strips, not just the IKEA ones.


There were some IF:s, which will be scrutinized below, but it worked.


Other HomeKit posts on this Blogg



Tuesday, 5 February 2019

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


Other 
HomeKit posts on this Blogg
Updated 2019-02-05 !

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 outlets 
  • Homekit enable temperature with sensor  DS18B20
  • HomeKit enable Broadband speed 
or If You have other products there are more than 1400 plugins available

Monday, 4 February 2019

HomeKit bridge with IKEA Trådfri, Outlets



As said in this Bloggpost the Trådfri Gateway is supporting Apple HomeKit but for the moment it just handles the Lamps

With HomeBridge up and running You can use the homebridge-ikea-tradfri-gateway plugin to enable Lamps and outlets with the Apple Home app.

In this post will install the plugin.

Other HomeKit posts on this Blogg


Saturday, 2 February 2019

Homebridge update installation on RPi

Other HomeKit posts on this Blogg
Updated 2019-02-02 !

If You want to upgrade from Jessie to Stretch?

Raspberry Pi(RPi)update

Start updating the Homebridge installation,  after You logged on to the RPi, with;

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

Sunday, 27 January 2019

AIS for Raspberry with Map, Dispatcher


   Updated 2019-07-10 !!

This is a setup, on a Raspberry Pi(RPi), with a software package, rPiAIS, from http://www.aishub.net which includes
  • receiving and processing of all standard AIS messages
  • streaming raw AIS feeds to multiple destinations
  • advanced monitoring of device status, coverage and message statistics
  • embedded electronic map with all received vessels
On the same RPi I have installed a RTL-SDR dongle, approx 20 €, as the AIS receiver and then using the software aisdeco2, 2 channel support, interfacing the dongle and sending NMEA 0183(N1) data to rPiAIS.

Here is "stripped" version of an AIS receiver

Monday, 21 January 2019

Raspberry headless install with WiFi

To make a headless, (without monitor, keyboard and mouse) install of Raspbian, Raspberry Pi:s Operating system, on a Raspberry Pi(RPi) with built in WiFi and no LAN cable connection, please follow the instructions below.

For example the RPi Zero and the newer Raspberry Pi 3 Model A+ don't have any LAN cable port so the setup can be quite usable.


Tuesday, 11 December 2018

Mac install Apache/PHP WEB-server


Updated 2019-01-07 !!

As a part of one of my projects, the ultimate Weather site ?? Weather34(W34), I needed a WEB-host with PHP and started to use a Raspberry Pi.

In this post You will get some short install tips on Apache with PHP on a Mac with Mojave, macOS 10.14.x, and at the end of the post the W34 installation is done.

Saturday, 1 December 2018

Homekit with broadband speed measure


If you think it's ok that the broadband speed appears as temperature in Home apps this plugin is very nice.

The plugin, used with Homebridge(HB), measures Your broadband speed at chosen intervals. If You use the free app "Eve for Homekit", besides that it shows the last measured broad band speed, it also shows the speed history in a nice graph.

Other HomeKit posts on this Blogg

Friday, 23 November 2018

Weather34 install at WEB hotel


Updated 2019-04-01 !

Prerequisites is listed in the beginning of the post for installation on Raspberry Pi(RPi)


You will find migration information, from WeatherLink 1.0 to WeatherLink 2.0, in this post

Thursday, 22 November 2018

Internet speed measure

New to Node-Red(NR) and maybe start with a simple application You even can benefit 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.

Tuesday, 20 November 2018

Node-Red quick install



This post isn't made as a complete install guide, there are several, just some links to the best information I have found.

Node-Red(NR) is Flow-based programming for the Internet of Things.

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.


Tuesday, 13 November 2018

Speedtest vs ISP and home

Sometimes you are doubtful about the performance of your network, or ISP, and wonder, where is the bottleneck ?

After some Googling I found some favorite applications, implemented on a cable connected Raspberry PI(RPi), which do the job so You can start measure and stop guessing.

A speedtest, 
  • checking Your ISP, with just a bash script
  • for Your home network

Friday, 9 November 2018

OpenPlotter quick install guide


Updated 2018-11-09 !

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