My Smart Wifi Sound Level and Noise Detector

  Рет қаралды 20,937

MrDIY

MrDIY

Күн бұрын

Пікірлер
@valebaronetto1688
@valebaronetto1688 Жыл бұрын
This in an amazing idea! Could you share the actual code? Thank you very much!
@JustinLondagin
@JustinLondagin Жыл бұрын
How sensitive is the microphone? The KY-037/038 boards do not work for normal sound monitoring. Will this pick up the sound of a shower running in the bathroom?
@clintAdventures
@clintAdventures 3 жыл бұрын
love it. how do you get the notifications on the tv? what intergration and/or hassio yaml code?
@MrDIYca
@MrDIYca 3 жыл бұрын
I am using an app called 'Notifications'. It is available for Android TV and FireTV (www.home-assistant.io/integrations/nfandroidtv ) and here is my YAML: service: notify.toshiba_tv data: message: Please lower the volume title: Alert data: color: red duration: 5 position: bottom-right
@clintAdventures
@clintAdventures 3 жыл бұрын
@@MrDIYca thank you.
@JavierGarcia-td8ut
@JavierGarcia-td8ut Жыл бұрын
I am trying to do something similar, but only I need the meassured decibels on home assitant. But when I connect the Max4466 to ADC GPIO34 I get inconsitant values... So can you share this part of the code? How to transform the raw data from MAX4466 to dB?
@ayo52
@ayo52 Жыл бұрын
Can we measure decibels??
@MadsALarsen
@MadsALarsen 2 жыл бұрын
Hey, i cant get it to connect to mqtt, im sure its the right credetials so i don´t know why 😞if i check with mqtt explore nothing is comming out ??
@arun.sekher
@arun.sekher 6 ай бұрын
Voice-over Erratum: You mentioned the human hearing frequency range as 2 Hz to 20 KHz, but the onscreen description displays the accurate values.
@feedefranke97
@feedefranke97 Жыл бұрын
Great project but i cant open the .bin, any advice?
@ataasgari
@ataasgari 10 ай бұрын
Is the source code available? I want to add some features (reboot, change update rate and sensitivity to the config page) and few other sensors to it.
@najma242
@najma242 Жыл бұрын
Is it possible to make sound/noise specific sensors/detectors?
@mikepi
@mikepi 3 жыл бұрын
Hello MrDIY, thank you very much for this project. I am experiencing network disconnections frequently. Is there a way to increase connection attempts or implement a security reset without having the code? Thank you PD: I have another mcu in the same place and it is always connected
@deejayfree
@deejayfree 2 жыл бұрын
Hi mr diy. is there a solution to add your project as a sensor in home assistant? I tried via the config.yaml, it didn't work. I can read the topic via the mqtt utility of homeassistant
@aitor6906
@aitor6906 2 жыл бұрын
Great project. Did you manage to get the IR led working?
@gnospanker
@gnospanker 2 жыл бұрын
Great project! I have it up and running, static IP assigned, MQTT confitured, but how do I add it to Home Assistant? Is there an integration I need to add?
@MrDIYca
@MrDIYca 2 жыл бұрын
Thanks. No special integration just a plain MQTT sensor to get the noise levels.
@gnospanker
@gnospanker 2 жыл бұрын
@@MrDIYca Ok great! I'm using the default 1883 port for MQTT in Home Assistant. Would I input 192.168.1.x:1883 for the server or does this assume port 1883? I can't seem to get it to work either way.
@MrDIYca
@MrDIYca 2 жыл бұрын
1883 is assumed. The IP is enough: 192.168.1.x
@martin-nn5qt
@martin-nn5qt 2 жыл бұрын
hi all setup but mqtt will not work if i set a username and password is there any way to rectify this . thanks martin
@liv-in-sky
@liv-in-sky 3 жыл бұрын
thanx for sharing this - Is it possible to add a port number for the mqtt server ? I have to use port 1506
@MrDIYca
@MrDIYca 3 жыл бұрын
Unfortunately not
@Veluska
@Veluska Жыл бұрын
i had problems with many water pump located outdoor, which is sometimes not running because the bearing was broken, before the bearing jamm, it will produce noise very loud, and someday it will be jamm the pum question is : can you make sensor for listening the noise, (low powered /solar panel -because in outdoor) and if the noise is too loud, it will sending data and warning us to repair the bearing
@MrDIYca
@MrDIYca Жыл бұрын
you might want to look into vibration sensors
@Veluska
@Veluska Жыл бұрын
@@MrDIYca the vibration sensor does not have analog, i don't know another vibration sensor that support hard n soft vibration
@Veluska
@Veluska Жыл бұрын
the condition, if bearing pump is almost broken because it get water or loose, it will sound very noisy. if i heard that noisy,i usually change it before it stuck. the problem is, it's located in many area,so it is good if we can monitore using sensor
@喆戴
@喆戴 2 жыл бұрын
Is it because the MQTT of homeassistant is updated? Why can't the firmware send mqtt data?
@MrDIYca
@MrDIYca 2 жыл бұрын
Sorry, I don't understand the question. The firmware does send MQTT data on audio level changes.
@jacksonmin2058
@jacksonmin2058 3 жыл бұрын
What pins did you use? What connections? I was actually just looking for something like this!
@MrDIYca
@MrDIYca 3 жыл бұрын
The analog pin, Power-Power and Gnd-Gnd.
@jacksonmin2058
@jacksonmin2058 2 жыл бұрын
@@MrDIYca another basic question, but how do I actually use the bin file? I was expecting an esphome config file and I'm not quite sure how this interfaces?
@jakel4788
@jakel4788 2 жыл бұрын
@@jacksonmin2058 you would need to flash the custom bin onto your esp device with a flashing tool. Some examples that have worked for me are tasmotizer (with the custom bin) and the Texas Instruments flashing tool. If you are comfortable with the command line then you can use esptool, which is excellent!
@rkmusic_murcia
@rkmusic_murcia Жыл бұрын
@@MrDIYca Hi i connected power from mic to wemos - > vcc to 3v -> gnd to gnd -> out to A0, i powered the wemos with usb, but i dont have sound readings... thanks
@yerocfreq
@yerocfreq 3 жыл бұрын
This is great! The bin file link is broken tho.
@MrDIYca
@MrDIYca 3 жыл бұрын
try now
@yerocfreq
@yerocfreq 3 жыл бұрын
@@MrDIYca it’s working now, thanks!
@himsfact7038
@himsfact7038 2 жыл бұрын
Where buy this product
@MrDIYca
@MrDIYca 2 жыл бұрын
No, they are DIY devices :)
@whirlpoolvalley
@whirlpoolvalley 3 жыл бұрын
All I want to do with these is just to send data to HA and show live dB ratings, is it possible?
@MrDIYca
@MrDIYca 3 жыл бұрын
I don't see why you can't. Definitely doable.
@cinematropic
@cinematropic 9 ай бұрын
The link of your code is broken. I am suscribed of your channel
@CS7-_-
@CS7-_- 2 жыл бұрын
@MrDiY Thanks for the project. How could we convert levels into db values? I know it should be possible with an extra sensor but without knowing the basis of how you calculated %levels it would be an impossible job for me :(
@MrDIYca
@MrDIYca 2 жыл бұрын
I know it possible but it will need more calculations and calibrations. Levels are simply the plain old analog readings from the mic - sent as is.
@CS7-_-
@CS7-_- 2 жыл бұрын
@@MrDIYca OK then I need to find another solution. Thanks anyway. Decibel is what I need 😁
@claudeliber7644
@claudeliber7644 Жыл бұрын
Hi ! Really great stuff you offer us. And it's allow me to discover ESP8266 and open me plenty ideas for my HA. I still got some trouble.. I got error on MQTT : 2023-01-27 15:26:26: New connection from 192.168.30.136:63210 on port 1883. error: received null username or password for unpwd check 2023-01-27 15:26:26: Client disconnected, not authorised. and yes there is a username and password in the setup console, same standard HA user that I use for Zigbee2MQTT. Any clue to gives me to help me find what I am doing wrong ? Thx
@claudeliber7644
@claudeliber7644 Жыл бұрын
Too bad, was really great but no way to get MQTT working. Moving to direct home assistant with analog input. Need to work a bit more on filter to get average value but will do the trick I think.
@MrDIYca
@MrDIYca Жыл бұрын
You found a bug. It turns out I do collect and save the MQTT username and password but never pass them when doing auth. I will try to post a new bin files with the fix in the future. You can still use it with MQTT servers that don't require auth tho.
@MrDIYca
@MrDIYca Жыл бұрын
did a quick fix but haven't tested it - here it is if you want to give it a try gitlab.com/MrDIYca/code-samples/-/blob/master/mrdiy_audio_levels_meter_mqtt_fix_untested.bin
@claudeliber7644
@claudeliber7644 Жыл бұрын
​@@MrDIYca Thanks a lot ! This is really great. Tested and working. I got it directly in MQTT explorer. It do not create automticallly the sensor in Home Assistant, I have to check why but no time right now. But I would like to do you a first feedback as you took time to look into my problem and fix it.
@claudeliber7644
@claudeliber7644 Жыл бұрын
Just added manually the sensor mqtt: sensor: - name: "audio_bureau" state_topic: "audio/bureau" unit_of_measurement: "%" unique_id: "audio_bureau" And added a Jauge card. Perfect And now can do all automation I want ! Thanks again for this great code and for sharing and supporting
@tazginpax
@tazginpax 2 жыл бұрын
That is an awsome idea. I was thinking about somthing similar to get notification when smoke detectors beep and i am not home. would you mind sharing the actual code, so i may compile myself? TIA
@MrDIYca
@MrDIYca 2 жыл бұрын
Yes, I usually make the source code available immediately to my members/patrons but I eventually publicly release it.
@ahb
@ahb Жыл бұрын
@@MrDIYca I don't see the code available to subscribers. Where can we find it?
@MrDIYca
@MrDIYca Жыл бұрын
@@ahb Hi Alex, sorry that was not uploaded - I just added it here - kzbin.infoUgkxhDSC00g-zfNG1MQulb7M5mT3ZX8BZvny ( and thank you for supporting the channel!!)
@cinematropic
@cinematropic 9 ай бұрын
hello, Thank you for creating this very useful project. I am using direct line input without stopping through the microphone, that is, connected to direct line audio. I need to adjust the calibration values and I would need, if you were willing, to share the source code to recompile a version according to my needs. Thank you so much
@MrDIYca
@MrDIYca 9 ай бұрын
Yes, the source code link is included in the description, but it's currently accessible only to all my KZbin members. I plan to make it available to everyone in the future.
@cinematropic
@cinematropic 9 ай бұрын
@@MrDIYca I follow him on his channel and the link is still broken
I tried the Cheapest Arduino Alternative (that Nobody heard of)
13:31
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 82 МЛН
Do you love Blackpink?🖤🩷
00:23
Karina
Рет қаралды 23 МЛН
Farmer narrowly escapes tiger attack
00:20
CTV News
Рет қаралды 13 МЛН
I put this in EVERY room! Smart room detection 😲
5:13
Reed's Smart Home
Рет қаралды 367 М.
Wifi Audio Notifier using ESP8266: Play MP3, TTS & RTTL
5:20
Smartphone vs. Real Meters for Sound and Light Measurement?
12:12
Every Apartment needs this Upgrade! (WhatsApp/Telegram Notifications)
10:05
Make your Doorbell Smart using ESP8266
4:48
MrDIY
Рет қаралды 52 М.
WLED Sound Reactive - Complete Setup Tutorial
11:03
Chris Maher
Рет қаралды 247 М.
Building My Perfect Smart Home Presence Detection Sensor!
14:06
Everything Smart Home
Рет қаралды 191 М.
ESP32 Audio Input Using I2S and Internal ADC
10:43
atomic14
Рет қаралды 133 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 82 МЛН