{"id":29377930,"url":"https://github.com/ctrlaltjon/unifidreammachine","last_synced_at":"2026-04-20T05:01:45.993Z","repository":{"id":302132870,"uuid":"1011364722","full_name":"CtrlAltJon/UnifiDreamMachine","owner":"CtrlAltJon","description":"Script to run in the console Unifi Dream Machine","archived":false,"fork":false,"pushed_at":"2025-12-21T09:50:20.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-23T02:28:32.833Z","etag":null,"topics":["bash","bash-script","dream-machine","sensors","shell","shell-script","status","system","system-status","temperature","ubiquiti","unifi","unifi-controller"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CtrlAltJon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-30T17:45:30.000Z","updated_at":"2025-12-21T09:50:24.000Z","dependencies_parsed_at":"2025-06-30T19:23:20.235Z","dependency_job_id":"cbf666af-bce1-4cb1-9631-79bb7d29c82a","html_url":"https://github.com/CtrlAltJon/UnifiDreamMachine","commit_stats":null,"previous_names":["ctrlaltjon/unifidreammachine"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CtrlAltJon/UnifiDreamMachine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CtrlAltJon%2FUnifiDreamMachine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CtrlAltJon%2FUnifiDreamMachine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CtrlAltJon%2FUnifiDreamMachine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CtrlAltJon%2FUnifiDreamMachine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CtrlAltJon","download_url":"https://codeload.github.com/CtrlAltJon/UnifiDreamMachine/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CtrlAltJon%2FUnifiDreamMachine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32033717,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","bash-script","dream-machine","sensors","shell","shell-script","status","system","system-status","temperature","ubiquiti","unifi","unifi-controller"],"created_at":"2025-07-10T00:09:39.000Z","updated_at":"2026-04-20T05:01:45.984Z","avatar_url":"https://github.com/CtrlAltJon.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DMSE_status.sh\n\nBash script to collect system status information from a UniFi Dream Machine and send a formatted status message to a Telegram channel using a bot.\u003cbr\u003e\nTested on Dream Machine Special Edition.\n\n## Features\n\n- Collects system, CPU, memory, disk, and hardware information\n- Formats the status message for Telegram using MarkdownV2\n- Sends notifications to a specified Telegram chat/channel\n- Supports silent notifications\n\n## Usage\n\n1. **Configure the script:**\n   - Set your Telegram bot token and chat ID in the variables section:\n     ```bash\n     BOT_TOKEN=\"your_bot_token\"\n     CHAT_ID=\"your_chat_id\"\n     ```\n   - Update the `IPfile` variable to point to your public IP saved in a file, if you have it.\n\n2. **Make the script executable:**\n   ```bash\n   chmod +x DMSE_status.sh\n   ```\n\n3. **Run the script:**\n   ```bash\n   ./DMSE_status.sh\n   ```\n\n## Requirements\n\n- Bash shell\n- Utilities: `awk`, `grep`, `df`, `free`, `sensors`, `hddtemp`, `ubnt-device-info`, `ubnt-systool`, `curl`\n- A Telegram bot and chat/channel\n\n## Example Output\n\nThe script sends a message like this to your Telegram channel:\n\n```\n*DMSE - System Status* ℹ️\nup 1 weeks, 1 day, 1 hour, 45 minutes\n\n💻 HARDWARE\nMB Temp................... 45°C\nCPU Temp.................. 60°C\nFAN Speed............. 1200 RPM\n\n📄 SOFTWARE\nFirmware................ 1.10.0\nMAC.......... AA:BB:CC:DD:EE:FF\nIP..................... 1.2.3.4\nRAM................. 512M/1024M\nCPU Load.................... 5%\nLoad Avg1................. 0.10\nLoad Avg5................. 0.15\nLoad Avg15................ 0.20\n\n🌀 STORAGE - /dev/sda\nBrand.................. Samsung\nModel................... SSD850\nTemperature............... 35°C\nOS Partition....... 2G/8G - 25%\nData Partition..... 1G/4G - 20%\n```\n\n## Notes\n\n- Ensure all required utilities are installed and accessible in your environment.\n- The script is designed for UniFi Dream Machine but can be adapted for other systems.\n- For MarkdownV2 formatting, only escape the necessary characters as per [Telegram documentation](https://core.telegram.org/bots/api#markdownv2-style).\n- On every OS update, the packages need to be reinstalled and crontab entries need to be re-added manually (if any).\n\n## Contributing\n\nContributions, issues, and feature requests are welcome!  \nFeel free to [open an issue](https://github.com/CtrlAltJon/UnifiDreamMachine/issues) or submit a pull request.\n\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n\n## Author\n\nCtrlAltJon\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctrlaltjon%2Funifidreammachine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctrlaltjon%2Funifidreammachine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctrlaltjon%2Funifidreammachine/lists"}