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

A Socialist Now Runs New York. Here's What History Predicts

https://zcashexplained.com/blog/new-york-voted-socialist/
1•privacyadvocate•11s ago•0 comments

Norway zips ahead in EV race as car sales hit 96% electric

https://www.reuters.com/sustainability/climate-energy/norways-new-car-sales-were-96-electric-2025...
1•whynotmaybe•30s ago•0 comments

Gitix.ai

https://gitix.ai/
1•azolf•58s ago•0 comments

Show HN: Test Agents Using Fixtures

https://github.com/eoinmurray/incantx
1•anomancer•2m ago•0 comments

Why are weather forecasting sites so bad?

https://blog.engora.com/2025/12/why-is-weather-forecasting-so-bad.html
1•Vermin2000•2m ago•0 comments

Show HN: TymFlow transforms boring time tracking into a rewarding experience

https://tymflow.vercel.app
1•Jenni_emeka•2m ago•0 comments

Foundation, the most advanced responsive front end framework in the world

https://get.foundation
1•Alifatisk•2m ago•0 comments

OfferGridAI – side-by-side comparison of real estate offers from PDFs

https://offergridai.com
1•beechwood•3m ago•1 comments

Why do teams keep explaining the same delays every sprint?

https://smartguess.is/blog/time-in-status-jira-common-mistakes/
1•bjornbrynjar•3m ago•0 comments

Show HN: Travel Safety Data

https://travelsafetydata.com/
1•ohashi•5m ago•1 comments

Las Médulas

https://en.wikipedia.org/wiki/Las_M%C3%A9dulas
1•thunderbong•5m ago•0 comments

Repair a ship’s hull still in the river in -50˚C (2022)

https://eugene.kaspersky.com/2022/04/26/how-to-repair-the-underside-of-a-ships-hull-still-in-the-...
1•aziaziazi•11m ago•0 comments

Show HN: CheerAd – Let your audience support your website with paid messages

https://cheerad.com/pages/how-to-use.html
1•niyoseris•11m ago•0 comments

From Web to Native: Building Native Apps with SvelteKit and Capacitor

https://bryanhogan.com/blog/web-to-app-sveltekit-capacitor
1•bryanhogan•13m ago•0 comments

The Last of Us – Fighting the EU Surveillance Law Apocalypse [video]

https://media.ccc.de/v/39c3-the-last-of-us-fighting-the-eu-surveillance-law-apocalypse
1•DyslexicAtheist•13m ago•0 comments

39th Chaos Communication Congress Videos

https://media.ccc.de/b/congress/2025
2•Jommi•15m ago•0 comments

Hytale Multiplayer Servers

https://hytalemultiplayer.io
1•kaddir•17m ago•1 comments

Europe has 'lost the internet', warns Belgium's cyber security chief

https://www.ft.com/content/854fcad0-0d39-438b-975b-adf9d8b89827
1•firesteelrain•22m ago•1 comments

Free-floating planets – lonely wanderers in the Milky Way

https://en.uw.edu.pl/free-floating-planets-lonely-wanderers-in-the-milky-way/
1•Vedor•23m ago•1 comments

No Excuse for Silence

https://zenodo.org/records/18122479
1•DavidWishengrad•23m ago•2 comments

Show HN: Verifying Rust implementation logic using Lean 4 as a fuzzing oracle

https://github.com/welltyped-systems/verified-ledger
1•xmaruff•24m ago•1 comments

Replace any x.com link with xcancel.com

https://bsky.app/profile/rcsheets.net/post/3mbfwj34mts2h
3•doener•25m ago•1 comments

View source no longer makes a new request

https://masteringlaravel.io/daily/2026-01-01-view-source-no-longer-makes-a-new-request
1•vincent_s•25m ago•0 comments

New subway stations in Naples are a lesson in art and history

https://www.theglobeandmail.com/world/article-naples-metro-station-art-archeology-trains-achille-...
1•pseudolus•25m ago•1 comments

TrenchBroom 2025.4 Release

https://github.com/TrenchBroom/TrenchBroom/releases/tag/v2025.4
2•klaussilveira•27m ago•0 comments

Fat People Do Go to Heaven

https://kathy4u.substack.com/p/fat-people-do-go-to-heaven
2•TheUtleyPost•28m ago•0 comments

Show HN: Siara

https://github.com/torayeff/siara
1•torayeff•28m ago•1 comments

SD-WAN

https://en.wikipedia.org/wiki/SD-WAN
1•tosh•30m ago•0 comments

Show HN: The Dinner Decider – A bracket tournament to decide what to eat

https://www.thedinnerdecider.au/
1•manulkkase•30m ago•0 comments

Show HN: A minimalist LLM plugin for tmux

https://github.com/hynek-urban/tmux-llm
1•Wuzzy•31m ago•0 comments