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!

Is AI Conscious? [video]

https://www.youtube.com/watch?v=DRbZyuY8EN8
1•abc42•52s ago•1 comments

Ats Resume Checker

https://www.apply-tracker.com/en/resume-checker
1•mirnumbing•2m ago•0 comments

The OpenCode default session prompts for plan and edit

https://github.com/anomalyco/opencode/tree/dev/packages/opencode/src/session/prompt
1•walrus01•5m ago•0 comments

Marketing sucks when all you want to do is build."builder's dopamine"

https://www.reddit.com/r/SaaS/comments/1vblhwy/comment/p0z1i6b/
1•absolutedev•7m ago•0 comments

Future euro banknote design proposals

https://www.ecb.europa.eu/euro/banknotes/future_banknotes/html/design-proposals.en.html
1•austinallegro•7m ago•0 comments

Most speed readers break on Japanese, Chinese and Thai

https://www.readkinetic.com/blog/speed-reading-japanese-chinese-thai
1•SamuraiLion•15m ago•0 comments

Show HN: Lightweight, S3-compatible object storage server

https://vaults3.com/
1•open_source_new•16m ago•0 comments

Police in US are using the power of podcasts to crack unsolved murders

https://www.bbc.co.uk/news/articles/cpw9q0ekd9eo
1•zeristor•17m ago•0 comments

Churchill's Ersatz Meeting with Lincoln's Ghost (2018)

https://richardlangworth.com/lincolns-ghost-churchill-white-house
1•thunderbong•25m ago•0 comments

A migrant surge tests Spain's open policies

https://economist.com/europe/2026/07/31/a-migrant-surge-tests-spains-open-policies
21•andsoitis•28m ago•16 comments

Chinese AI Researchers Are Finding Their Voice on X

https://www.wired.com/story/chinese-ai-researchers-are-finding-their-voice-on-x/
5•joozio•30m ago•0 comments

A big win for Android interoperability

https://www.openhomefoundation.org/blog/a-big-win-for-android-interoperability/
1•saeedesmaili•36m ago•0 comments

Spain Regains Control of Enclave After Migrants Overrun It

https://www.wsj.com/world/europe/spain-rushes-to-control-border-after-tens-of-thousands-of-migran...
3•andsoitis•40m ago•0 comments

GPT has proved nonsofic groups are exist

https://twitter.com/iron_redux/status/2083360414037938609
3•demirbey05•40m ago•0 comments

OpenAI's work on Git for large repositories

https://openai-git-upstream.openai.chatgpt.site/
3•fratellobigio•50m ago•0 comments

Applied Electrodynamics (YC S26) A new kind of camera that can see through walls

https://twitter.com/bavser/status/2082868602240385526
2•max_zorin_phd•55m ago•1 comments

Fall of Civilisations: Majapahit – Empire of the Islands [video]

https://www.youtube.com/watch?v=01CZBhZM430
2•hunglee2•57m ago•0 comments

The Open Weight Revolution with Simon Willison

https://oxide-and-friends.transistor.fm/episodes/the-open-weight-revolution-with-simon-willison
1•tosh•59m ago•0 comments

SodaSlim Refreshing Wellness Drink

https://finance.yahoo.com/healthcare/articles/sodaslim-releases-updated-2026-highlights-122400710...
1•miskaash•1h ago•0 comments

My PM agent suggests firing my coding agents and creating a replacement

https://twitter.com/samliuhappy/status/2083437451729949004
4•Bobby_Liu•1h ago•1 comments

Migrating pynfra gh actions pipeline to dsci

https://gemini.google.com/share/2cb21bc5b39a
1•melezhik•1h ago•1 comments

Fast Rust Library for PDF text extraction

https://github.com/firecrawl/pdf-inspector
3•abrbhat•1h ago•0 comments

UPC grants InterDigital second 11-country injunction against Disney

https://ipfray.com/breaking-upc-grants-interdigital-second-11-country-injunction-against-disney/
1•ksec•1h ago•0 comments

A Ton of Space Junk Tumbles Unpredictably to Earth Every Week

https://www.nytimes.com/2026/07/31/world/asia/space-debris-falling-crashing-earth-risk.html
2•0in•1h ago•0 comments

The Screen Act Threatens Privacy Far Beyond Adult Websites

https://www.eff.org/deeplinks/2026/07/screen-act-threatens-privacy-far-beyond-adult-websites
4•mdp2021•1h ago•1 comments

NeverWrite, the ultimate agentic Markdown workspace

https://github.com/jsgrrchg/NeverWrite
1•jsgrrchg•1h ago•0 comments

What Happened to NeXT Computer? Why Steve Jobs' Failed Workstation Became macOS

https://www.youtube.com/watch?v=2mrwr21XkBc
2•cable2600•1h ago•1 comments

The Old Man and the App

https://zhenyi.gibber.blog/the-old-man-and-the-app
2•zhenyi•1h ago•0 comments

Dependency Cultures [video]

https://www.youtube.com/watch?v=E82ly38YEEQ
1•bobajeff•1h ago•0 comments

Show HN: TikTok Coin Calculator – viewer costs vs. creator earnings

https://coinvaluecalc.com/
1•zhonglinxin•1h ago•1 comments