I’m in the process of getting a nice overall OH3 demo at demo.openhab.org.
The goal is to have a set of comprehensive examples so people can log in (username: demo, password: demo), explore the settings, and figure out how everything is made, so it shouldn’t become too complex either.
I’ve started from the openHAB 2 demo, and so far I’ve added the following:
Items
- semantic tags to the items to build a model (from the OH2 demo items)
- a smoke alarm in the kitchen
- fake positions for the 2 kids
- a pin code item
Rules
- A fairly elaborate Blockly script (given the current capabilities) to run a function for each room, controlling the heating and maintain temperatures in a given range - unless there’s a open window in the room
- A rule to change positions for the 2 kids every 5 seconds - also with Blockly - similar to the virtual meetup demo
- a no-script rule to react to the pin code changing and setting Presence to OFF if it’s set to 1234
- 4 scripts in JS, DSL, Python & Groovy all counting the number of open windows and update an item
Home page
- An overview page with:
- big buttons for an presence system, including a keypad widget to switch from “away” to “home”
- cells to launch general scenes
- cards to navigate to other pages popup or show them in a popup
- TODO: a prominent banner displayed dynamically when the smoke alarm is triggered in the kitchen (eventually with a button to dismiss it)
- Reordered location cards with separators & background images (all sourced from commons.wikimedia.org because they’re CC-licensed)
- TODO: customizations for the equipment/properties cards
Other pages
- A typical layout with temperature cards & trend lines, and other links to see heatings, windows, and the thermostat setpoint (need to work on it)
- 4 charts pages (with some ECharts parameters that can only be set in YAML):
- aggregate daily chart with comparison to the previous day
- combined chart with a line chart (temperature) and a marked area (heating) on a single page
- weekly heatmap
- calendar
- A page to run the 4 script language example rules above with buttons, and display the result
- TODO: a floor plan
- TODO: a page for the astro items, maybe with relative times for the sunrise/sunset: “4 hours ago”, “in 7 hours”
What else would you like to see?