Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106189

Design Concept and Feasibility with HA, ESP32, ADS1115 and DS18B20

$
0
0

Hi Guys,

Just starting to research Home Assistant and it is looking at being a good pick for a project I’m going to shift from Arduino IDE and Blynk. Before I embark on the journy it would be great if someone to confirm what I need it to do will work or if its outside of what Home Assistant is designed to do.

Currently I have an ESP32 dev kit wroom espressif board on a PCB that does the following;

  1. Monitor battery voltages through 2x ADS1115 ADCs that run of I2C.
    This is done through a voltage divider circuit to work out each battery pack (7 in series) voltage in series. Reading the ADS1115 units is done every 10 seconds. I then use some code to work out the highest and lowest battery pack in series and the difference between.

  2. Have several DS18B20 units that running of digital pins for temperature monitor and logic control of other systems on ESP32 is managing.
    For example, if temperature = more than 40c, then shutdown resistor 1 on GPIO PIN X and turn on FAN on GPIO Y.

  3. I have several SSR (solid state resistors) each on there own GPIO pin. These are design to engage/disenage based on a defined high level voltage readings for the battery packs that are in series which then disipates voltage as heat through resistors so the battery packs are top balanced.
    This also ties into temperature readings of the heat sinks, so if heat of X is reach, turn on FAN1 or FAN2 and if heat XX is reached turn of the SSRs to protect the system from over heating.

With the above, is this possible throug using the ESP8266 plugin/Home addon in Home Assistance?

The other part to this is that if the Home Assistant Broker (server?) is offline or wifi/internet is down the system must still run, monitoring temps, fans and SSRs to protect its self. Is this possible with HA or does it always need a connection to the Broker?

The system will be programmed with a default safe set of values, for example if temp is 30c, turn fan on. But I would like the ability to change the 30c fan start option through slide bars, which looks possible in my research. Just important that this runs if HA is offline/wifi and/or internet also.

Last question is, can the HA broker be at another site, seperate wifi/internet connections? DNS/routing/port forwarding would all need to be sorted which isnt a big deal. But wondering if it is supported easily enough?

Thanks heaps in advance!

Cheers,

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>