Saturday, 26 November 2016

Samba, RPi as Windows file server

             Updated 2017-11-21

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.

Log on to the RPi and install Samba

$ sudo apt-get install samba samba-common-bin

Edit the Samba configuration file so that You have more than "Read Only" rights.

$ sudo nano /etc/samba/smb.conf

Friday, 25 November 2016

HomeKit, Z-Wave, Telldus Live

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 
It's no problem, just follow the links below

Z-Wave controller installation
HomeKit bridge for Z-Wave
HomeKit bridge for Telldus Live (Where You skip the Homebridge part)

Thursday, 24 November 2016

Thunderbolt cable replacement

The 27" Thunderbolt Display, part number A1407, is connected to my MacBook Air and sometimes the display is going black.

After some Googling I found that other people have had the same problem and the issue is that the Thunderbolt cable is defect.

The thing is always to get the right spare part number which is 922-994

So after a search on Ebay I ordered one from China which after a month was delivered for ,17€ including shipping !!

Some hints to exchange the cable is to follow the relevant parts of these instructions on IFIXIT

I bought suctions cups from Biltema to lift the the glas screen which is attached with magnets

Sunday, 13 November 2016

HomeKit for Telldus Live

     Updated 2017-10-24

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 have Z-wave products there is a parallel solution found in this post.

If You have both Z-wave and Telldus devices at home there is no problem running them at the same time, on the same Raspberry Pi, RPi, and also together with native devices.

Out there on the web there are several smart guys who seems to think the same and are very great in programming. So they have fixed applications running on RPi which emulates a HomeKit device and on the same time bridges the functions to Telldus live registered devices.

And now over to the software and installation which assumes that You have a RPi up and running with Debian or want to start up fresh

Wednesday, 9 November 2016

Empty the water system

Empty the fresh water system with compressed air !!

One of the things, when You head back to land with the boat, is to empty the fresh water system. I have got several instructions/tips over the years but the best advise I got is to empty the pipework with compressed air.

Some time ago I bought a handy Stanly compressor from Jula. Just below 10 Kg in weight including a 6 liter tank. Nice for smaller works

So how do You connect the compressor to the pipe works ?
On our boat the pipework is made with Whale System 15 so I built an adaptor with;
  • 1 meter Whale 15 tube
  • Standard connector with 3/8"
  • 3/8" adaptor from the Whale 15 system
So now it is very simple to just disconnect the pump from the system and instead connect, via the adaptor, the compressor to the pipe works.

Now its just to start the compressor and go around in the boat and open the taps one by one so all the water goes away.

Tuesday, 8 November 2016

Find Your Car with iPhone

Have You ever felt lost, coming out from a shopping mall and just wondering;

Where the heck did I leave my car ???

If Your iPhone is connected to Your car with Bluetooth the problem is solved.

Apple have had a brainstorming so just follow the advice in this support information.

How to find your parked car with Maps on your iPhone

and You are all safe.

Monday, 7 November 2016

LK System, Floor heating

Do You use a floor heating system from LK Systems ?

We had a problem that in some rooms, despite that the thermostat worked, the temperature was to high.

To check if it was the valve, or something else, I just took away the actuator and forced the valve to be closed. Cable ties did the work.

The valve was OK so what was the problem ?

After some Googling i found that the actuator LK A4104 is of type NO, that is Normally Open. This means that if the controller or he actuator fails the valve will be left in the open state, the room will be warm.