offset \ˈȯf-ˌset\ noun

a force or influence that makes an opposing force ineffective or less effective

Pillars of Kings in Antarctica

We like traveling. I mentioned it before. We set foot on all of the permanently inhabited continents except South America. Our grand plan was to go and see Russia, but war in Ukraine happened, from there we wanted to go to Cuba, but I had a job for a US company which made the whole Visa Waiver invalid, then from Cuba to Mexico and Peru, but COVID-19 happened as well. A series of events in the world that threw the proverbial wrench in the machinery so the whole trip was difficult to organize and pull off.

Mexico happened eventually with Panama in the same package while I was working for Gencove and this is the furthest south we got on that side of the world. We did our first round of travel vaccinations for the tropics and boosted what we could several weeks ago.

The Pan American Highway is a dream never realized. The road is supposed to connect North and South Americas, but there's the issue of the Darien Gap. The continents look connected, but they really are not. This is where our path ended the last time.

Fast forward, our plans were altered. Tenzin and Kida became a part of our family, I got laid off and got another job later. We upsized because the apartment got cramped. We were stable financially when we decided to revisit the idea of South America and that is when the question put itself forward. Why not to go further?

We paid a substantial amount of money for a sustainable expedition to Antarctica going from Argentina. I know the whole expeditions are geared to tourists and it's an oxymoron to call it sustainable. We wanted to see all of the continents and this was the least painful option.

The whole trip was months in preparation, almost a year since we paid the deposit, and our most ambitious trip so far. We usually don't pack big suitcases, but since the trip was going to encompass both warm and cold weather, and the flights included checked luggage, we decided it wouldn't be the worst thing to have one big suitcase, except we didn't have it so we borrowed it from friends. No luggage was lost.

Our phones were also not up to the challenge. Both had very diminished battery lives and Vesna also cracked her screen (and blamed Tenzin). We chose cheaper upgrades (sorry Fairphone, I'll get back to you once I get financially stable again) and planned to take the old GoPro to take pictures. A friend who's into photography convinced us to take his old pro camera with us, which turned out great.

With heavy hearts, we left Kida and Tenzin behind and vowed we'd come back - to cats who didn't understand what was happening, to friends who were minding them, to families who were scared. But it's not like we were heading for some unexplored frontier. We chose a destination that we found interesting and that was open and fit for tourists, so there was no room for fear.

The flight from Dublin to Buenos Aires was a connecting one. On the way there via Paris, and on the way back via Amsterdam. A long journey is not something we hadn't experienced before, but it was some years ago from Amsterdam to Beijing and from Shanghai to Paris. It's not impossible, but it is very cramped and it's a bit of a gamble if the preordered vegan option will be available. Sometimes you have to argue to receive things that should be provided as agreed.

Transoceanic flights take time. I cannot sleep in the seat and it's a pain, but we brought enough entertainment. From the downloaded Spotify playlist, to Kindle books and even Steam Deck games. Vesna also had some videos to watch despite the in-flight entertainment system. We used the opportunity to see some things together.

When we landed in Buenos Aires, we got reminded why we hated checked-in luggage. It's another time waster, another cost, another effort to transport. Either way, we didn't have the issues with the immigration and got to the city center without trouble.

Buenos Aires is lovely. In spite of the streets being in the grid system, which leaves little room for discerning landmarks and a lot to urban sprawl, it didn't make us feel anxious, unlike London. It is probably the green spaces everywhere and the architecture is familiar, although the buildings are a bit taller since Buenos Aires is newer than the European cities. It's clean and green and the economy tries to stay afloat in spite of the free fall it's currently in.

We didn't do the usual walking tour, but only the hop-on hop-off bus this time. What little time we had there we used for going around on our own and one day we also visited Uruguay. It's very easy to jump over to Colonia del Sacramento from Buenos Aires via the regular ferry. Enough to get our passports stamped and get away from the bustling of the city.

After a few days checking out the most important bits of Buenos Aires, we had a flight to Ushuaia, what they like to say - the end of the world - kinda. Because I was a birthday boy, we got transferred to the fancier Arakur hotel with a lookout, but we managed to see the city on the way back. From there, we got transferred to a ship and off we were across the Drake Passage.

It was turbulent and wavy. We were told that it was actually okay and it could've been worse, in spite of the sea rocking the boat and the anti-nausea pills knocking us out. The ship had 312 passengers and the crew and is equipped with a lecture hall so it was interesting to hear about all the scientific stuff from phytoplankton, over macro-fauna to the geology of the continent.

It took us two days to get across to the peninsula and after the first landing on the Wiencke island, next to the Damoy point, with a number of Gentoo penguins all around. We spent the night over there camping. It was windy and cold and some condensation in the tent turned to frost. In the morning we had to be evacuated. One person didn't wake up and passed away. I know the gossip, but I don't like guessing.

In the coming days we also landed next to the Brown station on the peninsula itself and saw some penguins again. What impressed me the most was the Paradise Bay because the weather was spectacular with the mountains descending deep into the ocean below with the clear skies and rich reflections among the icebergs. Like an ice version of the Argonath from the Lord of the Rings. The other stops were Petermann island and Pleaneau island and more penguins alongside some boat trips among the icebergs checking out the seals and remote roosteries.


/media/images/brown-station.jpg

We had a kayaking session in Charlotte Bay which we didn't do much of because we were greeted by a family of Minke whales going all around us and below us playing and showing their bellies. It is truly a sight to see floating on the water in the kayak and ignoring the paddles. Just recording with a phone.

The weather was great throughout the journey. It was warm because the sun is hitting harder and the sunglasses are invaluable. We had to ditch most of the layers to avoid the heat. So yes, the weather was kind to us except the last day when we had to skip the Deception Island and attempt a landfall in a bay close-by, but the wind was too strong even for that so we huddled inside and were looking out through the windows.

We had to go back a day earlier because of the tragedy that happened during camping. The Drake Passage was wavy again, but we took the time to listen to the lectures. Even though the ship is equipped with a hot tub and a sauna, we didn't avail of those and instead opted to just listen to the scientists telling us about things. I was very interested in the remote sensing area, be it monitoring the ice or the wildlife migration.

On the way back, we stopped in Ushuaia for a day, just in time to check out the city and the neighboring Tierra del Fuego national park. We did it ourselves with the local bus. The weather was once again great so it was dry and we could just walk around and snap some photos as well as get our passports stamped. In the city there's the Republic of Croatia square. Who knew?

Vegan food is still difficult despite the expedition advertising itself as a sustainable one. It's pretty much the same as with every cruise. You have to ask, but they will paint by numbers and make mistakes. Like getting a non-vegan cake for my birthday delivered to our cabin and me having to go through the trouble of returning it. Or the first night before leaving for the southern tip of the continent, when were placed in a 'luxury' five star hotel which didn't even have plant milk for our coffees in the morning.

The expedition itself had weird demographics. I felt out of place because we're not rich folks and we're not old. Strong vibes of Gattaca and Snowpiercer. Those who know, know. Like playing outside of our league and feeling like an impostor. The expedition wants adventuring young folks, but it gets decrepit old ones that can barely scale the stairs after leaving the boat when landing, and need three people around to help them walk. The adventuring young folks have no money to afford a journey like that. They are also not pushing for the changes in the environmental department so go figure. It makes me sad, but here we are.

The way back took us to Buenos Aires again where I asked around at the nearby cemetery for one of my relatives, but didn't have any luck. We explored the places to eat because, even though the ship should cater to the vegans, and we didn't go hungry, it left a lot to be desired. We missed tofu. Such a simple thing.

The journey to the airport was eventful with Uber barely making it and the way back took us to Amsterdam with the plane conditions being all cramped again. We didn't want to visit the city. We were in Amsterdam before and the weather was miserable. Traveling from the late Spring to the late Autumn and crashing badly at the same time, left us with a long layover in the Schiphol where we only wanted to sit properly and walk around, have a normal coffee.

Would we do it again? If time and money were not an issue, yes. I think we got to experience all the highlights that we could so we're not regretting anything. There are other places to see, but the continents are all marked as done. Oceans, on the other hand...

Display Home Assistant Values on Kraken AIO

While our PC is still not OK with the CPU being the way it is, the NZXT Kraken AIO solution is cooling the CPU well. It managed to knock down the temperatures by almost a half. I am very satisfied. I guess we had to switch to the water cooling eventually. The modern components require robust solutions. They get very hot.

For a long time I was a fan of silent monolithic closed cases that I never have to see, but having one with transparent sides looks cool. The only issue I have with it is that it's bulky. And heavy. No matter how many components I remove, the ones that remain get heavier.

The AIO features a 640x640 px circular display and the good folks at the NZXT allowed users to display a web page on it. They also added the NZXT API access so we can query the CPU, GPU, fluid temperatures etc. The NZXT developer documentation details the available variables.

Since it's a web page in itself, there have already been some interesting solutions made by the community such as Google Photos slideshow, YouTube video display or Spotify album art. While I had the Spotify integration active for a couple of days, I wanted to have something more useful because I am not listening to Spotify all the time.

Our apartment is full of smart devices, although still not up to the level of the old apartment, but getting there. I decided to roll up my sleeves and make an integration that would display the local Home Assistant instance data on the Kraken AIO LCD. I had to keep stopping myself from overthinking and overengineering the thing. The integration was supposed to be a short showcase project. I had to consider several things:

Kraken display

The dimensions of it are 640 pixels in width and height. NZXT shows the width and height dynamically, but only in JavaScript (window.nzxt.v1.width and window.nzxt.v1.height respectively) and I still needed to account for it being circular. Pretty much, the browser window is in kiosk mode so a 100% should be okay, however, making sure that the interface fits in a circle was something that constantly had to be on my mind.

Web page configuration

The displayed page is shown all the time. If the query string parameter ?kraken=1 is present, the configuration is not shown. Without the parameter, it is shown next to the interface. I already mentioned the backendless part so it's parsing the parameter by using the URLSearchParams capability of the browser.

The configuration is a simple form that shows several text fields. The styling is done with DaisyUI and Tailwind. Upon the form save, the information is not POSTed, but saved to localStorage instead. The fields are:

  1. The long lived access token for the Home Assistant. You make it once in the Home Assistant UI from the Security section of your profile. Once created, the token is shown once and the security is on the user not to share that token further. It is like a quick password so you need to make sure that it's not exposed publicly anywhere ever.
  2. The Home Assistant instance URL, where to ask for the data, in our case, it is the Nabu Casa provided URL since I'm not exposing the service manually to the world, but if you do, make sure the necessary security is in place and the page must be served over HTTPS.
  3. The information for the three gauges which are showing the temperatures from -20 to 35 in form of three fields per entity
    1. Label (what to display)
    2. Home Assistant Entity (where to query the data)
    3. Home Assistant Entity Attribute (not really mandatory if the number is exposed on the entity, but it can be drilled into)
  4. The forecast Home Assistant Entity and Attribute

I didn't go for the dynamic picker because that would make the project blow out of the scope. I also didn't put in any validation because that would quickly lead to the overengineering.


/media/images/kraken-configuration.png

Web page display

Once the parameters are saved on the configuration page to the local storage, they persist and are available in the second window that is not for the configuration, but for display only. It is the same browser, after all. The Home Assistant REST API is queried for the initial data via regular endpoints, then a reconnecting websocket is established on the Home Assistant Websocket API and it listens to the data changes and updates them if necessary. Home Assistant uses that way to interact with its dashboard. I used Apache eCharts gauge because it let me build something good quickly enough. I was toying with the raw SVG, but opted for a library in the end. No need to reinvent the wheel. I can live with the performance hit because the service is not meant to be super fast. To describe it a bit, it's three gauges like a concentric circle cut out on the bottom quarter. The temperatures are from -20 to 35 which is common for the area I'm in. The textual display is in the middle. Below, in that cut-out, there's the forecast icon.


/media/images/kraken-display.png

GitHub IO page

Basically, the repo is configured to build a page on the GitHub so it needs to contain the index.html file for it to work without some extra long URL. Enabling the pages is done via repo settings. The GitHub pages are accessed via HTTPS, as it should be, so you have to make sure that Home Assistant instance is also accessed via HTTPS. The mixed communication is not working because they both need to be on the same protocol. That's why Nabu Casa can solve the certificate if you don't have it exposed yourself. You also can't POST due to the CORS, so you need to enable CORS for the page explicitly in the configuration.yaml of the Home Assistant. This ensures the app is pretty much static and no back-end is needed.

The result is actually pretty neat and I'm happy with it.


/media/images/kraken-aio.jpeg

I am not sure if I will play more with it. Possibly yes if I wanted to expand on it, but for now, the repo is public under Kraken Home Assistant and you can use it directly via Kraken Home Assistant Github IO page. You can also drop me ideas or make improvents yourself. The application is a bit niche since not everyone uses Home Assistant and not everyone has Kraken AIO, but there it is.

Dishwasher Uplift

We opted for a kitchen from IKEA because it's easily designed (their online tool is a serious advantage in the kitchen design space) and readily available. Considering the amount of money that we'd have to cash out for the whole kitchen (appliances and units) and the aesthetic choices (which of them are integrated and which of them are not), the available space (it's not a big kitchen) and immovable items (combi boiler, plumbing), the tradeoffs had to be made.

We'll have a dream kitchen one day, but right now we're doing the best we can with what we have. And we're doing it great! For instance, I mentioned the trouble of getting the tiles done and how we opted to do them ourselves in the end. We arranged the warm and cool tile patterns for where the fridge or an oven are. What I'd really like is a fiber optic cable running below the tiles or the tile pattern spilling into the living room floor instead of a sharp delineation, but it will have to wait for another place.


/media/images/tiles.jpg

Some of the big appliances are freestanding (the fridge and the washing machine) and most of them are integrated (oven, induction stove top, dishwasher, extractor fan) or hidden in a cupboard (combi boiler).

Some of them are smart (washing machine, oven, induction stovetop, combi boiler via thermostat), and some are dumb (fridge, dishwasher, extractor fan, faucet (can you imagine it's possible to have that one smart as well?)).

We have an LED strip installed below the top elements to illuminate the worktop. It's a sound reactive WLED capable contraption powered by a QuinLED board that I installed myself. I resorted to WAGO connectors so I don't have to solder and it works great. As in the previous apartment, I put the motion sensor under the top elements so the lights turn on when there's motion in the kitchen. I also use them for visual notifications. When doors open, when some of the appliances finish their program, etc. I'll have to explain the visual notification interface one day.


/media/images/wled.jpg

My OCD tendencies kick in more often than not and I'd really like to have all of the appliances smart, but I can't complain about the first world problems. It is what it is.

The smart appliances are powered by Home Connect. We wanted the connected extractor fan, but it wouldn't look nice if it's not built in and I don't see the option right now. We also wanted a Bosch dishwasher, an integrated unit, but IKEA doesn't have the standard doors or slot for it. Even if you get an adapter for your unit, which you can, anecdotal evidence says that the IKEA cabinet doors for the integrated unit are too heavy and wreck the dishwasher eventually. This is one of the tradeoffs we had to go with. We wanted an integrated dishwasher so a unit from IKEA is what we have right now. It is as dumb as they come, but it works.

Until we dare to get an integrated smart one (or give up for the freestanding one), I was thinking about how to get the basic information of the dishwasher status.

Looking at the smart washing machine that even shows the impeller state for the water pump and has an auto dosing mechanism for the detergents (my parents would say it's science fiction), the dishwasher pales in comparison. I would be happy to have the dishwasher at least show the state when it's running. I don't need to remotely start it, but when I'm away in a different room and waiting for the dishes to be ready so I can start preparing lunch, it would be great if we could be notified.

Unfortunately, it doesn't even beep when it's done.

I was initially thinking to have an NFC tag. With the companion app, scan it with your phone and it will set the state as running in the Home Assistant. Countdown for a certain amount of time switch it to idle. This would mostly work for the fixed times of the programs if nothing goes wrong and I'd be happy with it. We had the NFC powered solution for the dumb washing machine in the old apartment after all. The dishwasher has an automatic program and can stop when it thinks it's done so the time is variable. I wanted to avail of that capability and had to continue workshopping the solution.

Fortunately, it opens the door when it's done.

This gives me an additional parameter I can work with. The dishwasher door has a gap deep enough to fit a narrow open/close PARASOLL Ikea sensor and it's not visible. Connecting it to the door was the first step, but I had to know if it's consuming power.


/media/images/parasoll-device.jpg

As a side-note, there are solutions that use the vibration sensor to see when it's running, but I am not optimistic about that one. The dishwasher would have to be vibrating reliably for that.

A little too late I saw that IKEA has INSPELNING line of energy monitoring plugs that is frequently out of stock due to a high demand. It's Zigbee, the same as the PARASOLL and it needs the Zigbee hub. We have the official Home Assistant dongle for this so it's not a problem. The solution is almost identical to the one I set up so whichever hardware someone wants to go with, it's a possibility.

Some time ago, we ordered the Tapo P110 smart plug and it arrived, but it was stuck in the drawer until I got around to figure this out. It's WiFi and doesn't need a hub, but the sensors it exposes are pretty much the same ones as the INSPELNING. The only difference is that it initially has to get paired through the app with a phone.

While the plug can be used to remotely enable the power flow, the dishwasher can't be started that way. I didn't need that capability. I still need to load it up and I can set the delay, but the nature of the energy monitoring plug is such that it would give me the status on the energy usage of the appliance in real-time. This is good.

On a side-note, I'm running low on space on the phone so I had to clean up some old photos and consolidate them. I have to work on backing it up properly, too. The phone is due an upgrade as well, but it works so far. I had to free up the storage first because the app that can pair the plug is heavy and takes up valuable space.

Anyway, after the plug got paired and subsequently added to the local WiFi network using the app, I made the IP of the plug static, as usual, and then added the Home Assistant integration for TP-Link devices. I named the plug appropriately, added it to the adequate room and then I had to do some thinking.

The plug is shown as a device with several entities. The one that interests me is the current_consumption sensor. Regarding the open/close sensor, it is the second part of the puzzle.


/media/images/tapo.png

I had the dishwasher run normally with the plug monitoring the energy usage so I can inspect the historical data. The insights I got were this:

  1. On the automatic program that it says up to 2:50, it finished within 2:30 in that run.
  2. When it idles, then the consumption shows between 0 and 0.4W.
  3. When the display is active, but the door still opened, it fluctuates between 2.6W and 2.9W,
  4. When it's running there are several states
    1. it can climb to an around 2000W if the heater is on,
    2. or lower in 7W to 70W ballpark if the pump is on or possibly the spinners,
    3. or even lower to 2W to 3W if it's just steaming the plates.

If the dishwasher doors are closed and it has the power consumption of over 3W for at least a minute, then I consider it running. This happens immediately after the program starts running.

It's not ideal and I can expect false positives. At one point, the usage drops below 3W. By that logic, it would mean that the dishwasher stopped, but it didn't really. To compensate, if the status has been set to running, and the door is still closed, it remains as running, despite the usage dip.

That's why that open/close sensor is important in this case. While I can figure out the high consumption state, it's not important to me. I need to know if it's running or not. I differentiate two idle states. One is when the doors are open, the other when they're not. This is important for the automation later on.

When the program is done, the dishwasher will open automatically, but it will still consume approximately 2.7W because the display is still on counting down for approximately fifteen minutes until the plates cool off. The light below the dishwasher door is also on.

After the countdown finishes, everything turns off and the consumption goes to 0W to 0.4W again.

It can be interacted with immediately when the doors open so it's good enough for me to get a peeler out or something simple.

Ultimately, I ended up with a template sensor defined in the configuration.yaml because it can define the icons dynamically:

template:
  - sensor:
    - name: "Dishwasher"
      unique_id: dishwasher
      state: >
        {% set power = states('sensor.dishwasher_current_consumption') | float(0) %}
        {% set door = states('binary_sensor.ikea_of_sweden_parasoll_door_window_sensor_opening_2') %}
        {% set duration = 60 %}
        {% if door == 'on' %}
          Idle (door open)
        {% elif power >= 3 and door == 'off' %}
          Running
        {% elif is_state('sensor.dishwasher', 'Running') and door == 'off' %}
          Running
        {% elif power < 3 %}
          Idle (standby)
        {% else %}
          Unknown
        {% endif %}
      icon: >
        {% if is_state('sensor.dishwasher', 'Running') %}
          mdi:dishwasher
        {% else %}
          mdi:dishwasher-off
        {% endif %}

Now I needed to get the sensor connected to an automation. This was simple enough through the visual interface, but yaml config looks similar to this:

alias: Dishwasher Finished
description: ""
triggers:
  - entity_id:
      - sensor.dishwasher
    trigger: state
    from: Running
    to: Idle (door open)
conditions: []
actions:
  - action: notify.mobile_app_fp3
    data:
      message: Dishwasher finished! Time to unload it.
      title: Dishwasher Finished
mode: single

After the appliance finishes, I send a notification. What I didn't show is a whole set of different notifications to simplify things, but there's the visual one that will blink those WLED lights.

I can also add the plug to the energy monitoring dashboard, but since I didn't wire up the whole apartment to it, there is not a lot of use for that. Maybe if the power starts acting up, I can make a notification that something's wrong with the machine, but that is a potential problem for a future me, if at all.

LEGO Remote Controlled Ambient Lighting

While working for the genetic sequencing company across the Atlantic, I got nudged into the world of LEGO, so now I know some of the lingo like alt-bricks, MOCs and whatnots. We had a workshop once for a team building and it was great. It got me to rethink all the bricks and what one can do with them.

Some time ago, one friend gifted us LEGO Bonsai model. I liked how it came with two style choices. You could do the standard green leaf tree and you could have it blossom in pinkish colors for the spring. They reused frogs as a flower bud element in pink color. It is a great hack. They also provided some inspiration in the manual should one wish to go into the MOC territory. There are some amazing trees out there. I especially love the Bonsai tree by Marius Herrmann since the bark is wonderfully executed. Maybe one day I dare to do something like that if we ever get to have more bricks in our apartment.

Soon afterwards, I had the standard Bonsai on our shelf. One of our cats, Tenzin, managed to climb the shelf and knock it over. It warned us that no models should be in the reach of them, but that said, they won't do things deliberately or clumsily. They are always curious and will accidentally knock over things trying to squeeze into small spaces, which was the case here. One of the bricks got severely dented when the structure underwent rapid unscheduled disassembly on the resin floor below. We were unlucky. I had to replace it with the same one and LEGO can provide replacement bricks for that purpose. Not so cheap, but possible.

When moving into another apartment we took our models with us, but this time we'd be smarter. We bought some Billy units from IKEA and put glass doors onto them. One of the bookcases is now serving as a bar shelf because I like making cocktails. There are various kits, bottles, glasses, utensils... might even put in a book or two on cocktail making. It's a display case after all and having that Bonsai in was perfect. No cats to mess it up and it looks cute. Most of our apartment is green, so the green leafy style was assembled for it.

Some time before we got our LEGO models placed in their designated nooks, Vesna told me that there's this thing in the LEGO world where people augment their sets with LED powered bricks to get some fancy lighting on them. It looked awesome based on the pictures we saw, so we put a kit for the Bonsai in the wishlist and some weeks later, bought the kit for the leafy green style. It stayed in the box waiting for us to move and for me to find time to wire it up, but I managed to do it. Not perfectly. There are wires, but it adds to the charm. It can definitely be more tightly wrapped if one wants to hide the wires completely.

The set is powered by 3 AA batteries and it has a manual switch. The kit is connected to the power unit by USB A. I had it wired up like that for some time. It looks amazing for the nightly ambient lighting, but I was lazy to get up each time and turn it on. Since I have a universal remote that can power the devices on and off, I was thinking there had to be a way to have it work remotely as well. Sure enough, a bit of looking up online revealed that there's an RF remote switch that starts at 3.6V from QIACHIP. Which is roughly 3 AA batteries that are rechargable (1.2 are those, but the standard ones are 1.5, times three, of course). It would be enough. I got the RF kit off of Amazon and also opted for USB Type A sockets to make life easier for me. No soldering. Just wiring up and using a small screwdriver to secure the wires in place.

The components arrived and I managed to wire them up according to the layout diagrams. I powered the system up, it lit up. I used the provided RF remote to make the buttons work the way I wanted and it was also working as expected. I didn't have issues with the instructions or the components themselves. The whole process was a breeze.

Soon afterwards I learned that the 3 AA batteries won't really pay off in the long run because I'd have to charge them more often than I'd like. My thought process went something like this: 4.5V... The smartphones are usually powered by 5V which is close enough. Would a powerbank work? It's able to connect to the USB after all. I had one lying around and sure enough, when I attached it, it had no problems powering the kit.


/media/images/lego-remote-controlled-lighting.jpg

The story doesn't end here. The universal remote we have is a Broadlink RM4 Pro unit which means it connects to the WiFi. Sure enough, you can use the remote standalone and learn the command that way, which I did, but I seldom use it directly from the Broadlink app in my smartphone.

I have the remote integration enabled in our Home Assistant instance. So to continue the process, I used the developer tools to learn the command with learn_command:

action: remote.learn_command
target:
  entity_id:
    - remote.broadlink_rm4_pro
data:
  command_type: rf
  command: power
  device: bonsai

And with it, I have the send_command ready. I exposed it in the script called Toggle Bonsai.

action: remote.send_command
data:
  command: power
  device: bonsai
target:
  entity_id: remote.broadlink_rm4_pro

If the kit is on, it will turn it off and if it's off, it'll turn it on. Nothing special.

Then I made a helper Template of a type Switch.


/media/images/ha-template-switch-lego.png

But it wouldn't display nicely in the interface. So I made it a type of Light and it worked beautifully.


/media/images/ha-helpers-lego.png

Because it can be exposed to a voice assistant, I did exactly that.



Now that all the great things are showcased, I can say what doesn't work. I can't know the state of the device unless I have some other external sensor. I have to manually sync the state if it ever gets out of sync, but I don't see that happening that often. I also don't need to preserve the state between restarts so it's also OK. As long as the instance is alive. I'm golden. More than often it's on powerbank dying but it's not a big annoyance as getting up and flipping the switch manually.

2024 Recap

Last year was... peculiar. I only had two posts in 2024, but I can explain. Some big things happened.

  1. I got a job,
  2. we upsized and had to invest time, money and energy into renovating the new place,
  3. I quit that job from the first point.

The year started with lazying about on the New Year's. I got the passport that I applied for in December and it arrived in January. I guess I'm a Paddy now.

Vesna had a surprise party for her birthday and all of our friends gathered to celebrate it. It was a blast, but we hope it is out of the way now. One thing off of the checklist. Sneaking around is not fun.

Ever since October 2023, we were engaged into bidding for a bigger place. Cats really showed us that the apartment we were in was too small. It was a long procedure to secure the mortgage since I was unemployed, the cash flow was weaker and the various explanations of funds were required. Being formal here, I don't understand their money laundering department. If they ask for previous six months of statements, OK, but they are really pushing it when they go back several years wanting to know where the money came from. We never cheated or hacked the system. Not funding any terrorist organizations, but oftentimes I felt like we were being treated like one. The money history is the salary from working an honest job. Sure, they will add up all the balances and reach the same conclusion, but the time they take to resolve the thing is frustrating to say the least. We were giving our data within the same day, and their response would be two weeks later. Crazy stuff. Either ask for everything in the beginning and be done with it, or don't make up rules as you go.

We were deciding what to get for the new apartment, but it was all in the air since we didn't get the keys until 29th of February. Then it was proper planning and measuring.

The new apartment is in the same building, but it's over 50% bigger. It was seemingly very well maintained because it was an owner occupied property, but we hit severe roadblocks in refurbishing it.

Snow fell the beginning of March and we took the cats outside to see the snow for the first time. They were confused, but curious which is fine. It was lovely to see them going around the environment they are equipped to be in, considering their long fur.

As for the job hunt, I got either rejections or folks ignoring the application. I had a couple of interviews, but we didn't click. Looking for a job is bad. Due to the massive layoffs in the IT industry, I was often competing with around three hundred candidates. With the generative AI thrown in the mix, the productivity increases, which means less people are needed to work. The society didn't really keep up with the reduced need for the workforce, generative AI displacing jobs. I can tell for sure that you can throw things at the generative AI prompt, but you need to know if the answers are OK. I'm trying Prompt Driven Development and I have to correct it almost every time. It is an intense autocomplete, after all, but a very, very good one. I can program quicker.

I landed a job within spacetech industry before we got the keys, in February as well, and it seemed like a great thing.

It really helped that I was interested in the area. The projects I did before like Solar Projector (which was parsing AES and DSCOVR data, and I retired it when I moved away from Digital Ocean to the self-hosted solution) or unreleased GIS projects (one for a map of the local graveyard in Croatia, which was a vanilla PostGIS experiment, and the other for the map of agricultural fields made with Sentinel-2) helped here. I knew what I was talking about and had a pretty good hunch of what they would work on.

I would be doing what I liked and in an area that was great. It was going great for a while, not as streamlined as the bioinformatics job before it, but interesting nevertheless and ripe with opportunities to explore that specific area of industry. I was even writing a post detailing how great this development is, but, alas, it didn't last because by late September, it started to go sour and my best intentions of publishing something good got thrown out of the window.

On the first company get-together, it was announced to start the RTO process the following week which made no sense since everyone was remote from a different country. I was a bit sad because except me, nobody pushed back. It started to smell back then and there. Within a few weeks, micromanagement kicked in. Time was wasted several hours a week on unnecessary meetings. The estimates were reasonable, but the expectations were not. We're all seniors and know what we're talking about and how some tasks take time to complete and how some problems are not as easy, or impossible to solve. Something that would take months was expected in days.

It culminated in a communication ban between team members and we were expected to answer directly to the upper management. I said I couldn't work like that. I think others did, too. The communication ban was imposed on planning, checking up, brainstorming, code reviews... You name it. It was particularly hard in a system where each layer depends on another. How is the front-end supposed to implement design that it can't talk about or get the data from the back-end if they don't know how it will look like? I was talked over during that meeting and I tried to convince myself it would blow over the following weekend. Come Monday, I learnt that people started quitting and in the same day, the whole team, then me, too, quit our positions.

Like I said, it could not have been handled better since we tried to clear up the understanding for weeks, but it fell on deaf ears. I wish it didn't end up like that, but there I was. Unemployed again, thinking that this time it would be better. What I talked about earlier still stands. The job market is not yet healthy and while I had some promising interviews, I think the hiring process is utterly broken. After over a decade in the industry, I'd expect I wouldn't need to solve brain teasers like I'm in the university again, where I aced, BTW, but I'm getting tired.

Agency work, telco networks, healthtech, genetic sequencing, spacetech... but the industry is jumping on trends. It was blockchain for a while, but right now it's the generative AI which still creates the technological unemployment, but I should have the upper hand since my university was exactly about that. We'll see if I can catch up. I am already dabbling in the current state of affairs, fancy new libraries and ways of working.

So back to the apartment. We paid a hefty sum and, while the place looked like it was immediately available for moving in, things we couldn't have foreseen started to creep in and we had to renovate. Regarding the whole picture, we decided to remove the wardrobes and install a single built in one. The floors below the removed wardrobes were non-existent. The kitchen was also made up of various units and old appliances that were very worn out. It had to go. We refreshed the balconies, painstakingly removed the remaining old floors and had the resin floor installed in all the rooms. In the kitchen we fought a battle with the tile installer who did such a poor job (no dividers, no levelers) that we wasted time, money and energy. We had to do the tiling ourselves in the end, ripping out the badly installed new tiles in the process. We would not have done it if we hadn't gone online, to Reddit, and asked around if we were the only ones who thought the job was poorly done. I felt so bad about the whole thing, but it was supposed to be a place where we would live in for a while and we wanted it to look decent, if not great.

So the floors were done, the wardrobe got installed and then the walls and woodwork. We got all the walls repainted, fixed up since they're plasterboard and had some acoustic panels installed. In the process we realized how some walls were not perfectly aligned and were off the angles. This is something we can't get to grips with - how a relatively new build can be broken because of poor workmanship. One of the radiators was drooping and we had to have it reinstalled on new hinges where the plumbers broke the water pipe in the process and we ended up airing the place for days over the summer.

We opted for a kitchen (plus installation) from IKEA and I installed the lighting (WLED capable) under elements myself. I'll have to revisit this and write about the building blocks. It's reactive to the other parts of the smart home, mainly in the notification area. The plumbing in the kitchen was also a job that was so badly done that I don't know how qualified people can do such a terrible job. I keep repeating myself, but, sadly, it's how it is. The electricity was not ideal either. We even managed to get our mail stolen, the parcel contained the oven switch for the kitchen. It's no wonder I didn't write anything since this thing consumed so much energy and left us in such a sorry mental state (not to mention the physical exhaustion with cuts and bruises from hammering and hurt spine), but we pushed on.

Eventually we got the place from the keys on 29th of February to the condition where we could move in on October 16th which we did and left the small apartment in a state ready to be fixed up and rented out. Our troubles didn't end since our bathtub broke and we had to have the drain replaced and now there's a gaping hole on the side of it that I need to close up with a panel. We didn't have the will to continue more in 2024, especially with the prospect of having to do the other apartment as well. We went to Croatia to visit families and remind ourselves that Ireland was still a good choice.

What I learned in the process is that it's not a bad thing to do all of those things myself. It's not rocket science, but for someone who didn't know anything, it took time and money to figure things out. I can tile now if nothing. We can tile now. Vesna and I are doing all of these things ourselves and are not shying away from the physical labor even though we're both dealing with software. It's great to have a partner who you can rely on completely, both for physical labor and emotional support. I can't stress this enough and hope she is aware of my thoughts about this.

We live in the new place now with our two cat friends and, while we still have no curtains which is a crazy story with the badly done walls, the bathtub hole is there, the heating acting up somewhat, the shelving not done, the small bathroom is a warehouse, the place looks and feels like home and it can only get better. We plan to install a catio eventually, but that will be a project for another time.

Trips:

  • Croatia, to visit families
  • France (Tillé), for a small layover
  • Hungary (Budapest, Pilisszántó), to visit a friend's birthplace and have some fun in the local waterpark
  • Spain (Alicante, El Castell de Guadalest, Benidorm), for a much needed vacation
  • UK, Scotland (Glasgow), for a WorldCon, an SF convention
  • Croatia again, on my own since I had a dental emergency
  • Poland (Poznan), my work trip, Vesna didn't join and I'm sad about it
  • France (Tillé), for a long layover and coming back to Ireland to make it to a concert
  • Croatia, to visit families
  • Latvia (Riga), flight from Dublin for an exploratory visit
  • Estonia (Tallinn), for some reason they are very discriminatory, but high tech in the capital
  • Finland (Helsinki), meeting up with a friend who is a curator and her partner who were visiting from Croatia
  • Croatia, again, winter holidays, had to leave Tenzin and Kida with friends

Domestic travel:

  • Donadea forest park with friends
  • Co. Galway, for a series of stag events like puzzle solving, obstacle course, whiskey tasting tour
  • Greystones, beach visit
  • Kilkenny, attending a wedding where I sewed the buttons for suspenders on my trousers and Vesna was a bridesmaid
  • Limerick, for a concert
  • Donadea forest park with the same pair of friends, redux
  • Galway, to visit the cat that the same pair of friends were getting and to see the neighboring castle
  • Sigginstown Castle in Co. Wexford, for playing D&D in a castle and make some fond memories of this

Shows:

Books:

Video games finished:

Video games played:

Things we bought:

  • a lot of things we needed when renovating
  • kitchen appliances (washing machine, induction stove and oven by Bosch for smart home)
  • two more cameras for covering our apartment blindspots by Reolink
  • a crowbar for ripping out the old floor and wardrobes
  • electric sander (before we got into the Einhell ecosystem)
  • door stoppers
  • Netatmo smart valves for the radiators
  • shelves
  • multi-tool for ripping out the floors (got into Einhell ecosystem with their battery)
  • small foldable trolley that did wonders when moving
  • some clothes for the wedding
  • kettle, carpet, glasses
  • window vacuum cleaner from Einhell
  • cat grooming equipment
  • tiling equipment including the electric tile cutter that we should really sell
  • flooring and Nanoleaf hexagonal lights
  • cabinets and wardrobes
  • kitchen electricity elements (and the whole kitchen from IKEA)
  • loads of cat toys and scratchers
  • induction coffee pot
  • endoscopic camera (for checking out behind the drywall)
  • frother wand
  • equipment for LED under the kitchen elements, pliers, wago...
  • loads of tools for fixing things up ourselves like drill, jigsaw, vice
  • Samsung Galaxy Tab A9+ for Vesna's D&D IRL games
  • medicine cabinet for the bathroom
  • HexClad induction wok and pan protectors
  • handheld vacuum cleaner
  • PC parts (NZXT case and AIO, Asus Thor PSU)
  • hangers, labels, kitchen shelves
  • starlight projector
  • glass hangers and platters for the drinks cabinet
  • mushroom kit (Lion's mane that turned out working well)
  • strainers
  • some Sonos speakers
  • kitchen utensils
  • metal stickers and spice holders
  • plates, containers, dispensers
  • more chargers and cables
  • mud race equipment
  • some electronics for a small project I'll write about
  • Hygge board game

Things we sold:

  • a lot of things we didn't need when renovating
  • small fridge
  • washing machine, pretty much leftovers from the old occupier

Other important events:

  • went axe throwing for Vesna's birthday, prepped her a nice surprise party
  • ghost bus tour in Dublin (there are still places to see in our city)
  • silversmithing course where our friends' group hammered into existence silver fidget rings
  • Aurora Borealis crept up all the way from the cold north to us and we took some wonderful photos
  • Stella cinemas luxury experience
  • friends from Croatia visited and we're sorry it happened while the new place was not done yet, raw concrete floors and all
  • another friend visit for a concert
  • fixing the PC where it finally turned out that the CPU broke the PSU so it had to be replaced, but the Intel CPU is Intel's 13th gen that has a manufacturing defect and I've lost my faith in them. It works underclocked, but I'll switch to AMD when able
  • went to a cocktail-making workshop for my birthday party, also got some ideas, cocktail making is slowly becoming a thing in my life, I like to make some for our friends
  • didn't go to Turf warrior mud race but bought wetsuits for it, hopefully they will be used for other activities
  • LEGO play, I'll write about it
  • generative AI project on cocktail making that is slowly becoming a thing I'll open source
  • blog update with some Webmention things, but need to improve a bit. So far nothing visible
  • got into our building management board

And that's pretty much it. Eventful year, but let's not repeat it :D