Skip to content

openHAB: widget with multiple different background colors

Previously I blogged about how the washing machine and the dryer are integrated into the openHAB home automation system.

For a while I had a standard "Dummy" widget in HABpanel, but that didn't look very nice, was very standard, and the different icons for different states don't really work. When I started integrating another Raspberry Pi with a touch screen (blog post to come), I refreshed the HABpanel, added another dashboard, and along the way I wrote a new "Template" widget for the washing machine and the dryer.

This project had a number of small goals:

  1. Make the headline (the name) bigger - in the dummy it seems to be hardcoded, and very small
  2. Use the proper icon for every Item state (running, finished, standby)
  3. Change the background color of the widget according to the state of the Item

 

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