theyosh / TerrariumPI

Home automated terrarium/aquarium or other enclosed environment with a Raspberry Pi
https://terrarium.theyosh.nl
GNU General Public License v3.0
407 stars 98 forks source link

[FEATURE]: Single ESP32 board with all sensors included #733

Open vimes1984 opened 2 years ago

vimes1984 commented 2 years ago

Is your feature request related to a problem? Please describe. Currently to run multiple enclosures on terrarium PI it requires either individual off the shelf sensors of differing types or wiring directly into the Raspberry PI.

Describe the solution you'd like Building a esp32 WIFI enabled breakout board, that will accept a collection of sensors and offer a json endpoint with tasmota so we can have one sensor array per terrarium.

Additional context We've started the basic design here, and added got a basic breadboarded prototype working with Tasmota... You can see the basic wiring diagram here: ESP32_Board_bb

As we work through this from breadboard to breakout ESP32 board we'll keep that repo updated with more details.! Just thought we'd let you know @theyosh :)

theyosh commented 2 years ago

Hi @vimes1984

This is cool. I am currently playing with a ESP8266 ( https://components101.com/development-boards/nodemcu-esp8266-pinout-features-and-datasheet ) and Micropython to read out some senors and provide a JSON endpoint.

My experience with the ESP8266 is that there is not much memory to run everything. And that a ESP32 is a bit stronger.

But this is very cool to make. And makes is more easier to add more sensors on difficult to reach locations.

vimes1984 commented 2 years ago

Have you looked into tasmota yet? I'm pretty sure it'll work out the esp 8266's and it'll do the JSON output for you out of the box:) getting this esp32 wired up with UVB/temp/temp+humidity only took a day or two of futzing on the esp32's

theyosh commented 2 years ago

He, I like to program myself :P

vimes1984 commented 2 years ago

Fair enough!!

On Thu 18 Aug 2022, 13:45 TheYOSH, @.***> wrote:

He, I like to program myself :P

— Reply to this email directly, view it on GitHub https://github.com/theyosh/TerrariumPI/issues/733#issuecomment-1219448385, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR6EMICFRHKYJHSXWJHPVTVZYV45ANCNFSM564RTWRA . You are receiving this because you were mentioned.Message ID: @.***>

theyosh commented 1 year ago

But I can confirm using Tasmota works way better :P And it is that easy to do.

Based on Tasmota, adding a sensor would go through https://theyosh.github.io/TerrariumPI/hardware/sensor/remote-sensor/ and using the following url: http://[TasmotaIP]/cm?cmnd=Status%200#StatusSNS/DS18B20-2/Temperature

Where the part of -2 is the second DS18B20 sensor.

STGMavrick commented 2 weeks ago

Following! This seems great!