All apps · 0 apps
PixooPal
Docker app from Drun's Repository
Overview
Readme
View on GitHub[!IMPORTANT] ⚠️ Work in progress. It's fully usable though.
Make your own clockface
|
SDK
|
Community repository
PixooPal is a companion software for Pixoo.
It serves as server-side clockface render engine. In another words, it's a cute thing that creates pixelated images and pushes them to your Pixoo.
- Get new clockfaces from a community store, or even create your own with ease
- Full-fledged Home Assistant support
- Real-time preview of your Pixoo screen
- Send notifications to your Pixoo - they'll appear on top of any clockface. Emojis supported!
[!NOTE] This project is almost entirely vibesloped by me, experienced web-developer. For some, it can be a huge con. For others, it also a huge con. Speaking for myself, I think AI is a good tool for harmless projects like this one. In the end, it's nothing but a a small project that I did solely for myself. I don't think something like this would be possible without AI, as it would take months or even years.
[!IMPORTANT] Tested on Pixoo 64. However, it should work for Pixoo 16 / 32 too. Testing is welcomed.
Home Assistant
PixooPal features full-fledged Home Assistant support, including Home Assistant App, Integration and Card. It also comes with a several nice clockfaces that utilizes Home Assistant API.
Clockfaces:
- Now Playing: shows Home Assistant media_player entity (album cover art, progress and a title)
- Next Up: shows the name and a time counter before next event from HA calendar
- ToDo: shows "To-Do" list
- You can also build your own clockface with any information you want.
Integration: (exposes real-time MJPEG preview of the screen, clockface selection tools, notifier service, light entity and a pause switch)
Custom card for displaying clockface inputs. With this, you can play Snake on your Pixoo right from the Home Assistant. Neat.
Installation
- Home Assistant App (add this repo to the Store)
- Docker Compose
- Unraid
Running Locally / Developing
npm install
npm run dev -- --host 0.0.0.0 --http-port 80 --https-port 443 --pixoopal-ip 192.168.x.x --pixoo 192.168.x.x --resolution 64 --ha-host 192.168.x.x --ha-token xxx
Decloudifying
It's a tricky, not really recomended part. Currently, declouding requires DNS redirection. VLAN / dedicated IP for PixooPal is heavily recommended, since mimicking Divoom cloud requires taking 80, 443 and 1883 ports. You can read some information about how it's done here
PixooPal serves a slightly customized MQ broker that keeps Pixoo alive (publishing Device/Hearbeat and AppMqttReset topics from time to time) and Device/InitV2 & Test/GetIP endpoints.
Idea is simple:
Pixoo goes app.divoom-gz.com GET /Device/InitV2 -> we're intercepting that, pointing Pixoo at our MQ server -> profit
So, steps:
- Make sure to add
PIXOOPAL_HOST_IP/--pixoopal-ip. It's a MQ broker IP that PixooPal will send to Pixoo. - You should redirect
app.divoom-gz.comto your PixooPal host IP at router level. If PixooPal uses dedicated IP and runs on 80/443/1883, then it should be enough.
To be said, if you don't want to use dedicated IP, the only thing you will actually need is 1883 port and a reverse proxy. Point your DNS record at your proxy and make a app.divoom-gz.com record there for your pixoopal's HTTP port.
Categories
Download Statistics
Related apps
Explore more like this
Explore allDetails
drun555/pixoopal:latestRuntime arguments
- Web UI
http://[IP]:[PORT:5173]- Network
bridge- Shell
bash- Privileged
- false
Template configuration
PixooPal Web UI port.
- Target
- 5173
- Default
- 5173
- Value
- 5173
HTTPS port used by app.divoom-gz.com DNS redirection. Pixoo expects this to be reachable as port 443.
- Target
- 443
- Default
- 443
- Value
- 443
PixooPal embedded MQTT broker. Pixoo expects MQTT on port 1883.
- Target
- 1883
- Default
- 1883
- Value
- 1883
Persistent PixooPal clockface state.
- Target
- /data
- Default
- /mnt/user/appdata/pixoopal
- Value
- /mnt/user/appdata/pixoopal
Container HTTP port PixooPal listens on. Keep this aligned with the WebUI container port unless you know you need to change it.
- Default
- 5173
- Value
- 5173
Container HTTPS port PixooPal listens on using the bundled app.divoom-gz.com certificate.
- Default
- 443
- Value
- 443
Pixoo host or IP address on your local network.
- Target
- PIXOO_DEVICE_ADDRESS
PixooPal host IP returned to Pixoo from /Device/InitV2. Must be reachable from the Pixoo device; MQTT always uses port 1883.
- Target
- PIXOOPAL_HOST_IP
PixooPal render resolution. Supported values are 16, 32, and 64. Lower values can improve render and push performance.
- Target
- RESOLUTION
- Default
- 64
- Value
- 64
Home Assistant Address:Port, for example 192.168.1.5:8123. If only an IP is provided, PixooPal uses port 8123.
- Target
- HOME_ASSISTANT_URL
Long-lived Home Assistant access token. Generate one from Security tab in your profile.
- Target
- HOME_ASSISTANT_TOKEN
Set to true to include additional queue, clockface, and Pixoo command diagnostics in logs.
- Target
- DEBUG_LOGGING
- Default
- false
- Value
- false
Set to true to disable PixooPal mDNS/Bonjour discovery announcements.
- Target
- PIXOOPAL_DISABLE_MDNS
- Default
- false
- Value
- false