frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Golang UniFi Network and Protect API CLI and Client

https://github.com/ClifHouck/unified
4•cliffy•1y ago
Ubiquiti recently added HTTPS REST APIs to their Network and Protect applications. While exploring what was available, I came across a pair of interesting endpoints that promised to stream Protect events like detections, motions, doorbell rings, etc. over a Websocket connection.

My UniFi doorbell works great, but I frequently miss the sound of the doorbell because the main chime is far from my workstation, plus I prefer to mostly silence my phone while I'm working. Physical UniFi Chimes are available, but are usually out of stock, and their price seems to keep going up! So my initial motivation was to write enough of a client to enable a doorbell application which would play a sound whenever a "ring" event was emitted by Protect's API.

A few dozen commits later, I found I had built a half decent client and CLI command utility for talking to the Network and Protect APIs. So I'm pleased to announce the initial v0.1.0 release of `unified`:

`unified` is a command line utility (and Golang client) for talking to UniFi Network and Protect APIs.

You can check out the code at: https://github.com/ClifHouck/unified

v0.1.0 supports the following:

UniFi Network API V1 is fully supported as of Network application version "9.1.120".

UniFi Protect API V1 is only partially supported, with the following endpoints supported:

- `/v1/meta/info`

- `/v1/subscribe/devices`: only partial type support.

- `/v1/subscribe/events`

- `/v1/cameras/`

- `/v1/cameras/{id}`

But I'm committed to working towards full Protect API V1 support.

I think there's a lot of potential for interesting uses of these APIs. Hopefully someone besides me finds this useful.

Disclaimer: This client is not in any way affiliated with Ubiquiti. I do not take any responsibility for any harm that may come to your device(s) by utilizing this client. Use at your own risk!

When will we have flying cars? (2022)

https://www.popsci.com/aviation/history-of-flying-cars/
1•gmays•1m ago•0 comments

Best Free GPU Cloud Options for AI Startups and Researchers

https://www.gmicloud.ai/ja/blog/best-free-gpu-cloud-options-for-ai-startups-and-researchers
1•peter_d_sherman•7m ago•0 comments

Alt Propulsion Is Now AltSci

https://www.altsci.net/
1•timventura•7m ago•0 comments

Google Fonts as a Protest Piece?

1•soundworlds•10m ago•0 comments

Ukraine targets "Russia's Google" as the internet becomes a new front line

https://www.cnn.com/2026/10/17/europe/russia-yandex-data-center-internet-ukraine-intl
1•cisc•12m ago•0 comments

Bluesky aware of a phishing attack that has compromised more than 4,500 accounts

https://bsky.app/profile/safety.bsky.app/post/3my3zch7j4225
1•rorylawless•15m ago•0 comments

August in Servo: CSS Grid, text selection, and more

https://servo.org/blog/2026/10/09/august-in-servo/
1•msub2•19m ago•0 comments

Woodworking Tools and Knowledge Tools

https://peterkaminski.ai/writing/woodworking/
1•cyb0rg0•21m ago•1 comments

OpenAI Saudi national bugging case shows threat to U.S. leadership in AI

https://www.cnbc.com/2026/10/16/ai-espionage-openai-jay-clayton.html
1•snarky-comments•21m ago•0 comments

A 1987 Shellsort variant is 3x faster than Shellsort when branch-free

https://github.com/utahisnotastate/utah_sort
1•utahisnotastate•26m ago•0 comments

Ninth Circuit Holds Copilot Creates New Code, Not Stripped Copies

https://www.fenwick.com/insights/publications/nothing-remove-ninth-circuit-holds-copilot-creates-...
2•ollien•29m ago•0 comments

Anthropic reports reducing recruitment of entry-level engineers

https://angadh.com/ai-and-jobs-1
1•angadh•30m ago•1 comments

BugShield Scout: 1,415 WordPress theme vulnerabilities

https://bugshield.co.uk/blog/wordpress-theme-vulnerabilities-bugshield-scout
1•wondersky•31m ago•0 comments

Mini organs launching to space may help future astronauts stay healthy

https://abcnews.com/Health/mini-organs-launching-space-future-astronauts-humans-earth/story?id=13...
1•gmays•36m ago•0 comments

Show HN: Moonrain – a free, offline sleep-sound mixer for iOS with no tracking

https://apps.apple.com/us/app/moonrain-sleep-sounds/id6789770084
1•gsl0001•40m ago•0 comments

Perhaps the most underappreciated engineer of the Industrial Revolution

https://twitter.com/andrewmccalip/status/2110977221347475675
2•delichon•50m ago•0 comments

Changing the Ratio

https://crackedegg.press/posts/changing-the-ratio/
1•CqtGLRGcukpy•51m ago•0 comments

Show HN: Cosplay as a tech lead, using gVisor to sandbox agents

https://github.com/SoftwareRenderer/MIKE
2•SftwareRenderer•52m ago•0 comments

Show HN: Env-tabs – Pin your projects in Claude Desktop's Code tab

https://github.com/ahmtsahin/claude-env-tabs
1•impala64•57m ago•0 comments

Citizen Science Groups Grapple with the Rise of A.I. Slop

https://www.nytimes.com/2026/10/16/science/citizen-science-ai-slop.html
1•lxm•58m ago•0 comments

Feel Like You're Overpaying for Hotels? Blame Expedia, a New Lawsuit Says

https://www.nytimes.com/2026/10/16/travel/expedia-lawsuit-hotel-prices.html
3•lxm•58m ago•1 comments

Control the Ideas, Not the Code

https://www.antirez.com/news/169
1•devtor•1h ago•1 comments

Dogs Seem to Agree with Humans That 'Bouba' Is Round and 'Kiki' Is Spiky

https://www.sciencealert.com/dogs-seem-to-agree-with-humans-that-bouba-is-round-and-kiki-is-spiky
3•gmays•1h ago•0 comments

What will AI do to our jobs and our wages? [video]

https://www.youtube.com/watch?v=kAkpzlR7io8
1•Wilsoniumite•1h ago•0 comments

Just Dashboard – Self Hosted. Deploy Apps / Databases. A Dashboardfor Everything

https://github.com/JustDashboard/Just-Dashboard
1•Wayy01•1h ago•0 comments

MariaDB Fork

https://mariadb.com/docs/server/reference/sql-statements/data-definition/alter/alter-server
1•lufxen•1h ago•1 comments

Bookfolio: Free Books for Learning and Joyful Reading

https://bookfolio.io/browse/free
1•zenull•1h ago•0 comments

Constructing Languages

https://frozenfractal.com/blog/2024/8/9/around-the-world-19-constructing-languages/
1•andsoitis•1h ago•0 comments

Zuckerberg's Meta Takes Down No Kings Instagram During Protest Day

https://meidasnews.com/news/zuckerbergs-meta-takes-down-no-kings-instagram-during-massive-protest...
288•DeepLogin•1h ago•141 comments

Major New Features in ES2027

https://front-end.tips/es2027-javascript-features/
3•khalidkhair•1h ago•0 comments