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!

Nvidia Opens Investigation into Jensen Huang's Relationship with Chinese Spy

https://www.nytimes.com/2026/11/08/technology/nvidia-investigation-jensen-huang-china.html
1•Aboutplants•30s ago•1 comments

Show HN: Hyper Compress: The Best Open Source PDF Compression Engine

https://github.com/alam00000/bentopdf-hyper-compress
1•__alam__•59s ago•0 comments

Living in Omelas (2025)

https://www.currentaffairs.org/news/living-in-omelas
1•convict•1m ago•0 comments

Not another AI note taker

https://useskribble.com
1•jbuchananr•2m ago•0 comments

FBI arrests man accused of using Steam games to drain victims' crypto wallets

https://techcrunch.com/2026/07/17/fbi-arrests-man-accused-of-using-steam-games-to-drain-victims-c...
2•paulpauper•2m ago•0 comments

Show HN: APC Playground – Stop AI agents from modifying your API tool calls

https://alephapc.com/playground
1•apcaleph•4m ago•0 comments

What you should know about fundamental physics

https://motionmountain.substack.com/p/what-you-should-know-about-fundamental
1•PrettyPebble•5m ago•0 comments

Vibe-Shield – Static security scanner for AI-generated Next.js/Supabase code

https://github.com/avivgerz-hue/vibe-shield
1•crib-award-cont•5m ago•0 comments

Are You a GLP-1 Nonresponder?

https://www.yalemedicine.org/news/are-you-a-glp-1-nonresponder
1•paulpauper•5m ago•0 comments

U.S. Obesity Rate Drops as Use of GLP-1 Weight Loss Drugs Surges

https://www.usnews.com/news/national-news/articles/2026-07-07/u-s-obesity-rate-drops-as-use-of-gl...
1•paulpauper•6m ago•0 comments

Just Fucking Use IPv6

https://dreamstation.systems/personal/justuseipv6.html
1•robinpie•6m ago•0 comments

LLMs can understand and write neural network weights

https://github.com/RikiyaT/lm_understand-logs
1•modinfo•7m ago•0 comments

Technology Has Become Disrespectful

https://bdvorak.com/blog/tech-is-disrespectful/
2•ben_d•11m ago•0 comments

Nvidia Board to Probe Spying Case After CEO Admits Affair

https://www.bloomberg.com/news/articles/2026-11-08/nvidia-board-to-probe-spying-case-after-ceo-je...
6•specialp•12m ago•2 comments

A Git hook to augment Claude-code attribution

https://gist.github.com/imaitland/caefe0b2d6f007f1c200ee4e294f8494
1•maitland•13m ago•0 comments

Show HN: Claude Opus 5.5 (Max) best at generating startup ideas

https://asiprize.com/
2•AustinHatfiel•14m ago•0 comments

Peer-to-peer WebRTC connections with built-in signaling and discovery

https://github.com/lukks/like-webrtc
1•LuKks•16m ago•1 comments

Extreme cold. Pollution. Why do locals love the Arctic city of Norilsk? (2015)

https://www.new-east-archive.org/features/show/3646/russian-north-norilsk-our-town
1•carlos-menezes•19m ago•0 comments

Grote Reber and the 'Square Kilometre Array' Near Bothwell, Tasmania (2017)

https://www.researchgate.net/publication/319702287_THE_HISTORY_OF_EARLY_LOW_FREQUENCY_RADIO_ASTRO...
1•NaOH•21m ago•0 comments

Army cooks are now 'tactical field feeding specialists'

https://taskandpurpose.com/news/army-92g-tactical-feeding-specialists-cooks/
1•ilamont•25m ago•0 comments

A Farewell to Hubs

https://arcan-fe.com/2026/10/23/a-farewell-to-hubs/
1•steve-chavez•26m ago•0 comments

A new cardiovascular drug lowered Lp(a) by 78%. Why didn't heart events fall?

https://www.empirical.health/blog/pelacarsen-lpa-horizon-results/
1•brandonb•26m ago•0 comments

Croft – A VSCode-style TUI text editor

https://terminaltrove.com/croft/
2•vitali87•28m ago•0 comments

Show HN: A medieval world where growth and citizens are pure functions of time

https://github.com/retrogames23/samenland
1•doener•30m ago•0 comments

0: An open-source multi-model harness for security research

https://0.security/
2•bartonaut•31m ago•1 comments

Show HN: Minimalistic roguelike game about hiking in Clojure

https://github.com/postboy/roguehike
1•postboy•34m ago•0 comments

New method Binance and Crypto Drainer, +$70k a week

2•jambini•34m ago•0 comments

Bloomington, Indiana Bans Artificial Intelligence: Ordinance 2026-29 Explained

https://explainx.ai/blog/bloomington-indiana-superintelligence-ban-ordinance-2026-29-2026
3•extraextra•35m ago•0 comments

Starship Flight 15 on 11/13 plans to catch both booster and ship

https://www.spacex.com/launches/starship-flight-15
10•spikels•36m ago•2 comments

Show HN: Vynyo – AI creative studio for hairstyle, image and video

https://vynyo.com
1•zhoouweiyuan51•36m ago•0 comments