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!

Show HN: Celorga – A portable re-implementation of Org for you and your agents

https://github.com/aviaviavi/celorga
1•aviaviavi•43s ago•0 comments

DeepSeek banned from U.S. federal civilian agencies under new DHS order

https://public-inspection.federalregister.gov/2026-21447.pdf
2•cmrdporcupine•2m ago•0 comments

Microsoft pulls out of UK's largest AI data centre

https://www.bbc.co.uk/news/articles/c9m26kl5y7epo
1•HatchedLake721•3m ago•0 comments

Indians' rights have been chipped away for decades

https://www.economist.com/asia/2026/10/18/indians-rights-have-been-chipped-away-for-decades
1•privacyishuman•6m ago•0 comments

Vendor Hooks in the Android Kernel

https://lwn.net/Articles/1098493
1•hn9zmdcaou•7m ago•0 comments

Components Are Dead; and Now for Something Different

https://www.wix.engineering/post/components-are-dead-and-now-for-something-completely-different
1•yoava•7m ago•0 comments

AI and the future of human made music (2023)

https://www.furious.com/perfect/artificialintelligencemusic.html
1•LichenStone•8m ago•1 comments

Lessons Learned building an MCP proxy that acts as a behavioral firewall

https://wiki.alcidesfonseca.com/blog/lessons-learned-building-fronteira/
1•alcidesfonseca•9m ago•0 comments

Japanese TV Station Interviews Americans About Their Love for Kei Trucks

https://www.thedrive.com/news/japanese-tv-station-interviews-americans-about-their-love-for-kei-t...
1•cf100clunk•10m ago•0 comments

Pentulive (Puppy Live) [video]

https://yle.fi/t/18-332106/fi
1•NaOH•10m ago•0 comments

Check if AI crawlers are blocked by your robots.txt – free tool

http://crawl-check.user-sentry.com/
1•soloviber•11m ago•0 comments

Magnetic Declination

https://www.magnetic-declination.com/
1•jacquesm•12m ago•0 comments

Dungeon Generation in the Gnomish Mines of NetHack

https://www.boristhebrave.com/2026/10/18/dungeon-generation-in-the-gnomish-mines-of-nethack/
2•ibobev•12m ago•0 comments

US Rep proposes bill to give video game buyers "ownership," not "a license"

https://arstechnica.com/gaming/2026/10/us-rep-proposes-bill-to-give-video-game-buyers-ownership-n...
2•jaredwiener•12m ago•0 comments

Monopoly Round-Up: Goodbye AI Bubble, Hello Real Economy

https://www.thebignewsletter.com/p/monopoly-round-up-pop-the-damn-ai
1•PaulHoule•13m ago•0 comments

Chain of Thought for Humans

https://www.boristhebrave.com/2026/10/18/chain-of-thought-for-humans/
1•ibobev•13m ago•0 comments

Rioters loot stores, set fires in central Milan during cost-of-living protest

https://apnews.com/article/italy-milan-riots-living-costs-aada57790a8d2d3c02ab55911b9ecead
2•aliasxneo•13m ago•0 comments

Now You're Cooking – Announce Postmortem

https://gamesbymason.com/blog/2026/nyc-announce-postmortem/
1•ibobev•13m ago•0 comments

Fans/users replaced by bots. Anybody worried?

1•joaquieneCnix•13m ago•1 comments

Contextbridge-AI

https://github.com/mujtabamisri/contextbridge-ai
1•mujtabamisri•15m ago•0 comments

AI companies are coming for the plumbers

https://www.tomshardware.com/tech-industry/artificial-intelligence/ai-lab-offers-free-plumbing-an...
15•whatdowecallu•15m ago•8 comments

Are Countries with Lower Inequality More Altruistic?

https://www.nominalnews.com/p/lower-inequality-altruism-selfishness
1•NomNew•16m ago•0 comments

Distributed AI Models

https://dismodels.com/tutorials
2•agentsocializer•17m ago•0 comments

A Chinese rocket deorbited over Minnesota and left this in a farmer's cornfield

https://arstechnica.com/space/2026/10/a-chinese-rocket-deorbited-over-minnesota-and-left-this-in-...
1•tatersolid•17m ago•0 comments

Boxer – A lightweight 2D game library in C (WIP)

https://github.com/n67094/boxer
1•n67094•18m ago•0 comments

Launch HN: Laminar (YC S24) – We trained a model to catch silent agent failures

6•skull8888888•19m ago•0 comments

Is Entry Level Dead?

https://seeglassbox.com/market/entry-level-software/is-entry-level-dead
1•muturii•19m ago•0 comments

Tinycast

https://github.com/abue-ammar/tinycast
1•chrkl•22m ago•1 comments

Aesthetic Compass: mapping an art portfolio on two aesthetic axes

https://teia.cafe/dashboard/sample/
1•ryangtanaka_tei•22m ago•0 comments

Terra Incognita: The Economics of a Shrinking World [pdf]

https://www.sas.upenn.edu/~jesusfv/Demographics.pdf
1•mooreds•24m ago•0 comments