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: KRNL – a quieter browser for the essence of the web

1•keepamovin•1m ago•0 comments

Create high-converting AI UGC ads in minutes

https://aiugcads.net/
1•mrguo•2m ago•0 comments

Show HN: Krbn, a pencil-style 3D renderer with SVG output

https://github.com/vpalos/Krbn
1•vpalos•9m ago•0 comments

The Metaphysics (350 BCE)

https://classics.mit.edu/Aristotle/metaphysics.1.i.html
1•andsoitis•13m ago•0 comments

Meta Deletes Face-Recognition System from Smart Glasses App After Wired Report

https://www.wired.com/story/meta-removes-face-recognition-code-meta-ai-app-smart-glasses/
1•1vuio0pswjnm7•15m ago•0 comments

Hasharot – Control a Claude Code agent on your machine from Telegram

https://github.com/Mamasodikov/hasharot
1•mamasodikov•20m ago•0 comments

Why Rodents Can't Throw Up, in Case You Were Wondering

https://www.smithsonianmag.com/smart-news/why-rodents-cant-throw-up-in-case-you-were-wondering-25...
1•thunderbong•21m ago•0 comments

Show HN: isitsecure - 1-command SAST & DAST & LLM security scanner for web apps

https://github.com/jaurakunal/isitsecure
2•kunaljaura•21m ago•0 comments

The Conversation We're Not Having About AI in Peer Review

https://cabird.com/ide/posts/ai-in-peer-review
1•azhenley•24m ago•0 comments

Why is (the word game) Lingo 'lightning in a bottle'? (2026)

https://icely.neocities.org/articles/lingo-lightning-in-a-bottle
1•icely•25m ago•0 comments

Parents' Phone Addiction Affects Bond with Kids, New Study Finds

https://www.bloomberg.com/news/articles/2026-07-08/parents-phone-addiction-affects-bond-with-kids...
1•1vuio0pswjnm7•30m ago•0 comments

Show HN: River Rescue – Game mechanic for 3yo

https://www.pip.quest/
1•satellite2•31m ago•1 comments

Crypto Criminal Accused of Crypto Crimes Again, While in Jail

https://www.bloomberg.com/news/articles/2026-07-09/crypto-criminal-accused-of-crypto-crimes-again...
1•1vuio0pswjnm7•34m ago•0 comments

Self-replicating spacecraft, a.k.a. von Neumann probes

https://en.wikipedia.org/wiki/Self-replicating_spacecraft
1•gurjeet•35m ago•0 comments

Depone – Delete legacy require_once with proof, not guesswork

https://github.com/lll-lll-lll-lll/depone
2•www_lll•36m ago•0 comments

AI Limit, Social Divide

https://valand.dev/blog/post/ai-limit-divide
1•valand•39m ago•0 comments

Nectar: A programming language that compiles to WebAssembly

https://github.com/HibiscusConsulting/nectar-lang
2•handfuloflight•39m ago•0 comments

Vermont becomes first US state to ban paraquat herbicide over Parkinson's fears

https://www.theguardian.com/environment/2026/may/26/vermont-paraquat-weedkiller-ban
2•xoa•40m ago•0 comments

Show HN: Files402 – share or sell a folder online from $1/mo

https://files402.net/
1•mannders•41m ago•0 comments

The Vintage Beauty of Soviet Control Rooms

https://designyoutrust.com/2018/01/vintage-beauty-soviet-control-rooms/
2•mvdtnz•41m ago•0 comments

Show HN: Numbergram – Make 10 from 4 numbers

https://numbergram.app
1•zmilou•44m ago•1 comments

Show HN: Paste a URL, get an honest answer to "can I build this with a prompt?"

https://onepromptai.app
1•pro_methe5•45m ago•1 comments

Cycle Double Cover Conjecture Proof Using 5.6 Sol Ultra

https://twitter.com/__eknight__/status/2075643450196971805
1•virgildotcodes•47m ago•1 comments

EPA to open habitats of endangered species to logging and mining

https://www.theguardian.com/us-news/2026/jul/10/epa-rollback-endangered-habitats-logging-mining
2•Jimmc414•51m ago•1 comments

The Stubborn Myth of the Literary Genius (2025)

https://www.theatlantic.com/books/2025/11/shakespeare-marlowe-and-myth-literary-genius/684797/
1•bryanrasmussen•53m ago•0 comments

Show HN: I built a YouTube for generative videos in 50 prompts

https://gallery.samsar.one/
1•proy24•56m ago•0 comments

Show HN: Multi person realtime location tracking

https://tracktour.ir
1•misano•1h ago•0 comments

Perforce and Unreal Lore's alternative, another way to use Git

https://github.com/zhuzhonghua/blackgit
1•zhonghua•1h ago•0 comments

How dementia is being defeated

https://www.economist.com/briefing/2026/07/09/how-dementia-is-being-defeated
3•pingou•1h ago•2 comments

Wlctl – a Rust TUI for Managing Wi-Fi/ETH/VPN Using NetworkManager

https://github.com/aashish-thapa/wlctl
3•iamaashishthapa•1h ago•2 comments