While diving deeper into my openHAB installation, the need for notifications on mobile phones came up. After some research, I settled with Pushover, which provides Android and iOS apps, as well as Desktop notifications. openHAB Rules have support for Pushover, and everything works well together.
Except when Android decides to kill apps, because they sit idle and do nothing. It so happens on my Huawei phone that notifications are delivered to the device, but no popup shows up. Only when I open the up, suddenly all the messages are there. The Pushover FAQ has an entry for this, even for Huawei phones, but it is outdated.
Continue reading "Pushover app on Huawei Android phones"
Die Flixbus Haltestelle Alt-Tegel in Berlin ist etwas kompliziert zu finden. Die Buchungsbestätigung sagt "Berlin (U Alt-Tegel)", das ist aber nicht die Bushaltestelle die Flixbus verwendet. Und in der vorab versendeten E-Mail mit dem Link zur Karte findet sich nur "Karolinenstraße 13507 Berlin Germany" als Adresse - das ist reichlich ungenau.
Schauen wir uns das mal im Detail an:
Continue reading "Flixbus, Berlin, Alt-Tegel"
The openHAB Raspberry image, by default, listens on port 8080. After using the image for a while, it became quite boring to always add the port to the URL. Quickly I decided to redirect port 80 to port 8080, and make my life easier.
Not sure how much work that is in the openHAB settings, I settled with redirecting or forwarding the port 80 to port 8080.
Continue reading "openHAB: redirect port 8080 to port 80"
As part of my home automation project, I wanted the washing machine and the dryer to send notifications when they are finished. Both machines are in a separate room, and their alarm beeps are hard to hear in the other parts of the flat. Also because of the noise both machines make during operation, the door is usually closed.
Continue reading "Notification when washing machine or dryer are finished, with openHAB"
Next step on my way to add home automation: the FRITZ!Box. Mostly for the current IP-address, and call information.
After some research it became obvious that more manual work is required, hence again something which can be automated.
Continue reading "Add a FRITZ!Box to openHAB, using Ansible"
In my earlier openHAB blog posts I automated the installation of extensions and linking of Channels to Items. Another problem I'm facing is the configuration of items. Again, that's very easy in the UI - if you are willing to click through the list of Items, and manually do all the steps.
Among other things I'm using the "binding-yahooweather" and the "binding-ipp" bindings, and the first one needs configuration before it can work properly. For the second one, it righly discovered a laser printer in our network, but occasionally when openHAB requests the status information, this spins up an internal disk in the printer. Therefore it is feasible to increase the time between checks - it's just the number of outstanding print jobs anyway. Doesn't matter if someone reacts 5 or 15 minutes later, if the problem was not discovered instantly.
Continue reading "Update openHAB Things configuration using Ansible"
After starting to look into openHAB, and automate the installation with Ansible, I discovered that there is an API, but the main focus of the documentation and examples clearly is on using the UI and don't automate the installation. It takes some time to figure out the details. In my last blog post I automated the installation of extensions/bindings, and ended with running a rediscover scan.
Now it's time to see if there are new items in the inbox, and possibly auto-approve and link them in Ansible.
Continue reading "Auto-approve and link certain inbox items in openHAB using Ansible"
Recently I started looking into Home Automation, using a Raspberry Pi and the openHAB as platform. The website provides ready-to-go images based on Debian, named openHABian. Me being me, I decided to install the image, let it boot up for the first time, and then take it from there using Ansible as automation tool. That's a bit more effort in the beginning, but ensures that I can always just wipe the SDcard, and start over from the beginning. Especially useful if I screw up at some point during testing.
One of the first steps to do is to decide which bindings, or extensions, are needed. Bindings provide openHAB with information about what kind of hardware and input sources are available out there. The list of available bindings is long, and one can use the UI to click and install bindings, before starting to configure and link them. That process is not idempotent, but luckily openHAB also provides an API which can be used to execute the same steps, just faster and automated.
Continue reading "Install openHAB2 bindings using Ansible"