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!

Poor sleep linked to rising cancer risk in under-50s

https://www.theguardian.com/society/2026/may/30/poor-sleep-linked-rising-cancer-risk-under-50s
1•andsoitis•41s ago•0 comments

Records Show UC Sharing Data with US Customs and Border Protection

https://www.dailycal.org/news/uc/records-show-uc-sharing-data-with-us-customs-and-border-protecti...
2•computerliker•1m ago•0 comments

Ask HN: What could happen if human beings become obsolete?

2•baddash•11m ago•0 comments

HeavensLive: The Marketplace That Gives You Free Money to Start – No Strings

https://www.heavenslive.com
1•bbenevolence•12m ago•0 comments

Mean Hand

https://portfolio.anna-zhang.com/projects/mean-hand
1•sdrothrock•24m ago•0 comments

Farewell AWS

https://www.adventuresinoss.com/farewell-aws/
1•cafkafk•26m ago•0 comments

An Usable Minimal Programming Language?

https://github.com/las-r/aergia
1•las_r•33m ago•1 comments

Ask HN: Why I have such bad luck?

1•alonsovm44•33m ago•0 comments

Vercel Analytics Alternative When You Outgrow the Free Tier

https://raah.dev/blog/vercel-analytics-alternative
1•Arindam1729•35m ago•0 comments

Show HN: NoTime – a Firefox extension for one-sentence summaries

https://addons.mozilla.org/en-US/firefox/addon/no-time/
1•dh1011•38m ago•0 comments

China's world-beating solar industry is in turmoil

https://economist.com/china/2026/05/26/chinas-world-beating-solar-industry-is-in-turmoil
2•andsoitis•46m ago•1 comments

SpaceX and the 'Enshittification' of Markets

https://www.ft.com/content/f724d500-fd45-4f38-86b8-549b5cae88ba
3•petethomas•48m ago•0 comments

Treasury Sec Bessent says US Government has seized $1B of Iran's crypto

https://twitter.com/bitcoinmagazine/status/2060442288598155762
1•computerliker•49m ago•0 comments

The Orchestration Tax

https://addyosmani.com/blog/orchestration-tax/
1•jnakano89•50m ago•0 comments

PROMPTPurify: 14 MB CPU-only prompt-injection guard (benchmarked vs. OSS guard)

https://github.com/securelayer7/PROMPTPurify
1•sandeep_kamble•52m ago•0 comments

Brazilian court orders restoration of Fordlandia, Henry Ford's Amazon ghost town

https://apnews.com/article/fordlandia-preservation-brazil-amazon-rainforest-henry-ford-370a0e6999...
1•divbzero•55m ago•0 comments

The Muser – Open-source alternative to Suno, runs locally, you own everything

https://github.com/noah-chelednik/the-muser
2•chedai__•58m ago•1 comments

Did DeepSeek v4 suddenly become more expensive?

https://imgur.com/gallery/hMEUsyW
1•thatwasunusual•1h ago•2 comments

Ask HN: How does your team handle release notes / changelogs?

1•medhova•1h ago•0 comments

Hare-Brained History Vol. 98: The 1953 Ascent of Mount Everest

https://aid2000.substack.com/p/hare-brained-history-vol-98-the-1953
1•thunderbong•1h ago•0 comments

Question: intent of JqwikExecutor.printMessageForCodingAgents

https://github.com/jqwik-team/jqwik/issues/708
1•omcnoe•1h ago•1 comments

Meta tool to track employee mouse clicks collision course with EU privacy rules

https://www.reuters.com/business/meta-tool-track-employee-mouse-clicks-collision-course-with-eu-p...
2•1vuio0pswjnm7•1h ago•0 comments

Who verifies the verifier? Notes on DeepMind's formal proof-search paper

https://korbonits.com/blog/2026-05-28-who-verifies-the-verifier/
1•korbonits•1h ago•0 comments

Meta plans AI pendant, 'wearables for work' in hardware boost

https://economictimes.indiatimes.com/tech/technology/meta-plans-ai-pendant-wearables-for-work-in-...
1•jeffufl•1h ago•1 comments

Viral OnlyFans Model Kamryn Renae Rescued Off Mount Whitney Hike

https://www.sfgate.com/national-parks/article/mount-whitney-kamryn-renae-22282534.php
1•carabiner•1h ago•0 comments

EvoGraph: Hybrid Directed Graph Evolution Toward Software 3.0

https://arxiv.org/abs/2508.05199
2•jerlendds•1h ago•0 comments

US judiciary asked to adopt rule to curb fake AI-generated cases in filings

https://www.reuters.com/legal/government/us-judiciary-asked-adopt-rule-curb-fake-ai-generated-cas...
5•droidjj•1h ago•0 comments

The Pope Disrupts Silicon Valley

https://www.ft.com/content/e98d7451-19ee-472e-9b92-8938eab0e205
1•1vuio0pswjnm7•1h ago•0 comments

I made a CPU only spiking neuron network lib that comes pretty close to PyTorch

https://huggingface.co/etoxin/neuronguard-wikipedia-classifier
2•etoxin•1h ago•1 comments

Hackathon – winner gets YC interview

https://events.ycombinator.com/conversational-ai-hackathon-2026
1•subh_cs•1h ago•0 comments