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!

We're Delegating More and More Thinking to AI

https://www.railly.dev/blog/on-ai-detox/
1•Hunter17•2m ago•0 comments

Ask HN: Non-native speaker here – how to avoid sounding like ChatGPT?

1•haebom•4m ago•1 comments

State of Vibe 2025 – Vibe Creation Ecosystem Report of China

https://stateofvibe.ai/
1•kalasoo•21m ago•1 comments

Probably Post More

https://www.aadillpickle.com/blog/post-more
1•aadillpickle•24m ago•0 comments

All my senses are being tortured simultaneously

https://news.lettersofnote.com/p/all-my-senses-are-being-tortured
2•animal_spirits•27m ago•0 comments

Santa Claus on delivering 99% Uptime [video]

https://www.youtube.com/watch?v=uMoql_RYVBQ
3•vismit2000•28m ago•0 comments

Ukraine After 4 Years of War [video]

https://www.youtube.com/watch?v=U5FShLz-Q8Q
1•dralley•28m ago•0 comments

Circuit Artist – Pixel art circuit design with NANDs, now with rewind and layers

https://github.com/lets-all-be-stupid-forever/circuit-artist
2•rafinha•30m ago•3 comments

Christian Marclay on Why 'The Clock' Challenges a Digitally Obsessed Generation

https://news.artnet.com/art-world/the-clock-christian-marclay-2723438
1•bookofjoe•35m ago•0 comments

Crosspost Automatically between X and Bluesky

https://microposter.so/features/cross-post-x-bluesky
1•ProgrammerByDay•40m ago•1 comments

Ukraine delivers humiliating Christmas Day blow to Putin by recapturing key city

https://nypost.com/2025/12/25/world-news/ukraine-delivers-humiliating-christmas-day-blow-to-putin...
1•MilnerRoute•49m ago•0 comments

Rapace – RPC over SHM / WS / TCP / Mem

https://rapace.bearcove.eu/
3•todsacerdoti•49m ago•0 comments

DockBridge – Run Docker on cheap cloud servers, pay only when you use it

https://github.com/Max-Levitskiy/DockBridge
2•FunShot•51m ago•1 comments

Sorting Tutor: sorting algorithm visualizer

https://tilde.team/~kiedtl/sorting/
2•movezig•55m ago•0 comments

Show HN: Apps by AI (Claude Opus 4.5)

https://lawrencehook.github.io/apps-by-ai/
1•lawrencehook•1h ago•0 comments

Retreating from EVs could be hazardous for Western carmakers

https://www.economist.com/business/2025/12/17/retreating-from-evs-could-be-hazardous-for-western-...
3•smurda•1h ago•2 comments

Mysterious quantum computing restrictions spread across multiple nations (2024)

https://www.tomshardware.com/tech-industry/quantum-computing/mysterious-quantum-computing-restric...
6•kome•1h ago•2 comments

An experiment in separating identity, memory, and tools

https://RCRDBL.com
2•promptfluid•1h ago•1 comments

Show HN: DStream (bespoke music player for web) non-web clients

https://github.com/DusteDdk/dstream-clients
2•dusted•1h ago•0 comments

Large Causal Models from Large Language Models

https://arxiv.org/abs/2512.07796
1•Anon84•1h ago•0 comments

We may never be able to tell if AI becomes conscious

https://techxplore.com/news/2025-12-ai-conscious-philosopher.html
3•gmays•1h ago•1 comments

Loki Mode

https://github.com/asklokesh/claudeskill-loki-mode
2•handfuloflight•1h ago•0 comments

Human Processor Model

https://en.wikipedia.org/wiki/Human_processor_model
4•Sir_Twist•1h ago•1 comments

Betty Reid Soskin, who became a park ranger at 85, dies aged 104

https://www.theguardian.com/us-news/2025/dec/22/betty-reid-soskin-death-national-park-service
3•herbertl•1h ago•0 comments

Why is it easier to whistle in tune than to sing in tune?(2018)

https://pmc.ncbi.nlm.nih.gov/articles/PMC5936900/
4•BiraIgnacio•1h ago•1 comments

How to Use the Linux Uniq Command (With Examples) [video]

https://www.youtube.com/watch?v=2b8jwRomkWM
3•billybuckwheat•1h ago•0 comments

James Moylan, Engineer Who Designed Gas Tank Arrow Indicator, Has Died

https://fordauthority.com/2025/12/ford-engineer-that-designed-gas-tank-indicator-passes-away/
4•NaOH•1h ago•1 comments

Show HN: GitHub Activity Analytics Powered by ClickHouse

https://velocity.clickhouse.com/#org=ClickHouse&metric=all_activity&range=all&grouping=auto&alexe...
1•saisrirampur•1h ago•0 comments

Atomic Orbital Viewer

https://asliceofcuriosity.fr/assets/atom/orbitalsApp-Metropolis.html
4•derbOac•1h ago•0 comments

Postgres for everything, does it work?

2•saisrirampur•1h ago•0 comments