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

Transformer Golf – The Unrolled Transformer

https://github.com/mingusb/transformer-golf
1•brianjmingus•3m ago•0 comments

Starcloud hits $1.1B valuation to build space-based data centers

https://www.geekwire.com/2026/orbital-ai-seattle-area-startup-starcloud-hits-1-1b-valuation-to-bu...
1•bko•3m ago•0 comments

New light-powered chip could accelerate AI and quantum computing

https://www.sciencedaily.com/releases/2026/06/260601025343.htm
1•pcael•3m ago•0 comments

Ask HN: Is Everyone an Engineer Now?

1•piratesAndSons•4m ago•0 comments

S&P will not change its rules to get SpaceX in early

https://www.axios.com/2026/06/04/musk-spacex-ipo-sp-investors
2•boguscoder•6m ago•0 comments

South Korean Forums Will Need to Scan Every Images with AI Censorship Tools

https://discuss.privacyguides.net/t/south-korean-online-communities-will-need-to-scan-every-image...
1•Cider9986•8m ago•1 comments

The impact of linguistic features on CTR in Instagram ads

https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0338313
1•PaulHoule•8m ago•0 comments

Tilling the Garden: Use AI differently to make interesting and useful apps

https://mikecaulfield.substack.com/p/tilling-the-garden-a-different-way
1•lemming•9m ago•0 comments

Senior U.S. Officials Eye Government Shares in AI Giants

https://www.notus.org/technology/trump-ai-stake-openai
1•spenvo•11m ago•0 comments

What was your "Oh Shit" moment with GenAI?

1•andrehacker•12m ago•0 comments

China's solar majors charge into batteries as panel sales falter

https://www.reuters.com/business/energy/chinas-solar-majors-charge-into-batteries-panel-sales-fal...
1•JumpCrisscross•14m ago•0 comments

Flesh-eating screwworm confirmed in Texas calf as parasite crosses from Mexico

https://www.reuters.com/business/healthcare-pharmaceuticals/unconfirmed-us-case-flesh-eating-scre...
1•JumpCrisscross•14m ago•0 comments

SpaceX IPO Website

https://www.spacexipo.com
1•malshe•15m ago•0 comments

Microsoft to tighten human rights measures after inquiry into Israel deals

https://www.theguardian.com/technology/2026/jun/04/microsoft-to-tighten-human-rights-measures-aft...
1•lorecore•18m ago•0 comments

S&P Dow Jones Indices Consultation on Treatment of MegaCap Companies

https://press.spglobal.com/2026-06-04-S-P-Dow-Jones-Indices-Consultation-on-Treatment-of-MegaCap-...
1•pradn•19m ago•0 comments

ProlificTea

1•TheProfitKing•19m ago•0 comments

Silent Slide

https://www.silentslide.app
1•bicoastalai•20m ago•0 comments

Librecode (Yet Another Agent Harness)

https://github.com/omarluq/librecode
1•omarluq•21m ago•0 comments

Show HN: Papernews – self-hosted daily newspaper PDF for your reMarkable

https://github.com/marcj/papernews
2•bourbonproof•26m ago•0 comments

Kubelize – Free tool to manage multiple Kubernetes clusters

https://kubelize.me/
1•garymoon•27m ago•0 comments

Afar and Below: The Story of the Wyoming Trona Miners [video]

https://www.youtube.com/watch?v=JsYmw6FtSIA
1•Teever•28m ago•0 comments

Serving Transformers: Lessons from the Trenches – Stanford CS25 Transformers [video]

https://www.youtube.com/watch?v=ZUdIsRZhWXI
2•matt_d•29m ago•0 comments

Can you solve this hw prompt?

https://docs.google.com/document/d/1OMI3ioBeifmtClDXrmiXOe4WE4dYfJpPFVJxgPYpvX4/edit?tab=t.0
1•NYKidzzz•30m ago•1 comments

Using Ropes for Computation

https://wiki.xxiivv.com/site/knots_computing.html
2•cmod•31m ago•0 comments

Living in an Alive World

https://longreads.com/2026/06/02/jenny-odell-deep-listening-soft-eyes/
1•bookofjoe•31m ago•0 comments

No special treatment for SpaceX in the S&P 500 [pdf]

https://www.spglobal.com/spdji/en/documents/indexnews/announcements/20260604-1483731/1483731_spdj...
4•borski•32m ago•0 comments

Anticompetitive directors

https://www.columbialawreview.org/content/anticompetitive-directors/
1•hhs•32m ago•0 comments

Constrained Adaptive Rejection Sampling

https://arxiv.org/abs/2510.01902
1•matt_d•33m ago•0 comments

Foxconn and TSMC are running an 800-year-old operating system

https://twitter.com/josefchen/status/2060346552959303981
1•josefchen•34m ago•0 comments

Show HN: Skim any YouTube video. be happy

https://chromewebstore.google.com/detail/skim-get-to-the-point-fre/eenbaojdcmnbdlhkmambidocigepdobm
1•betterhealth12•36m ago•0 comments