I’m looking for advice on setting up kiosks for a smart home.

I’d like to have 2-3 touch screens setup to control devices from.

I’ve decided on the following:

  • preferably plug in devices/screens (with no battery)
  • e-ink screens would be preferable but not a must
  • cost is a factor

Anyone had success in setting up something similar?

  • FoxAlive@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 days ago

    I don’t have a real screen but I just updated my esp8266 to a xiao esp32c6 for my home assistant box. I wanted zigbe and matter access but half the things I wanted to interact with are proprietary, so I need a new hub and to rebuy a few things.

    Just use esp home its stupid easy don’t really have to do anything besides point it at your pin outs and label them. You can probably buy everything you want and add on more stuff. The largest cost will be a eink display probably starting at 50usd for a tiny one, you can get esp boards in 5 packs for maybe 10 USD. But I recommend xiao just because I recently bought from them and am blown away with what feels like a premium board compared to the older ones I have. They all kind of have their own use cases and quirks, I wanted the c5 for better WiFi but the c6 came in a 3 pack for much cheaper.

    I use a 16x2 LCD display you get in starter kits made for kids and just simple buttons and splurged on a decent temp sensor. Its also controls a led strip under the counter that used to be controlled with a remote but I hated using the remote. Just be careful you pretty much need a separate power source for that and to make sure the pins don’t get fried by 5v. I’ll stay awake at night thinking over if I wired it correctly even though I know I did so it feels weird trusting that because I’m an idiot.

    I plan on buying a 5 pack of 1 inch oled screens and upgrading it, I just have so many other little things to buy on my list I haven’t gotten back around to finishing it.

    Edit* you can also just use an old android phone the home assistant apk has a setting for it. You can also buy a pi or use a old computer, but esphome is cheaper, gives you more flexibility, and is smaller so you can design and make a smaller product and choose if you want to power it via USB or just directly wire it into something. The Xiao’s I got have battery terminals and handle charging very slowly so ive been excited to try that out.

    • oneser@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      Thanks for the comment! I did not have ESP32 on my radar at all until now.

      I’m seeing a lot of AI slop articles on the HA forums, can you recommend any resources on the protocol, it’s control and anything to watch out for?

      • FoxAlive@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        1 day ago

        What I did was flash my esp on the esp home website. You might have to give your USB permission and use a chromium based browser for the web installer to see it. Once its flashed you download esphome builder and that’s where you actually make your esp home script.

        You can use the templets on the side, or download a templet and then you lable what pins do what and what’s on each pin. Esphome handles the rest, its not like working with arudino ide where you need the resources for each sensor, and the right board selected.

        I know its shameful but wire up your screen, sensors and whatever else like buttons to it, and tell google ai to generates you a script, I promise it will work. Its really low stakes, everything is a templet anyways. Just make sure to note what screen/sensor/model it is.

        Then all you have to do is add your ssid and password and you have it up and going, should be really easy to find in home assistant and you can then flash it over air which is nice.

        I havent gotten into what making a proper home assistant graphical display looks like so I can’t help you there. But making it display text values to the 16x2 display is just pointing it at home assistant values and referencing the services you have in there.

        You can also add automations inside of home assistant that chain or work with your esp home so you get a lot of flexibility in what your stuff does. One of the pages on me 16x2 display acts as a message board, where you can change the text input in home assistwnt and it will send a little message to the display, or on garbage day it sends a notification to the display and then switches to that screen page instead of time/date page it defaults to.

      • FoxAlive@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        It kind of depends on which manufacturer you go with, each esp kind of has its own quirks and features. Some pins you can only use in high/low mode to avoid turning on some other feature or changing boot functions. Some of the olderboards pins have very specific usecases.

        So I’m not sure where to point you honestly. I would start with the official documentation that the manufacturers provide you.

        I also think you mistake me for someone that knows what I am doing. I want to express how simple esp home is. You can just download or use the temples in esp home builder and its literally just filling out text boxes. I’m not a read the documentation guy, my spelling and reading comprehension are horrible. I’ll follow guides off YouTube and throw errors at google and try to find a video/post about it or get googles ai to summarize it if I can’t access the site like reddit.

        But like I said there are quirks for each model which you should read. My esp8266 wouldn’t boot properly if I had something in one of the pins. Some boards have specific pin outs, the xiao I have can turn any pin into anything, analog, pwm, etc. Boards have high and low states on the pins which have some secret functionality. My espc6 I can adjust the antenna range by changing the high/low state of one of the pins. Its weird stuff like that you really want to look over the manufacturers docs for.

        • oneser@lemmy.zipOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          20 hours ago

          Really appreciate both responses, thank you and have a great day! :)

          • FoxAlive@lemmy.zip
            link
            fedilink
            English
            arrow-up
            2
            ·
            20 hours ago

            No problem. It would of been one response but I miss understood what you where asking for, figured it was useful information still and left it up.