Do you have any resources on how to set up something like that?
Ooooh do you have the code up somewhere for this? I would love to set it up at home :)
If you have Home Assistant, someone built code for that: https://community.home-assistant.io/t/circadian-light-with-p...
As for mine, it's a total hack job, but for what it's worth: https://gist.github.com/fpgaminer/7840a6f2fb2d3a3be83625d7ac...
I don't do the fancy minute by minute adjustments to the color temperature; just a couple fixed settings for time of day and based on when the sun sets. And I just have it adjust a scene, which I have my Hue switches configured to use when I turn the lights on.
There's no good way to have this system work with, for example, turning on the lights through Alexa/Siri/etc since they won't use the Circadian scene that's been setup. But what I've got works well enough for now.
https://github.com/beaugunderson/sleep-lights/blob/master/sl...
We have neighbors that smoke, and sometimes based upon wind patterns it blows into our yard. Any idea if they have sensors that can pick up this sort of thing so I can close our windows?
I have some code to read from this, it's not too hard. PM me if you're interested in my code. (I can open source it.)
[1] "CO2Meter RAD-0301 Mini CO2 Monitor" on Amazon, $70
You are posting here, so at least internet access you should have :)
EDIT: What about a magic mirror? https://forum.magicmirror.builders/
I also considered a magic mirror, but my problem with a magic mirror is that I don't have the tools necessary to build my own frame.
What software are you running? I have been using Dietpi for almost all my projects. Plex comes native( as an option to install) and a bunch of other software.
Normally you need a laptop or something hooked into it over USB to feed it your G code, or do manual control. But I didn't want my laptop in the shop getting dusty while the CNC runs, and I also didn't want to risk the cheap CNC failing and throwing a voltage spike into my laptop.
So I opted to use the RasPi. Also makes it nice to have a web interface, and you can add lots of stuff to it (e.g. camera).
(Sainsmart sells an offline controller attachment, which allows manual control with buttons and feeding gcode off an sd card. But the RasPi is only a little more money and you get the web interface, etc)
P.S. I should tack on the usual warning about hooking up a life threatening device like a CNC to the network. I use an SSH tunnel to keep mine secure, instead of exposing CNCjs directly.
Do you even need a RPI for this? Some of these seem overengineered.
Oh for sure. Normally I'd throw the Hue automation software on my home server, but it's busy with other stuff.
Other than that, for the other stuff I listed, I would have said the same a few years ago and opted for ESPs, Arduinos, STM32s, or some other "lightweight" solutions. But the Pi has gotten to this nice sweet spot now that they've got WiFi built-in and most of the rough edges are gone. They can do almost everything the other solutions can do, and for the things they can't you can buy HATs that fill in the gaps. So it's just nice to have one big, universal hammer that I can pull out for my crazy projects.
Most importantly, I don't like wasting time any more, and I'm willing to spend a couple tens of bucks on RasPis that might be overkill, rather than save X dollars making the best, slimmest, most engineered solution around the perfect STM32 chip.
What's the unifi controller?
The RasPi itself is so cheap I think a lot of people cheap out on the power supply and such, which ends up giving them lots of problems.
Anyway, given the poor reviews I've seen on the Cloud Key regarding hardware failures, especially on the newer versions, I just went with a Pi. But yeah, if someone has a machine on their network already, that's a great option too. I just wish Ubiquiti would release an official Docker image.
EDIT: I'm not necessarily arguing that people use RasPis for UniFi controllers, or that you personally should. I just thought your comment was a good opportunity to discuss RasPi reliability, because I know a lot of people have trouble with that.
Long-term, my plan is to mod some flavor of computer PSU and get properly regulated 5V out of it.
Also, I'm one of those people who runs a UniFi controller on a Pi. I used Docker, it's been totally fine for my uses.
I've got:
* A Zero W hooked up to a PM2.5 to do air quality monitoring in the house. Just bought a couple more sensors for it (VOC, eCO2, etc), but haven't hooked them up yet.
* A 3B+ running the UniFi controller for my home network.
* One is running a custom Hue automation I built to shift the color temperature of the lights throughout the day.
* One is built into an internet connected dog treat dispenser I built as a gift.
* A rather dusty Pi is running CNCjs so I can have a decent interface to my cheap grbl CNC.
* And finally I have a Pi running OctoPrint for my 3D printer.
And that's just the ones currently running. I've got two more in progress. One to automate an exhaust fan based on inside and outside temperatures. Another is destined for the garage where it will replace the not-so-great MyQ "smart" functionality of the garage door opener.
To each their own I suppose, but I've been consuming RasPis like candy. $60 all-in gets you a fairly beefy platform with almost all the I/O you could require and a vast ecosystem of software and HATs. Honestly their only downside is that at some point I'll have to reconfigure my home network when I start exhausting my current internal /24 with 200 RasPis.