HASwitchPlate Versions Save

LCD touchscreen for Home Automation

v0.40

4 years ago

HASP v0.40 release

New fonts, new pages, new automations, new models, and some core code improvements

Nextion HMI

This release marks the first major update the Nextion HMI used by the HASP project.

  • Proportional fonts - Noto Sans has been added in 6 different sizes and styles
  • Anti-aliased fonts - The existing Consolas and Wingdings fonts, as well as the new Noto Sans font are now all anti-aliased.
  • FontAwesome icons - All free FontAwesome icon codepoints have been added to the Noto Sans fonts in the project, allowing mixed used of text and icons anywhere text is allowed.
  • Removed page 9 with graph component - A poll of users suggested this wasn't being used and we gained a lot of RAM by removing it.
  • Added new page 9 with HVAC control demonstration
  • Added new page 10 with Ceiling Fan control demonstration
  • Added new page 11 with one large, blank button for future use
  • Removed QR code from page 0 - again, a memory saving feature. WiFi setup QR is now a static picture object.
  • Upgraded to Nextion firmware 1.60 - latest release as of this writing

Home Assistant Automations

Nearly too many to list but here are the major points:

  • Full compatibility with Lovelace UI
  • Color "theme" support with pull-down list of included themes
  • Interactive color select UI
  • Font select UI for page select buttons
  • Icons added to several pages
  • New automations for HVAC control
  • New automations for Ceiling Fan control
  • General compatibility and code cleanup

ESP8266 code v0.40

  • Improvement in WiFi performance and stability by disabling power save modes
  • Updates to better utilize new QR image and icon fonts
  • Add support for haptic or audio feedback device, thanks @benmprojects!
  • Add backlight reset button in web UI
  • Updated ESP8266 Arduino core to 2.6.3

Home Assistant Update Procedure

Run the deployhasp.sh script to pull down the updated automations using one of the guides below:

v0.39

4 years ago

HASP v0.39 release

Home Assistant Lovelace compatibility release

Home Assistant Automations

  • Remove "views" as they will be deprecated in 107
  • Fixed automations utilizing time_pattern to match documentation
  • Changed weather provider to NWS as Met.no is no longer allowed to be configured manually
  • Another MDI icon rename fix
  • Update deployhasp.sh with some fixes for newer Home Assistant installations
  • Added "migrate-hasp-107.sh" to automatically remove the "view" statements for compatibility w/ version 107
  • Added example Lovelace YAML to replace some of the functionality lost from "view"

Fix for Home Assistant v107

Home Assistant is finally removing the "States" UI which has some unique functionality not present in Lovelace. In order to keep your configuration compatible with the new release, you can execute migrate-hasp-107.sh from your Home Installation directory to clear out the offending statements in your existing installation.

sudo su -s /bin/bash homeassistant
cd ~/.homeassistant
bash <(wget -qO- -o /dev/null https://raw.githubusercontent.com/aderusha/HASwitchPlate/master/Home_Assistant/migrate-hasp-107.sh)

Home Assistant Update Procedure

Run the deployhasp.sh script to pull down the updated automations using one of the guides below:

v0.38

4 years ago

HASP v0.38 release

Stability and performance improvements

ESP8266 code v0.37

  • Updated ESP8266 Arduino core to 2.5.2, which comes more stability and performance improvements
  • Fix mDNS. Again.
  • Update ArduinoJSON to 6.x for easier builds, better performance, and lower memory utilization
  • Fixed issue with SoftwareSerial for debug messages

Home Assistant Automations

  • Fixed automations utilizing JSON messages to remove trailing null array element
  • Changed Page 9 (graph) color automations to only trigger when page is selected
  • Yay MDI icons changing names for no apparent reason. Fixed.
  • Added "default page" example automation, set a default page for HASP and it will switch back to that page after a set time

ESP8266 Update Procedure

If you're using the AutoFirmwareUpdate automation your devices should pull this update at 3:00am. Otherwise, log into the admin web page and you can pull the update from the firmware page.

Home Assistant Update Procedure

Run the deployhasp.sh script to pull down the updated automations using one of the guides below:

v0.37

5 years ago

HASP 0.37 release

Stability and performance improvements

ESP8266 code v0.37

  • Updated ESP8266 Arduino core to 2.5.0, which comes will a whole truckload of stability and performance improvements
  • Major improvements for LCD firmware updates to improve reliability and update speed
  • Re-enable mDNS services with LEA MDNSResponder
  • Improve user experience when MQTT client cannot connect to broker

Home Assistant Automations

  • Updated JSON sensor to new format after changes in 0.85

ESP8266 Update Procedure

If you're using the AutoFirmwareUpdate automation your devices should pull this update at 3:00am. Otherwise, log into the admin web page and you can pull the update from the firmware page.

Home Assistant Update Procedure

Run the deployhasp.sh script to pull down the updated automations using one of the guides below: