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!

Markdown Notes with Chat and Mail

https://github.com/ThGSoft/NotesPro
1•thg01•54s ago•1 comments

German Births Fall to Lowest Since Postwar Records Began in 1946

https://www.ft.com/content/0fc74904-5dc2-436e-84b6-86be4df855c9
1•karakoram•1m ago•1 comments

Actuary

https://en.wikipedia.org/wiki/Actuary
1•tosh•1m ago•0 comments

Open Code Review

https://shaping.systems/blog/open-code-review/
1•SVI•1m ago•0 comments

Cobalt hides a network of quantum states that survive at room temperature

https://www.martincid.com/science/cobalt-room-temperature-topological-quantum-states-2/
1•SVI•3m ago•0 comments

AI-designed universal coronavirus vaccine passes first human trial

https://www.sciencedaily.com/releases/2026/06/260605023357.htm
1•OutOfHere•3m ago•0 comments

Operations Research

https://en.wikipedia.org/wiki/Operations_research
1•tosh•3m ago•0 comments

Building a Fast Lock-Free Queue in Modern C++ from Scratch

https://jaysmito.dev/blog/blog/04-fast-lockfree-queues/
1•tahazsh•3m ago•0 comments

A wild idea: Abstract reality using ontology

1•shoushen•3m ago•0 comments

NotifyMe, a self-hosted beeper app for AI agents and service updates

https://github.com/lbj96347/notifyme
1•lbj96347•4m ago•0 comments

Anonymous P2P Chat and File Sharing

https://wportal.app
1•ConnErr•4m ago•0 comments

That's enough about AI replacing users in user research [pdf]

https://ianarawjo.com/docs/Thats_Enough_About_AI_Replacing_Users_in_User_Research__Arawjo.pdf
1•azhenley•6m ago•0 comments

I built an email client that helps users identify phishing and scam emails

https://clutterstrike.com/
1•sourdoughy•7m ago•0 comments

Does anyone know since when we are close to building in space?

1•kingleopold•10m ago•1 comments

I Love Lisp

https://medium.com/@ian_46319/why-i-love-lisp-0f0cd86014e5
2•tacoda•12m ago•0 comments

Boundaries A talk by Gary Bernhardt from SCNA 2012

https://www.destroyallsoftware.com/talks/boundaries
1•throwaw12•16m ago•0 comments

Fedspeak

https://en.wikipedia.org/wiki/Fedspeak
1•lelandfe•16m ago•0 comments

I built a daily word game with six rarity tiers and no letter tiles

https://playoutlier.com
2•mszerencsy•17m ago•0 comments

Which Buffett? Warren or Jimmy. Can you tell them apart?

https://whichbuffett.github.io/quiz/
2•brightbeige•19m ago•1 comments

S4 – Squished S3

https://github.com/abyo-software/s4
1•tcp_handshaker•20m ago•0 comments

CSP: Bookmarklets should bypass pages' policies (2013 → Infeasible 2026)

https://issues.chromium.org/issues/40077444
1•myfonj•22m ago•0 comments

Illinois Gov. JB Pritzker to suspend tax breaks offered to data centers

https://www.nbcnews.com/politics/2028-election/illinois-gov-jb-pritzker-suspend-tax-breaks-offere...
2•tcp_handshaker•23m ago•0 comments

A Short Story About SQL's Biggest Rival (QUEL) (2020)

https://www.holistics.io/blog/quel-vs-sql/
1•peter_d_sherman•24m ago•1 comments

Commodore's Weirdest OS Is Back for 2026 [video]

https://www.youtube.com/watch?v=z_Lw-Zl7tCM
1•evo_9•24m ago•0 comments

dash: fast webserver for kdb (>100kq/sec)

https://github.com/geocar/dash
1•tosh•25m ago•0 comments

Show HN: Change multiple parts of an image at once with annotations tool[video]

https://www.youtube.com/watch?v=drmvrxDdNoc
1•julienreszka•28m ago•0 comments

Asus GB300 NVL72 Test Lab Tour

https://www.lttlabs.com/articles/2026/06/06/asus-test-server-tour
2•LabsLucas•28m ago•0 comments

Adopting the Parallel DWARF linker in dsymutil

https://jonasdevlieghere.com/post/dsymutil-parallel-linker/
1•JDevlieghere•28m ago•0 comments

ArchiveAlert: Exposing Malicious Scripts

https://www.youtube.com/channel/UCZZUvY13b_Ax5y8Fkrwc5ew
3•Cider9986•30m ago•0 comments

Qualcomm Linux

https://github.com/qualcomm-linux
2•tosh•32m ago•0 comments