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!

Google Scholar names its most influential papers for 2025

https://www.nature.com/nature-index/news/google-scholar-reveals-most-influential-research-papers-...
1•teleforce•20s ago•0 comments

Japan is gripped by mass allergies. A 1950s project is to blame

https://www.bbc.com/future/article/20260515-the-1950s-blunder-which-causes-mass-hay-fever-in-japan
1•ranit•2m ago•0 comments

Ask HN: Should I learn to code in 2026?

2•vrinda13•3m ago•0 comments

Thioacetone (Wiki)

https://en.wikipedia.org/wiki/Thioacetone
1•sans_souse•5m ago•0 comments

XINF MCP Server

https://xinf.dev/mcp
2•ZeroTerabytes•9m ago•2 comments

Canonical launches Ubuntu Core 26

https://canonical.com/blog/canonical-launches-ubuntu-core-26
2•LopRabbit•10m ago•0 comments

Ben Welsh made an index of all FiveThirtyEight articles on the Internet Archive

https://fivethirtyeightindex.com/
1•ChocMontePy•10m ago•1 comments

'We don't see a robot as a threat: simply another form of presence in the world'

https://english.elpais.com/science-tech/2026-05-16/takeshi-yoro-anatomist-in-japan-we-dont-see-a-...
1•Geekette•12m ago•0 comments

Sci/acc: what happens to science after super-intelligence?

https://willzeng.com/shared/sciacc.html
1•wzeng•15m ago•0 comments

Ubuntu Core 26 targets IoT, offers up to 15 years of security maintenance

https://www.cnx-software.com/2026/05/19/ubuntu-core-26-targets-iot-devices-and-embedded-systems-o...
2•0in•18m ago•0 comments

On Guard! The Story of SAGE [IBM, 1956]

https://www.youtube.com/watch?v=lFGco9ZsFGE
1•doctaj•21m ago•1 comments

Optimize_anything: A Universal API for Optimizing Any Text Parameter

https://arxiv.org/abs/2605.19633
4•LakshyAAAgrawal•24m ago•1 comments

Google accused of pushing 'free for life' G Suite users onto paid plans

https://www.theregister.com/applications/2026/05/19/google-accused-of-pushing-free-for-life-g-sui...
4•0in•25m ago•0 comments

Chairman and Commssioners – CFTC

https://www.cftc.gov/About/Commissioners/index.htm
1•seliopou•33m ago•0 comments

Towards Identifying the Economics and Efficiency of Fuzzers vs. Agents

https://dangerouserrors.com/posts/2026-04-06-towards-identifying-the-economics-of-fuzzers-vs-agents/
2•mooreds•39m ago•0 comments

Writing clear docs when you naturally think in code

https://www.knowledgeowl.com/blog/posts/writing-docs-when-you-think-in-code
1•eigenBasis•41m ago•1 comments

Cavity quantum electrodynamics control of quantum Hall stripes

https://www.nature.com/articles/s41567-026-03287-3
2•bookofjoe•44m ago•0 comments

US Justice Department 'forever' bars IRS from auditing Trump's past tax returns

https://www.theguardian.com/us-news/2026/may/19/trump-irs-settlement-tax-returns
7•embedding-shape•49m ago•1 comments

Poor grip strength linked to greater odds of developing depression

https://medicalxpress.com/news/2026-05-early-poor-strength-linked-greater.html
1•Gaishan•53m ago•0 comments

Stop paying $360/year to access your own email history

https://mailvaulty.com
1•khaledsabae•53m ago•1 comments

LLMs Are Revealing How Low the Bar Is (and Lowering It Even Further)

https://countercraft.substack.com/p/llms-are-revealing-how-low-the-bar
3•crescit_eundo•57m ago•0 comments

State Space Models, Explained Through Code

https://karthik-ragunath-ananda-kumar-blogs.notion.site/State-Space-Models-Explained-Through-Code...
1•eigenBasis•58m ago•0 comments

StartupStarter – we built a company brain so AI can do your work

https://startupstarter.co/
1•SCJB•1h ago•3 comments

Google Cloud has blocked our account, making some Railway services unavailable

https://twitter.com/i/status/2056883076496789854
7•bundie•1h ago•3 comments

An AI Co-Scientist for Hypothesis Generation from Google DeepMind

https://doi.org/10.1038/s41586-026-10644-y
3•car•1h ago•0 comments

Windows on Nintendo 64

https://www.youtube.com/watch?v=eGS9su_inBY
3•cedel2k1•1h ago•0 comments

Everything You Do Is Being Recorded

https://www.theatlantic.com/technology/2026/05/ai-wearable-surveillance-countermeasures/687203/
2•breve•1h ago•1 comments

Railway Blocked by Google Cloud

https://status.railway.com/?date=20260519
84•aarondf•1h ago•15 comments

Google's First AI Smart Glasses Launching This Fall with iPhone Support

https://www.macrumors.com/2026/05/19/google-ai-smart-glasses-iphone-support/
1•mikhael•1h ago•0 comments

I made an App that uses local LLMs to monitor your screen

1•roy3838•1h ago•0 comments