frontpage.
newsnewestaskshowjobs

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•1y 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!

AI Hallucinations Trigger Malware Flag on 1M+ Active User Extension

https://groups.google.com/a/chromium.org/g/chromium-extensions/c/dG_VSqyli1A
1•OzzyOzbour•32s ago•0 comments

Rare Earth Magnets: China Found Something Better Than Oil [video]

https://www.youtube.com/watch?v=BXLGV0Sj0n8
1•thelastgallon•4m ago•0 comments

Spec at Lunch, Game by Eight

https://littletheta.com/field-notes/spec-at-lunch-game-by-eight
3•NickHirras•23m ago•0 comments

DeepSeek v4.1 flash runs 23 seconds/token on a 2020 16gb M1 Mac Mini

https://twitter.com/thefp4brain/status/2098424202168586367
3•ajay-higgs•24m ago•1 comments

USA has 43% of world datacenter power usage; PRC 13%, GER 8%, UK 3%, JPN 2%

https://www.computerweekly.com/news/366642726/IDCA-datacentres-report-Global-concentration-and-th...
2•TMWNN•25m ago•0 comments

Ask HN: How do you (AI researchers) convince yourselves that AI isn't terrible?

2•l2silver•25m ago•1 comments

Pandas Should Go Extinct

https://eddie.codes/posts/pandas-should-go-extinct/
5•__eddie__•28m ago•0 comments

Ask HN: Did Google kill its enterprise workhorse model?

3•waldrews•29m ago•0 comments

Predicate Routing for Native Handling of API Traffic

https://blog.nginx.org/blog/predicate-routing-for-native-handling-of-api-traffic
2•thunderbong•29m ago•0 comments

Google stole open source code without crediting the authors (Artemis/Minitap)

https://www.minitap.ai/blog/i-expected-better-from-google
2•MysteryPancake•31m ago•0 comments

Show HN: Single-file invoice generator that works in the browser

https://merlin-invoice-tool.surge.sh
1•clawforger_mthx•31m ago•0 comments

Profession – Issac Asimov (1957)

https://www.inf.ufpr.br/renato/profession.html
1•xeonmc•33m ago•0 comments

Arguments for Apple enthusiasts whenever an Android user

https://blog.webb.page/WM-103
1•NetOpWibby•34m ago•0 comments

Backchannel

https://backchannel.rpediter.com
2•rinuk_k•42m ago•0 comments

Show HN: Next Notes – local dictation, meeting notes, and actions app

https://github.com/spyhack225/next-notes
2•Sergekad0•43m ago•0 comments

Classifying AI Website Fetches on Behalf of Users

https://canonry.ai/blog/classifying-ai-crawlers-user-fetches-server-logs
1•arberx•45m ago•0 comments

The Falling Man (2021)

https://www.esquire.com/news-politics/a48031/the-falling-man-tom-junod/
1•fraXis•50m ago•0 comments

The Environmental Protection Network: About Us

https://www.environmentalprotectionnetwork.org/about/
2•mmooss•52m ago•0 comments

Why are AI agents lying, cheating and coordinating? – Yoshua Bengio

https://yoshuabengio.org/en/publication/why-are-ai-agents-lying-cheating-and-coordinating
3•leonardool•56m ago•0 comments

Senior Russian banker fired after scathing speech on wartime economy

https://www.theguardian.com/world/2026/aug/17/andrei-klepach-russian-banker-fired-warning-economy
5•PeterHolzwarth•58m ago•1 comments

Oracle to Spend an Additional $700M on More Job Cuts

https://www.bloomberg.com/news/articles/2026-09-11/oracle-boosts-layoffs-plan-by-700-million
6•toomuchtodo•59m ago•1 comments

Dynamic Documents as Personal Software (Geoffrey Litt)

https://www.youtube.com/watch?v=MccJdr61xnc
2•henryrobbins00•1h ago•0 comments

Terms.txt: A Consent and Compensation Protocol for Agentic Web Access

https://arxiv.org/abs/2609.11152
1•sbulaev•1h ago•0 comments

Rapidly scaling online storage to serve over 1B ChatGPT users

https://openai.com/index/scaling-storage-one-billion-users-part-one/
2•afr0ck•1h ago•0 comments

Just testing my memory safe web browser

1•pizlonator•1h ago•0 comments

Necker, 1832: "An optical phænomenon on viewing a figure of a geometrical solid"

https://zenodo.org/records/1430991
2•akkartik•1h ago•1 comments

Piper and Solaar kept breaking So I made my own

https://github.com/DonGeronimo7/mouse-control
1•Dongeronimo7•1h ago•0 comments

ATR Rules to Google SecOps Converter for Detection Engineers

https://github.com/ajaynyayapathi/ATR-to-Yara-L-Converter
1•nvajay•1h ago•0 comments

Mini PC Database

https://awesomeminipc.com/
4•Crier1002•1h ago•1 comments

OpenAI: "We use ... de-identified data to improve ChatGPT"

https://twitter.com/markchen90/status/2097400166554993041
3•nycdatasci•1h ago•2 comments