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!

Your Single Use iPhone [video]

https://www.youtube.com/watch?v=NG-lLt5X3Rs
1•Klaster_1•6m ago•0 comments

A unified Go SDK for working with large language models

https://github.com/aarock1234/ai
1•abdelsabbah•7m ago•1 comments

Lightweight internet radio management tool

https://github.com/tchovi/AirBoneRadio
1•Indigenism•9m ago•1 comments

Code Review Is the New Bottleneck for Engineering Teams

https://newsletter.eng-leadership.com/p/code-review-is-the-new-bottleneck
1•gpi•11m ago•0 comments

End of the Orban Era

https://www.bloomberg.com/news/articles/2026-04-12/end-of-the-orban-era-the-party-is-just-startin...
1•dlx•12m ago•1 comments

Self-Improving AI Agent

https://github.com/NousResearch/hermes-agent
1•granto•13m ago•0 comments

Jyf

1•ramzidddinq•14m ago•0 comments

Show HN: Cryptr a shell utility for encrypting and decrypting files with OpenSSL

https://github.com/nodesocket/cryptr
1•nodesocket•15m ago•0 comments

A Canonical Generalization of OBDD

https://arxiv.org/abs/2604.05537
1•luu•16m ago•0 comments

The Expensive Anxiety of AI

https://aarils.com/personal/the-expensive-anxiety-of-ai
1•bridgettegraham•16m ago•0 comments

How are you reducing LLM token costs for async workflows?

https://github.com/parallem-ai/parallem
1•alexliu79•28m ago•1 comments

Balsamiq AI

https://balsamiq.com/product/ai/
1•ilt•31m ago•0 comments

StackTrove: Encrypted local registry for all your side projects

https://github.com/sennaBruno/stacktrove
1•essieli•35m ago•0 comments

Justin Sun Accuses Trump's WLFI Cryptocurrency of Hiding Wallet Freeze Function

https://beincrypto.com/justin-sun-slams-world-liberty-financials-blacklist-feature/
2•jrflowers•39m ago•0 comments

'The gravest crime against humanity': What does the UN vote on slavery mean?

https://www.bbc.com/news/articles/c0rxqng5pyno
1•gpi•42m ago•0 comments

IBM AP-101 general-purpose computer [pdf]

https://gandalfddi.z19.web.core.windows.net/Shuttle/IBM%20AP-101S%20General%20Purpose%20Computer%...
1•__patchbit__•45m ago•0 comments

Your Harness, Your Memory

https://blog.langchain.com/your-harness-your-memory/
3•tanelpoder•49m ago•0 comments

Show HN: Tokemon – monitor token use with out refreshing 27 browser tabs

https://github.com/rvantonder/tokemon
1•rvttt•53m ago•0 comments

Overcoming Informational Risk

https://bencornia.com/blog/overcoming-informational-risk
1•bencornia•53m ago•0 comments

Best AI coding interview assistant in 2026

https://www.linkjob.ai/interview-questions/ai-coding-interview-assistant/
1•Silviaaa•57m ago•1 comments

Kindle users in uproar re: latest update, old devices now unusable: 'Fuck You '

https://nypost.com/2026/04/09/tech/kindle-to-cease-support-for-old-devices-causing-user-uproar/
2•1vuio0pswjnm7•57m ago•0 comments

Going Beyond World Models and VLAs

https://generalistai.com/blog/apr-07-2026-beyond-world-models
1•NeoInHacker•58m ago•1 comments

Show HN: Chipmunkify – I used ML to solve audio's dumbest problem

https://www.chipmunkify.com/
3•treelover•1h ago•1 comments

Artemis II: Christina Koch's PCD Failure

4•robgibbons•1h ago•2 comments

Show HN: React Modern Audio Player

https://github.com/slash9494/react-modern-audio-player
1•musgravite•1h ago•0 comments

Haunt, the 70s text adventure game, is now playable on a website

https://haunt.madebywindmill.com
20•jscalo•1h ago•4 comments

A Simple Lofi Player

https://github.com/talwat/lowfi
3•lwhsiao•1h ago•1 comments

Why Do Computers Stop and What Can Be Done About It? (1985) [pdf]

https://pages.cs.wisc.edu/~remzi/Classes/739/Fall2018/Papers/gray85-easy.pdf
1•jruohonen•1h ago•0 comments

Tell HN: Claude-code prompt-cache workaround/fix

1•g4cg54g54•1h ago•0 comments

SFPD investigates apparent shooting near OpenAI CEO Sam Altman's home

https://www.sfchronicle.com/bayarea/article/sam-altman-openai-gunfire-22202648.php
2•throwaway2027•1h ago•2 comments