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

Hello @arasco85

Can you please share your files when you get it running on the 3.5 inch ? I have the same screen as you the enhanced version.

Thanks.

Ok, Just wanted to follow up. So i never received the payload to label the buttons. That’s fine. I made “lights” button out of an image so that wasn’t needed. I also added to buttons per page. One button calls for the next page and the other calls for previous page. Then i went into the scenes package and changed the button to toggle and entered the entity that i wanted to toggle. This works. I now have the enhanced 3.5 running and removes some work from mqtt. This is awesome.

sounds great :slight_smile: so what did you change in your esp8266?

No changes there. I just uploaded the bin. Once the esp loaded you connect to a serial monitor. This will show you the password for the hasp network. once connected the serial monitor will tell you what ip its assigned. Go to that ip and setup your mqtt settings.

I thought in your post above you mentioned that you made changes to the buttons etc I mean on the Nextion editor?

Correct. I just named the buttons on the Nextion with Nextion Editor rather than the MQTT payload. Wont be able to rename the buttons without pulling the switch and reuploading the sd with changes but thats fine for now.

1 Like

hey @luma

I get this error when I try and add a picture. Can you please help?

Error:Page:p10 Fail:p0.pic InputVal Invalid:Invalid Pic ID
Error:Compile failed! 1 Errors, 0 Warnings,

Before using a picture in your HMI you need to add it to your project. You can do that to the left there (see the red arrow below). Once you add a picture, it will be given a number ID. There are no pictures in your project, so it’s complaining about an ID that doesn’t (yet) exist.

I added a pic like you said but it still throws the same error.

Screenshot?

I suppose I have to click on pic at the bottom right in the attributes section and add the picture?

The first picture you upload is assigned id 0. To the right, you’re referencing id 1, which doesn’t exist. Change 1 to a 0 and you should be all set!

1 Like

Yes, You have to select the picture through the green pic box on the bottom right. It will pull up your pics and you select it.

1 Like

hi @luma i have been playing with different sizes of nextion and this youtube video led me to some one showing cctv camera as part of the display , do you think this can be achieved with HA Switchplate

thankyou

Technically kind of yes but it’s not what you’re thinking when watching that video. The Nextion Intelligent series supports video, but that video has to be cooked into the HMI at compile time. It’s not a video stream he’s showing, that was recorded and then flashed to the device.

The challenge here is the serial interface isn’t really going to allow for anything like realtime video, it’s just way too slow for video use. We’d have to replatform to an entirely different display solution to make something like that work.

@luma thank you great explanation i was also thinking of same image compiling ,

but as you said kind of yes , can we send a image being stored in hass from camera stream to plates every 5 seconds or so ?

Possible? Yes, but crazy slow. Like wait while the image slooowwwlllyy is drawn line-by-line kinda slow. Not really practical for normal use.

What kind of screws you are using to connect the front and back part of the desktop model of the enclosure? https://github.com/aderusha/HASwitchPlate/tree/master/3D_Printable_Models

The Bill of Materials lists out all the stuff you’ll need for a complete unit. You’re looking for four 20mm M2 flathead screws.