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!

Practice Methods for Piano

https://terfi.fyi/blog/practice-methods-for-piano
1•taran_narat•4m ago•0 comments

Something Deep Inside Earth Keeps Messing with the Length of Our Days

https://gizmodo.com/something-deep-inside-earth-keeps-messing-with-the-length-of-our-days-2000816070
1•gmays•5m ago•0 comments

Show HN: ExactOdds – provably fair games that prove the rules

https://github.com/ceedot-rock/exactodds
1•SlidPhiLabs•6m ago•0 comments

Could an iced coffee freeze you out of the job market?

https://www.bbc.com/news/articles/cv62k9p1rz4do
1•bbg2401•7m ago•0 comments

Unexpected Consequences of an Economic Crisis Nobody Is Talking About

https://johnwalter25.substack.com/p/10-unexpected-consequences-of-an
1•momentmaker•11m ago•0 comments

Show HN: Built with Bend – A directory of projects built with Bend

https://builtwithbend.com/
1•rasulkireev•11m ago•0 comments

Upping My P(doom) (Official Music Video)

https://www.youtube.com/watch?v=tfWEFBvogug
1•sznio•15m ago•0 comments

Dofigen: A high(er)-level YAML/JSON format for generating Dockerfiles

https://github.com/lenra-io/dofigen
1•kadrek•17m ago•0 comments

Madeira – Run Windows PC games on a non-jailbroken iPhone

https://github.com/willfaust/Madeira
1•metrofun•17m ago•0 comments

Julia-1: decision model that runs on almost anything

https://supersoniclabs.ia.br/julia-1/
2•handfuloflight•18m ago•0 comments

Former Meta CTO's Strategy on Scaling Green Tech (Mike Schroepfer) [video]

https://www.youtube.com/watch?v=KdBTEhLRLDU
1•domhudson•19m ago•0 comments

The Hardest of Scrabbles: Solopreneurship

https://molochinations.substack.com/p/the-hardest-of-scrabbles-solopreneurship
1•domhudson•22m ago•0 comments

Calendario – Google, Outlook and Zoom calendars in one browser popup

https://chromewebstore.google.com/detail/calendario/bnmmigoiecilbkipdngjofpbpaoofnoi
1•suthargk•23m ago•0 comments

Foreman: An agent supervisor and software factory foreman

https://github.com/thruwire/foreman
1•handfuloflight•24m ago•0 comments

How to Tell If Someone Is Cheating on Chess.com

https://chesscheatdetector.com/blog/how-to-tell-if-someone-is-cheating-on-chess-com/
1•domhudson•24m ago•0 comments

A Simple Puzzle Reveals the Jagged Edge of AI's Abilities

https://aatishb.com/blog/2026/ai-jagged-intelligence/
1•aatish•27m ago•0 comments

Noillirk: A fun twist on Krillion and Family Feud

https://playdaily.org/noillirk
4•Hemmaamlin•28m ago•1 comments

The literacy crisis is people's inability to read for context

https://bsky.app/profile/julieslalonde.bsky.social/post/3mweffhm4tk2b
1•LeoPanthera•29m ago•0 comments

Financing the AI Buildout [pdf]

https://www.brookings.edu/wp-content/uploads/2026/09/4c_Van-Nieuwerburgh.pdf
1•simonpure•30m ago•0 comments

Hackers hijack AI accounts and servers to fuel new cyber crime boom

https://www.ft.com/content/3f406fbe-b72e-488f-9975-5b94e95dfe32
1•fallinditch•31m ago•0 comments

ClusterMAX 3.0: The Industry Standard GPU Cloud Rating System Returns

https://newsletter.semianalysis.com/p/clustermax-30-the-industry-standard
1•nathanscully•32m ago•0 comments

Delegation and Trust

https://bjorg.bjornroche.com/management/delegation-and-trust/
1•hellerve•34m ago•0 comments

Chains Messenger – E2EE iOS app with chat imports and permission-first DMs

https://apps.apple.com/gb/app/chains-messenger/id6763361983
1•agomezsunye•36m ago•0 comments

Simple visual patterns can trick AI-powered vehicles and robots

https://news.ufl.edu/2026/09/ai-powered-vehicles/
1•geox•39m ago•0 comments

The Wait Equation

https://xendo.bearblog.dev/the-wait-equation/
1•xendo•48m ago•0 comments

Primeagen Joining Omarchy Core

https://twitter.com/dhh/status/2103880596841783698
5•xendo•48m ago•1 comments

TechGuard Pro: Essential Cybersecurity Tips and Mobile Security Guide for 2026

https://mobilestuff2026.blogspot.com/
1•techGuardpro•49m ago•0 comments

Can Claude Opus 5.5 find any new leads on Satoshi Nakamoto?

https://notesbylex.com/can-claude-opus-5-5-find-any-new-leads-on-satoshi-nakamoto
2•lexandstuff•49m ago•0 comments

How Intelligent Are Cats? (2004)

http://messybeast.com/intelligence.htm
2•droserasprout•49m ago•1 comments

OpenAI pauses training of its 'most capable models'

https://www.theverge.com/ai-artificial-intelligence/1001049/openai-training-pause
6•sbulaev•52m ago•2 comments