That should work. Two approaches I can think of: maybe try a different microSD card, or if you have the ability to hook up a UART, try flashing the device directly with the Nextion editor.
Hmm, I tried with a different SD-card now, and no luck…
How does the UART-thingy work?
Edit:
I tried with 3 different Samsung Cards (One 16 gb evo, one 32 gb pro and one 8gb unspecified) with no luck. then I found an old Sandisk 2gb card, and it worked! so apparently not all SD card works…
Great news! I suspect it’s likely due to a disk format issue. FAT32 should work on disks up to 32GB per the documentation but the fact that it works with a smaller card suggests that the larger cards had been created with some incompatible filesystem.
Nonetheless I’m glad to hear you have it sorted. A UART is still handy to have around for development and it can make working with the Nextion editor easier if you elect to go down that path (totally optional!)
I will order a UART, but until the slow boat from China arrives I guess I can use a regular Arduino Uno as the USB-TTL.
I got things up and running so that I can see the Wifi and MQTT connected on the screen, and I can turn on/off the screen via HA. So I guess now I need to upload the HMI to the screen to get some graphics.
The HMI is the “source code” for the Nextion display, while the TFT (that you’ve already deployed) is the compiled version of that code. The graphics you see in the screenshot from myself and others are already in that TFT, so I’d think your next steps is figuring out how to use Hass automations to send the appropriate Nextion commands to send text and commands to and from the panel.
If you do want to add your own graphics for a more sophisticated interface, you can use the Nextion editor to create the interface, compile to TFT, then use your 2GB SD card to deploy.
I thought I saw somewhere in this thread a recommendation as to materials to use to get a nice 3d printed faceplate, but I can’t find that now.
So in short what is the best material, and what other printing recommendations?
Thanks.
EDIT never mind, what I was looking for is on the github 3d model page. Sorry for the noise.
I don’t suppose you could post a pic of the completed protoboard pretty please? Never built on it before.
Sure!
edit: I should note the Red/Green/Black wires on there are for the microwave RADAR thing I was testing out. The solder traces are all I needed for the protoboard itself, which is just running AC from the wire-to-board connector to the PSU, and DC from the PSU to the MCU.
Many thanks. My screens arrived today. Excitement builds…
Would just like to thank @luma for all of the hard work that has gone into this, i came across this project by accident, and instantly ordered a screen to play with, which arrived 2 days ago, and now works brilliantly.
From my measurements, i should just be able to fit this in a UK style square faceplate
I’ve modified it all a little so that i can use multiple pages depending on what page im currently on, so i start off on page 1 for the home screen and go to page 2 for lighting, where i can switch to page 3 for lighting page 2, or to page 4 for dimmer control, i can also then switch to page 6 for socket control, and possibly who knows what else in the future.
(Only one light being controlled at the moment, as this will eventually be going into my new house, so all under test at the moment)
I’ve updated the demo automations and configuration.yaml
to rename input_slider
to input_number
in response to breaking changes in release 0.55.
I have a problem with new input_number component, never used it before (even when it was an input_slider). I supose, that it should display slider or a box (depending on the configuration) in the frontend. My input number’s doesn’t allow me to input any value, is that an expected behavior?
AFor testing purposes, i have set an initial value 1 on HASP Active Page. And it works, but still, no possibility to change values from frontend
I ran into this the other day but it only occurs if I use the community made HA app for windows, Linux, and Mac. For some reason the sliders do not show in that app. But if I go to the frontend in a web browser, everything displays fine and I am able to move the sliders. How are you viewing the HA frontend and what app or browser are you using?
EDIT: I just tested using Chrome and the issue appears there as well. The sliders work in Safari and Firefox and in the iOS app though.
Really looking forward to any info you can share about your success to fit into a UK/EU square plate…
Are you planning to print a plate? Or you have some other plan?
I would LOVE to be able to get something fitting into a double euro module (= 50mm square) like the one below, but from a quick check I did I found no screen is a good match.
You should be able to find rectangle double module in EU. I’m from Poland and I was also looking for a way to fit it into a standard holder, and found some suitable in local stores (vertical and horizontal ones), look:
The only difference is that (what my measurements say) you will need a 3,2 inch Nextion screen (instead of 2,8 one) and recompile the TFT file from the repo. But that is an easy task, I managed to recompile tft file for 3,5 inch Nextion screen (i have one of these), and it took me about an hour.
Due to the breaking change, you may want to clarify on the git hub repo and in the documentation this will only work on HA v0.55 and higher.
I’m using Chrome on Windows. But I get exact the same behavior on my mobile Chrome. Strange…
yeah I just tested it on chrome on windows. It’s the only browser that has issues with it.
Got it! Try if it works in Incognito mode (it works for me), probably there is some cache (on desktop and mobile app) which prevents you from displaying component properly. If that works, that mean you need to clear cache. To force a cache clean, do as below:
- Open your hass frontend,
- Open developer options (F12)
- Press and hold left button on “refresh button” page"
- Select third option (clear cache and reload)