I started it out knowing not much about the esp family 8266, 32 not long ago. In less than 2 months I have gotten it!!!!! Sure it is confusing at the beginning but once figured out it is fascinating and quite easy. The coding complexity had been taken care by esp home and home assistant side. Without those there is NO way any of this is possible. It is very fun, rewarding and useful to learn this IOT thing and thanks to the Chinese these super cheap ESP"S make IOT a reality. I had background in electronics and computer and repair electromechanical so learning new things is a breeze (well not quite at the beginning). Just to show anyone the power of this IOT thing these are what I had made so far and planning next. I am in solar power and storage big time too: These type of projects are useful to many people NOT just me. 1/ well pump on/off switch with self off timer 2 remote shed power on/off switch with humidity/temp. 3/ bms monitor and control on/off power, charging, discharging, battery cells voltage, etc... Next build are: 1/ garage door controller 2/ soil moisture and garden water timer 3/ multiple cell voltages monitor for lithium battery I built for car 4/ gas sensor for alcohol breath level dectection 5/ gas sensor for co2, methane, smoke, etc... 6/ bluetooth proxy 7/ solar panel cells monitor 8/ bluetooth bms monitor 9/ I am sure there are more when i think of some!!!!!! esp32 costs just a bit more but way more powerful, has bluetooth, better security and many more pins to play with so I am migrating all of my projects toward it. Surprisingly all of these projects can be done extremely cheaply with available modules all over from Aliexpress, Ebay, Amazon. I do not build nonsense project. All my built must be useful and I use the heck out of them. What i like best is I can control and monitor all of these projects remotely anywhere in the world. Read that again if that is important to you. An ability to control and monitor anywhere in the world as if i were at home is amazing and valuable to me. Now 99% of the population won't do this because they can't or won't pass the learning curve as it does required learning and thinking and putting effort to pass the initial stage but man when you can pass that the world of IOT is fascinating fun and exciting. Well worth the effort to learn most definitely. Thanks to many people such as this Utuber to teach and show . Thumb up for you
All you need is an mq135 for the fart detection and a relay to turn on the fan, then just right some basic code with an id statement, if(fartDetected) turn on the fan 😂
I was hoping you would show some relative humidity comparison results between sensors. I have a DHT11 and a DHT22 running side by side a few inches from 2 different mechanical humidity sensors. The DHT's are always pretty close to eachother (within 2 points) but the mechanical sensors read about 10 and 15 points higher, respectively.
Esphome is awesome. If you set your product and version, it will set the vendor info in HA. So if you make your own PCB with all these sensors on a single board, then make a custom flash firmware for esphome, then it can get all the info and show the vendor bnb inc. Lol. But you can make a PCBthst you just solder these modules on,or you build your own circuitry and solder the sensors into your custom.
Nice...didn't know about SHTC3 which is an upgraded version of DHT22 which is what I have so will have to get some. Debating if I should move my HA from ProxMox over to one of my Odroid C2 boards so it's dedicated and easy access to the USB connection to the ESP devices. I know it can be done on ProxMox but can be tricky at times.
Dear friend, thanks for your videos. I have a Sai/ups inside a cabinet with two fans. I have always used fans with constant power and without pwm only 12v. After seeing your previous project I have implemented the use of pwm with noctua + esp32 + home assistant + aqara temperature sensor fans. I use a power supply 12v for the fans and another power supply 5v for the esp32. I had to join both "gnd" for the pwm to work correctly. I have observed a small error. If while the fans are spinning I unplug the ESP32, the fans are set to maximum speed. If I plug the esp32 back in, the esp32 does not start, it goes into protection mode (perhaps because it receives a pwm signal from the fans and cannot start, maybe usin only a power supply de problem is solved). I use an Aqara temperature sensor while I don't receive the new temperature sensors for the ESP32. The update frequency of the aqara is 5 minutes, that's why I don't have a stable temperature. I share here my home assistant automation that autoregulates the speed of the fans around 25 degrees, it is not works very well done because for it to work at 25 degrees I have to set a target_temp of 23.5° but the automation works. Let's see if someone could improve this automation. alias: fan temperature with pwm trigger: - platform: time_pattern minutes: /1 action: - service: fan.set_percentage data_template: entity_id: fan_control_esp32_pwm_test percentage: >- {% set temperature = states('sensor.sai_temperature') | float %} {% set base_speed = 10 %} {% set max_speed = 55 %} {% set target_temp = 23.5 %} {% set diff = temperature - target_temp %} {% set speed_increase = ((diff / 5) * (max_speed - base_speed)) | round(0) %} {% set new_speed = (base_speed + speed_increase) if diff > 0 else base_speed %} {{ new_speed | int }} Thanks , best regards.
I currently have a homee run smart home which I am very unhappy with, because my remotes keep losing connection and there aren't any other remotes I could use. I already ordered a new raspi and a zigbee stick and am going to make esp32 run remotes with as many buttons as I can manage to connect.
Hey mate. That was an amazing video. want to use temp sensor in one Esp32 board and when temp go bewond a limit, it will send a data to another esp 32 board which is connect to same wifi to bling a LED. Which ESP32 models should i use? cheers
BTW, I did try your fan tutorial. ESP32 fan switch did not turn off the fan. When switch was off, fan was at ~700rpm, with switch on at max, fan was at 1000rpm. How did you manage to get fan switch to turn off fan when others needed to include relay?
I have been pleased with the power watchdog 30 hardwired version. I also like the android app. In addition, if you like home assistant there is a open source integration. Not endorsed by Hughes. But it is a nice addition to automate your IOT on wheels.
Great video! How do you solve the "Duplicate Key"? I cant write "sensor" or "-Platform" twice in the yaml, then it says duplicate Key " sensor" on the last line. Any ideas?
Does someone have a project yet with every sensor that their is to make like an all in one deck for detecting things? I'm talking this, ultra sonic, depth, heat, radio, light, GPS, IR, ultraviolet, anything else I'm not thinking of (blaster and camera version when applicable) with a 5 or 7 inch display with different visual ways to see the info. Id pay someone for something like that.
I started it out knowing not much about the esp family 8266, 32 not long ago. In less than 2 months I have gotten it!!!!! Sure it is confusing at the beginning but once figured out it is fascinating and quite easy. The coding complexity had been taken care by esp home and home assistant side. Without those there is NO way any of this is possible. It is very fun, rewarding and useful to learn this IOT thing and thanks to the Chinese these super cheap ESP"S make IOT a reality. I had background in electronics and computer and repair electromechanical so learning new things is a breeze (well not quite at the beginning).
Just to show anyone the power of this IOT thing these are what I had made so far and planning next. I am in solar power and storage big time too: These type of projects are useful to many people NOT just me.
1/ well pump on/off switch with self off timer
2 remote shed power on/off switch with humidity/temp.
3/ bms monitor and control on/off power, charging, discharging, battery cells voltage, etc...
Next build are:
1/ garage door controller
2/ soil moisture and garden water timer
3/ multiple cell voltages monitor for lithium battery I built for car
4/ gas sensor for alcohol breath level dectection
5/ gas sensor for co2, methane, smoke, etc...
6/ bluetooth proxy
7/ solar panel cells monitor
8/ bluetooth bms monitor
9/ I am sure there are more when i think of some!!!!!!
esp32 costs just a bit more but way more powerful, has bluetooth, better security and many more pins to play with so I am migrating all of my projects toward it.
Surprisingly all of these projects can be done extremely cheaply with available modules all over from Aliexpress, Ebay, Amazon.
I do not build nonsense project. All my built must be useful and I use the heck out of them. What i like best is I can control and monitor all of these projects remotely anywhere in the world. Read that again if that is important to you. An ability to control and monitor anywhere in the world as if i were at home is amazing and valuable to me.
Now 99% of the population won't do this because they can't or won't pass the learning curve as it does required learning and thinking and putting effort to pass the initial stage but man when you can pass that the world of IOT is fascinating fun and exciting. Well worth the effort to learn most definitely.
Thanks to many people such as this Utuber to teach and show . Thumb up for you
Salute to the people who wrote the ESPHome software. Good video!
I just want the fan to turn on when someone farts
All you need is an mq135 for the fart detection and a relay to turn on the fan, then just right some basic code with an id statement, if(fartDetected) turn on the fan 😂
Your comment just made my day hahahahahahaha
Pro version is changing the light color depending on strength
Very useful, I’m planning on making some ESP32 T&H sensors
I was hoping you would show some relative humidity comparison results between sensors. I have a DHT11 and a DHT22 running side by side a few inches from 2 different mechanical humidity sensors. The DHT's are always pretty close to eachother (within 2 points) but the mechanical sensors read about 10 and 15 points higher, respectively.
Esphome is awesome. If you set your product and version, it will set the vendor info in HA. So if you make your own PCB with all these sensors on a single board, then make a custom flash firmware for esphome, then it can get all the info and show the vendor bnb inc. Lol. But you can make a PCBthst you just solder these modules on,or you build your own circuitry and solder the sensors into your custom.
Clear and easy to follow!
Nice...didn't know about SHTC3 which is an upgraded version of DHT22 which is what I have so will have to get some. Debating if I should move my HA from ProxMox over to one of my Odroid C2 boards so it's dedicated and easy access to the USB connection to the ESP devices. I know it can be done on ProxMox but can be tricky at times.
Hi, do you have a link where you automated your kitchen over the stove fan/light hood. That’s my next project.
How did you know to connect it to pins 22 and 33?
Wow and honest evergreen video. Trying to use this for work Jason?
Yeah
huh?
Can we use two sensors with SCL and SDA with a single esp, because it does not work like that
Dear friend, thanks for your videos.
I have a Sai/ups inside a cabinet with two fans. I have always used fans with constant power and without pwm only 12v. After seeing your previous project I have implemented the use of pwm with noctua + esp32 + home assistant + aqara temperature sensor fans. I use a power supply 12v for the fans and another power supply 5v for the esp32. I had to join both "gnd" for the pwm to work correctly.
I have observed a small error. If while the fans are spinning I unplug the ESP32, the fans are set to maximum speed. If I plug the esp32 back in, the esp32 does not start, it goes into protection mode (perhaps because it receives a pwm signal from the fans and cannot start, maybe usin only a power supply de problem is solved).
I use an Aqara temperature sensor while I don't receive the new temperature sensors for the ESP32.
The update frequency of the aqara is 5 minutes, that's why I don't have a stable temperature. I share here my home assistant automation that autoregulates the speed of the fans around 25 degrees, it is not works very well done because for it to work at 25 degrees I have to set a target_temp of 23.5° but the automation works. Let's see if someone could improve this automation.
alias: fan temperature with pwm
trigger:
- platform: time_pattern
minutes: /1
action:
- service: fan.set_percentage
data_template:
entity_id: fan_control_esp32_pwm_test
percentage: >-
{% set temperature = states('sensor.sai_temperature') |
float %} {% set base_speed = 10 %} {% set max_speed = 55 %} {% set
target_temp = 23.5 %}
{% set diff = temperature - target_temp %} {% set speed_increase =
((diff / 5) * (max_speed - base_speed)) | round(0) %} {% set new_speed =
(base_speed + speed_increase) if diff > 0 else base_speed %}
{{ new_speed | int }}
Thanks , best regards.
I currently have a homee run smart home which I am very unhappy with, because my remotes keep losing connection and there aren't any other remotes I could use. I already ordered a new raspi and a zigbee stick and am going to make esp32 run remotes with as many buttons as I can manage to connect.
Hey mate. That was an amazing video. want to use temp sensor in one Esp32 board and when temp go bewond a limit, it will send a data to another esp 32 board which is connect to same wifi to bling a LED. Which ESP32 models should i use? cheers
Hi, I'm try to find a way to connect 5 bme280 on the same esp32 for Home Assistant (so with i2c protocol)... Do you know any way to do that?
How many sensors can 1 esp32 monitor?
BTW, I did try your fan tutorial. ESP32 fan switch did not turn off the fan. When switch was off, fan was at ~700rpm, with switch on at max, fan was at 1000rpm. How did you manage to get fan switch to turn off fan when others needed to include relay?
I have been pleased with the power watchdog 30 hardwired version. I also like the android app. In addition, if you like home assistant there is a open source integration. Not endorsed by Hughes. But it is a nice addition to automate your IOT on wheels.
Great video!
How do you solve the "Duplicate Key"?
I cant write "sensor" or "-Platform" twice in the yaml, then it says duplicate Key " sensor" on the last line.
Any ideas?
I'm having the same problem. It's not as simple a copying codes if you have multiple sensrs because it won't allow twice. Maybe someone can help.
did your test 3 years ago :)
bro where is the code?
Does someone have a project yet with every sensor that their is to make like an all in one deck for detecting things?
I'm talking this, ultra sonic, depth, heat, radio, light, GPS, IR, ultraviolet, anything else I'm not thinking of (blaster and camera version when applicable) with a 5 or 7 inch display with different visual ways to see the info.
Id pay someone for something like that.
can anyone please help me if I am doing this with the same temperature sensor in the video but instead with a XIAO ESP32 S3?
Please continue to make tutorials.
oddly enough, I am here for the fart sensor...
aliexpress these sensors are a lot cheaper if you can wait a month for shipping
Thanks for this, I'm used to programming arduino,java and c but YAML from esphome and home assistant is confusing to me😅
V good
🎉🎉🎉🎉
First
First. nate sucks