openHASP/README.md
2020-04-04 21:30:43 +02:00

2.4 KiB

HASP - Open Hardware edition

This project is a re-implementation of the popular HASwitchPlate sketch created by aderusha. The original HASwitchPlate project uses a Wemos D1 mini and requires a Nextion/TJC HMI display. This rewrite removes the Nextion/TJC requirement by using the Littlev Graphics Library on the MCU to drive a cheap commodity display.

This version also adds ESP32 support to take advantage of the additional hardware capabilities.

Demo Screens

Screenshot   Screenshot   Screenshot

Features

Feature ESP8266 ESP32
SPI display yes yes<
Parallel display no tbd
PWM Screen dimming yes yes
Maximum Page Count 4 12
Object Types / Widgets 14 15
Dynamic Objects yes yes
Lvgl Theme Support basic only all themes
Custom .zi V5 font yes (latin1) yes (latin1)
FontAwesome Icons 1300+ 1300+
PNG images no tbd

Cloning

Make sure to add the --recursive parameter when cloning the project. Otherwise git will not download the required submodules in the /lib subdirectory.

git clone --recursive https://github.com/fvanroie/hasp-lvgl

If you already cloned hasp-lvgl without the submodules, you can fetch the submodules seperately using:

git submodule update --init --recursive

To build a defierent branch use:

git clone --recursive https://github.com/fvanroie/hasp-lvgl
cd hasp-lvgl
git checkout 0.1.0
git submodule update --init --recursive

Getting Started

Check out the wiki for how-to's, information and frequently asked questions.