Skip to content

Monitor ChromeCast status in openHAB

I really like to monitor things, to catch issues early on. In our home we have a couple ChromeCasts, both Audio and Video. They are all connected to the openHAB system, Once in a while they stop working, and need to be restarted (unplugged and plugged in again). Unfortunately you usually only find that out when you want to stream something, and wonder why either the ChromeCast does not show up in the device list, or does show up but does not accept the media.

Therefore I decided to monitor the devices in openHAB.

 

Continue reading "Monitor ChromeCast status in openHAB"
  • Twitter
  • Bookmark Monitor ChromeCast status in openHAB at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Monitor ChromeCast status in openHAB
  • Bloglines Monitor ChromeCast status in openHAB
  • Technorati Monitor ChromeCast status in openHAB
  • Fark this: Monitor ChromeCast status in openHAB
  • Bookmark Monitor ChromeCast status in openHAB at YahooMyWeb
  • Bookmark Monitor ChromeCast status in openHAB at Furl.net
  • Bookmark Monitor ChromeCast status in openHAB at reddit.com
  • Bookmark Monitor ChromeCast status in openHAB at blinklist.com
  • Bookmark Monitor ChromeCast status in openHAB at Spurl.net
  • Bookmark Monitor ChromeCast status in openHAB at Simpy.com
  • Bookmark Monitor ChromeCast status in openHAB at blogmarks
  • Bookmark Monitor ChromeCast status in openHAB with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca

openHAB and HP printer

Recent openHAB versions come with a new HP Printer Binding, which is a big improvement over the more general IPP Binding for printers.

The new binding reads the data from two files which are provided by the printer:

  • http://<printer>/DevMgmt/ProductUsageDyn.xml
  • http://<printer>/DevMgmt/ProductStatusDyn.xml

Let's install that ...

 

Continue reading "openHAB and HP printer"
  • Twitter
  • Bookmark openHAB and HP printer at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg openHAB and HP printer
  • Bloglines openHAB and HP printer
  • Technorati openHAB and HP printer
  • Fark this: openHAB and HP printer
  • Bookmark openHAB and HP printer at YahooMyWeb
  • Bookmark openHAB and HP printer at Furl.net
  • Bookmark openHAB and HP printer at reddit.com
  • Bookmark openHAB and HP printer at blinklist.com
  • Bookmark openHAB and HP printer at Spurl.net
  • Bookmark openHAB and HP printer at Simpy.com
  • Bookmark openHAB and HP printer at blogmarks
  • Bookmark openHAB and HP printer with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca

raspi-config automated

While I installed the Raspberry Pi with the Raspbee board on it, I had to modify the settings for the serial device. That's done using the raspi-config tool on Raspbian.

However since I'm into automation, I don't want to start "raspi-config" manually, but had to figure out how to do that in an automated way.

 

 

Continue reading "raspi-config automated"
  • Twitter
  • Bookmark raspi-config automated at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg raspi-config automated
  • Bloglines raspi-config automated
  • Technorati raspi-config automated
  • Fark this: raspi-config automated
  • Bookmark raspi-config automated at YahooMyWeb
  • Bookmark raspi-config automated at Furl.net
  • Bookmark raspi-config automated at reddit.com
  • Bookmark raspi-config automated at blinklist.com
  • Bookmark raspi-config automated at Spurl.net
  • Bookmark raspi-config automated at Simpy.com
  • Bookmark raspi-config automated at blogmarks
  • Bookmark raspi-config automated with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca

New OpenWeatherMap channels missing after openHAB upgrade from 2.4 to 2.5

A while ago I upgraded openHAB from version 2.4 to 2.5. That comes with the usual share of problems, but eventually I got it working.

For an unrelated project I wanted to use the OpenWeatherMap setup I have to improve the daily weather forecast with icons.

The binding provices ids for the current weather condition and the current weather icon. That can be used to load the icon from the OWM website. Went to my setup and added two new Items:

String	homeCurrentConditionID	"Current condition ID [%s]"	{ channel="openweathermap:weather-and-forecast:home:current#condition-id" }
String	homeCurrentIconID	"Current icon ID [%s]"		{ channel="openweathermap:weather-and-forecast:home:current#icon-id" }

Used Ansible to deploy everything to the Raspberry running openHAB. And then wondered because only the "homeCurrentConditionID" item came online, not the "homeCurrentIconID". After searching around and browsing the community forum, it turns out that the "icon-id" channel is new in 2.5, and will not automatically installed if the OpenWeatherMap binding was already used in 2.4. WT* ...

One has to remove all the OWM things ("openweathermap:weather-api:home" and "openweathermap:weather-and-forecast:home") and reinstall everything, in order to get the new channels working. That is really unexpected, and not user friendly.

After mumbling a while over my options I went ahead, created a new backup, and then removed the two items. One did get stuck along the way, a long Java trace appeared in the logfile, and I had to force remove it. Then - for good measueres - I also uninstalled the binding, and restarted openHAB.

Afterwards I re-deployed my Ansible Playbook, which installs the binding, takes care of the binding configuration, and adds the Things again. After everything came online, the homeCurrentIconID Item is also populated. Why is everything in openHAB so complicated?

  • Twitter
  • Bookmark New OpenWeatherMap channels missing after openHAB upgrade from 2.4 to 2.5 at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg New OpenWeatherMap channels missing after openHAB upgrade from 2.4 to 2.5
  • Bloglines New OpenWeatherMap channels missing after openHAB upgrade from 2.4 to 2.5
  • Technorati New OpenWeatherMap channels missing after openHAB upgrade from 2.4 to 2.5
  • Fark this: New OpenWeatherMap channels missing after openHAB upgrade from 2.4 to 2.5
  • Bookmark New OpenWeatherMap channels missing after openHAB upgrade from 2.4 to 2.5 at YahooMyWeb
  • Bookmark New OpenWeatherMap channels missing after openHAB upgrade from 2.4 to 2.5 at Furl.net
  • Bookmark New OpenWeatherMap channels missing after openHAB upgrade from 2.4 to 2.5 at reddit.com
  • Bookmark New OpenWeatherMap channels missing after openHAB upgrade from 2.4 to 2.5 at blinklist.com
  • Bookmark New OpenWeatherMap channels missing after openHAB upgrade from 2.4 to 2.5 at Spurl.net
  • Bookmark New OpenWeatherMap channels missing after openHAB upgrade from 2.4 to 2.5 at Simpy.com
  • Bookmark New OpenWeatherMap channels missing after openHAB upgrade from 2.4 to 2.5 at blogmarks
  • Bookmark New OpenWeatherMap channels missing after openHAB upgrade from 2.4 to 2.5 with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca

Install a Raspbee II on a Raspberry Pi

A while ago I got a recommendation to look into a Raspbee (from dresden elektronik) as Zigbee gateway. That looked like fun, therefore I ordered one of the devices. The first step is the installation of the Pi itself and then the software for the Raspbee. 

For various reasons I decided to use a dedicated Pi for this, and don't install this on the openHAB Pi already running here:

  • The Raspbee needs software from a closed repository
  • During installation and configuration I don't have to reboot my openHAB system all the time
  • The headless install runs a webserver, this conflicts with the redirect I have on port 80 on the openHAB system
  • I still have a couple Raspberry Pi B+ here, which I don't need for other projects

 

Continue reading "Install a Raspbee II on a Raspberry Pi"
  • Twitter
  • Bookmark Install a Raspbee II on a Raspberry Pi at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Install a Raspbee II on a Raspberry Pi
  • Bloglines Install a Raspbee II on a Raspberry Pi
  • Technorati Install a Raspbee II on a Raspberry Pi
  • Fark this: Install a Raspbee II on a Raspberry Pi
  • Bookmark Install a Raspbee II on a Raspberry Pi at YahooMyWeb
  • Bookmark Install a Raspbee II on a Raspberry Pi at Furl.net
  • Bookmark Install a Raspbee II on a Raspberry Pi at reddit.com
  • Bookmark Install a Raspbee II on a Raspberry Pi at blinklist.com
  • Bookmark Install a Raspbee II on a Raspberry Pi at Spurl.net
  • Bookmark Install a Raspbee II on a Raspberry Pi at Simpy.com
  • Bookmark Install a Raspbee II on a Raspberry Pi at blogmarks
  • Bookmark Install a Raspbee II on a Raspberry Pi with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca

Raspberry Pi watchdog for openHAB

The openHAB display in the kitchen is still the problem child. Occasionally it just stops, other times it does not refresh the HABpanel, even though it has a connection to the openHAB server. Then there is the problem with the network card in the Pi. And - ok, that's a server-side problem - occasionally the weather stops updating. All in all that's a lot of trouble for a display which is just supposed to run standalone.

In the latest iteration I looked into activating the integrated hardware watchdog in the Raspberry Pi. Checking the temperature it never goes above ~55°C celcius, even though the display is in an almost closed frame and can't exchange much heat with the environment. But nevertheless occasionally the Pi just halts, and stops operating.

 

Continue reading "Raspberry Pi watchdog for openHAB"
  • Twitter
  • Bookmark Raspberry Pi watchdog for openHAB at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Raspberry Pi watchdog for openHAB
  • Bloglines Raspberry Pi watchdog for openHAB
  • Technorati Raspberry Pi watchdog for openHAB
  • Fark this: Raspberry Pi watchdog for openHAB
  • Bookmark Raspberry Pi watchdog for openHAB at YahooMyWeb
  • Bookmark Raspberry Pi watchdog for openHAB at Furl.net
  • Bookmark Raspberry Pi watchdog for openHAB at reddit.com
  • Bookmark Raspberry Pi watchdog for openHAB at blinklist.com
  • Bookmark Raspberry Pi watchdog for openHAB at Spurl.net
  • Bookmark Raspberry Pi watchdog for openHAB at Simpy.com
  • Bookmark Raspberry Pi watchdog for openHAB at blogmarks
  • Bookmark Raspberry Pi watchdog for openHAB with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca