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

Bug in original PageRank paper (1998) [pdf]

https://www.cis.upenn.edu/~mkearns/teaching/NetworkedLife/pagerank.pdf
1•Abhavk•4m ago•1 comments

'Project Hail Mary' Directors Announce In-Theater Director Commentary Track

https://thatparkplace.com/project-hail-mary-commentary-track/
1•canucker2016•4m ago•1 comments

Moving from academic to industry career plans: A personal story

https://sites.lsa.umich.edu/math-graduates/2020/09/15/moving-from-academic-to-industry-career-pla...
1•ganitam•12m ago•0 comments

Why I quit "The Strive"

https://www.joanwestenberg.com/why-i-quit-the-strive/
1•zdw•12m ago•0 comments

Vulnpocalypse: AI, Open Source, and the Race to Remediate

https://www.resilientcyber.io/p/vulnpocalypse-ai-open-source-and
1•chillax•13m ago•0 comments

YouTube locked my accounts and I can't cancel my subscription

https://pocketables.com/2026/04/ai-music-corporate-control-and-the-creator-who-cant-even-leave.html
1•digitalhigh•14m ago•0 comments

PeerDrop – P2P file sharing across devices

https://github.com/jj10133/PeerDrop
2•jj_3•16m ago•1 comments

Eyes on the Solar System – Artemis

https://eyes.nasa.gov/apps/solar-system/
1•memalign•18m ago•0 comments

Negative effects of artificial sweeteners may pass on to next generation

https://www.eurekalert.org/news-releases/1121524
1•XzetaU8•18m ago•0 comments

Show HN: Shell-MCP A persistent terminal for AI- CD, env vars,and nvm carry over

1•prasanthsd•21m ago•0 comments

Explaining the Most Important Artemis II Photos [video]

https://www.youtube.com/watch?v=oaXRREHVkHo
1•Orochikaku•22m ago•0 comments

RoboPhD: Evolving complex agents under tight budgets

https://arxiv.org/abs/2604.04347
1•azhenley•23m ago•0 comments

States Are Learning the Wrong Lesson from the 'Mississippi Miracle'

https://www.theatlantic.com/ideas/2026/04/mississippi-education-miracle/686731/
1•JumpCrisscross•23m ago•1 comments

$190M Settlement in Facebook User-Privacy Case Wins Approval in Delaware Court

https://www.law.com/therecorder/2026/04/08/190m-settlement-in-facebook-user-privacy-case-wins-app...
2•1vuio0pswjnm7•26m ago•0 comments

Ask HN: Apple terminated my membership while converting it to an organization

3•creepy•31m ago•0 comments

GitHub Copilot – Community-contributed agents, instructions, and skills

https://awesome-copilot.github.com/
1•ms7892•31m ago•0 comments

Slipping up Slippi with spectator RCE

https://khang06.github.io/slippirce/
1•khangaroo•33m ago•0 comments

First man convicted under Take It Down Act kept making AI nudes after arrest

https://arstechnica.com/tech-policy/2026/04/first-man-convicted-under-take-it-down-act-kept-makin...
3•tzs•37m ago•0 comments

Reverse-engineering an encrypted IoT protocol

https://smlx.dev/posts/goodwe-sems-protocol-teardown/
1•swq115•38m ago•0 comments

MemPalace – A Masterclass in Grifting

https://twitter.com/AdvicebyAimar/status/2041559354034344438
2•doppp•40m ago•0 comments

A Minecraft mod that reveals the Alpha world under bedrock

https://multision.dev/alphabelow/
2•EvilGoose•42m ago•0 comments

Scaling AI is now constrained by energy, cooling and physics

https://blog.se.com/digital-transformation/artificial-intelligence/2026/02/13/scaling-ai-in-the-r...
2•latentframe•46m ago•2 comments

Book Review: Savage Money (2024)

https://entropicthoughts.com/book-review-savage-money
1•kqr•46m ago•0 comments

Show HN: Every AI writing tool sounds the same, this one sounds like you

https://toneswap.app
1•cammyjr•47m ago•1 comments

(YT) Economics Explained: Job Losses Across Sectors [video]

https://www.youtube.com/watch?v=1zlD0K09IKE
1•Martin-Carlsson•48m ago•0 comments

Zig – Incremental Compilation with LLVM

https://ziglang.org/devlog/2026/#2026-04-08
1•Retro_Dev•50m ago•0 comments

Zed's Agent Stats

https://zed.dev/blog/agent-metrics
1•tylerchr•54m ago•0 comments

TAS Explained: Super Mario Bros. 3 in 0.2 seconds [video]

https://www.youtube.com/watch?v=fQYX_AVxGq0
1•medbar•57m ago•0 comments

Ask HN: Does Vibe Coding and Prompt Engineering make me an Software Engineer?

1•wasimsk•59m ago•9 comments

Hip-hop pioneer, Afrika Bambaataa, dies aged 68

https://www.bbc.co.uk/news/articles/c2evppm30p7o
39•mellosouls•1h ago•6 comments