this post was submitted on 20 Sep 2023
30 points (100.0% liked)
homeassistant
12107 readers
74 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
What a great video! I'm going to try it.
In your video, you mention the horrible Nextion Editor. That was a year and a half ago - have you tried GUIslice? I'm utterly unfamiliar with every component of this, but it seems to write the same TFT display driver needed by that hardware.
What I loved the most: when checking out the product on Amazon after watching your video (on NewPiped and over VPN, so low chance of tracking), was this beautiful recommendation:
I guess a lot of people are using it with non-SONOFF software. It absolutely restores my faith in humanity.
I haven’t seen that software, but it doesn’t look like it can be used with Nextion screens, which are totally proprietary.
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.