Skip to content

Ansible: Use errors="ignore" instead of skip

Another Ansible upgrade deprecation warning, which appears in Ansible 2.8:

TASK [send email] *************************************************************************************************************************************************************************************************************************************************************
[DEPRECATION WARNING]: Use errors="ignore" instead of skip. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.

Found so many in the last time that I added a new Tag: Deprecation.

 

Continue reading "Ansible: Use errors="ignore" instead of skip"

Rundendreher e.V.: 7. Schönfließer Kinderlauf 2020

Unser Sportverein, der Rundendreher e.V., ist traditionell sehr auf die Arbeit mit Kindern fokussiert. Seit 2014 wird der Schönfließer Kinderlauf organisiert, und wie der Name sagt stehen bei diesem Lauf die Kinder im Vordergrund, Erwachsene können an diesem Lauf nicht teilnehmen - jedoch die Kinder an der Strecke anfeuern!

Dieses Jahr findet der 7. Kinderlauf am 13. Juni an der Feuerwache in Schönfließ statt. Kinder ab 3 Jahre können auf der Bambini Strecke (600 Meter) starten, für ältere Kinder gibt es 1.2 km und 2.4 km lange Strecken - bis zum Jahrgang 2005.

Voranmeldungen sind möglich, Nachmeldung vor Ort ist bis 9:30 möglich - solange noch Startplätze vorhanden sind. Details gibt es auf der Webseite der Rundendreher.

Übrigens gibt es auch Wanderpokale für Kindergärten, Schulen und Vereine mit den meisten Teilnehmern. Also haltet euch ran!

Show raw openHAB Image Type in HABpanel

In our Home Automation system, I read weather data from OpenWeatherMap. I blogged about the implementation before. The weather data provides an icon which can be used to show the current weather:

Image	homeCurrentIcon		"Icon"		{ channel="openweathermap:weather-and-forecast:home:current#icon" }
Image	homef03Icon		"Icon"		{ channel="openweathermap:weather-and-forecast:home:forecastHours03#icon" }
Image	homef06Icon		"Icon"		{ channel="openweathermap:weather-and-forecast:home:forecastHours06#icon" }
Image	homef09Icon		"Icon"		{ channel="openweathermap:weather-and-forecast:home:forecastHours09#icon" }
Image	homef12Icon		"Icon"		{ channel="openweathermap:weather-and-forecast:home:forecastHours12#icon" }
Image	homef15Icon		"Icon"		{ channel="openweathermap:weather-and-forecast:home:forecastHours15#icon" }
Image	homef18Icon		"Icon"		{ channel="openweathermap:weather-and-forecast:home:forecastHours18#icon" }
Image	homef21Icon		"Icon"		{ channel="openweathermap:weather-and-forecast:home:forecastHours21#icon" }
Image	homef24Icon		"Icon"		{ channel="openweathermap:weather-and-forecast:home:forecastHours24#icon" }

On the openHAB server side, this reads the picture data into the Item itself:

2020-02-20 00:39:38.476 [vent.ItemStateChangedEvent] - homeCurrentIcon changed from raw type (image/png): 3801 bytes to raw type (image/png): 2773 bytes
2020-02-20 03:59:47.156 [vent.ItemStateChangedEvent] - homeCurrentIcon changed from raw type (image/png): 2773 bytes to raw type (image/png): 2565 bytes
2020-02-20 04:19:48.006 [vent.ItemStateChangedEvent] - homeCurrentIcon changed from raw type (image/png): 2565 bytes to raw type (image/png): 2922 bytes

The really interesting question is: how can I display this icon directly in HABpanel. The available documentation is sparse to non-existent.

 

Continue reading "Show raw openHAB Image Type in HABpanel"

Kein Service am Dienstag

Seit einigen Jahren trifft sich regelmäßig der Englisch Stammtisch in Glienicke/N. Mittlerweile ist der Kreis der Teilnehmer weit über unseren (nicht so) kleinen Ort hinaus gewachsen. Traditionell besuchen wir abwechselnd verschiedene Restaurants.

Anfangs haben wir uns Montags getroffen, aber recht schnell festgestellt, dass viele Restaurants Montags einfach mal geschlossen haben. Danach haben wir die Treffen auf Dienstags verlegt - aber stehen dabei vor dem gleichen Problem.

 

Continue reading "Kein Service am Dienstag"

_ansible_item_label changes in Ansible 2.8

The Ansible 2.8 upgrade brought a few failing Playbooks. I ran into the following error:

TASK [Demo Task] ************************************************************************************************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute '_ansible_item_label'\n\nThe error appears to be in '/path/to/ansible/playbook.yml': line 76, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n  - name: Demo Task\n    ^ here\n"}

Well, seems like another upgrade with another major change. Don't you like that?

 

Continue reading "_ansible_item_label changes in Ansible 2.8"

6. Rundendreher Rundenlauf am 21. März 2020

Am 21. März findet von 9 bis 12 Uhr der 6. Rundendeher Rundenlauf statt. Das ist eine gemütliche Veranstaltung bei der jeder teilnehmen kann und so viele Runden läuft oder geht wie er möchte. Es gibt keinen Zwang eine bestimmte Distanz zurückzulegen. Die Teilnahme ist kostenlos.

 

Continue reading "6. Rundendreher Rundenlauf am 21. März 2020"

Raspberry Pi: take a screenshot from a display with no keyboard and mouse

The Raspberry Pi in the kitchen runs relatively stable, but recently the browser (which is showing the openHAB HABpanel) popped up a warning in the upper right corner. That's annoying, because this area in HABpanel shows the outside temperature.

Before investigating what's going on, I had to figure out a way to get a screenshot of the display - without running into the kitchen with my mobile phone. And without attaching a keyboard all the time (to press the "Print" button).

 

Continue reading "Raspberry Pi: take a screenshot from a display with no keyboard and mouse"

Hide the mouse cursor on a Raspberry Pi

The openHAB HABpanel we have in the kitchen runs on a Raspberry Pi and uses a touchscreen display. The browser starts in fullscreen mode, and shows a specific HABpanel screen for this display. That's all nice, but by default the mouse cursor is in the way. Let's get rid of it.

 

Continue reading "Hide the mouse cursor on a Raspberry Pi"