HA SwitchPlate HASPone: DIY In-Wall Touchscreen Home Assistant Controller

Cut the headers, one at a time. Heat one pin at a time and use needle-nose pliers to pull the pin from the hole. After the pins are all out of the board, use a solder-sucker to clean the hole. Solder wick will do the final clean out.

Got it out, but seems something got damaged, either when I was trying earlier with the heatgun or when I was prying out the headers or it been part of the issue from before. Either wy, doesn’t matter where I am now.
But what I can confirm is that it was definitely a hardware issue with the ESP. I got the new ESP, flashed it with my arduino FW and it works. I was able to see it, it is connected to my Wi-Fi and I can access the portal.

The rest of the hardware is shot though. The LED switch doesn’t work anymore, I grounded the GND signal to make sure the LCD works, so the NPN is not working.

Then ultimate test, plugged it into the wall, and no power, so the AC-DC is not working. Surprisingly, I have one.

I think I will just order a new PCB (in addition to the fully assembled I got yesterday). I need 3 of them total, so this one I will salvage for parts for a new blank PCB, and the rest should be ok.

Thanks again @stevemann for the help.

If the display still works, then you can easily make a DC-powered HASP device. I have two here that don’t have the line voltage PSU. No PCB needed, just a case (there is a desktop case stl file on the git). I use this one to experiment with different blueprints. This is all you need:

ok, it’s alive. Got the transistors, ESP8266mini, and printed the 3D desktop items.
Gotta love Amazon overnight.

I have a working unit now. So after all, it was a hardware issue with the original ESP. With the new one, the AP works, the Arduino code I made works, all as it’s supposed to work.
Other than wasting a few days trying to get to the bottom of it, the result is great!

I did however order a fully assembled unit, and a blank PCB. I need to end up putting them in the wall with AC, so clean is better than my hack job.
Thanks again @stevemann for going through the journey.

HASPone 1.06 release

Firmware Changes

  • Address breaking changes in Home Assistant around MQTT discovery
  • Press and hold the touchscreen for 10 seconds to reboot
  • Fix update process breaking due to changes in how GitHub handles SSL certs
  • Update core libraries and platform modules

LCD Changes

  • Compiled with Nextion 1.63.3

Blueprint Changes

  • Address breaking changes in Home Assistant around MQTT discovery
  • Add defaults to filters to address breaking changes
  • Update weather forecast blueprint and add a new forecast blueprint to address breaking changes
  • Fix bug in page 2 page select button colors

Other updates

  • New front models including 4" wall junction box
  • Add base ESPhome configuration for use with HASPone hardware. Blueprints will not work with this, but if you want to leverage ESPhome with the HASPone hardware project, this will get you started with all hardware functionality available.

Updating

Auto updates from 1.05 probably won’t work as GitHub changed how SSL certs were being handled a while back which prevents the existing firmware from being able to access the update. You’ll have to manually download the bin file and upload through the web interface on this one.

Additionally, the breaking changes in MQTT discovery may mean you need to re-deploy the Core Functionality blueprint for each device. I haven’t had to do so in my environment, but others have run into problems where deploying Core again resolved the issue.

If that doesn’t fly, try this process to make sure that discovery is working like it should.

Wow, hmm. Guess if it ain’t broke don’t touch it.

I have not updated the plate since I got it a few years ago, but this update seems to have broken the system. It won’t take it’s wifi config after the update. The unit boots and leaves me at the QR code screen, and I am able to connect to it’s 192.168.4.1 IP and try to configure the wifi.

But it won’t take and never connects, and the QR code never goes away. I’ve tried hard rebooting it a couple times but it’s just hosed for now.

I’m trying to find an older binary to revert to since it lets me update the firmware via the web UI.

Hmm… does anyone have a copy of an older binary? This only has this one that’s broken for me.

OK, whew! I had an older one already on my computer that worked and the plate came back to where it was before I started this stuff. I’m going to leave it at this version since it’s working for me:

HASPone FW Version: 1.05

Just info. Went to do a manual update from 1.05 to 1.06 and found all three of my HASPone devices had updated automatically to 1.06.
LCD FW Version states: 3

I’ve updated the list of links to legacy firmware versions so you can access those here.

HA no longer will accept with the discovery messages sent out by 1.05, so if you have an existing unit already discovered by HA and the retained MQTT messages it sent are retained, then everything will still work. If you rename the plate, or if anything happens such that your broker drops retained messages, you’ll likely be forced into 1.06 (or later).

Some things which might help with your WiFi setup:

  • Do a full factory reset on the device
  • Do the WiFi setup from another device. I’ve found my Windows desktop will not always get the full setup web page for some reason, but accessing it from a Pixel phone does.

@luma Thanks for the tips - I’ll give those a try some time. I’ll let 1.06 bake a bit and see how it works for others and try again. Appreciate the info and links to older f/w binaries!

I was able to update to 1.06, and was wondering if I need to update the LCD at all?
Also, how do I go about updating all the blueprints I have, and add the new ones released? Any easy way to go about it?

No LCD update this time around, I try to keep that at a minimum as the LCD update process can be dicey. Blueprints you can simply re-import as HA will now finally prompt to overwrite the old version.

1 Like

Temperature has not updated for three weeks on all three of my Haspone’s.
I have tried three different sources. Pirate, Home, and Accuweather.
Anyone else seeing this?

No problems here. Have you looked at Developers Tools Entities to see that the sources are in fact reporting the temperature?

So I did an architecture change today when I moved my HA from my Pi4 to an x86 mini PC, which is running much faster than the Pi4.

Everything seemed to go well, but some point hours later the HASPone plate showed a message saying it’s IP address on my local network, and the MQTT server IP.

I thought something was stuck, so I went ahead and tried to upgrade to 1.06 again. But no matter what I did after the upgrade I could not get the panel to connect to my wifi. It always had the local wifi link, which worked, and I could connect to 192.168.4.1 like usual, but whenever I tried to configure wifi it just sat there and didn’t do anything. I could then reconnect to the local AP and do the same thing again, but I dunno, it just didn’t work for me.

So I was able to downgrade back to 1.05 just like I did on this thread before, and things started working again for me. I guess this is the one panel that doesn’t like 1.06 unfortunately.

Hi! HASPone it is possible to configure to activate the wakeworld function in HA

Hi.
is it possible to use the Clock for smaller Buttons?
I want to use the Clock on P9 B12
and have someone the inverted hmi file, s i can modify the Pages?