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!

Practical Lessons from Reinforcement Learning Post Training Experiments [pdf]

https://zenodo.org/records/21115798
1•luvverma2011•49s ago•0 comments

China Cuts 12,200 University Programs, Replaces Many with AI Degrees

https://www.forbes.com/sites/annaesakismith/2026/06/23/china-cuts-12200-university-programs-repla...
2•happy-go-lucky•6m ago•0 comments

Non-tech background, choosing between using CLaudeCode and CodeX

1•virtuallymundo•8m ago•0 comments

Texans deserve more then a Ken Paxton snake game

https://paxtonsnake.3d2k.com/
1•KilledByAPixel•9m ago•1 comments

Show HN: Figment – An AI that I made my friends talk to for 2 weeks

https://figment.computer/
1•subby•11m ago•0 comments

Burner Email, Temp email Box lasting 24 hours

https://burneremail24.com/
1•texasjosh•11m ago•0 comments

Llama 2 LLM on DOS (2025)

https://yeokhengmeng.com/2025/04/llama2-llm-on-dos/
1•userbinator•11m ago•0 comments

Rutazo – Argentina's freight marketplace, built solo in 4 months

https://www.rutazo.com
1•cookinat•11m ago•0 comments

Citicorp Center Engineering Crisis

https://en.wikipedia.org/wiki/Citicorp_Center_engineering_crisis
2•thunderbong•13m ago•1 comments

What's slowing down the AI buildout

https://www.worksinprogress.news/p/ai-is-bottlenecked-by-the-grid
1•droidjj•17m ago•0 comments

Researchers uncover possible cause of muscle pain from cholesterol medication

https://medicalxpress.com/news/2026-07-uncover-muscle-pain-widely-cholesterol.html
2•brandonb•19m ago•0 comments

Show HN: Free and OSS way to extend client-facing functionality of Linear

https://linear.gratis/
1•gvlachos•22m ago•0 comments

AI could keep poor countries poor

https://newsletter.deenamousa.com/p/ai-could-keep-poor-countries-poor
2•zaik•23m ago•0 comments

Morph Chess

https://www.david-duval.com/morph-chess/
1•dvduval•24m ago•1 comments

Looksmaxxing influencer who fled police found dead

https://thetab.com/2026/07/08/looksmaxxing-influencer-who-fled-police-found-dead-after-swimming-n...
2•andsoitis•25m ago•0 comments

Character AI Alternative for Roleplay

https://chatbrat.ai/bratlog/best-character-ai-alternatives-2026
1•henrypissler•26m ago•0 comments

The library of lost journals 603 pages novel fiction book

https://play.google.com/store/books/details/The_Library_of_Lost_Journals_The_Archivist_s_Journ?id...
1•mjbachhav•29m ago•0 comments

DDB: Source-Level Interactive Debugging for Distributed Applications

https://arxiv.org/abs/2607.06107
1•Jimmc414•30m ago•0 comments

Ask HN: How to recover from thin content or de-indexing penalty on Google

2•anitroves•30m ago•2 comments

Meta Patents AI Device That Tracks Your Emotions, Watches You Take Your Meds

https://www.404media.co/meta-patents-ai-device-that-tracks-your-emotions-watches-you-take-your-meds/
4•Jimmc414•30m ago•0 comments

Counterfeit Air-Bags Are Killing U.S. Drivers–and the Government Can't Stop It

https://www.wsj.com/business/autos/counterfeit-air-bag-parts-deaths-regulators-6eddfdd4
1•fortran77•31m ago•1 comments

Ergo: Long Form Philosophy Lectures

https://ergo.org/
1•agnishom•34m ago•0 comments

Neuromancer (TV Series) – IMDB

https://www.imdb.com/title/tt31512174/
1•evo_9•39m ago•0 comments

Two teens learn the hard way not to do toy gun drive-bys from a Waymo

https://arstechnica.com/cars/2026/07/two-teens-learn-the-hard-way-not-to-do-toy-gun-drivebys-from...
1•gbourne1•47m ago•2 comments

FIFA president targeted by complaint to Olympic ethics body

https://www.pbs.org/newshour/world/fifas-infantino-targeted-by-complaint-to-olympic-ethics-body-a...
1•Jimmc414•49m ago•0 comments

Automattic Code for the People Is Rallying Cry for Open Internet

https://variety.com/2026/digital/news/automattic-code-for-the-people-1236802508/
1•pentagrama•50m ago•0 comments

A self-driving Waymo just reports its own passengers to police

https://www.fastcompany.com/91570761/a-self-driving-waymo-just-reported-its-own-passengers-to-police
1•PaulHoule•51m ago•1 comments

Grudge: Stochastic data structure for holding multi-tenant grudges

https://github.com/satmihir/grudge
1•jscrab•52m ago•0 comments

AI models' values are different from most people's

https://www.economist.com/briefing/2026/06/25/ai-models-values-are-very-different-from-most-peoples
1•Khaine•53m ago•0 comments

Widevine

https://en.wikipedia.org/wiki/Widevine
1•gregsadetsky•54m ago•0 comments