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!

Feedback on my vision? DNS for AI

https://olw.gtll.app/plan
1•gabrielsmartin•1m ago•0 comments

Rebuilding a Web Text Editor

https://blog.readymag.com/rebuilding-web-text-editor/
2•imedvedev•3m ago•0 comments

Manufacturing and design aspects of BYD powertrain commented during disassembly [video]

https://www.youtube.com/watch?v=4LfDuyqmsts
1•2DcAf•4m ago•0 comments

Boomurl.com

https://boomurl.com
1•dorongrinstein•4m ago•1 comments

Building a Gifford-McMahon Cryocooler with 3D-Printed Parts [video]

https://www.youtube.com/watch?v=Jj7Q7OqaW4A
1•skibz•6m ago•0 comments

Desalinated ocean water gets one step closer to helping Arizona with drought

https://www.kjzz.org/politics/2026-06-04/desalinated-ocean-water-gets-one-step-closer-to-helping-...
1•bilsbie•7m ago•0 comments

Researchers Uncover Espionage in Mobile Networks

https://citizenlab.ca/researchers-uncover-espionage-in-mobile-networks/
2•jruohonen•10m ago•0 comments

Two notes on notation (Knuth, 1992)

https://arxiv.org/abs/math/9205211
1•tosh•10m ago•0 comments

SpaceX Perpetual Futures on Hyperliquid

https://hyperdash.com/asset/spcx-hyperliquid
2•davedx•11m ago•1 comments

CodePal: Snap Built an AI Code Reviewer for the Age of AI-Written Code

https://eng.snap.com/codepal
1•Kaedon•11m ago•0 comments

I scraped 743 large employers' careers pages to find their ATS

https://github.com/Kayvan-Zahiri/state-of-ats-2026
1•kzahiri•16m ago•1 comments

GraphRAG – a knowledge graph LLMs can traverse and write back to

https://github.com/mmkumar5401/GraphRag
2•mmkumar•17m ago•0 comments

A "Computer Science-Fiction" novel, Blue Screen, about the AI end of the world

https://www.amazon.com/Blue-Screen-Peter-Gustafson-Defragmented/dp/B084QL16YT
2•WWIII_Historian•20m ago•0 comments

Floor, Ceiling, Bracket (2021)

https://www.johndcook.com/blog/2021/04/15/floor-ceiling-bracket/
1•tosh•20m ago•0 comments

Show HN: Convert a lunar birthday into 60 years of calendar reminders

https://ajin.im/is/building/lunaronce/
1•poppypetalmask•23m ago•0 comments

There is no 'Them' (2021)

https://www.thepullrequest.com/p/there-is-no-them
1•tosh•25m ago•0 comments

Never ask ChatGPT to generate strange images

https://old.reddit.com/r/ChatGPT/comments/1tlrz6v/i_gave_it_a_go_i_have_no_idea_where_gpt_gets_this/
1•zezaggering•25m ago•0 comments

Show HN: GitMo – Google Drive-like auto sync for GitHub

https://github.com/KyleBenzle/GitMo
1•WWIII_Historian•25m ago•0 comments

Reduce Token Usage

https://unpdf.ai/
1•dougSF70•25m ago•1 comments

The UFO files reveal a hidden truth about a growing religion

https://www.washingtonpost.com/opinions/2026/05/15/ufo-files-nod-growing-belief-aliens-mistrust-i...
2•bookofjoe•27m ago•3 comments

AbTARS – Self-hosted AI agent with persistent memory and 5-layer self-healing

https://github.com/aksika/abtars
1•aksika•27m ago•0 comments

China urges fund managers to support innovation, warns against concept hype

https://www.reuters.com/legal/government/china-urges-fund-managers-support-innovation-warns-again...
1•tartoran•34m ago•0 comments

Tell HN: Helium is the best browser I ever used

2•prmph•34m ago•0 comments

Illegal Numbers

https://en.wikipedia.org/wiki/Illegal_number
3•makerofthings•37m ago•1 comments

HEPA air purifiers may boost brain power in adults over 40 – new research

https://theconversation.com/hepa-air-purifiers-may-boost-brain-power-in-adults-over-40-new-resear...
5•PaulHoule•37m ago•0 comments

Silurus/ooxml: Pixel-faithful Office documents, rendered in the browser

https://github.com/yukiyokotani/office-open-xml-viewer
2•maxloh•39m ago•0 comments

Designing for Low-Context Engineering

https://apvarun.com/blog/designing-for-low-context-engineering
1•apvarun•41m ago•0 comments

Powering up a module from the IBM 604: an electronic calculator from 1948

https://www.righto.com/2026/06/ibm-604-thyraton-tube-module.html
11•elpocko•43m ago•1 comments

Cherry Powder as a Natural Antioxidant for Ready-to-Eat Beef Patties

https://www.mdpi.com/2304-8158/15/9/1483
1•PaulHoule•44m ago•0 comments

Fukushima, Japan faces "intelligent" bear

https://www.theguardian.com/world/2026/jun/05/bear-attacked-four-people-japan-missing-at-large
1•doctor_radium•44m ago•0 comments