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

ARM Makes Chips

https://thechipletter.substack.com/p/arm-makes-chips
1•oopsiremembered•1m ago•0 comments

InferenceFS

https://github.com/philipl/inferencefs
1•philzdev•7m ago•0 comments

Washington state's 'historic' millionaire taxx takes aim at super-rich

https://www.theguardian.com/us-news/2026/mar/31/washington-state-millionaire-tax-wealth
1•MilnerRoute•11m ago•0 comments

Non-US founders residential address problem with Brex, Mercury?

2•Barazutti629•13m ago•0 comments

Mercor Hit by Cyberattack

https://techcrunch.com/2026/03/31/mercor-says-it-was-hit-by-cyberattack-tied-to-compromise-of-ope...
1•jackson-mcd•17m ago•0 comments

Claw-Code Rust Implementation

https://github.com/instructkr/claw-code/tree/main/rust
1•beatthatflight•22m ago•0 comments

Show HN: /lazy-developer – autonomously optimize your codebase with autoresearch

https://github.com/james-s-tayler/lazy-developer
2•latentsea•24m ago•0 comments

I built a 516-panel financial terminal in 3 weeks using AI

https://neuberg.ai/
11•saratsai•30m ago•4 comments

R/SaaS Subreddit Census Poll

https://old.reddit.com/r/SaaS/comments/1s99t02/built_a_census_survey_for_rsaas_lets_get_a_proper/
1•Akhilm6•31m ago•0 comments

China and Pakistan present new Iran deal: Ceasefire for opening Hormuz

https://www.axios.com/2026/03/31/china-pakistan-iran-peace-deal-strait-ceasefire
5•Jimmc414•33m ago•0 comments

Bun's front end development server – Source map incorrectly served in production

https://github.com/oven-sh/bun/issues/28001
1•thunderbong•34m ago•0 comments

We built an O(1) KV Cache for LLMs (Qwen2.5-7B Colab inside)

https://colab.research.google.com/drive/1tISt1MWcti8oubURkDhTlwS7rf_BG4wB?usp=sharing
1•SPLLC•43m ago•0 comments

Musk's exploding megarocket puts $8B in space investments at risk

https://www.politico.com/news/2026/03/31/space-rocket-starship-musk-ai-00850909
3•mitchbob•45m ago•2 comments

Tell HN: Zed is sunsetting text threads

3•koito17•45m ago•0 comments

Senator proposes to widen US ban on Chinese autos

https://www.reuters.com/business/autos-transportation/republican-senator-proposes-widen-us-ban-ch...
3•ilamont•48m ago•0 comments

Microeconomics in Public Policy: A Practitioner's View

https://www.pmo.gov.sg/newsroom/essay-by-sm-lee-hsien-loong-microeconomics-in-public-policy-a-pra...
1•lemaitre-ari•48m ago•0 comments

Induced-Fit Retrieval: A 1958 biochemistry concept beats RAG at multi-hop

https://github.com/emil-celestix/celestix-ifr
2•celestix•53m ago•0 comments

Sycophantic Chatbots Cause Delusional Spiraling, Even in Ideal Bayesians

https://arxiv.org/abs/2602.19141
3•haltingproblem•56m ago•0 comments

AI Lessons from the Cockpit: Takeaways from Our Midwest Air Tour with Shirley

https://blog.airplane.team/p/lessons-from-the-cockpit-key-takeaways
1•atlex2•59m ago•2 comments

From Homo Faber to Homo Fictor

https://www.newcartographies.com/p/from-homo-faber-to-homo-fictor
1•wigwamnh•1h ago•0 comments

Analyzing Geekbench 6 under Intel's BOT

https://www.geekbench.com/blog/2026/03/analyzing-geekbench-6-under-intels-bot/
11•hajile•1h ago•1 comments

Anthropic Leak Was Not Related to Bun, Just Developer Error

https://twitter.com/bcherny/status/2039168928145109343
2•jbegley•1h ago•0 comments

Gundalf, young IT assistant trolls Hungary's secret service

https://old.reddit.com/r/europeanunion/comments/1s82nn2/this_is_breaking_news_from_orb%C3%A1ns_hu...
3•rbalint•1h ago•0 comments

Retro Rewind: A Boring Video Game I Can't Put Down

https://www.theatlantic.com/culture/2026/03/retro-rewind-game-video-store-nostalgia/686634/
1•petethomas•1h ago•0 comments

Aristocracy and Hostage Capital

https://arjunpanickssery.substack.com/p/the-aristocrat-as-hostage
3•barry-cotter•1h ago•0 comments

The age of vertical models is here

https://twitter.com/eoghan/status/2037197696075981124
1•gmays•1h ago•0 comments

Asia's factory activity slows on cost pressure from Iran war

https://www.reuters.com/world/china/global-economy-asias-factory-activity-slows-cost-pressure-ira...
2•onemoresoop•1h ago•0 comments

Yes, Aliens Are Here (X-Video: Senator Babet Australia)

https://twitter.com/senatorbabet/status/2039123414582243495
3•SilentM68•1h ago•0 comments

Google warns quantum computing may break Bitcoin earlier than thought

https://www.theblock.co/post/395814/google-quantum-computing-earlier
5•ryan_j_naughton•1h ago•1 comments

Julia Minson – How to Disagree Better – Talks at Google [video]

https://www.youtube.com/watch?v=GigRB6bZ0MI
2•vismit2000•1h ago•0 comments