Online webcam project, part 2.

Trigger warning.

Stop! Don’t look at the following photographs if you are offended by ugly applications of hot glue.

I found what I thought would be the ideal case for the camera and Pi in the kitchen. It was one of those Tesco plastic food boxes with clips and a watertight seal, and it had nasty cracks in the base in just the right spot to cut a hole for the lens. Using a variety of inappropriate tools, I made the necessary hole, and fixed the lens into it with hot glue.

Ugly hot glue!

As I warned you, very ugly hot glue. Note that it covers the join between the two parts of the lens, which I hope will ensure our good Welsh rain can’t get in between the lens elements. The next steps were to screw the inner lens cap in place, and mount the Raspberry Pi Zero inside the box. I was going to put it in the same part of the box as the lens and camera, but every arrangement I tried had the USB wireless antenna rather close to the camera and its cable. So, I mounted the Pi Zero in the lid of the box with a goodly lump of White Tac.

img_20160919_144721

A notch in the edge of the box, for the power cable, was the next thing. It’s at the bottom, and only a very small percentage of the rain around here falls upwards, so it may be OK without any sealant. I have more White Tac if there is a problem…

Software

Getting the camera to take a picture every ten minutes is not a problem, thanks to cron and the bash shell.

The intention is to use lftp to upload the pictures to the web host, but finding a decent example of code that will do that is not proving easy. Please feel free to comment if you have something suitable.

I shouldn’t have too much difficulty hacking out a web page for the picture to live in, as I am not planning anything fancy, so I’ll just use HTML, like the rest of my site.

Online webcam project, part 1.

Having decided to share the view at the back of our house with the rest of the world, I’ve finally got started. After all, it’s a pretty amazing view at times. Here’s what it was like recently. Even when it’s blurred, it’s good!

img_3650

I’m using a standard Raspberry Pi camera, and a Pi Zero to do this. Here’s the camera. I took a cheap Vivitar wide angle converter, made a hole in the rear lens cap, and glued the camera’s mounting kit to it, using a cheap glue gun.

img_20160919_103757

Here’s the current state of the thing.

img_20160919_103847

I connected to the PI with x11vnc, and took a test shot. The result is nicely in focus, thanks to the cunning design of the adapter lens, and gives a good wide angle view of the study.

test

Next, I need to set up the Raspberry Pi to upload pictures to my web site every few minutes, make a page on the web site for people to gawp at, and put the Pi in a waterproof case.

How not to do photography.

Well, I woke up this morning… (generic blues verse)

I woke up at four in the morning, for no obvious reason, and noticed that there was very bright moonlight outside, and pretty fog in the lower ground areas. The moon was very high, though, and I would have had to use a wide angle lens, which would have made all the trees look small, so I decided to wake up again in a couple of hours, reasoning that the moon should be about 30º lower in the sky, by then.

Amazingly, I woke up at six-ish. A quick squint through the viewfinder  showed I was going to need 30 second exposures. So I went and got the tripod, and opened the bedroom window wide. Autofocus couldn’t find anything to lock on to, so I switched it off. Turned the focus ring to what I thought was infinity, and it looked OK in the viewfinder.

Mistake one. It was actually quite badly out of focus.

Mistake two. I had been taking pictures for eBay, and had left the camera set on low resolution.

Mistake three. I realised this after four shots or so, and thought I had changed it, but forgot to press Set.

Mistake four was stopping to load the first four pictures onto the computer to see how they looked. While I did that, it clouded over.

Incidentally, I have no idea why WordPress chooses to put the pictures in a sequence that is unrelated to the order they were taken in.

Mistake five was not bothering to get the remote shutter release thingy, as I thought any shaking from just pressing the button would hardly matter in a 30 second exposure.

Here are the results. Try to pretend not to see any of the problems, because they are really rather pretty anyway…..

img_3659

 

 
img_3651 img_3650img_3652 img_3653 img_3654 img_3655 img_3656 img_3657 img_3658

A duck roast.

duck01 We had a roast-in-the-bag duck crown in the freezer, but I wanted to feed the three of us, so I bought a couple of extra duck breasts. These Gressingham duck items seem to be in most UK supermarkets, and they are rather good. I also didn’t want to have all the faff of cutting the duck off the bones after it was duck02cooked, so I decided to remove all the bones before starting, and combine all the meat into a single roast. On the left, you can see what is inside the roasting bag. The legs, and the tail end have gone to other customers. I often use the leg joints for confit duck.

duck03Anyway, I sharpened my boning knife, and set to… here I have cut away the wings, and started to separate the breast from the rib cage, taking care not to cut the skin.

 

duck04By this point, the rib cage, spine, and shoulder bones have gone into the stock pot, along with the wings, and are being boiled up for a lovely stock. The whole thing is a bit untidy, as this was the first attempt at this task, so I cut off the untidy edges, and rendered the fat from them, to add to my collection of duck fat. duck05When I have enough, I will be able to do confit duck legs again.

I skinned the two separate breasts, rendering the fat from the skin, and put the breasts on the flat piece of meat. Out with the trusty supply of butchers’ string, and I eventually trussed the meat into a fairly tidy joint. duck06The picture shows the second try, because the first time I did it, the two separate duck breasts slid out as I tightened the knots. It probably wasn’t as funny as I thought…
duck07Here it is, in the handy aluminium tray that was supplied with the duck crown. I inserted a thermometer probe into the duck, as I didn’t want to ruin it by overcooking it. Anything over 50ºC would do that, according to the online sources I looked at. That’s 122ºF, if you are cooking in old money, as I believe some
duck09countries do. I roasted it at 180ºC until the thermometer started beeping, and took it out of the oven to rest while I cooked the vegetables. The heat in the outer parts of the duck were conducted to the centre, and I was quite worried as it achieved a core temperature of 55ºC during that time, with no additional heat.
But, as you can see, the meat was still nicely pink and succulent. I would have liked the skin on the outside to be crispy, and will use a much hotter oven the next duck10time I try this. Overall, though, I was very pleased with this meal. The sauce was a chicken gravy from the store cupboard (Bisto, since you ask) flavoured with some hoi-sin sauce. New potatoes, sweetcorn, and soya beans were good, too.

 

 

 

 

A recent lasagne…

IMG_20160830_173149Here are some of the things I used to make a recent lasagne. It’s fairly hard to see, but there’s a bowl of home grown garlic at the back, on the right. Just push garlic cloves that are too small to bother peeling into the ground. A few months later, they will have multiplied enormously, and somehow pulled themselves down until they are six inches underground. I have no idea how they manage to do that, but they do. I must remember to ask my favourite botanist, if he ever visits us.

IMG_20160830_175521This is the humble, yet powerful, Oxo cube that I used, to flavour the rather insipid looking beef mince. Some people tear the foil off, and crumble the cube with their fingers. Try this… Pull the little flaps out as shown, and hit the cube a couple of times IMG_20160830_175534with your palm, until it is flattened. Now you can just rip it and tip the powdered Oxo straight into the pan. Isn’t that clever? I would credit the source of the tip, if I could remember it.

IMG_20160830_175603That meat will need to be browned properly, of course, before you carry on making the sauce, but you know that, don’t you? I wasn’t following a recipe, just doing what seemed likely to be the way I have made lasagne before.

IMG_20160830_181542Now some recipes have you put layers of sauce in with the layers of meat and pasta. I don’t do that, mainly because it increases hugely the amount of sauce you will need, and tends to make the final dish sloppy. I have been known to put in layers of grated cheese, and that can work quite well, but this lasagne didn’t have any.

Making the sauce is something one IMG_20160830_182615ends up knowing how to do without measuring things. A lump of butter of a certain size. A big, but not too big, spoonful of flour. Do not forget Colman’s mustard powder, about half a teaspoonful. It’s not enough to make the sauce taste mustardy, but it will seem dull if you forget to put it in. IMG_20160830_182651The butter and flour have to be cooked until there is what one recipe book describes as a “biscuity smell”.

You can see how it looks after the first little bit of milk has been added, in the third shot of the pan. Gradually, more milk is added, until the sauce seems runny enough to add grated IMG_20160830_182728cheese. Please use a decent Cheddar, not soapy cheap stuff.

Lately, I have taken to cooking the layered meat sauce and pasta while I make the cheese sauce for the top, and that does help to prevent it from being sloppy. The result can be seen in the last IMG_20160830_194550picture, along with a salad that miraculously appeared while the lasagne was cooking.

Nice tins of cider also got onto the table, and made the meal even more pleasant.

 

 

Get back on the bike…

You know what they keep telling you: if you fall off your horse, you must get back on. We were not rich enough to have horses… we had to get back on bikes. Anyway… I had a bread recipe go hideously wrong a week or so ago.

IMG_20160819_122948small

This is the recipe, and it’s one I’ve used quite a few times. It’s a tasty bread that uses both yeast and sourdough starter, the latter for its flavour, rather than to raise the bread. It seemed a little wet when I took it from the fridge after its overnight stay, but it shaped in the usual way, and I put it into the proving basket. At this point, as the saying goes, I must have lost my presence of mind, as I forgot about it for a couple of hours…

IMG_20160815_161633small

The result of that was that it grew hugely, stuck to the proving basket, and made a remarkable mess when I managed to get it out. Scraping the rest out of the proving basket, and adding more flour as I tried to shape it again, I scraped the thing into a baking tin. Well, it was obviously not going to cook on the baking stone in a civilised manner.IMG_20160815_163712small

Here it is. There was no point trying to score the top. I just cooked it, convinced it would not be worth eating anyway.IMG_20160815_180053small

 

 

It came out like this, with a good big crack caused by the oven spring.

 

 

IMG_20160815_215823small

 

The crumb was very dense, and the crust could do with stronger teeth than I possess, but the flavour was reasonable.

 

 

 

Yesterday, I jumped back onto the bicycle, and used the same recipe. It came out of the fridge looking like dough instead of soup, and it didn’t stick to the proving basket either. Here’s the result. It’s lovely.

IMG_20160819_130845small

 

 

Slut’s spaghetti

ingredientsThis was a dish I had been wanting to make for a while, although I was told I had done it before. Well, I’m allowed to forget things sometimes. As you can see, I’m using a Nigella recipe. It’s all over the internet, along with the scene from “A Series of Unfortunate Events” in which the children serve it. The recipe is everywhere, too, and is very simple.

bowl of food close up

My favourite bouzouki player

If you know me, you probably thought that would be Markos Vamvakaris. But you would be wrong. He was great, but Halikias played some instrumentals that made a huge difference to Greek music, and he played them in America.

Lamb Tagine

Lamb Tagine needs harissa, and I didn’t have any in the fridge, so I made a batch. This is the red pepper being roasted so that it can be skinned. You just keep it in the flame, twisting and turning, until its skin is blackened in most places, before putting it in a plastic bag to cool. It will take ages to cool, and if you try to do anything with it before it has done, it will injure you with the steam from inside.
Here’s the pepper, waiting to scald the careless cook. Once it is cool, it has to be peeled, or you can look at it as scraping the cooked flesh off the burnt skin. The resulting chunks of cooked red pepper flesh should be chopped up. I didn’t chop this one, and discovered that the big chunks can somehow avoid the blades of the blender completely. I ended up having to fish them out and chop them.
Here are the coriander, cumin and caraway seeds, being toasted. Since I’m not giving you the full recipe, you can look at it here. There’s also chilli, garlic, lemon juice, and tomato paste in the harissa.

For some reason, no fresh chillis had grown in the garden, or appeared in the fridge, so I used dried ones, revitalised with some boiling water.

The tagine recipe is very similar to this Nigel Slater one. He must have a lot of money, to be able to put saffron in something that will totally obscure the flavour and colour, I think. My secret ingredient, that he doesn’t use, is preserved lemons, which you can see in the jar, here. They are wonderfully lemony, and you can taste them in the finished dish. They are also rather salty, so no extra salt is needed in the dish.

Dinner time! Cheers!


The cous cous is a good accompaniment for the tagine, but everyone seems to know their own way to make it. This one had our first broad beans in it, and a couple of runner beans. 

Yes, thank you, I did enjoy it!