Total distance is 2 miles, 6¼ furlongs and 2 locks Today’s travel includes at least 1 small aqueduct or underbridge.
This is made up of 2 miles, 6¼ furlongs of small rivers; 2 broad locks.
This will take 1 hour and 11 minutes. For initial calculation purposes (before adjusting for such things as overnight stops) this is taken as 1 day of 1 hour and 11 minutes.
The trip can be done in under one day, so no overnight stopping places have been calculated.
It’s the End of October 2014, things are on changing on Natascha’s side. The flat she has lived in for over 8 years has been sold to a new owner. For these past years she rented directly from the previous owner and were on good terms. The flat was old and a bit grubby, still, it was a London oasis! Most of her friends were living near by. And it is affordable – let’s not forget this is after London 2012, East London was experiencing mass gentrification, a new term was used for it too: social cleansing.
On a rainy October evening, at around 9.30pm to be precise, the ‘translator’ of the new owner rang the door bell and told Natascha that the rent will go up from £800 to £1200 per month, without doing any sort refurbishment. This is too much of a rent hike at once and is legally not sound, so she said she won’t pay this much and stick to the £800. Although it was to be expected that a situation like this could happen, after all the flat is close to hipster central, as we call Broadway Market in Hackney, being confronted with this situation wasn’t an easy one. This won’t be the end of it, for sure.
Anyway, back to boating, we had to head by train to Broxbourne, this time with the cat in tow. Poor kitty, firstly wasn’t used to travel by train, let alone by boat. The weather was terrible, it rained heavily, the boat felt cold and humid. We stayed over night, for Natascha it was the first time and wasn’t exactly thrilled, not least because she had a feeling that soon this will be her way of living. Barely 20m2 for two people and a cat.
The next morning we got ready, the engine was rumbling, the cat terrified. We cruised towards Cheshunt. It was a misty morning, the rain stopped but the air was full of humidity. Natascha was preoccupied with her thoughts and to figure out together with Adnan how to work the locks. Is this going to be her future job?
Towpath side bridge, Horse Bridge No 72, Channel leading to the River Lee
6¾ furlongs, 1 lock
Totals
Total distance is 4 miles, 3½ furlongs and 4 locks Today’s travel includes at least 1 moveable bridge.
This is made up of 4 miles, 3½ furlongs of small rivers; 4 broad locks.
This will take 2 hours and 38 minutes. For initial calculation purposes (before adjusting for such things as overnight stops) this is taken as 1 day of 2 hours and 38 minutes.
The trip can be done in under one day, so no overnight stopping places have been calculated.
At the end of September a group of us went up to St. Margarets by train in order to help Adnan to move the boat. We arrived with delay, had to fix the solar panels on the roof first before we could start with cruising. Our friends boat ‘Blue Morn’ was towed together with Quintessence, this is how we headed up north.
It is a beautiful part of the River Lea Navigation, we passed Ware, a small town with beautiful houses along the canal. The canal itself transforms into a rural one, no more metal or concrete banks, instead they became natural. Up in Hertford the canal was so ‘wild’ that a big flock of geese on the other side of the canal found it suitable for their resting place.
We went shopping for the off gird life. Most importantly solar panel, all the electrics, and an electricity generator. Our Vetus engine is in a very good shape, dragging two boats along.
Between June, July & August we didn’t do much in terms of cruising, below an entire summary of the journey made in several cruises from Uxbridge in West London all the way up to St Margarets.
From Bull’s Bridge Junction (Junction with Grand Union Paddington Branch. Opposite is a dry dock.. Also known as Bull’s Bridge Wharf, Bull’s Bridge Dock) to:
From Little Venice (Junction of Grand Union Regents Canal and Paddington Branch. Also known as Browning’s Pool, Brownings Pool, Little Venice Lagoon, The Lagoon) to:
From Hertford Union Canal Junction (Junction of Hertford Union Canal and River Lee. Also known as Hertford Union Canal and Lee Navigation Junction) to:
This is made up of 26 miles, ¾ furlongs of broad canals; 11 miles, ¾ furlongs of commercial waterways; 8 miles, 7¼ furlongs of small rivers; 18 broad locks; 7 large locks.
This will take 20 hours, 32 minutes which is 2 days, 6 hours and 32 minutes at 7 hours per day. For initial calculation purposes (before adjusting for such things as overnight stops) this is taken as 3 days of 6 hours and 50 minutes each.
Overnight stopping places
This is calculated based on 3 full days travelling starting at Uxbridge Boat Centre.
Each full day will be approximately 6 hours and 50 minutes travelling.
On the Lee and Stort Navigation (River Lee), at Stanstead Abbots Bridge No 59A. This is 3 miles, 4¼ furlongs and 4 locks of commercial waterways, and 8 miles, 7¼ furlongs and 6 locks of small rivers; a total of 12 miles, 3½ furlongs and 10 locks and will take 6 hours 51 minutes. Today’s journey involves at least 1 small aqueduct or underbridge.
Anton spent three weeks in Croatia near the city of Gračac in a very beautiful region participating in MMKAmp. This is an international camp on the theme “Future Environments” for people interested in ecology, autonomy, sustainability, low impact living, technology and DIY culture.
The heart of the camp was a hand made geodecic dome with solar panels and satellite internet.
It was also the first opportunity to test my boattr mobile box in the field there and Anton was quite pleased about the results.
Apart from being very usefull keeping all electronics and laptop charged in the middle of nowhere (Anton could only use the laptop 2 hours a day but this is not bad at all), Anton also did some small improvements in the code and the construction and finally got to show it to people for the first time.
A hardware/software research project into the management of off-grid, autonomous sites. It collects and processes data from enviromental sensors and provides remote monitoring, control and automation.
Optionally it can also provide a host of other peripheral services that can run on the small embedded computer (wireless AP, internet connectivity, vpn remote access, tor gateway, file storage etc)
why was it made?
Since living off-grid Anton realised that he was lacking good information about the energy consumption and production, battery health and the various other subsystems of the boat.
One part of the project is about being able to better understand how those systems work by collecting, analysing and visualising their data.
The other interesting aspect is using realtime information from the sensors as well as historical data to make clever decisions and respond to external changes.
It seems that there was no free software based solution to fit my needs so Anton decided to Do It.
collecting data
At this point boattr has current, voltage, temperature and water pressure sensors. Data is collected from the sensors and stored in a db every minute. We can create real time graphs as well as mine the database for other historical data.
The heart of the system is a beaglebone black ARM embedded computer running Debian. Most of the sensors are analog and connected via a 10 channel ADC => I2c IC.
The temperature sensors are using the 1wire interface and one can read more details about the 1wire setup
Current sensing using the bidarectional allegro acs714 hall effect sensors using the breakout board from pololu
Voltage using a simple voltage divider
the software
The software part of boattr is made of a ruby module with two classes, Sensors and Data and the puppet provisioning code. The Sensors class contains all the functionality to obtain the results from the the various different sensors connected to the system.Data is responsible for processing resulting data, saving and sending to other places.
Here is an example of a box called ‘brain01’ on the boat retrieving data from the sensors, sending them to the database and real time graphs.
#/root/boattr/boat.rbrequire'/root/boattr/sensors.rb'hostname=Socket.gethostnamephostnamebrain01={'description'=>'analog/i2c from brain01','basename'=>'boat','i2cAddress'=>0x28,'i2cBus'=>'/dev/i2c-1','couchdb'=>'localhost','dashboard'=>'localhost','graphite'=>'10.70.60.1',}sensors=Boattr::Sensors.new(brain01)brain01_sensors=[sensors.current('solar',0),sensors.current('generator',1),sensors.current('lights',2),sensors.current('pumps',3),sensors.current('ring',4),sensors.current('fridge',5),sensors.voltage('batteries',6),sensors.waterlevel('tank',7),sensors.temperature('out','10-000802964c0d'),sensors.temperature('in','10-0008029674ee'),sensors.temperature('cylinder','10-000802961f0d'),sensors.temperature('stove','10-00080296978d'),sensors.temperature('canal','28-000004ee99a8'),]Boattr::Data.new(brain01).to_db(brain01_sensors)Boattr::Data.new(brain01).to_graphite(brain01_sensors)
A cron job will run the above code every minute saving json formatted documents on an instance of couchdb as well as real time graphs using graphite.
Puppet is used to configure the system, install packages, configuration files and cronjobs:
node definition for a box called brain02 linenos:false
#boattr Some sort of project to manage off-grid systems
#provisioning
At the moment we need a BeagleBone Black (BBB) with debian. Recent revisions (the ones with 4GB eMMC ) come with debian as default. If you have an older one you will have to install it yourself.
Connect to the BBB with ssh. We assume You have debian wheezy already installed. For the following steps you have to be root. Make sure there is internet connectivity as well.
##change the hostname replace name in /etc/hostname and /etc/hosts. A restart is required after this step or before running puppet below.
cd /root/
git clone git://github.com/galp/boattr.git
cd boattr
##Install the required puppet modules with librarian
librarian-puppet install
##customise puppet
Have a look in provision/default.pp. You can either modify the ‘default’ node definition in this file or copy one of the blocks that looks more suitable to a different file called $HOSTNAME.pp in the same directory. Change the node name in the file along with anything else required. Make sure the fully quilified dns names much.
It might take a few runs until all dependencies are resolved and you should have all the components installed.
boattr setup
config file
Boattr in this context is the ruby program that runs every minute collecting data from sensors, analyzing and sending to db and dashboard among other things.
There is a configuration file that we need to edit. This file is located at /root/boattr/config.yml. By default it does not exists so we can use the config_sample.yml as a starting point.
Anton and Adnan installed the boattr microcomputer on Quintessence. Now there are two boattr boxes on the UK Waterways (Blue Morn & Quintessence). boattr runs on a beagle bone black.
The Construction of a Boattr Box
Powered Usb Hub for Beagle Bone Black
Another long term todo item ticked today. Adding a powered usb hub to brains , having only one port which was permanent taken by the 4g modem was not very helpful.
Now we can have 4g modem, 3g phone, usb interface for permanently connected stereo hydrophone, wireless and an external hard disk.
Our previous attempt to do so ended up with a fried hub , beaglebone and wireless dongle when accidentally wired the usb hub power to 12v instead of 5V.
Yesterday Anton popped to maplins and got a 4 port cerulian usb hub. Plugged it in and it didn’t work. Anton was very suprised that something as simple as a usb hub would not work. After searching on the internet Anton found that this is a known issue.
The solution is to open the hub and cut the red cable therefore stopping the hub from providing power to the beaglebone.
All working now it seems. Great stuff.
And the installation of the boattr box on Quintessence (using a beagle bone micromputer and a 4G phone, all connected over a USB hub and WiFi access point):
One Wire Network
With boattr we use Dallas 1-wire microlan for a network of temperature sensors. With this post we will make an attempt to document it. Not trying to explain what 1-wire is as it is documented elsewhere on the internet.
1-wire is a very simple communications protocol for sensors. The beaglebone black has two i2c devices ( /dev/i2c-0 and /dev/i2c-1 ) and we are using ‘/dev/i2c-1’. In order to get it to work we will have to add a custom device tree. We did this by reading this very helpfull blog post
For debian the dtc -O dtb -o BB-W1-00A0.dtbo -b 0 -@ BB-W1-00A0.dts command fails because a patch is missing. The easiest way to get around this is to download a patched version from here and use that instead.
Copy paste the code in the dts file
Compile with dtc command above
Copy resulting dtbo file to /lib/firmware
Add ‘’‘echo BB-W1:00A0 > /sys/devices/bone_capemgr.9/slots’‘’ to /etc/rc.local
Restart
( All the above should be done by puppet for boattr)
The information from the sensors appear in special files under /sys/bus/w1/devices/$ID/w1_slave. Reading /sys/bus/w1/devices/$ID/w1_slave gives as the temperature value in C.
Each sensor has a unique 64bit id that we can use to address it :
deftemperature(name,address)@name=name@address=address@basedir='/sys/bus/w1/devices/'if@@OWdevices.include?(@address)thenfile=File.open("#{@basedir}/#{address}/w1_slave",'r')iffile.readline().include?('YES')then## Is CRC valid in the first line? lets read the second and extract the temp@temp=file.readline().split()[-1].split('=')[-1].to_i/1000.0return{'name'=>@name,'address'=>@address,'type'=>'temp','value'=>@temp.round(3)}endendend
Here we are at Harefield Marina near Uxbridge and Adnan is the new and proud owner of the traditional narrow boat ‘QUINTESSENCE’! A fine day to pick up the boat, the sun was out and there wasn’t much wind either.
Some more fuel and we were ready to cruise towards Uxbridge Boat Centre for hull blackening, an essential part of boat maintenance. Firstly the hull will be pressure cleaned and then layers of black bitumen put on it. This process is ideally done every 2 years.
Adnan elegantly manoeuvred his new princess out of the marina, let’s not forget boats are addressed as female and the avid boater doesn’t talk of ‘it’ but of ‘her’.
Anyway, this is the first of many cruises to come. Hitting the Grand Union canal we slowly cruised towards our final destination. Natascha was amazed about the clean water, she only knows the Regents Canal in London, as she lives near by and the water quality there is far from acceptable. She often referred to it as ‘a floating rubbish dump’. Little did she know at this point.
Total distance is 3 miles and 2 locks. There are at least 2 small aqueducts or underbridges.
This is made up of 3 miles of broad canals; 2 broad locks.
This will take 1 hour and 25 minutes. For initial calculation purposes (before adjusting for such things as overnight stops) this is taken as 1 day of 1 hour and 25 minutes.
The trip can be done in under one day, so no overnight stopping places have been calculated.