frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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!

What Do Gödel's Incompleteness Theorems Mean?

https://www.quantamagazine.org/what-do-godels-incompleteness-theorems-truly-mean-20260518/
1•isaacfrond•1m ago•0 comments

FBI seeks US-wide access to license plate cameras, wants data in near real time

https://arstechnica.com/tech-policy/2026/05/fbi-seeks-us-wide-access-to-license-plate-cameras-wan...
1•ndsipa_pomu•1m ago•0 comments

Moving from API Operations to Business Capabilities

https://medium.com/@bpedro/moving-from-api-operations-to-business-capabilities-cbff4e08f7b7
1•bpedro•3m ago•0 comments

Parakeet Translates French Audio

https://thoth-app.com/blog/2026-05-19-parakeet-language-drift/
1•MattVePhD•8m ago•1 comments

The Many Kings Problem: Why Humans May Survive an Age of Superior AI [pdf]

https://zenodo.org/records/20281580
1•AccidentalOrder•8m ago•0 comments

LG Electronics Introduces First Native 1000Hz Full HD Gaming Monitor

https://www.lg.com/global/newsroom/news/media-entertainment-solution/lg-electronics-introduces-wo...
2•ksec•8m ago•0 comments

Why Elon Musk lost his suit against OpenAI

https://www.technologyreview.com/2026/05/18/1137488/elon-musk-suit-openai-verdict/
2•Judyrabbit•9m ago•0 comments

I built a scrubber to prevent AI from reading your secrets

1•svn-arv•13m ago•0 comments

RFC 7489 obsoleted and receivers MUST now downgrade to quarantine by default

https://www.rfc-editor.org/rfc/rfc9989.html
3•meysamazad•20m ago•0 comments

Meta Begins Laying Off 8000 Employees

https://www.nytimes.com/2026/05/19/technology/meta-layoffs-ai.html
1•andsoitis•23m ago•0 comments

Show HN: Claude Code Bundle for Bug Hunting with 574 Report Patterns

https://github.com/elementalsouls/Claude-BugHunter
1•ishqdehlvi•25m ago•0 comments

The great digital media valuation collapse

https://www.axios.com/2026/05/19/buzzfeed-media-fire-sales
2•thm•25m ago•0 comments

External Secrets Operator

https://external-secrets.io/latest/introduction/overview/
1•ankitg12•26m ago•0 comments

It used to be a beautifully imperfect world

https://user8.bearblog.dev/it-used-to-be-a-beautifully-imperfect-world/
1•James72689•26m ago•0 comments

UK needs urgent changes to survive global heating

https://www.theguardian.com/environment/2026/may/20/uk-built-for-climate-that-no-longer-exists-an...
1•andsoitis•26m ago•0 comments

A physical dial that locks your screens until you turn it back

https://miradial.com/
1•Kaljurahn•30m ago•0 comments

Join the Waitlist Mobile App

https://getstreek.com/
1•cnnadozi•31m ago•0 comments

Ambient Signifiers

https://boxesandarrows.com/ambient-signifiers/
1•tosh•32m ago•0 comments

Meta lays off ~8k employees

https://www.businessinsider.com/layoff-meta-severance-details-cobra-jobs-2026-5
2•almogo•33m ago•0 comments

SubAlert – get alerted before any subscription charges you

https://www.subalert.org
1•momolii•33m ago•1 comments

Trusted Publishing for NPM Packages

https://docs.npmjs.com/trusted-publishers/
1•Ozzie_osman•33m ago•1 comments

Investigation of unauthorized access to GitHub's internal repositories

https://xcancel.com/i/status/2056949168208552080
2•doener•35m ago•1 comments

The way you draw circles says a lot about you

https://qz.com/994486/the-way-you-draw-circles-says-a-lot-about-you
2•yzydserd•37m ago•0 comments

How to use Claude Code like you've used it for a year

https://codeaholicguy.com/2026/05/20/claude-code-guide-how-to-use-claude-code-like-youve-used-it-...
1•hoangnnguyen•37m ago•0 comments

Gemini Omni

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-omni/
2•Lucasoato•38m ago•0 comments

Are modern mid-tier knives over-engineered or just well-made?

https://www.paragon-knives.com/
1•bgzlsxaz•41m ago•0 comments

You cannot sell AI written software

https://blog.habets.se/2026/05/You-cannot-sell-AI-written-software.html
1•marcofloriano•43m ago•2 comments

Analysis of CS:GO Win-rates (2020)

https://cryptm.org/posts/2020/06/12/csgo.html
1•tosh•44m ago•0 comments

Ask HN: What are you working on (20 May)

3•Armonsrer•49m ago•3 comments

Two Values in One Integer

https://talkchess.com/viewtopic.php?t=42054
1•prakashqwerty•49m ago•0 comments