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

China-Australia relationship in 2026? This is how experts in China see it

https://theconversation.com/can-the-china-australia-relationship-stay-on-track-in-2026-this-is-ho...
1•defrost•2m ago•0 comments

Software Engineer Pay at McDonalds

https://www.levels.fyi/companies/mcdonalds/salaries/software-engineer
1•filetmignon•5m ago•0 comments

Pineapple Desktop (FreeDOS)

https://doscore.net/pineapple.html
1•kristopolous•6m ago•1 comments

Show HN: AgentWatch – A terminal dashboard for monitoring AI Agent costs

https://github.com/Tarunjit45/agentwatch
1•DarkX45•7m ago•0 comments

Harmonia – Hash function using Golden Ratio and Quasicrystal mathematics

https://github.com/faustodas-afk/harmonia-crypto
2•fadase•7m ago•1 comments

Found a rare moment when HN is restarting server

https://freeimage.host/i/screenshot-2026-01-12-112131.fvEKgee
1•celurian92•9m ago•0 comments

Show HN: Moving files without install on the host

https://uldl.sh
1•thedanielforum•9m ago•0 comments

Gh-Dash – GitHub PR Dashboard for Claude Code

https://github.com/jakozloski/claude-code-gh-dash
1•handfuloflight•29m ago•0 comments

Show HN: I kept forgetting Git worktree syntax, so I wrapped it

https://github.com/binbandit/workty
1•binbandit•35m ago•1 comments

Malaysia and Indonesia Block Elon Musk's Grok

https://www.cnbc.com/2026/01/12/malaysia-indonesia-block-elon-musks-grok-obscene-non-consensual-c...
3•rfarley04•48m ago•0 comments

The Workings of the Pentagon's UFO Reverse Engineering Program [video]

https://www.youtube.com/watch?v=u7g5Sn1DJF4
3•keepamovin•52m ago•0 comments

Semantic Rebase

https://www.peterjthomson.com/2026/01/semantic-rebase/
1•handfuloflight•53m ago•0 comments

XFCE Is Great

https://rubenerd.com/xfce-is-great/
23•mikece•54m ago•4 comments

Xibo open-source digital signage solution now works with Raspberry Pi 5

https://www.cnx-software.com/2026/01/12/xibo-open-source-digital-signage-solution-now-works-with-...
1•mikece•54m ago•0 comments

Everything you should know about PostgreSQL constraints

https://xata.io/blog/constraints-in-postgres
1•tudorg•56m ago•0 comments

The Definitive Guide to Claude Code

https://jpcaparas.medium.com/the-definitive-guide-to-claude-code-from-first-install-to-production...
2•handfuloflight•56m ago•0 comments

The beauty queen who caught Scotland's most prolific catfish

https://www.bbc.com/news/articles/ckgkr15el67o
1•ryan_j_naughton•1h ago•0 comments

Show HN: Remember Me AI (FULL RELEASE) – 40x cost reduction in AI memory systems

https://github.com/merchantmoh-debug/Remember-Me-AI
1•MohskiBroskiAI•1h ago•0 comments

Shopify and Google Announce Universal Commerce Protocol

https://www.shopify.com/ca/ucp
2•ianschmitz•1h ago•0 comments

A Short History of the Glass Mirror

https://www.cabinetmagazine.org/issues/14/mcelheny.php
1•o4c•1h ago•0 comments

Gen Z are arriving to college unable to even read a sentence

https://fortune.com/2026/01/09/gen-z-college-students-struggling-to-read-professors-forced-to-ret...
3•LostMyLogin•1h ago•2 comments

First Ever Image of a Multi-Planet System Around a Sun-Like Star

https://www.eso.org/public/news/eso2011/
2•thunderbong•1h ago•0 comments

Standard.site: The Publishing Gateway

https://stevedylan.dev/posts/standard-site-the-publishing-gateway/
1•stevedsimkins•1h ago•0 comments

Pixwit.ai is an AI-powered video creation platform

https://pixwit.ai
1•maysunyoung•1h ago•1 comments

Ask HN: Has anyone built payment flows inside AI voice calls?

2•wasiyc•1h ago•0 comments

Show HN: Karmic Tail – A calculator for the Destiny Matrix numerology system

https://karmictail.com/
2•hugh1st•1h ago•0 comments

The Pain of Real Linear Types in Rust (2017)

https://faultlore.com/blah/linear-rust/
1•xpe•1h ago•1 comments

Show HN: Pointa – Point-and-click annotations for AI coding agents (open source)

https://www.pointa.dev/
1•jberthom•1h ago•0 comments

Letting Claude Play Text Adventures

https://borretti.me/article/letting-claude-play-text-adventures
2•zdw•1h ago•0 comments

Show HN: Dutix – set default apps for file types and URL schemes on macOS

https://github.com/jackchuka/dutix
1•jackchuka•1h ago•0 comments