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!

Open and Emergent Problems in Agentic Privacy and Security

https://research.google/pubs/open-and-emergent-problems-in-agentic-privacy-and-security-a-context...
1•eustoria•47s ago•0 comments

The Engineering Behind the Internet [video]

https://www.youtube.com/watch?v=NiCgcUTL9_Q
1•gmays•2m ago•0 comments

CVE-2026-49950 and Why Upgrading Xinference Isn't Enough

https://medium.com/@husenet/cve-2026-49950-and-why-upgrading-xinference-isnt-enough-dd3c1f75deac
2•wondersky•4m ago•0 comments

Polymarket saw $600M in election trades after the elections were over

https://www.wired.com/story/over-dollar600-million-traded-on-polymarket-election-contracts-after-...
2•wondersky•8m ago•0 comments

Show HN: Open Scrantic – Johnny Castaway in Rust, from Disassembly via REA

https://github.com/glauberlima/open-scrantic
1•glauber•9m ago•0 comments

"thegentlemanpervert" producing AI CSAM is a NJ prosecutor, say cops

https://arstechnica.com/tech-policy/2026/10/thegentlemanpervert-producing-ai-csam-is-a-nj-prosecu...
3•snarky-comments•11m ago•0 comments

Amazon's Bee AI devices have a bystander problem, says former security engineer

https://www.geekwire.com/2026/amazons-new-bee-ai-devices-have-a-bystander-problem-says-former-aws...
1•hackernj•13m ago•0 comments

My Year of OCD

https://www.newyorker.com/culture/the-weekend-essay/my-year-of-ocd
1•fortran77•13m ago•0 comments

Rabbits were a medieval royal luxury in England until the Black Death

https://phys.org/news/2026-10-rabbits-medieval-royal-luxury-england.html
1•samizdis•14m ago•0 comments

Show HN: Theseus the Mouse by Claude S. (and Claude O.)

https://github.com/rupello/theseus/
1•rupellohn•14m ago•0 comments

Show HN: Roadster AI – Turn a photo of your car into a kickflip video

https://flyingcar-ai.net
1•hashkitly•15m ago•0 comments

Personal Editor

https://en.wikipedia.org/wiki/Personal_Editor
1•robin_reala•16m ago•0 comments

Illustrating the AI proof of the Mahler conjecture

https://chessapig.github.io/Mahler
1•lukasschwab•17m ago•0 comments

Playing old strategy games in 2026

https://replicated.live/blog/games
1•andsoitis•18m ago•0 comments

MathLapse: Constructions by pin-and-string: conics [video]

https://www.youtube.com/watch?v=mldZ_7QwLvs
1•vismit2000•19m ago•0 comments

American Retirees on Different Incomes Rely on Social Security

https://www.nytimes.com/2026/10/12/business/social-security-income-retirement-benefits.html
3•toomuchtodo•20m ago•2 comments

Solar surpasses nuclear power globally for first time – pv magazine Global

https://www.pv-magazine.com/2026/09/29/solar-surpasses-nuclear-power-globally-for-first-time/
22•xbmcuser•20m ago•5 comments

Scientists Reveal How Pancreatic Cancer Evolves to Evade Treatment

https://today.ucsd.edu/story/scientists-reveal-how-pancreatic-cancer-evolves-to-evade-treatment
1•gmays•21m ago•0 comments

Ask HN: How do I stop Gemini Live from asking."Would like to know more about..?"

2•orsenthil•22m ago•1 comments

Null Surprises

https://wizardzines.com/comics/null-surprises/
1•vismit2000•23m ago•0 comments

Ask HN: Why people do not want to believe weight loss is possible without GLPs?

1•faangguyindia•24m ago•8 comments

I built a Telegram bot that tells me when watched Instagram accounts post

https://hikerapi.com/
1•SAdfzVGBXCNVB•25m ago•0 comments

Making Chicken Transparent Using Dorito Dust

https://chillphysicsenjoyer.substack.com/p/making-chicken-transparent-using
2•crescit_eundo•26m ago•0 comments

Using the brella to re-create Reddit

https://ahptour.com/blog/using-the-brella-to-re-create-reddit/
3•andrewfromx•27m ago•0 comments

Show HN: Esp32sim – Run ESP32 firmware in the browser

https://github.com/mikroverk/esp32sim
3•joakimeriksson•30m ago•0 comments

New Tesla Roadster: My Honest Reaction

https://www.youtube.com/watch?v=scwlR0QHGOk
2•Betelbuddy•32m ago•0 comments

Life After Death?

https://pudding.cool/2026/10/lifeafter/
1•gmays•35m ago•0 comments

Seminal Book Auction at Sotheby's

https://www.sothebys.com/en/series/reason-and-revolution-extraordinary-works-from-a-distinguished...
1•herodotus•35m ago•1 comments

Nexus-Q update: V4 native back end is now in main

https://nexus-q.link/
1•lecodev•36m ago•0 comments

Takto open-source hand exoskeleton

https://github.com/molanocortes/takto-one/tree/main
2•andsoitis•39m ago•1 comments