Sunday, 27th May 2018 - 23:48:54

iTead Sonoff Logo

This evening after a session of DarkMatter great progress was made on the SonoffMQTT project. This project aims to replace the firmware on a Sonoff with custom firmware so that it is accessible via MQTT instead of the supplied eWeLink. Having it available on MQTT means it will plug directly into Home Assistant and will be cointrollable from there. After soldering some headers into the board, I was able to power it externally (not mains) and flash it using Arduino IDE.

Sunday, 27th May 2018 - 16:33:36

Arduino Logo

A pretty productive day. The code has now been refactored to accept simple non-json type commands on specific topics ie <uuid>/relay/0/set. This allows the relays to work with the "switch" function in Home Assistant.

Sunday, 27th May 2018 - 13:41:23

MQTT Home Assistant Sensors

After some refactoring of the dual relay board code, it's now reporting temperature, humidity on MQTT topics. This means it will work correctly with Home Assistant.

Saturday, 10th February 2018 - 10:21:46

IMG_20180210_102146.jpg

I received a dodgy batch of DC-DC converters. These are pretty common 12-19V in and 3.3V out. The top one is a dodgy one from the supplier. The bottom one is working unit from another supplier. You can see that the resistor and capacitor (between inductor and chip and between chip and bottom left solder pad) are transposed. They probably just loaded the wrong reels. I can fix these but it's a pain in the butt. The seller ended up giving me a partial refund. The middle is where I've desoldered the R and C and swapped them to their correct positions. The issue, however, is that the R is incorrect also resulting in 3.6V... I'll need to buy some parts and fix them.

Saturday, 20th January 2018 - 20:54:34

IMG_20180120_205434.jpg

This is the "Fairy Jar" night light that I created for my Daughter's birthday. I used some nichrome wire to make a hot wire cutter which allows styrofoam to be easily cut leaving a smooth(ish) edge. On top of that went some artificial grass. The foam and grass was banded with some unicorn ribbon to make it look neat and hide the edges. The mushrooms and lillypads came from an eBay China night light (that you'd never in your right mind actually plug into mains!).  There are also some strings of copper wire with LEDs on them. The fairy and the mushrooms came from eBay. I drilled some 1mm holes in the bottoms of those (they are resin) - Into there I epoxied some pins with the heads cut off. This secures them into the grass/foam. It's all electrically joined up under the foam in the middle. There is a hole which goes through the base and pops up in the middle for the cord. More pics in the gallery.

Monday, 15th January 2018 - 20:37:46

IMG_20180115_203746.jpg

Today I built a prototype relay controller which can be controlled via MQTT, but also has built in temperature and humidity sensors. It uses the temperature data to act as a thermostat turning one of the relays on and off at a temperature set point with a few degrees hysteresis (so that it doesn't go nuts switching on and off if it's fluctuating over the set point). Hysteresis "time" can also be added so that I can use the same code for another controller which will control a fridge. You don't want to be turning the compressor on and off rapidly. To get the temperature, the values from two ds18b20s and a dht22 (not pictured) are averaged.

Friday, 12th January 2018 - 11:27:34

IMG_20180112_112734.jpg

About time for a new cabin air filter on the Barina. I don't think it's supposed to be black like that!

Thursday, 28th December 2017 - 19:27:51

IMG_20171228_192751.jpg

Today I built up three Sonoff boxes which will be used for controlling various mains things. The two smaller black boxes used cheap extension leads. The larger box with two sockets uses an old IEC lead. They work well and are easy to use with the phone app, however, I will be eventually replacing the firmware on these so that they don't have to connect to AWS every time I want to toggle their state. Something with a local server and state tracking would be much more responsive and reliable.

Sunday, 24th December 2017 - 07:52:03

IMG_20171224_075203.jpg

8 Racks of ribs on the BBQ for Christmas lunch! They look like they are good enough to eat already!

Saturday, 9th December 2017 - 14:20:15

IMG_20171209_142015.jpg

Today Emily helped me restore (with thick gloves!) a string of cherry lights which we've had for ages. Lucky we had plenty of spare globes, just about every second one needed replacing.

Sunday, 19th November 2017 - 22:33:44

IMG_20171119_223344.jpg

I had a little time so I built up some more garden light boards and installed them into the fixtures. They look great. There is still quite a lot of software and API work to be done to ensure they are secure and reliable.

Wednesday, 1st November 2017 - 23:24:53

Chip

Three favorite kernel arguments for installing CentOS7! net.ifnames=0 biosdevname=0 inst.gpt

  • Uses nice ethX names for NICs
  • Forces GPT partition table

Thursday, 5th October 2017 - 16:23:58

IMG_20171005_162358.jpg

Time for some new brake pads in the Barina, what do you reckon?

Saturday, 9th September 2017 - 17:15:38

IMG_20170909_171538.jpg

Today I cut some pockets in the skirts for the table hold downs. These figure eight washers are designed to allow the table top some movement separate to the legs and skirts so that nothing cracks. One screw does downward into the skirt and the other goes up into the table top.

Sunday, 3rd September 2017 - 13:42:11

IMG_20170903_134211.jpg

Today I applied a tung oil finish to the table and the legs. It looks great.

Sunday, 27th August 2017 - 12:28:10

IMG_20170827_122810.jpg

Pancakes and bacon for breaky as a special treat. They are the letters of the kids first names.

Monday, 14th August 2017 - 11:47:30

IMG_20170814_114730.jpg

Today and yesterday I finished the joinery on the bench. It's only a simple tennon arrangement using 40mm x 40mm pine for legs and 70 x 19mm pine for the skirt. It came out really nice, but the glue-up was a bit of a pain to manage. I also completed the table top and trimming the edge trim flush with the table top. There are more photos in the gallery.

Sunday, 6th August 2017 - 16:00:04

IMG_20170806_160004.jpg

Added the merbau end trim to the table top today.

Saturday, 5th August 2017 - 17:34:15

IMG_20170805_173415.jpg

Started work on a long thin table for the kid's PCs to go on. The table top is a piece of recycled kitchen melamine chipboard. The edges are merbau which I cut a rabbet in using the router. The table top sits in the rabbet and will later be trimmed flush with the table top.

Friday, 28th July 2017 - 19:48:15

IMG_20170728_194815.jpg

Cooked a great steak with mushroom sauce. It was pretty delicious. Probably not super healthy though - but that wasn't the aim was it! =)