Skip to content

Community-powered acoustic intelligence for everyone.

Notifications You must be signed in to change notification settings

silkyclouds/mute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

29 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

mute_text_logo

Community-powered acoustic intelligence for everyone.

Open Source Privacy-first Home Assistant ready Docker

Dashboard Website Discord


๐Ÿ”— Quick Links

๐Ÿ“Š Dashboard dash.muteq.eu โ€” Live noise monitoring & analytics
๐ŸŒ Website muteq.eu โ€” Learn more about MUTEq
๐Ÿ’ฌ Discord Join our community โ€” Get help & share your builds
๐Ÿ”ง Build Your Own DIY Guide โ€” Start building your Mute Box

๐ŸŽฏ What is mute?

mute is a lightweight USB noise monitoring client that connects your DIY Mute Box to the official MUTEq dashboard. It's the heart of the MUTEq acoustic intelligence platform.

Connect any supported USB sound meter to your Raspberry Pi or computer, run the mute client via Docker, and instantly get:

  • ๐Ÿ“ˆ Real-time noise level streaming to the cloud dashboard
  • ๐ŸŒค๏ธ Weather data correlation (temperature, humidity, conditions)
  • ๐Ÿ  Local Home Assistant integration via MQTT
  • ๐Ÿ“Š Advanced analytics, alerts, and reporting

โšก How It Works

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  ๐ŸŽค USB Sound   โ”‚ โ”€โ”€โ–ถ โ”‚  ๐Ÿณ mute client โ”‚ โ”€โ”€โ–ถ โ”‚  โ˜๏ธ  MUTEq      โ”‚ โ”€โ”€โ–ถ โ”‚  ๐Ÿ“Š Dashboard   โ”‚
โ”‚     Meter       โ”‚     โ”‚    (Docker)     โ”‚     โ”‚    Backend      โ”‚     โ”‚  dash.muteq.eu  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                โ”‚
                                โ”‚ (optional)
                                โ–ผ
                        โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                        โ”‚  ๐Ÿ“ก MQTT        โ”‚ โ”€โ”€โ–ถ โ”‚  ๐Ÿ  Home        โ”‚
                        โ”‚    Broker       โ”‚     โ”‚    Assistant    โ”‚
                        โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿš€ Quick Start (Docker)

The recommended way to run mute is via Docker. No API keys, no tokens, no manual device IDs!

Prerequisites

  1. โœ… A supported USB sound meter connected to your device
    โ†’ Search for "volume meter HY1361" on Aliexpress โ€” this model is tested and will be detected automatically by the mute script


    this is what you are looking for on Aliexpress

  2. โœ… Docker installed

  3. โœ… A config directory on your host (e.g., /home/pi/mute-config)

Step 1: Run the Container

docker run -d \
  --name mute-client \
  --restart=unless-stopped \
  --device /dev/bus/usb:/dev/bus/usb \
  -v /path/to/config:/config \
  meaning/mute-client:latest

โš ๏ธ Important: The -v /path/to/config:/config volume mount is required. This is where the client stores your device registration and onboarding state. Replace /path/to/config with a real path on your host (e.g., /home/pi/mute-config).

Step 2: Get the Onboarding URL

After starting the container, check the logs to find your unique onboarding link:

docker logs mute-client

You'll see something like:

๐Ÿ”— [SUCCESS] Onboarding URL: https://api.muteq.eu/claim/my-muteq-sensor-XXXX

Step 3: Complete Onboarding

  1. Click (or copy-paste) the onboarding URL into your browser
  2. Enter your address โ€” this is used to fetch local weather data
  3. Click "Complete Setup"

That's it! The backend will:

  • ๐Ÿ—บ๏ธ Geocode your address automatically
  • ๐Ÿ†” Assign your unique device ID
  • ๐Ÿ“ก Start receiving noise data from your Mute Box
  • ๐Ÿ“Š Show your device on the dashboard

๐Ÿ  Optional: Home Assistant Integration (MQTT)

If you want to integrate with Home Assistant, add the MQTT environment variables:

docker run -d \
  --name mute-client \
  --restart=unless-stopped \
  --device /dev/bus/usb:/dev/bus/usb \
  -v /path/to/config:/config \
  -e LOCAL_MQTT_ENABLED=true \
  -e LOCAL_MQTT_SERVER=192.168.1.100 \
  -e LOCAL_MQTT_PORT=1883 \
  -e LOCAL_MQTT_USER=mqtt-user \
  -e LOCAL_MQTT_PASS=mqtt-pass \
  -e LOCAL_MQTT_TLS=false \
  meaning/mute-client:latest

๐Ÿ’ก Note: MQTT is completely optional. Your Mute Box will work perfectly fine without it โ€” data always streams to the cloud dashboard.

Environment Variables (All Optional)

Variable Default Description
LOCAL_MQTT_ENABLED false Enable MQTT publishing for Home Assistant
LOCAL_MQTT_SERVER โ€” MQTT broker IP address
LOCAL_MQTT_PORT 1883 MQTT broker port
LOCAL_MQTT_USER โ€” MQTT username
LOCAL_MQTT_PASS โ€” MQTT password
LOCAL_MQTT_TLS false Enable TLS for MQTT connection

๐Ÿšซ No other configuration is needed. There are no API keys, no tokens, no manual device IDs. Everything is automatic.


๐Ÿ  Home Assistant Integration

mute supports MQTT auto-discovery for seamless Home Assistant integration. When MQTT is configured, your sensor will automatically appear in Home Assistant!

MQTT Topics

Topic Description
muteq/<device_id>/noise/realtime Current noise level in dB
muteq/<device_id>/noise/threshold Threshold alert events
muteq/<device_id>/availability Online/offline status

Example Home Assistant Automation

automation:
  - alias: "Alert when noise exceeds 85 dB"
    trigger:
      - platform: numeric_state
        entity_id: sensor.mute_box_noise_level
        above: 85
    action:
      - service: notify.mobile_app
        data:
          message: "โš ๏ธ Noise level is {{ states('sensor.mute_box_noise_level') }} dB!"

๐ŸŽค Supported USB Sound Meters

Vendor ID Product ID Description
0x16c0 0x05dc Van Ooijen Technische Informatica HID meters
0x1a86 0x7523 Generic USB volume meter (common in DIY builds)

Have a different USB sound meter? Open an Issue to request support! Please include the vendor/product IDs.


๐Ÿ“Š Dashboard Features

Everything you need to understand your acoustic environment at dash.muteq.eu:

Real-time Metrics

  • ๐Ÿ“ˆ Live SPL โ€” Sub-second updates
  • ๐Ÿ“Š Daily averages โ€” Background level tracking
  • ๐Ÿ”ด Peak detection โ€” Catch the loudest moments
  • ๐Ÿ“‰ Event counts โ€” Threshold violations

Advanced Analytics

  • ๐ŸŽฏ Quietness score โ€” Quality of life metric
  • ๐ŸŒค๏ธ Weather overlays โ€” Correlate with conditions
  • ๐Ÿ“ Sensor map โ€” Geographic visualization
  • ๐Ÿ“‹ Export reports โ€” PDF/CSV for evidence

Visualization

  • ๐Ÿ“Š Event timeline โ€” Spike charts
  • ๐Ÿฅง Noise distribution โ€” dB range breakdown
  • ๐Ÿ“ˆ Stack & quietness โ€” Stacked bar analysis
  • ๐Ÿ“‰ Statistical summary โ€” Median, std dev, peaks

For Municipalities

  • ๐Ÿ’ฐ Fine revenue calculator โ€” Estimate enforcement potential
  • ๐Ÿ“‹ Compliance reports โ€” Regulatory documentation
  • ๐Ÿ—บ๏ธ Multi-sensor networks โ€” City-wide deployment

๐ŸŽฏ Who Is It For?

๐Ÿ  Citizens

Monitor noise in your neighborhood. Document disturbances. Take back your peace.

๐Ÿ›๏ธ Municipalities

Deploy city-wide sensor networks. Make data-driven noise policies.

๐ŸŽ‰ Event Organizers

Stay compliant with noise limits. Real-time monitoring during events.

๐Ÿ‘ฎ Police & Enforcement

Evidence-based enforcement. Timestamped data for legal proceedings.

๐Ÿข Property Owners

Document noise issues for tenant disputes. Monitor construction.

๐Ÿ“‹ Acoustic Consultants

Professional-grade data at a fraction of the cost.


๐Ÿ”ง Build Your Own Mute Box

100% Open Source ยท Free Dashboard Access ยท Works Instantly

Building your own Mute Box is easy and affordable. All you need is:

  • A Raspberry Pi (or any Linux device)
  • A supported USB sound meter
  • Docker installed

๐Ÿ”’ Privacy First

๐Ÿšซ๐ŸŽค No Audio Recordings Only dB levels are captured. Never actual sound content.
๐Ÿ‘ค No Personal Data No PII collected. Anonymous by design.
๐Ÿ‡ช๐Ÿ‡บ GDPR Compliant Built in Europe with privacy at its core.
๐Ÿ” Local-first Option Use MQTT-only mode to keep data on your network.

๐Ÿค Contributing

We love contributions from the community! Here's how you can help:

  • ๐Ÿ› Report bugs โ€” Found an issue? Let us know!
  • ๐Ÿ’ก Suggest features โ€” Have an idea? We're all ears.
  • ๐ŸŽค Add USB devices โ€” Help us support more sound meters.
  • ๐Ÿ“– Improve docs โ€” Documentation PRs are always welcome.
  • ๐ŸŒ Translations โ€” Help make mute accessible worldwide.

๐Ÿ‘ค Author

Developed with โค๏ธ by Raphaรซl Vael


๐Ÿ“œ License

CC BY-NC 4.0

This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).

You are free to:

  • โœ… Share โ€” copy and redistribute the material
  • โœ… Adapt โ€” remix, transform, and build upon the material

Under the following terms:

  • ๐Ÿ“› Attribution โ€” You must give appropriate credit
  • ๐Ÿšซ NonCommercial โ€” Commercial use requires explicit approval from the author

๐Ÿ’ก Intellectual Property Notice: The MUTEq concept is registered with the Benelux Office for Intellectual Property (BOIP).


mute_text_logo

MUTEq โ€” Acoustic intelligence for everyone.

Open-source ยท Community-powered ยท Privacy-first

Dashboard โ€ข Website โ€ข Discord โ€ข

ยฉ 2024 Raphaรซl Vael ยท Licensed under CC BY-NC 4.0

About

Community-powered acoustic intelligence for everyone.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published