Homekit-based cards for openHasp, based on 320x480 displays (like the Wireless Tag WT32-SC01)
Single tap toggles the device on/off. Holding the icon displays an appropriate popup for that card. See screenshots below!
- Set up openHasp on your device. Select material light as your theme.
- Copy the content of
pages_x.jsonl
to your device, where x is your device resolution. Edit the devices so they match yours. Upload the required background images. - Copy
openhasp_homekit.yaml
to your homeassistant folder. Edit and replace all instances ofplate04
to the name of your openhasp device. Edit the device references so they match yours. - Edit your
configuration.yaml
and add the following:
homeassistant:
packages:
openhasp_homekit: !include openhasp_homekit.yaml
Restart your device then restart home assistant. You should be ready to give this project a try!
This theme is rather difficult to set up. It isn't exactly a finished product either! You have been warned.
All of the popup cards (except for the 3D Printer one) are defined as 'scripts'. This is so we can reuse them multiple time without having to copy/paste the jsonl syntax over.
You can choose to use either gradient colors or images as your background. It should be noted that pages with gradients tends to load much faster than pages with backgrounds.
When defining your own background/gradients, you will need to use a color picker for the Door/Presence icon color. That is the only icon that needs a color defined, everything else works properly with transparency.
The light popup card can be used to change the Brightness, Temperature or Color of a light source that supports it.
The WLED popup shows controls for a WLED based light source. Brightness, Intensity, Speed and Preset can be adjusted
Can be used to delay the shutdown of an appliance
Shows the current state of a binary device and the last time it was changed.
Shows the current state, print percentage and estimated completed time of a running print job