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!

Belonging to the Land

https://www.5jt.com/belonging-to-the-land
2•tosh•1m ago•0 comments

Live: Daniel J. Bernstein (djb) on the push to weaken post-quantum TLS [10am ET]

https://www.youtube.com/watch?v=qPhoJQtvgUo
1•almostbasic•3m ago•0 comments

Software Values

https://useyourexperience.com/software-values
1•jrdieter•4m ago•0 comments

You Can Now Program Steam Deck GPU with Mojo and Max

https://forum.modular.com/t/programming-the-steam-decks-gpu-with-mojo-and-max/3282
1•melodyogonna•4m ago•0 comments

Two humpback whales set records swimming between Australia and Brazil

https://phys.org/news/2026-05-humpback-whales-australia-brazil.html
1•pseudolus•5m ago•0 comments

AI Ticket and Article Summarization Package for Otobo ITSM

https://github.com/imAbdelhadi/AISummaryPackage
1•djafer•5m ago•1 comments

Talking with your PDFs locally with Blablador and GPT4all

https://sdlaml.pages.jsc.fz-juelich.de/ai/guides/blablador_gpt4all/
1•the-mitr•6m ago•0 comments

The $1T problem diamonds can solve [video]

https://www.youtube.com/watch?v=HKJC84RLhyU
1•teleforce•8m ago•0 comments

Commodore Callback flip phone will use recycled memory chips

https://www.tomshardware.com/phones/commodore-drops-callback-flip-ohine-to-399-by-defaulting-to-r...
2•LorenDB•10m ago•0 comments

Adobe Generative AI User Guidelines (2026)

https://www.adobe.com/legal/licenses-terms/adobe-gen-ai-user-guidelines.html
1•joebig•10m ago•0 comments

Slowjson – attack on HTTP servers accepting JSON with chunked transfer encoding

https://github.com/cr0hn/slowjson
1•jen20•11m ago•0 comments

Apple and Audi alumni have made a luxe EV based on the moon buggy

https://www.wired.com/story/amble-one-luxe-ev-buggy/
2•LorenDB•14m ago•0 comments

I went to uni to learn. What I discovered has made me angry and terrified

https://www.smh.com.au/national/i-went-to-uni-to-learn-what-i-discovered-about-my-generation-has-...
2•obscurette•15m ago•1 comments

I'm 16 and Running a Software Jam in a World of Slop

https://foxmoss.com/blog/radish/
1•foxmoss•19m ago•1 comments

50 out of 413 Companies that use my libraries

https://mccue.dev/pages/6-27-26-who-uses
1•theanonymousone•21m ago•0 comments

Suspicious Discontinuities

https://danluu.com/discontinuities/
2•tosh•23m ago•0 comments

Nextcloud Talk and the FOSS caveat of mobile push notifications

https://codeberg.org/danb/isitreallyfoss/issues/305
1•schafele•24m ago•0 comments

Position: Coding Benchmarks Are Misaligned with Agentic Software Engineering

https://arxiv.org/abs/2606.17799
1•wek•25m ago•0 comments

Qwen-AgentWorld-35B-A3B: a local 'world model' you can run at home Open Models

https://vettedconsumer.com/qwen-agentworld-35b-a3b-a-local-world-model-you-can-run-at-home/
1•ermantrout•26m ago•0 comments

Map2Model has been shut down [due to legal notices]

https://map2model.com/
1•randunel•26m ago•0 comments

Show HN: Hyoomn – We'll constructively roast your AI coded B2B SaaS

https://hyoomn.com/
1•krm01•28m ago•0 comments

Apple seeks approval to buy chips from blacklisted Chinese company, FT reports

https://finance.yahoo.com/technology/articles/apple-seeks-approval-buy-chips-032619203.html
3•roboror•28m ago•0 comments

GPT-5.6 Sol: ~20 US govt-approved orgs only. What about non-US businesses?

https://nexusfoundation.substack.com/p/digital-segregation-how-bigtech-and
2•kris_osiadacz•28m ago•0 comments

When you're stuck, just do something

https://www.autogram.id/alex/thoughts/when-you-re-stuck-just-do-something
1•alexakten•29m ago•0 comments

Music Tuned to 440 Hz versus 432 Hz and the Health Effects

https://www.sciencedirect.com/science/article/pii/S1550830718302763
1•looofooo0•30m ago•0 comments

Show HN: InfyniDock – a macOS Dock that switches actual windows

https://infyniclick.com
1•yeelone•33m ago•0 comments

Ask HN: Running local LLMs? What's your model and hardware

3•alfiedotwtf•35m ago•1 comments

Modular 26.4: SOTA Moe Serving, Model Bringup via Agent Skills, Mojo 1.0 Beta 2

https://www.modular.com/blog/modular-26-4-sota-moe-serving-model-bringup-via-agent-skills-mojo-be...
1•tosh•37m ago•0 comments

Russian citizens told "switch to Android" after Apple blocks key Russian apps

https://arstechnica.com/gadgets/2026/06/russian-citizens-told-switch-to-android-after-apple-block...
7•ndr42•38m ago•0 comments

Show HN: Link in Seconds – Upload a resume or PDF, get a clean shareable link

https://linkinseconds.com
1•SunnyRK•38m ago•0 comments