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

@luma After my solder disaster which you will remember without posting the pictures again, I fixed the problem. It was not the soldering on the Nextion, but soldering on the Wemos. After (re)connecting multiple times, the soldering connections of the D7 broke.

Just connected a new Wemos with proper soldered headers, and the Nextion is working both with the connector as with the soldered wires. The new Nextion which I bought because I thought the previous Nextion was broken is also working, of course.

Thanks again :slight_smile:

(A white USB cable will be better of course :wink: )

9 Likes

Nice!! Love how it turned out.

Looks great! May I ask what did you use for the power supply?

I suspect that USB cable is the power supply.

1 Like

oh, that makes sense.
Is it connected to D1 mini or to separately soldered USB port?

@dziugasp USB is connected to the Wemos.

Having troubles getting into my admin web interface… It asks for login (username & password)… But I can’t remember it, is there a default one I should try? Or where can I find it?

/

There is no default password, so if a password is set you’re going to need to reset the device in order to get back into the admin interface. You can do this by reflashing + clearing the EEPROM if you still have the device connected via USB.

Otherwise, if you have it connected to MQTT you can send an MQTT command that will reset the device to factory default. hasp/plate01/command/factoryreset (substitute plate01 with your device name) with any payload will tell the device to wipe all settings and reboot. You’ll need to run the initial wifi and MQTT configuration on the panel again after a reset, but the home assistant configuration won’t need changing.

that was easy :slight_smile: Worked like a charm! Thanks!

1 Like

@luma Hi, This is an awesome project. I have just built it and it works great. Has anyone got this working with YET another take on an alarm system so I can arm and disarm with multiple codes? (YET another take on an alarm system).

I managed to get this working. Your examples were a great help. The other question I have is it possible to add a speaker to beep when the keys are pressed., audible notification.

There are a handful of GPIO pins broken out to a header on the PCB to allow experimenting with just that sort of thing! Which… as I write this gives me an idea. Maybe MQTT commands to control the GPIOs?

I sent a commit on github. have a look.

What screen is that? This is the best version I’ve seen so far.

Nextion Enhanced NX4832K035 - Generic 3.5’’ HMI Touch Display

This display has much more memory, therefore the smooth fonts are made in Photoshop. Not much of the original arduino code had been changed. However, I changed a lot of HA part (declarations, automations, etc). Even there are mostly pictures (not text) it is easy configurable for different controls (I mean names of buttons and etc).
I don’t really like the implementation of the OTA update of the display, but I hope I’ll have a time to fix it.

1 Like

Nextion v0.58 editor released!

https://nextion.itead.cc/nextion-editor-ver-0-58

As before with the beta releases, the existing HASP HMI file won’t compile on this new version. I’ll be working through solutions here, but based on the poll I posted earlier this year it’ll likely be dropping the graph page and adding a thermostat-like page.

This little note on the release page is a bit concerning:

— If your HMI project was developed via 0.53 or prior version Nextion Editor, we recommend you to use the LTS version for project maintenance as the latest 0.58 version is not fully compatible with your exsisting source code and GUI desgin.

The notes also mention new fonts. Seems like they caved to people using the editor who felt it was greedy of them to charge for something like anti-aliased fonts.

do you mind sharing the way you done it? i.e. codes, parts, etc I am a noob and only started looking into this. thanks

Yeah, the new firmware has less free RAM which impacts the HASP project directly. We knew this was coming a while back so now I need to dig into the HMI and figure out how to migrate HASP into the new environment. I had been holding off due to the lack of a publically-available english-language Nextion editor, but now that excuse has dried up so time to get to work I suppose.

2 Likes

If you find an Electrician who is willing to certify these in Aus, let me know. Insurance will be a bugger if we do the “illegal” DIY approach and there is an issue. :wink:

I like the desk version of the case running with a USB PSU though. Definitely going to order parts to build that.