Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Display HA dashboards in kiosk mode directly on your HAOS server.

## Author: Jeff Kosowsky (version: 1.3.1, April 2026)
## Author: Jeff Kosowsky (version: 1.3.2, April 2026)

## Description

Expand Down Expand Up @@ -333,7 +333,7 @@ Returns boolean depending on whether display is on or off.

Usage:

`curl -X GET http://localhost:8080/is_display_on`
`curl -X GET http://localhost:<REST_PORT>/is_display_on`

### display_on {"timeout": "\<timeout>"}

Expand All @@ -345,7 +345,7 @@ Usage:

```
curl -X POST http://localhost:<REST_PORT>/display_on
curl -X POST http://localhost:8080/display_on -H "Content-Type: application/json" -d '{"timeout": <timeout>}'
curl -X POST http://localhost:<REST_PORT>/display_on -H "Content-Type: application/json" -d '{"timeout": <timeout>}'
```

### display_off
Expand Down Expand Up @@ -426,16 +426,16 @@ Screenshots are saved to `/media/screenshots`.
Usage:

```
curl -X POST http://localhost:8080/screenshot
curl -X POST http://localhost:8080/screenshot -H "Content-Type: application/json"
curl -X POST http://localhost:<REST_PORT>/screenshot
curl -X POST http://localhost:<REST_PORT>/screenshot -H "Content-Type: application/json"
-d '{"filename": "<filename>", "quality": <1-100>, "delay: <seconds>}'
```

### current_processes

Return number of currently running concurrent processes out of max allowed.

Usage: `curl -X GET http://localhost:8080/current_processes`
Usage: `curl -X GET http://localhost:<REST_PORT>/current_processes`

### disable_inputs

Expand Down Expand Up @@ -472,7 +472,7 @@ Usage:

```
curl -X POST http://localhost:<REST_PORT>/unmute_audio
curl -X POST http://localhost:8080/unmute_audio -H "Content-Type: application/json" -d '{"volume": <volume>}'
curl -X POST http://localhost:<REST_PORT>/unmute_audio -H "Content-Type: application/json" -d '{"volume": <volume>}'
```

### toggle_audio
Expand Down
4 changes: 4 additions & 0 deletions haoskiosk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v1.3.2 - April 2026

- Added explicit BUILD_FROM location to Dockerfile for ha core 202i6.04+

## v1.3.1 - April 2026

- Updated auto-login JS injection in 'userconf.lua' for 2026.4+
Expand Down
6 changes: 3 additions & 3 deletions haoskiosk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Date: April 2026
################################################################################

ARG BUILD_FROM
ARG BUILD_FROM=ghcr.io/home-assistant/base:latest
FROM $BUILD_FROM

ARG BUILD_VERSION
Expand Down Expand Up @@ -51,7 +51,8 @@ RUN apk update && apk add --no-cache \
### Full Timezone info
icu-data-full \
### Python libraries
py3-pip \
# py3-pip \
py3-aiohttp \
py3-xlib \
### Sound
pulseaudio-utils \
Expand Down Expand Up @@ -81,7 +82,6 @@ RUN chmod a+x /run.sh

COPY mouse_touch_inputs.py gesture_commands.json /
COPY rest_server.py /
RUN pip install --no-cache-dir --break-system-packages aiohttp #Required for rest_server.py

#### Patches
# Need to patch 'unique_instance.lua' so that new instance urls overwrite active url rather than add new tab
Expand Down
14 changes: 7 additions & 7 deletions haoskiosk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Display HA dashboards in kiosk mode directly on your HAOS server.

## Author: Jeff Kosowsky (version: 1.3.1, April 2026)
## Author: Jeff Kosowsky (version: 1.3.2, April 2026)

## Description

Expand Down Expand Up @@ -333,7 +333,7 @@ Returns boolean depending on whether display is on or off.

Usage:

`curl -X GET http://localhost:8080/is_display_on`
`curl -X GET http://localhost:<REST_PORT>/is_display_on`

### display_on {"timeout": "\<timeout>"}

Expand All @@ -345,7 +345,7 @@ Usage:

```
curl -X POST http://localhost:<REST_PORT>/display_on
curl -X POST http://localhost:8080/display_on -H "Content-Type: application/json" -d '{"timeout": <timeout>}'
curl -X POST http://localhost:<REST_PORT>/display_on -H "Content-Type: application/json" -d '{"timeout": <timeout>}'
```

### display_off
Expand Down Expand Up @@ -426,16 +426,16 @@ Screenshots are saved to `/media/screenshots`.
Usage:

```
curl -X POST http://localhost:8080/screenshot
curl -X POST http://localhost:8080/screenshot -H "Content-Type: application/json"
curl -X POST http://localhost:<REST_PORT>/screenshot
curl -X POST http://localhost:<REST_PORT>/screenshot -H "Content-Type: application/json"
-d '{"filename": "<filename>", "quality": <1-100>, "delay: <seconds>}'
```

### current_processes

Return number of currently running concurrent processes out of max allowed.

Usage: `curl -X GET http://localhost:8080/current_processes`
Usage: `curl -X GET http://localhost:<REST_PORT>/current_processes`

### disable_inputs

Expand Down Expand Up @@ -472,7 +472,7 @@ Usage:

```
curl -X POST http://localhost:<REST_PORT>/unmute_audio
curl -X POST http://localhost:8080/unmute_audio -H "Content-Type: application/json" -d '{"volume": <volume>}'
curl -X POST http://localhost:<REST_PORT>/unmute_audio -H "Content-Type: application/json" -d '{"volume": <volume>}'
```

### toggle_audio
Expand Down
2 changes: 1 addition & 1 deletion haoskiosk/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "HAOS Kiosk Display"
description: |
Start X server and browser on local HAOS server and display dashboards in
kiosk mode (Jeff Kosowsky)
version: "1.3.1"
version: "1.3.2"
slug: "haoskiosk"
url: https://github.com/puterboy/HAOS-kiosk/tree/main/haoskiosk

Expand Down
2 changes: 1 addition & 1 deletion haoskiosk/gesture_commands.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ==============================================================================
# HAOS Kiosk Display — Mouse & Touch Input Engine
# File: gesture_commands.json
# Version: 1.3.1
# Version: 1.3.2
# Copyright Jeff Kosowsky
# Date: April 2026
# ------------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions haoskiosk/mouse_touch_inputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"""-------------------------------------------------------------------------------
# HAOS Kiosk Display — Mouse & Touch Input Engine
# File: MouseTouchInputs
# Version: 1.3.1
# Version: 1.3.2
# Copyright Jeff Kosowsky
# Date: April 2026
#
Expand Down Expand Up @@ -369,7 +369,7 @@
from Xlib import display #type: ignore[import-untyped] #pylint: disable=import-error
from Xlib.xobject.drawable import Window #type: ignore[import-untyped] #pylint: disable=import-error
#-------------------------------------------------------------------------------
__version__ = "1.3.1"
__version__ = "1.3.2"
__author__ = "Jeff Kosowsky"
__copyright__ = "Copyright 2025-2026 Jeff Kosowsky"
#-------------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions haoskiosk/rest_server.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""-------------------------------------------------------------------------------
# Add-on: HAOS Kiosk Display (haoskiosk)
# File: services.py
# Version: 1.3.1
# Version: 1.3.2
# Copyright Jeff Kosowsky
# Date: April 2026

Expand Down Expand Up @@ -70,7 +70,7 @@
from aiohttp import web #type: ignore[import-not-found] #pylint: disable=import-error

#-------------------------------------------------------------------------------
__version__ = "1.3.1"
__version__ = "1.3.2"
__author__ = "Jeff Kosowsky"
__copyright__ = "Copyright 2025-2026 Jeff Kosowsky"

Expand Down
2 changes: 1 addition & 1 deletion haoskiosk/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
################################################################################
# Add-on: HAOS Kiosk Display (haoskiosk)
# File: run.sh
# Version: 1.3.1
# Version: 1.3.2
# Copyright Jeff Kosowsky
# Date: April 2026
#
Expand Down
2 changes: 1 addition & 1 deletion haoskiosk/userconf.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--[=[
Add-on: HAOS Kiosk Display (haoskiosk)
File: userconf.lua for HA minimal browser run on server
Version: 1.3.1
Version: 1.3.2
Copyright Jeff Kosowsky
Date: April 2026

Expand Down
2 changes: 1 addition & 1 deletion haoskiosk/xorg.conf.default
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
################################################################################
# Add-on: HAOS Kiosk Display (haoskiosk)
# File: xorg.conf
# Version: 1.3.1
# Version: 1.3.2
# Copyright Jeff Kosowsky
# Date: April 2026
#
Expand Down
Loading