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!

Show HN: Pw-whip, a bridge between PipeWire and WHIP

https://github.com/jech/pw-whip/
1•jech•1m ago•0 comments

Poll

1•krapp•1m ago•0 comments

Deep Dive into IBM's new NanoStack 0.7nm Process Node for Chips – 666 MTr/mm2

https://morethanmoore.substack.com/p/ibms-announces-07nm-process-node
2•IanCutress•2m ago•0 comments

Hollywood-backed nonprofit launches machine-readable AI consent registry

https://rslmedia.org/
1•navs•4m ago•0 comments

The Garbage Collection Handbook: The Art of Automatic Memory Management (2nd Ed)

https://gchandbook.org/
2•teleforce•9m ago•1 comments

AI doesn't take jobs. It takes tasks

https://www.nextgig.rocks/dash/how-ai-changes-jobs
2•poseidon_sg•10m ago•0 comments

Elasto Mania Ported to WebAssembly

https://joshumax.github.io/elma-web/
1•joshumax•14m ago•0 comments

Show HN: HoprLabs – a Python lab for prototyping AI math ideas

https://github.com/TangibleResearch/HoprLabs
2•reboy•16m ago•0 comments

Oracle workforce shrinks by about 21,000 employees amid AI adoption

https://finance.yahoo.com/technology/ai/articles/oracle-workforce-shrinks-13-204431510.html
1•akyuu•20m ago•0 comments

Ford could bring F1-inspired 'skunkworks' EVs to Europe

https://www.autocar.co.uk/car-news/electric-cars/ford-could-bring-f1-inspired-skunkworks-evs-europe
2•breve•20m ago•0 comments

Show HN: DeepSeek Flash inverted the economics of agent products

https://www.rtrvr.ai/blog/code-as-plan-deepseek-flash-text-only-browser-agent
3•arjunchint•23m ago•0 comments

Om Malik

https://en.wikipedia.org/wiki/Om_Malik
1•emot•24m ago•0 comments

California AI Unemployment Tracker

https://capolicylab.org/california-ai-unemployment-tracker/
1•toomuchtodo•25m ago•0 comments

Liveness Proofs in Veil, Part I: The First Step

https://proofsandintuitions.net/2026/06/24/liveness-proofs-in-veil-part-1/
1•matt_d•26m ago•0 comments

New macOS malware embeds fake errors to confuse AI analysis tools

https://www.bleepingcomputer.com/news/security/new-macos-malware-embeds-fake-errors-to-confuse-ai...
1•thewebguyd•27m ago•0 comments

Data Science Weekly – Issue 657

https://datascienceweekly.substack.com/p/data-science-weekly-issue-657
1•sebg•27m ago•0 comments

The Sunscreen Result No One Wants to Talk About

https://charlottekupewasserphd.substack.com/p/the-sunscreen-result-no-one-wants
2•olalonde•27m ago•1 comments

Powercode

https://codeberg.org/slaubenberger/Powercode
2•Atariman•28m ago•0 comments

OpenAI will delay GPT-5.6 after Trump administration request

https://www.theverge.com/ai-artificial-intelligence/957372/openai-will-delay-gpt-5-6-after-trump-...
6•tanelpoder•29m ago•0 comments

Where should 'Skip to main content' links go? (2025)

https://ashleemboyer.com/blog/where-should-skip-to-main-content-links-go/
1•mooreds•33m ago•0 comments

Export Claude.ai chats, artifacts, and visible thinking

https://github.com/lekandigital/claude-export-hub
1•lekan_digital•33m ago•0 comments

Ask HN: Would you advice someone to study CS in 2026?

1•Chipatama90•33m ago•0 comments

Can you spot the expensive AI?

https://www.theblindtest.io/
1•mfiguiere•34m ago•0 comments

Trump admin asks OpenAI to stagger the release of its new model

https://www.reuters.com/business/trump-administration-asks-openai-stagger-release-new-model-infor...
5•petethomas•34m ago•1 comments

LineShine supercomputer debuts as first to exceed 2 exaflops and first on TOP500

https://top500.org/news/lineshine-debuts-no-1-top500-enters-new-global-exascale-era/
1•teleforce•36m ago•0 comments

Internet works best in small dosages

https://michal.sapka.pl/2026/inet-dosages/
2•wrxd•37m ago•0 comments

Jailbreaking Isn't Theft

https://pluralistic.net/2026/06/25/thieve-different/
6•hn_acker•37m ago•0 comments

New Mexico governor calls for criminal probe of DEA allowing fentanyl shipments

https://apnews.com/article/fentanyl-dea-drugs-new-mexico-cb997b0097bba3ee9d5a98272ae65401
4•Jimmc414•40m ago•0 comments

Four Years After Dobbs, Anti-Abortion Lawmakers Keep Coming for Online Speech

https://www.eff.org/deeplinks/2026/06/four-years-after-dobbs-anti-abortion-lawmakers-keep-coming-...
4•hn_acker•40m ago•1 comments

The Omega Sandbox – a real‑time system built on the Laws of Change

https://zenodo.org/records/20848956
1•CarloLoopTheory•40m ago•0 comments