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!

Small, calm welcome screen for Emacs (a warm extensible dashboard)

https://codeberg.org/jjba23/welkomscherm.el
1•jjba23•6m ago•0 comments

Show HN: Codex quota tracker Garmin watch face

https://github.com/greg76/token-quota/tree/main
1•gregkb•9m ago•0 comments

12 Angry Agents

1•anuptalwalkar•11m ago•0 comments

Conservation of Compute

https://nishantjosh.dev/blogs/conservation-of-compute/
1•cat-whisperer•12m ago•1 comments

I ran the full 2.8T-parameter Kimi-K3 on a 64GB Mac Mini

https://github.com/sjdthree/kimi-k3-mlx-macmini
1•sjdthree•13m ago•1 comments

German court calls Google aerial imagery 'spying'

https://www.courthousenews.com/german-court-calls-google-aerial-imagery-spying/
2•rdmuser•13m ago•0 comments

Narrative Deck – AI Agent skill for creating interactive web stories

https://aakatheeri.github.io/narrative-deck/
2•aakatheeri•13m ago•0 comments

Greece passes social media ban for children under 15

https://www.reuters.com/legal/litigation/greece-passes-social-media-ban-children-under-15-2026-10...
3•thunderbong•17m ago•0 comments

I Am New Here

1•dev_man•19m ago•1 comments

Show HN: You Can Just Filter YouTube Playlists in the 'Save to Playlist' Dialog

2•ydoc5212•21m ago•0 comments

iPhone Duo jailbroken on launch day

https://www.macrumors.com/2026/10/23/iphone-duo-jailbreak/
4•gloxkiqcza•23m ago•1 comments

A Fix for Softmax and Cross-Entropy

https://jonbarron.info/softmaxfix/
2•Georgelemental•24m ago•0 comments

Oil spill washes up on UAE beaches after tanker strike

https://www.bbc.com/news/articles/c6rey3n974g5o
3•blondie9x•26m ago•0 comments

Birdwatching rewires the brain and slows cognitive decline

https://www.bbc.com/future/article/20261019-birdwatching-rewires-the-brain-and-slows-cognitive-de...
2•cisc•27m ago•2 comments

The same AI question emits more carbon dioxide in Texas than in Sweden

https://www.cio.com/article/4238689/the-same-ai-project-emits-more-carbon-dioxide-in-texas-than-i...
2•wltyn•28m ago•0 comments

Google will pay people to use less electricity so its data centers can use more

https://www.computerworld.com/article/4239858/google-will-pay-people-to-use-less-electricity-so-i...
4•mikelgan•28m ago•1 comments

Learning as Freedom (2012)

https://www.nytimes.com/2012/09/06/opinion/john-deweys-vision-of-learning-as-freedom.html
1•alasr•29m ago•1 comments

AI devours a fifth of companies' IT budgets

https://www.computerworld.com/article/4239898/ai-accounts-for-one-fifth-of-companies-it-budgets.html
3•mikelgan•32m ago•0 comments

Why have coding agents not brought easter-egg utopia?

https://rallywith.ai/blog/bring-back-easter-eggs/
1•ajuhasz•34m ago•0 comments

HumanLayer is now Open Source

https://www.hlyr.dev/blog/open-sourcing-humanlayer
5•dhorthy•35m ago•0 comments

AI Just Raised the Stakes on Continuous Delivery

https://www.bradoyler.com/ai/continuous-delivery-is-a-security-feature/
1•bradoyler•38m ago•0 comments

Window Heat Pumps Offer Efficient Heating and Cooling Without Ductwork

https://www.wsj.com/business/energy-oil/window-heat-pumps-heating-cooling-fd552926
1•bookofjoe•39m ago•1 comments

Factorio version 2.1, the final major update for the game, has been released

https://factorio.com/blog/post/fff-449
3•haunter•40m ago•0 comments

Ritmo: Type-safe ECS runtime for TypeScript

https://ritmo.typeonce.dev/
2•sandromaglione•44m ago•0 comments

Bitter Lessoned in Automated Theorem Proving

https://essays.johnloeber.com/p/34-bitter-lessoned-in-automated-theorem
1•loeber•44m ago•0 comments

One Man's Pan Am 747 Replica [video]

https://www.youtube.com/watch?v=vAFwHGGfPz4
1•Teever•45m ago•0 comments

Zedis v0.2.0

https://github.com/barddoo/zedis/releases/tag/v0.2.0
1•barddoo•48m ago•0 comments

Empirical agents with hard constraints, strict isolation and trusty protocols

https://qip.dev/essays/empirical-agents-with-hard-constraints-strict-isolation-trusty-protocols
2•codesparkle•49m ago•0 comments

Show HN: Token Beggar, route coding agent subtasks to cheaper models

https://github.com/Arthur031221/Token-Beggar
2•levi74108520963•55m ago•0 comments

Show HN: AiSniff, underline the phrases in a text that read like AI wrote them

https://github.com/Arthur031221/AiSniff
1•levi74108520963•56m ago•0 comments