• 0 Posts
  • 22 Comments
Joined 1 year ago
cake
Cake day: July 12th, 2023

help-circle






  • 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.




  • I have one Kindle Fire using the Fully Kiosk Browser and a wall mount with a hidden power cord (https://a.co/d/05GVxVP). It uses the camera to turn on when you walk up to it. It’s ok, but I installed it 3 years ago and never really finished making a dashboard for it. In practice, we control the vast majority of stuff by voice with the Google/Nest Home integration, or switches. The big control panel thing doesn’t hold enough interest to even bother putting controls on it, and I mainly leave it showing air quality graphs.

    Of more practical use are smaller panels for area-specific uses. I mainly standardized on NSPanel, because I was experimenting with them and ended up with a bunch. Example: https://youtu.be/DBzg7v1Q5Zo. I have a short attention span and tend to stop when it’s 90% good enough. I also have in other places a DIY HA SwitchPlate, and HASPone on a Lanbon L8.


  • I suppose that’s true. Rereading my comment, it’s a bit over the top. If I pretend now I don’t know anything and start at http://home-assistant.io, it’s not that hard to scroll down, see the thing, and buy it. I don’t know exactly how I got so off-track when I tried. Probably I knew “a little too much”, as in the words “home assistant blue” in the back of my head, Googled for that and got distracted by “I need to understand why there are two boxes and one isn’t for sale anymore, so exactly what is the difference is between them?”.

    Coming back to that naive journey, though, I could see how someone could end up buying Green with no wireless dongle or Yellow with no CM4 (especially since you can’t get one).

    I still think that for the limited size of this ecosystem, choosing a box shouldn’t be confusing. I can now understand where it came from, though, once I realized that HA Yellow was designed around a Raspberry Pi board that became unobtainable, so they had to go with a different architecture.






  • I guess I didn’t understand what you were describing. When we moved in to our house, the previous owners had a deadbolt that locked with a key on the inside instead of a thumb turn, and it was the only way to lock the door. This is a pretty bad idea since it creates a potential situation where you’re stuck inside your house, or have to find another exit. In some emergencies, seconds count. Even if you know how to open the door, you might have someone over who doesn’t, which is why fire codes are the way they are. Someone unfamiliar with the setup, panicking, in the dark, in a room full of smoke, needs to be able to escape without solving a puzzle.

    Because I already had experience with having to replace that lock with an appropriate one for an exit door, I jumped straight to the assumption that when you said “lock on both sides”, you were talking about a key, and not just a childproof latch of some kind. I have the privilege of not living with anyone who is a flight risk, so it’s easy for me to just dismiss it as unsafe. I looked at some of the solutions out there and they seem to be designed to stop toddlers with no dexterity, not an autistic person determined to turn all the things. Sorry if my answer was unhelpful; people are injured or killed every day because they created a situation they didn’t realize was hazardous until it was too late. My intention was only to prevent the downsides of locking the door this way from being overlooked.





  • I’ve never been happier and more productive than when I was working in Perl. It’s a language that, at its apex, had a community of incredibly smart and creative people evolving it and its ecosystem. It’s a practical, powerful, multi-paradigm language that let me get work done with a minimum of fuss.

    Perl was a language that felt like an extension of my thoughts, like it was working with me and for me. Most other languages feel like I am working for the compiler rather than the other way around. Or at the very least, spending unnecessary effort satisfying some language designer’s personal pet peeve, which constantly takes me out of the flow of the job I’m trying to do.