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!

Ask HN: Why do you use Ubuntu?

1•flanked-evergl•2m ago•0 comments

ByteDance Launches AI Office Product "Doubao Work"

https://www.ithome.com/0/993/865.htm
1•JulianVance•3m ago•1 comments

US removes Syria from terrorism sponsor list, lifting major investment obstacle

https://www.reuters.com/world/middle-east/us-removes-syrias-designation-state-sponsor-terrorism-2...
1•imadj•5m ago•0 comments

Effect v4 core package now has no external dependencies

https://twitter.com/tim_smart/status/2092430414837407896
1•tosh•5m ago•0 comments

Ask HN: What are you using to access x.com at the moment?

1•throwaw12•5m ago•0 comments

Bill Gates says world has "no plan" on AI in new essay

https://www.gatesnotes.com/a-turbulent-ai-era-and-critical-choices-to-make
2•aroman•8m ago•0 comments

S21

https://store.steampowered.com/app/4953120/S21/
2•ofrzeta•9m ago•1 comments

Dollywood

https://en.wikipedia.org/wiki/Dollywood
1•thunderbong•9m ago•0 comments

How to export Gemini chat to word without losing formatting [video]

https://www.youtube.com/watch?v=PZZGjJpPDM0
2•slimcrm•10m ago•1 comments

A joke for founders about the perfect startup geography [20 secs]

https://www.mangialardi.it/the-startup-paradox/
1•rm30•10m ago•1 comments

CSS Runtime Performance

https://nolanlawson.github.io/css-talk-2022/#1
1•luu•12m ago•0 comments

Show HN: Buslens – where can I get to by bus? (UK)

https://rupertlinacre.com/buslens/
1•RobinL•15m ago•0 comments

The Cowpox of Doubt (2014)

https://slatestarcodex.com/2014/04/15/the-cowpox-of-doubt/
1•pr337h4m•20m ago•0 comments

Disrupting a new covert influence campaign from Russia

https://openai.com/index/disrupting-malicious-uses-of-ai-influence-campaign-russia/
3•sam_lowry_•20m ago•0 comments

More than 100 suspicious images in Thermo Fisher antibody catalogue

https://www.nature.com/articles/d41586-026-01706-2
1•isaacfrond•22m ago•0 comments

Chinese regulators tell Tesla to fix nearly 3M cars

https://arstechnica.com/cars/2026/08/chinese-regulators-tell-tesla-to-fix-nearly-3-million-cars/
2•rbanffy•23m ago•1 comments

Global All Purpose Script

2•manesiro•24m ago•2 comments

World humanoid robot games show runners breaking records, bursting into flames

https://arstechnica.com/ai/2026/08/world-humanoid-robot-games-show-runners-breaking-records-burst...
2•robin_reala•32m ago•0 comments

NEET: Not in Education, Employment or Training. It's too late to fix this, but

https://www.virtueonline.org/post/neet-not-in-education-employment-or-trainingit-s-too-late-to-fi...
2•Michelangelo11•32m ago•0 comments

Show HN: Octomind Routines – scheduled agents on persistent cloud machines

https://octomind.run/blog/routines-scheduled-agents
1•donk8r•35m ago•0 comments

France, Saudi Arabia agree on €6B Dragon Ball Z theme park project near Paris

https://www.reuters.com/world/middle-east/france-saudi-arabia-agree-6-billion-dragon-ball-z-theme...
5•mmarian•35m ago•0 comments

Miroslav Tichý

https://en.wikipedia.org/wiki/Miroslav_Tich%C3%BD
2•Michelangelo11•39m ago•1 comments

Declinism

https://en.wikipedia.org/wiki/Declinism
3•soupspaces•40m ago•0 comments

A more nuanced view of LLMs

https://anarc.at/blog/2026-08-25-llm-nuance/
2•lumpa•42m ago•0 comments

Perplexity: A Local-First Agent for Private Knowledge Work

https://www.perplexity.ai/hub/blog/a-local-first-agent-for-private-and-cost-effective-knowledge-work
3•tosh•42m ago•0 comments

A Tour of Differentiable Rasterization

https://srush.github.io/DiffRast/
1•coffeeaddict1•45m ago•0 comments

Glyphcss › an ASCII render playground for 3D models (OBJ, glTF, STL, .vox)

https://glyphcss.com/gallery/
1•zakxxi•47m ago•0 comments

ArXiv: CTTE: An Open Dual-Protocol RISC-V Trace Encoder for N-Trace and E-Trace

https://arxiv.org/abs/2608.18170
1•xlbxrt•47m ago•0 comments

The tech community has lost an icon

https://twitter.com/RonConway/status/2092269443653181673
1•tosh•48m ago•0 comments

Addressing a sticking point in sustainable adhesives

https://www.technologyreview.com/2026/08/25/1140902/addressing-a-sticking-point-in-sustainable-ad...
1•joozio•49m ago•0 comments