Repository navigation
Releases
OHpanel 0.28.1
Commands and states from the panel name the panel in openHAB. No new display design: the firmware alone.
Changed
- The panel's name as the source in openHAB (GitHub #12): what the panel sends to openHAB (commands, states)
carries the device name as its source instead of a fixedohpanel, so a rule can tell several panels apart. The
event log shows, for example,source: kitchen=>org.openhab.core.io.rest$admin; a panel without a name of its own
sends its default name (ohpanel-a1b2c3). A new name counts from the next start, as for the network name.
OHpanel 0.28.0
Two covers side by side, the start page from openHAB, the front buttons pressed twice, three times or held, and a
relay button's label from an item. With a new display design: update the firmware first, then the display design
(Settings > Firmware > Check for updates).
New
- Two covers on one page (forum #181): a cover page with
"pair": [{"item": ..., "label": ...}, {...}]shows
both covers side by side, each drawn large with its position over it; a finger on one sets that one. Three pills
at the top choose what up, stop and down move: the left one, both (as the page opens) or the right one. Each
cover's style, moving item and command item come from its metadata. In the web interface: Shows, two covers
side by side. Needs the new display design; an older one shows the left cover alone. - The start page from an openHAB item (
display.start_page, forum #183): while a String item names a page of
the swipe row, that page is the start page. The panel goes back to it afterhome_after, wakes on it, and it
has no close cross. A rule, orexpireon the item, sets it for a while: the fermentation page while brewing,
the heating while it is being set. Empty, NULL or a page not in the row: the row's first, as before. In the web
interface: Pages and openHAB, The start page. - The front buttons pressed twice, three times or held (forum #179):
"double","triple"and"hold"on a
relay each do one of what a press does (switch the relay, toggle an item, open a page)."events"sends a String
item every press as Tasmota names them (SINGLE,DOUBLE,TRIPLE,HOLD,CLEAR) for rules. A single press
waits a third of a second only where more is wanted; a hold counts after 0.8 s. In the web interface: the relay's
Advanced. - A relay button's label from an item (
"text": {"item", "format"?, "factor"?}): the item's state as the
label, so a rule can write it; while it is NULL, UNDEF or empty, the configured label shows. In the web
interface: the relay's Advanced, which is folded and remembered open or closed.
Changed
- Home's high and low as on the weather page (forum #182): the high first,
↑22° ↓9°. The display designs
before keep working. - After flashing, run the panel mounted, on mains (GitHub #11): the serial adapter's 3.3 V are enough for
flashing, not once the WiFi starts; a panel fed by it may restart again and again. The install guide and the
browser flasher's last steps say so.
Fixed
- Frayed labels on pills: the presets of a cover, the thermostat's modes and its on/off pill, the keypad's
buttons. Their text was drawn without a background, so the font's smoothed edges were mixed with black. Now
they are drawn on the pill's colour. - Text of the page before on the next one: a state arriving while a page change was on its way drew on the
new page (home's upright relay labels over the weather page, for example).
OHpanel 0.27.5
The weather page shows the high and the low on one line, and the web interface loads itself anew after a firmware
update. With a new display design: update the firmware first, then the display design (Settings > Firmware > Check
for updates).
Changed
- The weather page's high and low: both in one line, the same size, an arrow up before the high and an arrow
down before the low. With the condition in words (condition), the line sits at the top and the words under it;
without them, the line sits in the middle beside the icon. Needs the new display design.
Fixed
- The web interface after a firmware update (GitHub #8, forum #174): the page open in the browser stayed the
old one and saved the configuration by the old rules (a touch tone "none" came back as a click, for example).
Now the page loads itself anew once the panel runs another firmware. With changes not yet saved it shows a
note in the save bar instead: save, or copy the JSON (Advanced), then reload the page. An update started on
the page goes on after the reload.
OHpanel 0.27.4
An image page opened again shows a fresh picture. Only the firmware: the display design is the one of 0.27.0.
Fixed
- A camera page opened again (GitHub #10): it drew the picture it had, however old, and fetched a new one only
after that. A camera's picture takes about half a minute to draw, so it looked as if it never refreshed. Now a
page opened after itsrefreshhas passed fetches a new picture right away. While the page stays open,refresh
still counts from the picture drawn whole; Detail: normal draws about twice as fast as fine.
OHpanel 0.27.3
A contact shows a window, as in openHAB, and camera pictures are safer on the memory. Only the firmware: the display
design is the one of 0.27.0.
Changed
- openHAB's
contacticon is a window (thanks obones, forum #169): an item with the categorycontactshowed a
door; openHAB's classiccontacticon is a window, open or closed, and the panel now shows that too. For a door
sensor, give the item the categorydoor(orfrontdoor,garagedoor).
Fixed
- Camera pictures and the memory: a camera's snapshot could still restart the panel while its rectangles were
put in order, or while the picture was scaled to the page. Both now take no more memory than is left; a picture
that does not fit is not shown (the log says so) and the panel keeps running.
OHpanel 0.27.2
Camera pictures on an image page no longer restart the panel. Only the firmware: the display design is the one of
0.27.0.
Fixed
- A camera's snapshot restarted the panel: a snapshot is drawn as ten thousands of small rectangles, and making
them took several large blocks of memory at once. When one of them could not be had, the panel restarted. They
now take far less memory at a time; a picture the memory left cannot hold is not shown (the log says so), the
panel keeps running. - A camera that takes its time: a picture waits up to 15 seconds for its answer (was 5). A camera's bridge
takes some seconds for a fresh snapshot, and over WiFi the panel gave up on it.
OHpanel 0.27.1
The web interface's preview can be edited on the White background too. Only the firmware: the display design is the
one of 0.27.0.
Fixed
- The edit outlines on White (GitHub #9): in the preview's edit mode the dashed outlines and the + that mark what
can be clicked were white, on the White background invisible (only the one under the mouse showed). They now take
the background's text colour: black on White, white on the dark backgrounds as before. The panel itself was not
affected.
OHpanel 0.27.0
A large clock on home, a question before a button switches, openHAB's own icons, any picture as it downloads
(progressive JPEGs too), a date near as "on", and hardware buttons that page through the panel. With a new display
design: update the firmware first, then the display design (Settings > Firmware > Check for updates).
New
-
A large clock on home (
home.style: "clock"): the time across the width, about twice as high as before,
centred, AM/PM right after the minutes (on the NSPanel US upright above the clock), the date and the weather (an
icon and the temperature) in a line under it, the shortcuts in one row; the status icons and the relays as on
home. Today's low and high show on home in its normal style only. In the web interface: tap the clock in home's
preview, Home screen. Needs the new display design (thanks ubi, forum #158). -
Hardware buttons step through the swipe row:
"open": "next"and"open": "previous"bring the next page,
or the one before, as a swipe does (thanks mife, forum #157). In the web interface: Opens a page, then The
next page / The page before. A page can no longer have the idnextorprevious. -
The screen woken from openHAB (
display.screen.wake): while an item is ON (a motion sensor, a doorbell,
a Contact: OPEN), the screen is on as if touched all the while, at night too; it dims afteridle_afterfrom
when the item goes off. In the web interface: Screen, On while an item is ON (thanks ubeaut, forum #156). -
A stop button on the media page (
"stop": {"item": ...}): a Switch, the player's stop channel (Sonos, Kodi,
Squeezebox, Chromecast). While something plays, the play button shows a square and sendsONto it instead of
pausing (a Player item knows no STOP). In the web interface: Stop on the media page (thanks ubeaut, forum #156). -
Ask before a button switches (
"confirm"on a button, or on a group's button page for all of its tiles):
trueasks the standard question (the button's label, "Switch on?", Yes / Cancel in the display language),
an object one's own: a title, a question, an icon, the buttons' labels and colour ({label}and{to}in its
texts), how long it waits (30 s by default; it waits on while a notification covers it). Drawn by the panel. In the web interface: Ask first in a tile's form
(thanks Constantinos, forum #152). -
openHAB's icons on the panel: an item's icon in openHAB (its category, the classic icon set's names, also
oh:classic:...andiconify:mdi:...) shows as the matching Material Design icon, changing with the state as
openHAB's dynamic icons do: a door open or closed, a battery's level, a light on or off. On a group's page every
member shows its own (its metadata'siconfirst, the page'siconfor one the panel does not know); elsewhere
"icon": "openhab"takes it (status icons, shortcuts, home values, fixed rows, button tiles, weather cards). In
the web interface From openHAB beside Own icon, which shows the icon as the panel draws it now, or why there
is none. The table: docs/openhab-icons.md (thanks obones, forum #151). -
A date near as "on" (thanks riegelbrau, forum #165): a status icon or shortcut with a DateTime item can count
as on while its date is near,"on": {"within_days": 1, "from": "15:00", "until": "12:00"}: the bin icon shows
from the afternoon before the collection until noon that day, hidden otherwise.visibletakes the same. Until
now a date item never counted as on, so "shown while on" never showed it. In the web interface: On when, a date
within days, chosen by itself for a DateTime item (that day; a condition chosen already stays). The icon field
also says now when a name is no icon, a space at its end too (the panel drew nothing). -
Line badges larger, and all as wide (an entity row's
badge, a feed's): a field of their own, reaching to
the label, the characters about a third larger (in the stylerowshalf as large again), and every badge of a
page as wide as its widest, "1" as "M48": a column of line numbers (thanks mife, forum #157). -
Another item's state in rules and
visible(as a sitemap's visibility): a status icon, a shortcut or a
button shows only while another item is on,"visible": {"item": "Burner"}, or matches a condition
({"item": "Power", "above": 100}); a rule ofvalue_styletests another item's state with an"item"of its
own: the heating's icon red or blue by its mode, shown only while the burner runs. In the web interface:
Shown only while the item, and Of the item in a rule (thanks riegelbrau, forum #161).
Changed
-
Entity cards' label and value a little further right: room around a line badge (new display design).
-
Status, openHAB: its version and the protocol: "HTTP/1.1 over TLS 1.2" over https, as the NSPanel Pro's
page shows them. -
A touch clicks softly by default (
display.sound.touch:click, at the touch volume): a panel that had no
touch tone set now clicks;"touch": "none"(Touch: none in the web interface) keeps it silent. It clicks as the
finger is lifted, not as it comes down: swiping over a page of buttons no longer clicks (the keypad's keys still
click as they are pressed). -
The panel's https certificate is valid for 90 days (was 820) and is issued anew 30 days before it runs out,
by the panel's CA (or yours): the same key, so it costs the panel nothing. A panel issues its new one right after
the update; a device that trusts the CA notices nothing, a browser where the certificate was only accepted asks
again. A panel that was off past its certificate's end issues a new one as soon as its clock is set, not up to an
hour later. -
A list from one item (
feed) without an answer shows "No answer from openHAB" alone: the list before it
(and its title) goes, since departures that look current would mislead (thanks mife, forum #157). -
A list from one item that is broken JSON shows "Invalid list (JSON)" instead of the JSON itself, where it
broke in the log (Diagnostics, tagfeed); so does an object withoutrows. A plain text (a rule's error)
still shows as it is (thanks mife, forum #157).
Fixed
- Progressive JPEGs as covers and pictures (a Squeezebox server's covers): "a progressive JPEG, the panel
decodes only baseline ones". Now decoded by lowzag (MIT), scaled down as it decodes, its memory in PSRAM: about
2 megapixels at most, a larger one refused after its first bytes. A baseline JPEG still goes to the ESP32's own
decoder (thanks cd-tronic, forum #162). - Pictures decoded as they download (JPEG and PNG): the file is never held whole, so the 400 KB limit is gone
for them (a camera's full-size JPEG of 1 MB goes) and a picture takes less memory while it loads. An Image item's
picture, which openHAB sends as text, still up to 400 KB. - Labels with a sitemap format: an item made in openHAB's UI with a label the way of
.itemsfiles,
Front door [%s], keeps the[%s]in its label word for word, and the panel showed it: on an entity page's
rows, in the cover group's table, in the item search. The panel now leaves a format at a label's end out, as
openHAB's sitemaps do; the row shows the state itself anyway. A label you give in the panel's configuration is
shown as you wrote it. (Thanks obones, issue #7; the cleaner way in openHAB is the item's State Description
metadata, as riegelbrau wrote there.)
OHpanel 0.26.0
A page for a picture -- a camera's snapshot, a doorbell's --, covers from Image items, help in the web interface,
and a certificate Apple's devices take. Only the firmware: the display design is the one of 0.25.0
(Settings > Firmware > Check for updates).
New
- The image page (
"type": "image"): one picture under the title, as large as fits -- a camera's snapshot
("url", fetched again every 10 s or as"refresh"says), or an Image item's (a doorbell's snapshot), or an
address an item holds. Drawn by the panel, no new display design needed. In the swipe row too. See image in
the configuration docs. - Help in the web interface: a Help page in the menu with the links to the documentation, the community
thread and GitHub issues, and what is new in the running version; every card and the page editor have a Docs
link to their part of the documentation, as it is for the firmware running (thanks ubeaut, forum #138). - Status page: the relays, on or off as they are switched.
- Status page: Security -- whether this page came encrypted, the https server, the server certificate (until
when, for which names; orange 30 days before it runs out), the CA and whether a password protects the panel.
Changed
- The panel's https certificate is valid for 820 days and is issued anew 30 days before it runs out, by the
panel's CA (or yours): iPhones, iPads and Macs take no server certificate valid longer than 825 days, not even
from a CA one trusts. A panel issues its new one right after the update; a device that trusts the CA notices
nothing. - The clock without NTP: where no time server answers (a network without internet), the panel takes the time
from openHAB's answers -- the home screen's clock and the certificate's dates. NTP, once it answers, wins. - Image items as the media page's cover (
art): openHAB's stream gives a picture only as its size ("raw type
(image/jpeg): 219955 bytes"), so the cover stayed empty. The panel now fetches the picture from openHAB when the
page shows it, and again when it changes (Spotify, Chromecast, Squeezebox, Kodi), up to 400 KB. - The openHAB stream is read item by item: the list of all states after connecting is no longer held in one
piece, and a state too large to keep (over 64 KB) is left out, with a line in the log, instead of breaking the
connection. - The BOM weather rule in the configuration docs fetches the forecast itself, every two hours, by your place's
geohash: no item with BOM's data needed any more (thanks ubeaut, forum #142). It also reads each day in the
place's time zone: the rule before showed every day a day early (forum #147).
Fixed
- The cover group's form says where the table's Moving item and Command item come from: each member's
covermetadata,movingandcommand_item(forum #146). - Password protection switched on (or a new password saved while it is on): the page ran into nothing, every
request refused in the background without a login dialog. It loads anew now, the browser asks for the password;
any later refused request does the same (not over unsaved panel changes). - A name added for the certificate (Security, Names the certificate covers) now covers the names right under
it too, as the CA allows:kitchen.panel.home.examplewithpanel.home.exampleadded. Added names are limited
to what fits the certificate (refused with a message); one that could not be stored is used all the same until
the next start -- before, the panel had no https then. - Thermostat modes in the web interface: a mode's name typed before what it sends was lost, the mode saved
without a name ("label": ""). Now kept whatever is typed first (thanks gd35, forum #143). - The log full of "queue full, dropping a display job" while a cover was drawn: the display's flow-control
answers went into the display's queue too. Nothing was lost, but the log was flooded. - "display reports status 0x1A" opening a page from home with animated icons: a last frame went to the page
just left.
OHpanel 0.25.1
Changes made on the panel are no longer lost when the web interface saves. Only the firmware: the display design is the
one of 0.25.0.
Fixed
- A setting changed on the panel survives a save in the browser (GitHub #6): the panel's settings page keeps the
brightness, the dimming and the volumes in the configuration. A web page opened before then asked whether to
overwrite them, and saving replaced them (the dimming back at 60 seconds). Now it takes the newest configuration,
keeps what was changed there and puts its own changes on top; it asks only when both changed the same value, and
names it. The same for two browsers or tabs editing at once.