frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•5mo 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!

Anyone know how to port a game to work on quest?

1•GabrielMMMM•1m ago•0 comments

You're all staff engineers now

https://jdauriemma.com/programming/youre-all-staff-engineers-now
2•jdauriemma•1m ago•0 comments

Predictions for Marketing in 2026

https://aiforcontentmarketing.ai/13-predictions-for-marketing-in-2026/
1•pakostina•1m ago•0 comments

A functional programming course in 6 books

https://ericnormand.substack.com/p/a-functional-programming-course-in
1•drob518•2m ago•0 comments

Any-Sync-Bundle: Prepackaged All-in-One Self-Hosting

https://github.com/grishy/any-sync-bundle
1•grishy•3m ago•1 comments

Why Nations That Bet on Renewables Will Win the Next Energy Era

https://oilprice.com/Alternative-Energy/Renewable-Energy/Why-Nations-That-Bet-on-Renewables-Will-...
1•thelastgallon•3m ago•0 comments

Bioinformatics Uncovers Regenerative Therapy for Spinal Cord Injury

https://today.ucsd.edu/story/bioinformatics-uncovers-regenerative-therapy-for-spinal-cord-injury
1•geox•4m ago•0 comments

Sam Altman says OpenAI will have a 'legitimate AI researcher' by 2028

https://techcrunch.com/2025/10/28/sam-altman-says-openai-will-have-a-legitimate-ai-researcher-by-...
1•vinhnx•4m ago•0 comments

Cass Sunstein on removing 'sludge' from the gears of City Hall (2023)

https://bloombergcities.jhu.edu/news/cass-sunstein-removing-sludge-gears-city-hall
1•mooreds•4m ago•0 comments

Help, My Boss Started Programming with LLMs

https://mo42.bearblog.dev/help-my-boss-started-programming-with-llms/
1•vinhnx•5m ago•0 comments

Building with the OpenAI Apps SDK: A Field Guide

https://render.com/blog/building-with-the-openai-apps-sdk-a-field-guide
1•anurag•5m ago•0 comments

Google Play Store Stops Requiring the Use of Google Play Billing in the US

https://support.google.com/googleplay/android-developer/answer/15582165?hl=en
2•kruuuder•5m ago•0 comments

Optimizing Repos for AI

https://tombedor.dev/optimizing-repos-for-ai/
1•vinhnx•6m ago•0 comments

US Gas Turbine Shortage Likely to Slow AI Demand Growth

https://www.energyintel.com/00000199-e958-dd61-abb9-ebdf44e10000
2•voxadam•8m ago•0 comments

ALTK, the open-source agent lifecycle toolkit

https://research.ibm.com/blog/altk-agent-toolkit
2•jlaredo•9m ago•0 comments

Chrome browser for Mac isn't Chrome, it's Helium

https://coywolf.com/news/productivity/the-best-chrome-browser-for-mac-isnt-chrome-its-helium/
1•speckx•9m ago•0 comments

DeepSeek-ocr.rs: Rust implementation of DeepSeek-OCR

https://github.com/TimmyOVO/deepseek-ocr.rs
1•notsylver•10m ago•0 comments

Real-Time True Wireless Stereo Wearing Detection Using a PPG Sensor with Edge AI

https://www.mdpi.com/2079-9292/14/19/3911
1•PaulHoule•10m ago•0 comments

Reasoning with Sampling: Your Base Model Is Smarter Than You Think

https://arxiv.org/abs/2510.14901
1•jonbaer•10m ago•0 comments

More Than DNS: Learnings from the 14 hour AWS outage

https://thundergolfer.com/blog/aws-us-east-1-outage-oct20
1•birdculture•12m ago•0 comments

Frozen String Literals: Past, Present, Future?

https://byroot.github.io/ruby/performance/2025/10/28/string-literals.html
1•birdculture•13m ago•0 comments

The Essential Exponential (2015)

http://wildancestors.blogspot.com/2015/04/the-essential-exponential.html
1•happy-go-lucky•14m ago•0 comments

AOL to be sold to Bending Spoons for roughly $1.5B

https://www.axios.com/2025/10/29/aol-bending-spoons-deal
4•jmsflknr•14m ago•0 comments

Call Center EasyCash

1•ahagndkd•15m ago•0 comments

CS EasyCash

1•ahagndkd•15m ago•0 comments

Show HN: Kedr Programming Language

https://codeberg.org/denismarkelov/kedr
2•denismarkelov•15m ago•0 comments

How the right user segmentation model matters for your application

https://fusionauth.io/blog/user-segmentation
1•mooreds•17m ago•0 comments

Cross-compiling Zig on an old Kindle

https://samkhawase.com/blog/zig-kindle-gdb/
1•mooreds•18m ago•0 comments

Floss Before Brushing

https://alearningaday.blog/2025/10/29/floss-before-brushing/
2•imasl42•21m ago•0 comments

Tailscale Peer Relays

https://tailscale.com/blog/peer-relays-beta
6•seemaze•22m ago•0 comments