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!

Kernel the second brain for local businesses

https://www.trykernel.xyz/
1•AahishAbbani•1m ago•0 comments

Software Design for Flexibility: How to Avoid Programming Yourself into a Corner

https://archive.org/details/software-design-for-flexibility_how-to-avoid-programming-yourself-int...
1•so-cal-schemer•2m ago•0 comments

Ask HN: What are some rock solid open source vector databases

1•ciwolex•3m ago•1 comments

'The View' Asks Its Audience for Help in Battle with FCC

https://www.nytimes.com/2026/06/22/business/media/the-view-fcc-abc-investigation.html
1•petilon•3m ago•1 comments

Ask HN: What do you think is the future of mental health therapy?

2•mmarian•5m ago•0 comments

Show HN: Local Translate CLI for Mac [MIT]

https://github.com/Arthur-Ficial/translate
1•franze•6m ago•0 comments

The Performance of Generics in Go

https://dominik.info/blog/go-generics-performance
1•EspressoGPT•10m ago•0 comments

Show HN: Darkenn – Lights Out style puzzle game with global leaderboard

https://darkenn.com/
1•anirbanhere•11m ago•0 comments

Show HN: Schmaudio – Interactive audio stories where choices change the story

https://schmaudio.net/en/stories
2•skchang•11m ago•0 comments

Rhombus v1.0

https://blog.racket-lang.org/2026/06/rhombus-v1.0.html
2•g0xA52A2A•12m ago•0 comments

Walt Disney Company is the most successful at monetizing human nostalgia

https://www.acquired.fm/episodes/the-walt-disney-company
4•speckx•12m ago•0 comments

YazSes – offline hold-to-talk dictation

https://github.com/MSKazemi/yazses
1•mskazemi•13m ago•0 comments

Bill and Emily Brook Family Heritage Website

https://bembro.com/
3•lollobomb•13m ago•1 comments

I built a Chrome extension to bulk-convert Google Photos motion photos to stills

https://chromewebstore.google.com/detail/bulk-edit-google-photos-w/fnhlolpmhhjdjdlialajdlmlfblchkkh
1•levinyair•14m ago•0 comments

I'm the Agent for Claude Now

https://www.aha.io/engineering/articles/im-the-for-claude-now
5•FigurativeVoid•15m ago•1 comments

Brazilian Psychic Predicts Alien Invasion During World Cup Game Next Week

https://www.coasttocoastam.com/article/brazilian-psychic-predicts-alien-invasion-during-world-cup...
3•austinallegro•15m ago•0 comments

Shoutout to Canadian Youth: A 16-Year-Old Shipped When Graduates Skipped

https://codrlabs.com/blog/shoutout-canadian-youth-shipped-when-graduates-skipped
1•codrlabs•16m ago•0 comments

DeepSeek V4 Flash optimized framework and model variants for DGX Spark

https://github.com/sleepyeldrazi/ds4-nvfp4-spark
3•sleepyeldrazi•18m ago•1 comments

AI and tech are trying to influence the midterm elections

https://text.npr.org/nx-s1-5856359
2•pera•18m ago•0 comments

Search, Discovery, Pills, and Portals

https://contraptions.venkateshrao.com/p/search-discovery-pills-and-portals
1•jger15•19m ago•0 comments

Frontier Spaces

https://marginpoints.substack.com/p/frontier-spaces
1•historian1066•19m ago•0 comments

Ask HN: What did you find out or explore today?

3•blahaj•21m ago•1 comments

AI Agent / Harness Engineer

https://www.saturnterminal.com/
1•Ryanaga•23m ago•0 comments

Y2Kspace: 90s/2000s TV channel surfer in retro rooms

https://y2kspace.com/
1•jeremwhi•23m ago•1 comments

Your Own Private AI, Part 2: Secure Access from Anywhere with Tailscale Aperture

https://10io.com/blog/private-ai-part-2-secure-access-via-tailscale-aperture
1•anactofgod•23m ago•2 comments

Following user outcry, AMD reinstates memory encryption in consumer CPUs

https://arstechnica.com/security/2026/06/following-user-outcry-amd-reinstates-memory-encryption-i...
3•AdmiralAsshat•25m ago•1 comments

Scale Your Superpowers, Not Your Job Titles

https://www.lukew.com/ff/entry.asp?2154
2•speckx•26m ago•0 comments

ULID -- Universally Unique Lexicographically Sortable Identifier

https://github.com/ulid/spec
3•gjvc•27m ago•0 comments

Local lint, type-check and AI security dashboard for modern full-stack projects

https://www.npmjs.com/package/projectlens
1•dagmawibabi•28m ago•1 comments

TamaGo unikernels can now choose between gVisor and lneto network stacks

https://infosec.exchange/@lcars/116736159481184882
3•dolmen•28m ago•0 comments