537
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 22 Aug 2023
537 points (98.4% liked)
Asklemmy
44196 readers
1191 users here now
A loosely moderated place to ask open-ended questions
Search asklemmy ๐
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- !lemmy411@lemmy.ca: a community for finding communities
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
founded 5 years ago
MODERATORS
What kind of home automation?
I recently rolled my own environment sensing, from the ESP32 C code up to the web front end. I basically got it functional and have been using it daily.
That sounds awesome. What is the front end written in? I always struggle writing front end stuff.
I want to get there with ESP32 sensors but haven't had the motivation or energy to make it happen.
I have a few use cases in mind -- soil moisture sensors for the garden, temp monitoring for fridge/freezer, stuff like that.
But so far all my home automation / smart home / "dumb home on the internet" stuff has been off the shelf stuff... so pretty boring.
I struggle with frontend too, it was a super basic jinja templates with html and a plotly js applet that I just fed data to. Its ugly but functional.
I Started to re-write the server in Go, I have like 90% feature parity with postgres instead of mongo, but I need to figure out vue when I have a chance to make something a little nicer. I have an old obsolete ipad with a bunch of touch deadzones I'd like to load up in kiosk mode for a nicer data display.
I really liked the ESP32 ecosystem. I figured out the ESP-idf and really liked the build system and freeRTOS. The examples given are really exhaustive and super useful. I basically did format strings into static HTML headers to send the data to the server since it only has like 3-4 readings.
Interfacing with any common hobbyist sensor is mostly a matter of finding a basic C driver and adapting it for the ESP build system.