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!

Australopithecus did not consume substantial mammalian meat

https://www.science.org/doi/10.1126/science.adq7315
1•aziaziazi•3m ago•0 comments

HuggingFace Security incident disclosure – July 2026

https://huggingface.co/blog/security-incident-july-2026
1•Daviey•4m ago•0 comments

The Secret Math Society Known Simply as Nicolas Bourbaki

https://www.quantamagazine.org/inside-the-secret-math-society-known-as-nicolas-bourbaki-20201109/
1•pykello•5m ago•0 comments

Show HN: Loris Tunnel – an open-source desktop manager for SSH tunnels

https://github.com/RangerWolf/loris-tunnel-app
2•rangerwolf•7m ago•0 comments

The Computer at the Bottom of a Canal

https://negroniventurestudios.com/2026/07/18/the-computer-at-the-bottom-of-a-canal/
1•Kudos•8m ago•0 comments

Neither GCC nor Clang are compliant with standard C++

https://sebsite.pw/w/20260708-badstdcxx.html
1•jandeboevrie•11m ago•1 comments

Pal Routes: shortest Palworld 1.0 breeding routes from your owned Pals

https://palroutes.com/
1•AsterXing•11m ago•0 comments

Brazil Eyes Film Royalties and Drug Patents in US Tariff Retaliation

https://www.riotimesonline.com/brazil-us-tariff-film-royalties-drug-patents/
1•vrganj•17m ago•0 comments

Israeli ministers announce plans for illegal settlements in Gaza and West Bank

https://www.theguardian.com/world/2026/jul/18/israel-plan-new-illegal-settlements-gaza-west-bank-...
4•kubafu•18m ago•1 comments

Show HN: Fosnie – open-source self-hosted AI workspace for regulated teams

https://fosnie.dev/
1•bellapai•23m ago•0 comments

Wp2shell Pre Authentication RCE in WordPress Core

https://wp2shell.com/
1•Techbrunch•26m ago•1 comments

AI Mania Is Eviscerating Global Decision-Making

https://ludic.mataroa.blog/blog/ai-mania-is-eviscerating-global-decision-making/
4•bertman•28m ago•0 comments

Timeline Studio

https://github.com/MartinDelophy/ai-video-editor
1•martindelophy•30m ago•0 comments

Compaction

https://developers.openai.com/api/docs/guides/compaction
1•tosh•30m ago•0 comments

Cryptids

https://en.wikipedia.org/wiki/List_of_cryptids
2•tosh•32m ago•0 comments

We run 100% agentic coding at a €2M ARR healthcare SaaS

https://agenticprime.ai/issues/agentic-coding-healthcare-saas/
1•tosh•38m ago•0 comments

Flight Planning with Little Navmap

https://tech.marksblogg.com/little-navmap-flight-planning.html
1•marklit•40m ago•0 comments

Uruky – The Paid European Search Engine

https://robheghan.prose.sh/26_06_30_uruky
1•birdculture•42m ago•0 comments

Curated list of academic papers using Binary Ninja

https://github.com/affinepoly/awesome-binja-papers
2•affinepoly•42m ago•0 comments

JobsNate

https://www.jobsnate.com/
1•neodynix•46m ago•0 comments

Vikram-1, India's first private orbital rocket, aces debut launch

https://www.space.com/space-exploration/launches-spacecraft/skyroot-aerospace-india-first-private...
3•porridgeraisin•49m ago•0 comments

Behind the scenes: watching media on the browser (2021)

https://asyncimpulse.com/behind-the-scenes-watching-media-on-the-browser/
1•csmantle•51m ago•0 comments

External Commentary on LLM Global Workspace Representations [pdf]

https://www-cdn.anthropic.com/files/4zrzovbb/website/cc4be2488d65e54a6ed06492f8968398ddc18ebe.pdf
1•allenleee•51m ago•0 comments

US oil firms sign deals with Iraq to develop alternative shipping routes

https://apnews.com/article/oil-iraq-pipeline-deal-582b42f21cb62cfe8dc6c8e73d1dcafa
1•geox•53m ago•0 comments

Show HN: Yapp.page, publish a webpage from a Claude or ChatGPT chat

https://yapp.page/
1•hpko•59m ago•0 comments

The Sandpaper Cover of the Return of the Durutti Column (2014)

https://daily.redbullmusicacademy.com/2014/04/return-of-the-durutti-column-feature/
2•ravetcofx•1h ago•0 comments

Find What SaaS Tools Competitors Use via Sub-Processors

https://ashishb.net/tech/sub-processors-leak-saas-stack/
8•ashishb•1h ago•0 comments

How Reddit Detects Ban Evasion – and Why a New Account Isn't Enough

https://medium.com/@thesuperrepemail/how-reddit-detects-ban-evasion-and-why-a-new-account-isnt-en...
3•rajsuper123•1h ago•0 comments

DOSBox on OpenVMS (Alpha CPU)

https://astr0baby.online/AXP/OpenVMS/DOSBOX/
1•jandeboevrie•1h ago•0 comments

Vörwatch: The VPS Monitoring Tool

https://medium.com/@vektormemory/v%C3%B6rwatch-the-vps-monitoring-tool-we-built-because-we-needed...
1•vektormemory•1h ago•0 comments