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

Will AI Eventually Thrive Outside the Moat?

https://www.unite.ai/will-ai-eventually-thrive-outside-the-moat/
1•50kIters•2m ago•0 comments

LipoVive – Your Daily Boost for Metabolism and Wellness 2026

https://www.morningstar.com/news/accesswire/1138075msn/lipovive-reviews-shocking-2026-report-what...
1•JulieMorrison•3m ago•0 comments

r/programming bans all discussion of LLM programming

https://old.reddit.com/r/programming/comments/1s9jkzi/announcement_temporary_llm_content_ban/
4•cryptoz•3m ago•0 comments

LFM2.5-350M

https://twitter.com/liquidai/status/2039029358224871605
1•tosh•11m ago•0 comments

Why Are Event-Driven Systems Hard?

https://newsletter.scalablethread.com/p/why-event-driven-systems-are-hard
1•fagnerbrack•13m ago•0 comments

Show HN: An SSR Java framework for real-time user interfaces and AI agents

https://github.com/vadimv/server-components
1•v4d1mv•18m ago•0 comments

Ask vs. Guess Culture

https://jeanhsu.substack.com/p/ask-vs-guess-culture
1•computomatic•18m ago•0 comments

Things I Think I Think... Preferring Local OSS LLMs

https://blogs.newardassociates.com/blog/2026/titit-local-ai.html
2•zdw•20m ago•0 comments

Italian bill proposes curbs on social media addiction

https://www.reuters.com/legal/litigation/italian-bill-proposes-curbs-social-media-addiction-2026-...
1•1vuio0pswjnm7•22m ago•0 comments

Searches for Piracy Increased over the Past 5 Years

https://trends.google.com/trends/explore?date=today%205-y&geo=US&q=piracy&hl=en-US
1•Cider9986•23m ago•0 comments

Musk: SpaceX IPO to fund space data centers. MSFT undersea fail sounds warning

https://www.reuters.com/business/aerospace-defense/spacexs-orbital-data-centers-could-face-same-h...
1•1vuio0pswjnm7•24m ago•0 comments

Show HN: JavaScript Obfuscator

https://github.com/nstarke/egodeath
1•bootbloopers•25m ago•0 comments

The Math of Friday 13th

https://www.scientificamerican.com/article/why-friday-the-13th-is-a-mathematical-inevitability/
1•pixiemaster•25m ago•0 comments

Show HN: Tileserver-RS – Tile Server in Rust with MapLibre Native Rendering

https://github.com/vinayakkulkarni/tileserver-rs
2•vinayakkulkarni•30m ago•0 comments

I rebuilt the same project after 15 years – what changed in web dev

https://bamwor.com/en/news/rebuilt-same-project-after-15-years
1•manudaro•31m ago•0 comments

Embracing AI with Claude's C Compiler

https://chipsandcheese.com/p/embracing-ai-with-claudes-c-compiler
1•signa11•32m ago•0 comments

Pair Programming in the Age of Agents

https://mattwynne.net/pair-programming-in-the-age-of-agents
1•mattwynne•34m ago•0 comments

I built a programming language on the top of Node.js

https://github.com/dominexmacedon-dev/starlight-cli-script
2•dominexmacedon•37m ago•1 comments

Vietnamization (1969)

https://en.wikipedia.org/wiki/Vietnamization
1•ValentineC•44m ago•0 comments

Ask HN: Why is almost all of API documentation online?

1•triilman•45m ago•0 comments

RSL: Simple Licensing

https://rslstandard.org/
2•fagnerbrack•46m ago•0 comments

How to take down a US F-35 over Iran? Chinese engineer's tutorial goes viral

https://www.scmp.com/news/china/science/article/3348619/how-take-down-us-f-35-over-iran-chinese-e...
2•KnuthIsGod•48m ago•0 comments

What Agents Need Before They Handle Real Money

https://catenalabs.com/blog/what-agents-need-before-they-handle-real-money/
3•jorgereyna•54m ago•2 comments

It's time for the 'Sell painkillers, not vitamins' metaphor to die

https://www.pathsensitive.com/2023/09/its-time-for-painkillers-vitamins-die.html
2•zrkrlc•54m ago•0 comments

History Behind the SpaceX IPO

https://ioc.exchange/@muskfiles/116333241408716236
4•infinitewars•59m ago•2 comments

Chinese government bonds emerge as lone war haven

https://www.ft.com/content/72215587-4b6c-454c-85ff-6956132705d9
2•toomuchtodo•1h ago•0 comments

I watch most videos at single speed

https://liquidbrain.net/blog/single-speed/
1•kurinikku•1h ago•0 comments

Delve – Fake Compliance as a Service – Part II – Day 2 of 5

https://deepdelver.substack.com/p/delve-fake-compliance-as-a-service-98a
4•Garbage•1h ago•1 comments

Intro to Reality Pentesting

https://cptkj.substack.com/p/intro-to-reality-pentesting
1•curmudgeon22•1h ago•0 comments

iOS 27 Rumored to Feature Keyboard Upgrade

https://www.macrumors.com/2026/04/01/ios-27-upgraded-keyboard-rumor/
1•Tomte•1h ago•0 comments