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!

Never gonna print you up

https://dixken.de/blog/never-gonna-print-you-up
1•tweenagedream•3m ago•0 comments

Anatomy of Automation

https://eblog.fly.dev/swtalmud.html
1•Mateo781201•7m ago•0 comments

Ask HN: Why is it so hard to promote/market even when the product seems right

1•lywald•9m ago•1 comments

Tell HN: You now have to pay for your IPv4 address at OVHCloud

https://blog.ovhcloud.com/en/posts/public-cloud-pricing-update-october-2026/
1•omani•9m ago•0 comments

Show HN: Hacker Times, a New York Times-Inspired Version Hacker News

https://hackertimes.ca/
2•polpenn•12m ago•0 comments

Electricity Prices Based on Average Percentage Votes for Democrats in Elections

https://insurancedimes.com/2026/01/12/electricity-prices-based-on-average-percentage-votes-for-de...
2•crookedroad44•17m ago•1 comments

Deadly Intel Fab 28 explosion causes two-week shutdown, cost $600M

https://www.tomshardware.com/pc-components/cpus/deadly-intel-fab-28-explosion-causes-two-week-shu...
1•gmays•18m ago•0 comments

Google search has gone from being handy to useless (cartoon)

https://www.theguardian.com/commentisfree/picture/2026/nov/02/google-search-has-gone-from-being-v...
1•ggm•18m ago•0 comments

Fractran

https://en.wikipedia.org/wiki/FRACTRAN
2•lisper•18m ago•0 comments

Musk is throttling Grok because its cost is 'unsustainably high'

https://finance.yahoo.com/technology/article/musk-is-throttling-grok-because-its-cost-is-unsustai...
5•fraXis•23m ago•2 comments

Our organizations are being DDoSed from the inside

https://karrisaarinen.com/posts/our-organizations-are-being-ddosed-from-the-inside/
4•gpi•26m ago•0 comments

On-device re-write via WebLLM in a Chrome extension

https://chromewebstore.google.com/detail/restated-rewrite-tone-on/lhfidcgfjjiiodkbnikdcnanckmbpimo
1•micahlhoover•28m ago•0 comments

Anthropic warns that it's close to RSI capability

https://techcrunch.com/2026/11/02/anthropic-warns-that-its-very-close-to-rsi-capability-aka-self-...
1•cryptoz•32m ago•0 comments

DiscImageStudio: burn visible artwork onto CDs, DVDs and Blu-ray discs

https://github.com/JiaFeiMiao-K-Cat/DiscImageStudio
16•bpierre•32m ago•3 comments

Work on GEFS (The Good Enough File System) for OpenBSD Progresses

https://www.undeadly.org/cgi?action=article;sid=20261101115637
4•swq115•34m ago•0 comments

OpenAI hires former US Army secretary as military seeks to expand AI use

https://www.ft.com/content/e6b8fd40-ef92-46e8-aeaf-f98dade55a67
3•mraniki•35m ago•0 comments

On-device and open source Whisper dictation

https://github.com/jzone3/local-flow
2•jzone3•37m ago•0 comments

California's Billionaire Tax Slips from 52% Support to 42%

https://gizmodo.com/californias-billionaire-tax-slips-from-52-support-to-42-2000834065
2•gumby•43m ago•0 comments

OpenAI considers rebranding data centers to 'AI compute campuses"

https://www.tomshardware.com/tech-industry/data-centers/openai-considers-rebranding-data-centers-...
3•fraXis•47m ago•0 comments

Show HN: HackerTV – HN's most-recommended YT videos as 24/7 TV channels

https://hackertv.org
1•dsalzman•48m ago•0 comments

Show HN: Binge watch ideas from the best people across different domains

https://www.stealbrains.com/tv
1•bebekgoreng•49m ago•0 comments

Maksym Radziwill–'The quasi-Riemann Hypothesis' [video]

https://www.youtube.com/watch?v=kYCOOyYkit8
2•pfdietz•49m ago•1 comments

We Built a Voter Education Specialist Agent That Uses Your Tax Returns

https://serendb.com/caroline-hughes
1•lewistaariq•52m ago•0 comments

Dust-shrouded Milky Way star cluster may be nearly as old as the universe

https://phys.org/news/2026-10-shrouded-milky-star-cluster-universe.html
1•wglb•53m ago•1 comments

Pando - OpenAI's alternative to Git for source control

https://twitter.com/OpenAIDevs/status/2117408792346509663
3•treyhuffine•54m ago•0 comments

Hi guys check out my YouTube native client

https://github.com/XBoom31/crossfade
1•xbum•55m ago•0 comments

Deploying robots into the real world with Tutor (a16z podcast) [video]

https://www.youtube.com/watch?v=lXkjXSul6yg
1•qrush•55m ago•0 comments

UEAS: A modern omnichannel emergency alert standard using UUIDv7 and JSON

https://github.com/itswiktoragain/Unified-Emergency-Alert-Standard/tree/main
1•propalnie15•58m ago•0 comments

Claudbar: An AI side panel for Firefox

https://addons.mozilla.org/firefox/addon/claudbar/
2•sciltomia•1h ago•0 comments

Show HN: Mealumo – log a meal's calories and macros from a photo (iOS)

https://apps.apple.com/us/app/mealumo-ai-calorie-tracker/id6811904664
1•mealumo_vlad•1h ago•0 comments