HA SwitchPlate - DIY LCD Touchscreen wall switch replacement


When it comes back up, try hitting the following URL to factory reset, substituting in your device’s real IP:


So the issue appears to be a connectivity problem. The laptop was working fine through the wifi but the HAswitchplate was not. I was about 20 feet away line of site with nothing in between. Right now I am about 10 feet away and it seems to be working fine.


I’m making a couple changes in the MQTT retry process which may help with both problems (not enough time to react, and WiFi dropping out). You should see the results in the next HASP release, thanks for bringing this up!


That good to know, though I think I figured out what was really going on in my case, just had not gotten back to post about it yet.

It turns out I somehow switched the hot and neutral wires around when connecting up for testing. The unit powered on and seemed to work so I didn’t think anything of it. But as I was playing around with it I kept seeing the signal drop out a lot, even right next the access point. So I decided to try moving somewhere else which involved un-wiring it from my test harness check. That is when I noticed I had wired it up wrong. As soon as I changed the wiring the the wifi started working as expected. Hopefully I didn’t damage any components.


HASP v0.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:

Links for more HASP info


Hi Michael,
Any chance you could share those STL files. I too also require it for an australian faceplate.



I am late to the party, but you can buy drill bits meant for plastic. Wood or Steel bits will often shatter your work.


I’m having an issue executing the:

bash <(wget -qO- -o /dev/null https://raw.githubusercontent.com/aderusha/HASwitchPlate/master/Home_Assistant/deployhasp.sh)

command. I receive an error indicating that the “o” option is not recognized:

wget: unrecognized option: o

Can anyone suggest what I may be doing wrong?


Can you paste the output from a wget --version somewhere?


I don’t seem to be able to use that command…

wget: unrecognized option: version

If I try to reinstall:

core-ssh:/config# apk add tar wget
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.8/main: temporary error (try again later)
WARNING: Ignoring APKINDEX.adfa7ceb.tar.gz: No such file or directory
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.8/community: temporary error (try again later)
WARNING: Ignoring APKINDEX.efaa1f73.tar.gz: No such file or directory
ERROR: unsatisfiable constraints:
tar (missing):
required by: world[tar]
wget (missing):
required by: world[wget]


Ahh I didn’t catch you were running hass.io. Alpine Linux has a CDN for their repositories, looks like it was down when you attempted that. There’s nothing for it other than to keep trying.


Thanks Luma, I got one of mine installed?




How you seen this


Anybody had problems after upgrading HA to .88?


I have tested the current 0.37 release against HA 0.88.2 with no problems.


mine stopped after upgrading to 88.1 last night and after rebooting it stays on the address connected mqtt connected screen. I have 2 and both are doing the same thing.


I upgraded the kitchen one to .37 and I have not upgraded the other one yet.


Ok luma, I got the kitchen going again. I triggered “First Time Setup” and it loaded default values and colors. I renamed my pages, assigned the page numbers and set my colors back and everything is back to normal. The other one is stuck on HASP Initializing… I’m ready to reflash the D1 mini as I cant pull it up on the web interface either. Will keep you posted. Oh, I also upgraded to HA 88.2 and .37 on the HASPs.



Did anyone figure out if this can be used with a Sonoff Basic. it already have the Wifi and 5V to supply the LCD.

I want to build a version for Danish wallsockets

Best Regards