this post was submitted on 20 Sep 2023
30 points (100.0% liked)
homeassistant
12025 readers
77 users here now
Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Isn't the Nextion an ESP32 display? The list of devices in the readme doesn't mention Nextion.
Well, I'll let you know how it goes. I don't have access to a Windows computer, and I haven't had a need to install Wine in over a decade, but that's what I'll have to resort to if Nextion is mandatory. I came across a post where Nextion outright said they'd given up on a cross-platform solution.
It's a little confusing. Nextion makes "HMI displays". It's an integrated module that runs its own software, draws the UI, processes events, etc. It's a black box that just reports back to the processor "button 3 on page 1 has been pressed". You design the interface with that ugly Windows app and upload it to the display, but there is no direct access to the screen.
To make use of the Nextion display, you need something connected to it, and that's where the ESP32 comes in. It receives those "button 3 pressed" events and handles them, but crucially, it does not have raw access to the screen, so you can't just draw your own widgets on it like you'd be able to do on an ordinary display.
There are other projects to build your own controller with a touch screen and a microcontroller; the appeal of the NSPanel is that it's basically an ESP32 and a Nextion display conveniently prebuilt, has decent hardware and aesthetics, and it isn't hard to reflash it with ESPHome. Replacing the Sonoff firmware on the ESP32 doesn't change the limitations of the Nextion display.
Yeah, there's obviously a learning curve here in store for me. Thank you for explaining it - that makes sense.
It means, though, that I'm stuck trying to get this thing running under Wine, which I read is possible. The post I found says you can even forward the serial port for flashing.
They're such attractive devices, with nice form factors, it may be worth the effort. Funnily, the flashing doesn't throw me off as much as running that editor.
Anyhoo, thanks again.