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!

USGS Tsunami Warning System

https://www.tsunami.gov/
1•hmnxrne•4m ago•0 comments

Why is bun so disliked?

https://www.reddit.com/r/webdev/comments/1wx1y2u/why_is_bun_so_disliked/
1•lr0•4m ago•0 comments

Codesmith's flagship open source project compromised, thousands at risk

https://www.deepwoodssec.com/research/reactime
1•michaelnovati•4m ago•0 comments

Elon Musk's PAC is spreading inaccurate voting info, election officials say

https://www.cnn.com/2026/10/10/politics/elon-musk-pac-inaccurate-voting-information
3•MilnerRoute•5m ago•0 comments

Thoughts on the Current State (Especially Quality Issues) and Future of Bun

https://github.com/oven-sh/bun/issues/27664
1•lr0•5m ago•0 comments

Wildfire xPrize Winners

https://robotsandstartups.substack.com/p/wildfire-xprize-winners-women-in
1•robotlaunch•6m ago•1 comments

Ask HN: Curious, who can afford to buy in SF?

2•rubicon33•11m ago•1 comments

Show HN: I made an agent can self-improving while working

https://yehuitang0316.github.io/gear-site/
2•yt1998•20m ago•2 comments

AI is changing how Lawyers work – and putting the billable hour under pressure

https://www.cnbc.com/2026/10/10/ai-lawyers-billable-hour-legal-careers.html
2•peter_d_sherman•26m ago•0 comments

Ask HN: Can we discourage Show HNs that "ship the first draft"

1•cadamsdotcom•27m ago•0 comments

Show HN: Drune – Personalize your AI and use it anywhere

https://drune.ai/
1•vskalyan•28m ago•0 comments

Fall To One (Math Song) [video]

https://www.youtube.com/watch?v=9juhm97co1U
4•metadat•28m ago•0 comments

The Sysco Situation Just Got Worse [video]

https://www.youtube.com/shorts/SVm9M7Ag3lk
3•mikhael•35m ago•0 comments

Things that don't bother me as your manager

https://twitter.com/EmmaBostian/status/2107555593531588648
6•LouisLazaris•39m ago•1 comments

Doory – Open-Source Canva

https://github.com/shaongitbd/doory
4•acley•42m ago•0 comments

The Ethiopian Economic Miracle

https://theborys.substack.com/p/the-ethiopian-economic-miracle
3•kspacewalk2•43m ago•0 comments

What Makes a Good Notebook

https://scrively.org/what-makes-a-good-notebook-etchr-lab-interview/
2•andsoitis•56m ago•0 comments

Whey up: Protein powder prices soar as global demand grows

https://www.cbc.ca/news/business/whey-up-protein-powder-prices-soar-as-global-demand-grows-9.7369910
4•BiraIgnacio•59m ago•0 comments

Creative Fuel Prompts

https://fromthepencup.wordpress.com/2026/10/02/creative-fuel-prompts/
2•andsoitis•1h ago•0 comments

Bone Stress Injuries in Runners Using Carbon Fiber Plate Footwear

https://pmc.ncbi.nlm.nih.gov/articles/PMC10356879/
3•bookofjoe•1h ago•0 comments

Engineering Ethics Should Be Part of Technical Training

https://spectrum.ieee.org/integrating-engineering-ethics-education
6•rbanffy•1h ago•4 comments

The Moon Mission That's a High-Tech Cave Hunt

https://www.universetoday.com/articles/nasa-selects-gimli-to-search-the-marius-lunar-pit-for-a-po...
5•rbanffy•1h ago•0 comments

Open Source RUM (Real User Monitoring)

https://www.basicrum.com/
2•ssttoo•1h ago•0 comments

Yes I Understand How LLMs Work

https://kemendo.com/yes-i-understand-how-llms-work.html
4•AndrewKemendo•1h ago•0 comments

Microsoft barred from sponsoring foreign workers for US residency

https://arstechnica.com/tech-policy/2026/10/trump-administration-targets-microsoft-in-new-immigra...
7•rbanffy•1h ago•0 comments

Atticus – Hold-to-talk voice assistant for macOS that runs on Claude -p

https://github.com/SaarthurR/atticus-mac
8•SaarthRanka•1h ago•0 comments

Tandem Himalaya Server S7000

2•combarbala•1h ago•0 comments

MASS: Recursive Self-Improvement Through Multi-Agent Self-Supervision

https://pub.sakana.ai/mass/?href=
4•jonbaer•1h ago•0 comments

Beijing residents dispose of drones ahead of ban on ownership

https://www.abc.net.au/news/2026-10-12/beijing-residents-dispose-drones-ahead-of-ban-on-ownership...
6•uxhacker•1h ago•1 comments

I made an open-source Boom 3D clone. Wanna check it out?

https://github.com/JVGS1111/open-boom
8•joaoviniciusgs•1h ago•1 comments