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!

Show HN: SpeechCompass – speaker direction for captioning group conversations

https://github.com/google-deepmind/speech-compass/
1•olwal•45s ago•0 comments

More U.S. Workers Testing Positive for Marijuana. Fewer Employers Are Concerned

https://www.wsj.com/health/healthcare/more-u-s-workers-are-testing-positive-for-marijuana-fewer-e...
1•bookofjoe•1m ago•1 comments

Lessons from designing MCP tools for AI agents

https://blog.spill.coffee/p/trust-the-harbor-pilot
1•spillcoffee•2m ago•0 comments

QuadRF can spot drones and see WiFi through my wall

https://www.jeffgeerling.com/blog/2026/quadrf-can-spot-drones-and-see-wifi-through-my-wall/
1•speckx•2m ago•0 comments

A Metallurgist's Doubts About Self-Replicating Probes

https://www.centauri-dreams.org/2026/07/10/a-metallurgists-doubts-about-self-replicating-probes/
1•JPLeRouzic•3m ago•0 comments

Ask HN: PIIA Carve Outs

1•nyrikki•4m ago•0 comments

Bluesky to require age verification identification in Texas

https://www.chron.com/culture/article/texas-bluesky-age-verification-22328414.php
1•miohtama•5m ago•0 comments

Building a Plugin System: Native Libraries vs. Scripting vs. WebAssembly

https://kerkour.com/rust-plugins
1•redcannon218•5m ago•0 comments

AI that helps you BE, not just DO

https://self.md/concepts/be-not-do
2•promen_svitla•6m ago•0 comments

Show HN: Wolli – agents that extend themselves around a job

https://wolli.dev/
1•saba-ch•6m ago•0 comments

AI Pioneer Jürgen Schmidhuber on the State of AI Today

https://www.youtube.com/watch?v=RKjR8DQ40po
1•pretext•9m ago•0 comments

I made an LLM think in latent space. The model never read a single thought

https://github.com/Oli-26/LatentReasoningNoDecode/blob/main/BLOG.md
1•oli266•11m ago•0 comments

It's So Hard to Hire Good Help These Days

https://zhenyi.gibber.blog/its-so-hard-to-hire-good-help-these-days
1•zhenyi•13m ago•0 comments

OpenAI is shutting down its AI browser Atlas

https://techcrunch.com/2026/07/09/openai-is-shutting-down-atlas-but-its-ai-browser-ambitions-are-...
1•theHocineSaad•14m ago•0 comments

Show HN: WaitToUnlock – Set a ScreenTime passcode you cannot remember

https://waittounlock.com/
4•shorekey•14m ago•0 comments

Show HN: Real-time n-body tree code in CUDA

https://github.com/lechebs/nbody
1•lechebs•14m ago•0 comments

Zero-copy TLS ingress with kTLS and splice(2) for sandboxes

https://www.tensorlake.ai/blog/near-zero-overhead-sandbox-networking
1•diptanu•15m ago•0 comments

Epos Daimon, the Magic School Where Teens Play Fascists

https://mssv.net/2026/05/22/epos-daimon-the-antifascist-magic-school-for-teens/
3•surprisetalk•16m ago•0 comments

Polestar owners left 'holding the bag' after EV brand pulls out of the US

https://www.theverge.com/transportation/963399/polestar-owners-ban-dealers-service-warranty-lease
3•Brajeshwar•16m ago•0 comments

The IDE Bottleneck

https://ymichael.com/2026/06/23/the-ide-bottleneck.html
2•ymichael•17m ago•0 comments

Most people suck at traveling: 9 principles to travel well

https://itsiweinstock.substack.com/p/most-people-suck-at-traveling-9-principles
1•surprisetalk•17m ago•0 comments

Self-Powered Trailers Promise Leaner Freight Runs

https://spectrum.ieee.org/self-powered-trailers-freight-decarbonization
1•rbanffy•17m ago•0 comments

PeopleCounter.app – Turn any phone or webcam into a people counter

https://peoplecounter.app/
1•ZynZap•17m ago•0 comments

CEO Calls Us 'Terrorists and Worse Than Antifa' Admits Surveillance Secrets [video]

https://www.youtube.com/watch?v=DAPXpfXRUPI
1•Bender•18m ago•0 comments

AI's "overnight" solution for our flaky tests took two weeks to adopt

https://thoughtbot.com/blog/what-it-took-to-use-this-overnight-ai-solution
1•herbertl•19m ago•0 comments

Show HN: I made AI agent that deploys your thing on diff plats automaticaly

https://shypmenta.com/
2•Aarav03790•24m ago•0 comments

Toxic pufferfish with vicious bite and lethal flesh invade Mediterranean beaches

https://www.dailymail.com/news/article-15955883/Toxic-pufferfish-Mediterranean.html
2•NewCzech•24m ago•0 comments

Man Dies by Suicide After Using Grok to Make 7000 Sexual Images of Stepdaughter

https://www.ibtimes.co.uk/xai-lawsuit-grok-ai-generated-child-abuse-images-1807932
3•randycupertino•25m ago•0 comments

Show HN: Token Governor – The cheapest LLM token is the one you never send

https://github.com/shipitamit/llm-token-governor
1•mavster26•26m ago•0 comments

The Winning Essays for the Big Questions About AI

https://www.dwarkesh.com/p/blog-prize-winners
1•herbertl•28m ago•0 comments