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•11mo 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!

Ubuntu is adding Generative AI features, and other Linux distros might follow

https://www.neowin.net/news/ubuntu-is-going-all-in-on-generative-ai-and-other-linux-distros-might...
1•bundie•1m ago•0 comments

Man takes robot to airport, gets ticket for it, it gets on plane

https://twitter.com/scottbudman/status/2050321131467653197
1•fragmede•3m ago•0 comments

IPv8 will not work [video]

https://www.youtube.com/watch?v=Uyr8homutII
1•drewr•7m ago•0 comments

Menace on the Streets

https://macleans.ca/longforms/menace-on-the-streets/
1•herbertl•8m ago•0 comments

You'll Subscribe to Your Router, Too – The First Router Bribes Are Here [video]

https://www.youtube.com/watch?v=qjesRkTFZqY
1•01-_-•9m ago•0 comments

Ember 6.12

https://blog.emberjs.com/ember-released-6-12/
2•satvikpendem•11m ago•0 comments

Vibe code with me this Linux system on a browser tab

https://linuxontab.com/
3•kilian-ai•13m ago•1 comments

New Oscars rules: No AI actors, human-written scripts only

https://www.dw.com/en/new-oscars-rules-exclude-ai-performers-require-scripts-written-by-human/a-7...
2•qainsights•14m ago•0 comments

Jonathan Swift's Last Joke

https://www.newyorker.com/culture/the-weekend-essay/jonathan-swifts-last-joke
1•samizdis•15m ago•0 comments

South Africa withdraws AI policy due to fake AI-generated sources

https://www.reuters.com/world/africa/south-africa-withdraws-ai-policy-due-fake-ai-generated-sourc...
2•gnabgib•20m ago•0 comments

The Man Who Built NVIDIA [audio]

https://www.econtalk.org/the-man-who-built-nvidia-with-stephen-witt/
1•mooreds•21m ago•0 comments

Hilariously Useless: Mahalo's Guide to Playing the Xylophone (2011)

https://www.businessinsider.com/check-out-mahalos-hilariously-useless-guide-to-playing-the-xyloph...
1•mooreds•21m ago•1 comments

A terminal Markdown viewer built using Charm libraries

https://github.com/inkcheck/ink
1•geordee•22m ago•0 comments

The Terraform.applying Symbol

https://developer.hashicorp.com/terraform/language/functions/terraform-applying
1•mooreds•22m ago•0 comments

Show HN: Which public repos are friendliest to an AI coding agent?

https://www.agentfriendlycode.com/
2•hsnice16•29m ago•0 comments

Tech layoffs skyrocketed in Q1 2026

https://twitter.com/KobeissiLetter/status/2050630474129719568
1•enraged_camel•31m ago•0 comments

Does Calvin still hurt in practice if you only use it for cross-shard writes?

https://github.com/nodedb-lab/nodedb
1•fs90•31m ago•0 comments

Italian Competition Authority Launches Investigation into Vorwerk (Neato)

https://en.agcm.it/en/media/press-releases/2026/4/PS13069
1•rettichschnidi•36m ago•0 comments

Kids promised 'forever homes' instead confined in for-profit institutions

https://www.ap.org/news-highlights/spotlights/2026/adopted-and-locked-away-kids-promised-forever-...
4•mnky9800n•36m ago•1 comments

Study: AI models that consider user's feeling are more likely to make errors

https://arstechnica.com/ai/2026/05/study-ai-models-that-consider-users-feeling-are-more-likely-to...
1•Brajeshwar•37m ago•0 comments

Canonical Under Attack

https://status.canonical.com
11•ta988•39m ago•1 comments

Linter for data science and statistical experiments

https://github.com/zgornel/DataLinter
1•zg0rnel•43m ago•1 comments

The best AI dictation apps, tested and ranked

https://techcrunch.com/2026/05/02/the-best-ai-powered-dictation-apps-of-2025/
1•oguzhaneksi•46m ago•0 comments

Ask HN: How long do you commute by car each day?

2•roschdal•48m ago•5 comments

LLMs can hide text in other text of the same length

https://arxiv.org/abs/2510.20075
2•m-hodges•49m ago•0 comments

Pitney Bowes Data Breach (April 2026)

https://haveibeenpwned.com/Breach/PitneyBowes
1•gnabgib•50m ago•0 comments

A Note on TurboQuant and the Earlier Eden Work

https://arxiv.org/abs/2604.18555
2•amitport•50m ago•0 comments

Outline of Thought

https://en.wikipedia.org/wiki/Outline_of_thought
1•cainxinth•51m ago•0 comments

The Dunning-Kruger effect is probably just from bimodal skill distributions

https://bosoncutter.substack.com/p/the-dunning-kruger-effect-is-probably
4•the_tyger•57m ago•6 comments

So, About That AI Bubble

https://www.theatlantic.com/economy/2026/05/ai-bubble-revenue-anthropic/687022/
3•saikatsg•57m ago•0 comments