frontpage.
newsnewestaskshowjobs

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!

GeoWorks, Microsoft Windows' Upstart '90s Competitor

https://www.atlasobscura.com/articles/the-history-of-geoworks-microsoft-windows-upstart-90s-compe...
1•andsoitis•1m ago•0 comments

Infinix – Abandoned Local AI Agent Base Seeking Developers

https://github.com/Moonyeep/Infinix
1•Moonyeep•1m ago•0 comments

Show HN: Tumblr Likes Calendar: Browse Your Likes by Date

https://www.hakuren-dev.blog/
1•Hakurendev•1m ago•0 comments

AI tools I use (avg software developer)

https://fredrikmeyer.net/2026/11/07/how-i-use-ai-2026.html
1•FredrikMeyer•2m ago•1 comments

1325 Dutch hotels join mass claim lawsuit against Booking.com

https://nltimes.nl/2026/11/07/1325-dutch-hotels-join-mass-claim-lawsuit-bookingcom
1•Betelbuddy•2m ago•0 comments

Report alleges China linked to at least 18 overseas police stations in Canada

https://www.ctvnews.ca/canada/article/report-alleges-china-linked-to-at-least-18-overseas-police-...
3•Teever•2m ago•0 comments

China drafts lifetime ID codes for every robot it makes, not just humanoids

https://asia-tech-news.ghost.io/china-drafts-lifetime-id-codes-for-every-robot-it-makes-not-just-...
2•ilamont•4m ago•0 comments

Show HN: A framework for prototyping web games in 2D and 3D

https://github.com/kadhirvelm/resync-games-framework
1•kadhirvelm•4m ago•1 comments

You are protesting the wrong technology, people

https://hollisrobbinsanecdotal.substack.com/p/you-are-protesting-the-wrong-technology
2•HR01•5m ago•0 comments

Show HN: UK: Skip Royal Mail QR Code Queues with the Prince of Post

https://princeofpost.com
1•egamirorrim•6m ago•0 comments

Structify: AI apps built on a manufacturer's ERP data

https://www.structify.ai
1•alexreichenbach•7m ago•0 comments

Show HN: Bodylang – ask anything about your body and watch it happen in 3D

https://bodylang.vercel.app/
1•mantegna•8m ago•0 comments

Show HN: Digdeep.fyi – A DNS Debug Tool for DNSSEC, Mail, HTTP

https://digdeep.fyi/
2•oipart•10m ago•0 comments

The ESP32 S31 Runs Linux

https://www.i-programmer.info/news/91-hardware/19197-the-esp32-s31-runs-linux.html
2•teleforce•12m ago•0 comments

Straitjacket: A TypeScript template with Guardrails for your agents

https://github.com/balajeerc/straitjacket
1•hannofcart•16m ago•0 comments

Dave Winer's prototype for the web of Markdown

https://demo.bonbonweb.org/?url=https%3A%2F%2Fdave.writersweb.org%2Fscripting%2F2026%2F11%2F06.md
1•solomania9•16m ago•0 comments

FM-1: Things Are Happening with This Little Synth [video]

https://www.youtube.com/watch?v=hmYPh5CYtWw
1•alin23•17m ago•0 comments

Isn't It Time for AVIF Everywhere?

https://www.michaelponders.com/2026/11/isnt-it-time-for-avif-everywhere.html
3•speckx•22m ago•0 comments

Show HN: I mapped all known crypto scams

https://dontgetrekt.today/
1•marciob•22m ago•2 comments

Choosing One of My Compiler Books [pdf]

https://t3x.org/files/whichbook.pdf
1•AlexeyBrin•24m ago•0 comments

Five Memorable Books About Programming

https://prog21.dadgum.com/19.html
2•andsoitis•25m ago•0 comments

NASA's Juno Captured a Green Lightning Flash Inside a Storm on Jupiter

https://www.space.com/jupiter-lightning-north-pole-juno-photo
1•Adam-Hincu•25m ago•0 comments

Show HN: Coldframe, a honeypot that poses as a supermarket fridge controller

https://github.com/hedgerow-dev/coldframe
16•hedgerow-dev•28m ago•1 comments

Things That Turbo Pascal Is Smaller Than (2011)

https://prog21.dadgum.com/116.html
1•theanonymousone•28m ago•0 comments

Ripple – The CI gate that knows the blast radius

https://www.npmjs.com/package/@alimaandev/ripple
1•alimaandev111•30m ago•0 comments

Nice DeepSWE score! Does it survive a lowercase filename?

https://twitter.com/loresjpg/status/2118880329490637049
1•porridgeraisin•36m ago•0 comments

Hacking the meta ray-ban smartglasses

https://p0pcycle.com/2026/11/06/hacking-the-meta-ray-ban-smartglasses/
1•moooooky•37m ago•0 comments

MaxxBench – "Nice DeepSWE score. But is it true?"

https://maxxbench.unlap.ai/research/why-maxxbench/
2•antiuniverse•37m ago•0 comments

Windows Sandbox

https://learn.microsoft.com/en-us/windows/security/application-security/application-isolation/win...
1•azhenley•37m ago•0 comments

Show HN: LaunchZone Submissions – we submit your product to directories by hand

https://submit.launchzone.co
1•launchzone_co•40m ago•0 comments