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!

The videogame market is as big as ever, with PC leading growth [pdf]

https://resources.newzoo.com/hubfs/Newzoo%20-%20GMRF%20Q2%202026%20Analyst%20Update.pdf
1•HelloUsername•2m ago•0 comments

Earthquake gate stopping a San Andreas disaster under highest stress in 1K years

https://www.cnn.com/2026/06/19/weather/san-andreas-fault-record-stress-in-1000-years-earthquake-l...
1•mikhael•2m ago•0 comments

OCaml 5.5 Released

https://discuss.ocaml.org/t/ocaml-5-5-0-released/18265
1•azhenley•3m ago•0 comments

FFmpegKit NDK r26c patch and maintained Android fork

https://github.com/ffmpegkit-maintained/ffmpeg-kit
1•FFmpegKit•4m ago•0 comments

How do we prevent Bitrot?

https://notgull.net/bitrot/
1•dmit•7m ago•0 comments

Show HN: Shelve – Native macOS menu bar app that auto-organizes your Downloads

https://github.com/DanielZ1-tech/shelve
1•danielzx1•10m ago•0 comments

Ask HN: Would you let your AI coding agent profile and optimize autonomously?

1•connollystr•11m ago•0 comments

He made your free video player run smoothly. Now he's doing that for robots

https://techcrunch.com/2026/06/19/he-made-your-free-video-player-run-smoothly-now-hes-doing-that-...
1•XzetaU8•12m ago•0 comments

Principles and Practice of Deep Representation Learning [pdf]

https://ma-lab-berkeley.github.io/deep-representation-learning-book/assets/book-main.pdf
2•t_serpico•15m ago•0 comments

The Lost Story of Alan Turing's "Delilah" Project

https://spectrum.ieee.org/alan-turings-delilah
2•asdefghyk•17m ago•1 comments

Explaining Kerberos from A-Z

https://thattotallyrealmyth.gitbook.io/kerberos-explained
1•MeowMeowBinks•18m ago•0 comments

The Midjourney Scanner

https://twitter.com/midjourney/status/2067422898407837797
1•MrBuddyCasino•20m ago•0 comments

Show HN: I made an AI video of alexpotato's comment about his stockbroker dad

https://getartcraft.com/media/m_xtdewkcnz1ghvsnr5st2sted99p2nr
1•sexy_seedbox•20m ago•1 comments

Show HN: FloatDeck, a floating quick-actions menu for Chrome

https://chromewebstore.google.com/detail/floatdeck-floating-button/fanagpncolgnoglmhamngmcnadkffmlo
1•tapdot•23m ago•0 comments

Student Cheating Is Becoming Impossible to Detect in an A.I. Era

https://www.nytimes.com/2026/06/18/us/ai-apps-students-cheat.html
4•thm•35m ago•2 comments

Effective Use-Cases for LLMs

https://aggressivelyparaphrasing.me/2026/06/21/effective-use-cases-for-llms/
2•tcbrah•37m ago•0 comments

What are your Favorite Lobste.rs Comments?

https://lobste.rs/s/crl4fj/what_are_your_favorite_lobste_rs_comments
2•Curiositry•38m ago•0 comments

The terrifying world of the 'TikTok Farlands'

https://www.bbc.com/future/article/20260618-the-terrifying-world-of-the-tiktok-farlands
2•saikatsg•39m ago•0 comments

Warsh brings a skinny Fed approach to a complex, information-hungry world

https://www.reuters.com/business/warsh-brings-skinny-fed-approach-complex-information-hungry-worl...
3•kaycebasques•39m ago•0 comments

Public Service Announcement: Don't Say You Use AI for Writing

https://www.satisfice.com/blog/archives/488148
2•satisfice•41m ago•0 comments

Polymarket Paid Dozens to Post Videos of Themselves 'Winning' with Fake Bets

https://m.slashdot.org/story/455718
7•ilreb•47m ago•2 comments

Is anyone still using Emacs?

https://blogsystem5.substack.com/p/is-anyone-still-using-emacs
4•signa11•50m ago•1 comments

Building Reliable Agentic AI Systems

https://martinfowler.com/articles/reliable-llm-bayer.html
8•sarangk90•1h ago•0 comments

Show HN: Nivroo – AI builds your dropshipping store in 60s and trading terminal

https://nivroo.com
2•nivroo•1h ago•0 comments

Signal Shaped Noise

https://signalshapednoise.com/
4•cblakkan•1h ago•0 comments

Show HN: Moduna –- Mixpanel for AI Agents

https://moduna-ai.vercel.app
3•sjashwin•1h ago•0 comments

Ask HN: How to get ideas for space startups?

5•asxndu•1h ago•3 comments

Intuitive Self-Models (2024)

https://www.lesswrong.com/s/qhdHbCJ3PYesL9dde
4•OgsyedIE•1h ago•0 comments

Show HN: Argybargy – A peer-to-peer bridge connecting any AI agents and sessions

https://argybargy.dev
2•titusblair•1h ago•0 comments

I'm tired of there not being a middle ground, so I build things myself

https://byacommonthread.com/blog/i-will-build-it-myself
3•kaydub•1h ago•1 comments