Tuesday, 11 December 2018

Mac install Apache/PHP WEB-server


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.

Wednesday, 5 December 2018

Mojave on unsupported Mac


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.

Before You start I really recommend to check the website, to see if Your Mac is upgradable, read the information carefully and also watch the video.

Sunday, 2 December 2018

Install Weather34 with WeatherLink


Updated 2018-12-12 !!

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.



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.



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

Tuesday, 6 November 2018

HomeKit bridge with Telldus Live

     Updated 2018-11-06 !

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 "talk" direct to a TellStick ZNet Lite.

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

Another thought is that there are not so many native devices available for Apples HomeKit and also why throw away all the devices You have integrated with Your Telldus controller when they can appear in the HomeKit environment ?

If You also have Z-wave products there is a parallel solution found in this post.


Sunday, 4 November 2018

HomeKit bridge with Z-Wave

Updated 2018-11-04 !

For the moment there are not so many devices available for Apples HomeKit and 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 in your home acts as a messenger; the more devices you have, the more powerful and strong your network is.

Also important is the they have a lot of different devices available.

On the other hand I like the Apple solution where You for example can switch on the light in the bedrom whith Siri.  So how to combine them ? 

Monday, 29 October 2018

Router as WiFi extender

Extending Your WiFi via cable have the advantage, compared to extending via WFi, that You keep the bandwidth at max. Extending Your WiFi with products that use the same frequencies, as Your WiFi, will just put through 50% of the data flow.

One way to extend the WiFi is with a cheap router, or maybe an old router You don't use any more.

Saturday, 27 October 2018

IKEA Trådfri gateway install & HomeKit


Using Homebridge for a while, getting nice hardware to emulate Apples HomeKit devices, I finally decided to test IKEA:s Trådfri concept.


The actual device that I was interested in is the new wireless control outlet. But they have bulbs and other stuff that is really nice priced.



This post will cover an installation of the Trådfri gateway and the outlet with a HomeKit approach.  


Monday, 15 October 2018

NMEA WiFi gateway

The WilhelmSK app
           Updated 2018-10-15

I have searched for a solution transmitting the NMEA data, from the navigation network, via WiFi, to for example iSailor or other Tablet applications.

One way is OpenPlotter(OP) and another way could be SignalK(SK). Both applications use the Raspberry Pi(RPi).

Both OP and SK uses SK as the "engine", but using just SK will give You the stripped version without additional software.

Wednesday, 26 September 2018

WeatherLink weather template

If You are interested in building Your own weathersite with information from Davis Weatherlink(DWL), and don't are a skilled programmer I can really recommend Node-Red(NR). In this post I give an example how to start with the NR dashboard GUI.

If You want a more advanced weather site this is a very nice one coded in PHP.

Saturday, 8 September 2018

Exhaust temperature measure, boat


In my post i blogged about a way to measure temperature with a Raspberry Pi(RPi) together with the marine applikation SignalK(SK). (Of course You can apply it to any solution running RPi). In this post I will follow up with a short brief about the practical solution, measuring exhaust temperature in a boat and sending an alarm if the temperature exceeds a set value .

In "wet exhaust" systems it is very important that the cooling water, injected in the exhaust system, always is present otherwise major damages can follow. The best way to monitor this is to insert a temperature probe into the exhaust pipe about 150 mm after the water injection point. Other methods will be too slow avoiding damage.

Friday, 7 September 2018

Z-Wave on Raspberry PI


     Updated 2018-09-07 !

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

Sunday, 26 August 2018

Raspbian Jessie to Stretch upgrade

Upgrading from Jessie to Stretch can break the entire system so ALLWAYS do a backup.

There are several sites/posts with "how to" information but the Raspberry site, the Linuxconfig site and the Superuser site(where You can find more details about the upgrade), made the base for this post. 

Saturday, 25 August 2018

SignalK, measuring temperature


An introduction to the SignalK, Marine application, is given here.

A very easy way to measure temperature with Raspberry Pi, RPi, is to connect one wire (1W) DS18B20 (DS)temperature sensors direkt to the RPi GPIO.

Using the NodeRed(NR) plugin, in SignalK(SK), will forward the temperature measure to a SignalK path, despite You maybe don't have any advanced programming skills.


Thursday, 2 August 2018

AIS reciever for Raspberry Pi

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

If You want to start with a fresh Raspberry installation here is a post using Mac.

Wednesday, 1 August 2018

Homekit, temperature with DS18B20

A cheap and simple way to measure temperature, and have it displayed in the Home app, is to connect one wire (1W) DS18B20 (DS)temperature sensors direct to the Raspberry Pi(RPi) and install a DS plugin.

Basic setup
Start with enabling the 1W interface on the RPi, in a terminal session, editing the config file with 

Sunday, 29 July 2018

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

Updated 2018-08-23 !

If You want to use one  Raspberry Pi to:
  • Emulating the HomeKit protocol, so 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 temperature with sensor  DS18B20
  • HomeKit enable Broadband speed 


Saturday, 28 July 2018

Raspbian Lite with GUI, RDP, VNC


Updated 2018-08-05 !

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. ;-)

So after some Googling inspired from this guide I came up with the following setup.

Friday, 27 July 2018

Homebridge, autostart with systemd


Updated 2018-08-15 !

systemd is service manger which autostart jobs and it will even


               restart the homebridge job if it fails  

!!! Disable any other homebridge autostart job before You enable systemd  !!! 

If You followed my earlier setup the homebridge command is placed in

/usr/bin/homebridge

Thursday, 26 July 2018

Homebridge update installation on RPi


Updated 2018-09-29 !

Raspberry Pi update

Update the Raspberry Pi OS, after You logged on to the RPi, with;

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

If You want to upgrade from Jessie to Stretch?

Razberry update

If You have installed the Razberry Daughter card check the current software version on the Razberry WEB-site.

Sunday, 1 July 2018

RPi install Apache/PHP WEB-server


Updated 2018-10-16 !

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.

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