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!

A tiny ingestible sensor can measure temperature from inside the body

https://news.mit.edu/2026/tiny-ingestible-sensor-can-measure-temperature-inside-body-0615
1•gmays•2m ago•0 comments

The gentrification of Harajuku: how the coolest city is becoming "uncool"

https://tokyofashiondiaries.com/harajuku-tokyo-gentrification-tokku/
1•totetsu•2m ago•0 comments

Grok Is More Important Than Clean Air, DOJ Says

https://www.motherjones.com/environment/2026/06/grok-doj-justice-naacp-clean-air-act-gas-turbine-...
1•plun9•3m ago•0 comments

Fractal OS

https://fractal-os.com
1•kristianpaul•5m ago•0 comments

Too much Chinese science is ignored by the West

https://www.economist.com/science-and-technology/2026/06/10/too-much-chinese-science-is-ignored-b...
1•i7l•5m ago•0 comments

"Windows Just Killed Linux on June 24th the Exodus Has Begun"

https://www.youtube.com/watch?v=SXk8Ag7rLoo
2•cable2600•6m ago•0 comments

JPMorgan Chase cuts off Anthropic access for its Hong Kong staff

https://www.ft.com/content/de83d303-6a03-456b-bfb9-7b11dd502ab3
1•i7l•7m ago•0 comments

Show HN: Drift

https://samuria.online/drift/
1•samuria•13m ago•0 comments

Tutorial: Python MCP Internal API > LLM

https://www.devclubhouse.com/a/ship-an-mcp-server-in-python-that-exposes-your-internal-api-to-llms
1•marcpope1•18m ago•0 comments

An Embedded Linux on a Single Floppy

https://github.com/w84death/floppinux
5•modinfo•22m ago•0 comments

How the US vs. Anthropic Standoff on Claude Fable Will End

https://futuresearch.ai/claude-fable-ban-forecast/
1•ddp26•25m ago•0 comments

Everyone got replaced [video][23 mins]

https://www.youtube.com/watch?v=WQyMujc7Vik
1•Bender•26m ago•1 comments

Show HN: BeamWeaver – LangChain/DeepAgents-style agents and workflows for Elixir

https://github.com/caudena/beam_weaver
1•caudena•26m ago•0 comments

Amazon Workers Say They're Under Investigation for Speaking About Data Centers

https://www.wired.com/story/amazon-workers-under-internal-investigation-after-speaking-out-about-...
3•1vuio0pswjnm7•30m ago•0 comments

Show HN: Mrs-Hybride-PQC – Hybrid Kyber1024 KEM 5-6x Faster Than HKDF-SHA256

https://github.com/A19dammer91/MRS-Hybride-PQC
1•A19dammer91•34m ago•0 comments

GLM-5.2: The Most Powerful Open Model yet and the Brutal Reality of Running It

https://vettedconsumer.com/glm-5-2-the-most-powerful-open-weight-model-yet-and-the-brutal-reality...
33•ermantrout•34m ago•9 comments

A modest proposal: Reformat everything to make documents more palatable to AI

https://www.theregister.com/ai-and-ml/2026/06/16/a-modest-proposal-reformat-everything-to-make-do...
2•gmays•35m ago•1 comments

Plop Linux

https://www.plop.at/en/ploplinux/index.html
1•modinfo•38m ago•1 comments

Prospective clinical study assumes one trial. What if there are two?

https://pubpeer.com/publications/A4D2D6AD194572CFA62BACD99C46D1
1•appleridge•38m ago•0 comments

Ask HN: Multi-LLM orchestration frameworks that collaborate?

1•ch3coohlink•40m ago•0 comments

CBC to stop airing NHL games after 74 years, end of free hockey on Canadian TV

https://www.theglobeandmail.com/sports/hockey/article-cbc-to-no-longer-air-nhl-hockey-ending-74-y...
3•1vuio0pswjnm7•45m ago•0 comments

Russian Dandelion plant offers solution to global rubber shortage

https://www.theguardian.com/science/2026/jun/17/plantwatch-russian-dandelion-solution-global-rubb...
1•oliculipolicula•48m ago•1 comments

Olympic Cyclist vs. Toaster: Can He Power It? [video]

https://www.youtube.com/watch?v=S4O5voOCqAQ
1•thunderbong•57m ago•0 comments

Apple allows alternative app stores, payments in Brazil

https://www.reuters.com/world/americas/apple-allows-alternative-app-stores-payments-brazil-after-...
1•virgulino•59m ago•0 comments

Coding Theory

https://en.wikipedia.org/wiki/Coding_theory
3•binyu•1h ago•0 comments

Went from zero interviews this year to landing 3 interviews this week

https://resume.metashark.io/
3•grantespo•1h ago•0 comments

AI has granted America new power

https://www.economist.com/leaders/2026/06/18/ai-has-granted-america-vast-new-power
2•andsoitis•1h ago•1 comments

Finally MCP's Tool Poisoning Gap Solved: A Protocol-Level Defense

https://github.com/modelcontextprotocol/modelcontextprotocol/discussions/2913
1•Raj_Sidwadkar•1h ago•0 comments

From Dream Job to 'The Gulag': Inside Staff Revolt Zuckerberg's Brutal AI Push

https://www.inc.com/bruce-crumley/from-dream-job-to-the-gulag-inside-the-meta-staff-revolt-over-z...
2•1vuio0pswjnm7•1h ago•1 comments

Datasette-apps: Apps that live inside Datasette

https://github.com/datasette/datasette-apps
2•doppp•1h ago•0 comments