Author: PHiAX

Sensors, Sensors everywhere

It’s been a while since the last update, so I really need to get this update out there before I fall into the trap of not maintaining this website for 2 years again.
Luckily I have not been sitting idle the last months and have been making good progress on my Home Assistant installation (after needing to restart 5 times due to corrupt SD cards, dammit).
Nonetheless, I now have 3 ESPEasy powered sensor boxes.

(more…)

Always on IRC [Updated]

After visiting 5 times earlier and thinking This place is so cool, look at all these nerds! I became a participant @revspace in The Hague last January. They have a IRC channel on Freenode #revspace and though to myself, wow… IRC, I haven’t used that since playing counter-strike 1.4 with my friends and being on Quakenet with mIRC and NoNameScript. Oh no brain, you lie, I also used it again briefly when I was following the DailyTechNewsShow podcast live with HexChat.
But after getting used to cloud based IM solutions with scrollback abilities and the always online nature of things today I just couldn’t shake the feeling I was missing out when HexChat was closed.

So I configured my VPS to run an always on IRC client and it all works beautifully.

(more…)

Snippet: OpenTherm Gateway for Home Assistant

Adding the OpenTherm Gateway to Home Assistant

These are the steps I took to add my own opentherm gateway to home assistant. May this example help you add yours.

Assumptions: You have a working home assistant installation, you have a working MQTT broker on the same machine or enabled the embedded MQTT broker (which is what i’m using) and you have connected the OTGW via serial or FTDI usb.
Firstly follow the installation instructions available on py-otgw-mqtt’s github page.

On step 4 of those instructions you make your configuration settings. These are mine.

{
	"otgw" : {
		"type": "serial",
		"device": "/dev/ttyS0",
		"baudrate": 9600
	},
	"mqtt" : {
		"client_id": "otgw",
		"host": "127.0.0.1",
		"port": 1883,
		"keepalive": 60,
		"bind_address": "",
		"username": "username",
		"password": "password",
		"qos": 0,
		"pub_topic_namespace": "value/otgw",
		"sub_topic_namespace": "set/otgw",
		"retain": false
	}
}

Then edit your configuration.yaml file, I’m not very familiar with this syntax yet but spacing seems very important.

climate otgw:
 - platform: mqtt
 name: "Thermostaat"
 modes:
 - auto
 current_temperature_topic: "value/otgw/room_temperature"
 temperature_command_topic: "set/otgw/room_setpoint/temporary"
 temperature_state_topic: "value/otgw/room_setpoint"

And that’s it. If all went well you should see a new section on reloading your configuration.

Edit 2019-03-22: Shortly after writing this snippet a proper HA OpenTherm component was added, I would advice the use of that over this snippet.

Just to address one thing I left out originally, you can change the step amount by adding the following entry to you customization. (it might also work in the main config but i’m not sure about that)

climate.thermostaat:
  target_temp_step: 0.5

HomeHub: moving to Home Assistant

Bye HomeHub

We left the HomeHub story running heimcontrol.js with home made plug-ins for the opentherm gateway and RFXcom. I say running but it was crashing all the time. Months passed without running anything, I couldn’t be bothered resetting the node.js application every time it decided to quit on me. Frustrated and disappointed the whole thing was pushed on the I’ll get to it when I feel like it track. In this case it took about a year to do anything else.

But revenge is a dish best served with good intentions 😉

(more…)

Modifying frostmourne

Light it up

Since getting my epic weapons replica Frostmourne, a sword from a small indie videogame called World of Warcraft, I’ve been slightly annoyed by how little the Ice Shard base lights up. I decided then, some better lighting would spice things up a bit. A trip to IKEA and some double sided tape later, Frostmourne was illuminated by dioder RGB leds. Until the power supply failed…

(more…)

My 3D Printer setup

TL;DR

Since last time I updated this blog (ie: a long time ago) I’ve bought and returned a Monoprice Maker Select Mini 3D printer, got a Wanhao Duplicator i3 Plus, build an enclosure with IKEA furniture and started printing all sorts of stuff!

Interested?

(more…)

So…

Obviously trying to update this blog with completed long posts about projects isn’t working for me. So i’m going to try just posting small snippets of things i’m working on as i am working on them. But no promises 😉

HomeHub: History part 2

Continuing with pi’s

So, I was waiting on the arrival of two Raspberry Pi’s. One for XBMC and one for my Home Automation efforts. By now there was a better guide for installing Domotiga on Raspberry so I used that to get started on the new system. It wasn’t as easy as I had hoped for with Gambas not wanting to play ball on the ‘make install’ stage. After a week of tinkering I got Gambas to build and installed Domotiga again. Then I found out Domotiga wasn’t entirely made with server/client operation in mind so it took me a while to get it to run as a daemon and getting another install’s GUI to connect. Still, I got it running. This time with a fix for the initialization issue. Hooray?!

(more…)

HomeHub: History part 1

The beginning

Ever since moving into my first very own home I’ve been wanting to start working with home automation. I didn’t want to buy a off-the-shelf system (where’s the fun in that?)  and googled around a bit for possible setups. The first piece of software I came across was Domotiga, which seemed to support most of the things I wanted to achieve. However Domotiga is written in a programming language I had never heard of before (gambas) so changing things to suit my needs was going to be a challenge. No matter, it had everything I wanted so I dusted of my old and broken (the screens gone) notebook and installed everything. My first impression was good, the software had a nice GUI and all the options where there. Onward with the building of things!

(more…)

Catching up

So… here we are again. A new blog and a renewed vow to update more often.

Before the reset there was some stuff here about my attempts at programming, thoughts about stuff i’ve seen or heard about tech and gaming related news and life in general.