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!

Ban commits/transactions using AST analysis and linters

https://www.droppedasbaby.com/posts/db-commits/
1•offbyone42•1m ago•0 comments

Show HN: Book a Billboard in NYC Times Square

https://bookabillboard.today/
1•HarshaaVardhan•2m ago•0 comments

The Self-Sabotage Paradox: Frontier Labs Are Killing Their Moat

https://www.bargo.ai/research/self-sabotage-paradox-frontier-labs
1•abipal15•2m ago•0 comments

How do you stay familiar with the code when it's written by an LLM?

https://www.aha.io/engineering/articles/staying-familiar-with-the-code-when-its-written-by-an-llm
1•justinweiss•3m ago•0 comments

Smart Cellular Bricks: Towards Collective Intelligence for the Physical World

https://sakana.ai/smart-cellular-bricks/
1•gmays•3m ago•0 comments

Kimi K3: Open Frontier Intelligence

https://twitter.com/Kimi_Moonshot/status/2077830229968683203
2•nekofneko•3m ago•0 comments

Claude – Errors for multiple models

https://status.claude.com/incidents/kqbd7wm6hnnr
1•shorsher•4m ago•0 comments

Kimi Code

https://www.kimi.com/code
1•sebmellen•5m ago•0 comments

AI enthusiasts are in race against time, AI skeptics are in race against entropy

https://charity.wtf/p/ai-enthusiasts-are-in-a-race-against
1•ai_critic•5m ago•0 comments

Performing live migrations of VMs at scale

https://www.sailresearch.com/blog/performing-live-migrations-of-massive-vms-at-scale
1•bobstax•6m ago•0 comments

Act-2 Preview: Generalizing Reliability

https://www.sunday.ai/blog/act-2-preview
1•hubraumhugo•7m ago•0 comments

Rust-powered API framework for Django

https://github.com/dj-bolt/django-bolt
1•Onavo•7m ago•0 comments

Telegram shortlinks knocked offline over sanctioned VPN connection

https://www.theregister.com/security/2026/07/16/telegram-shortlinks-knocked-offline-over-sanction...
2•nyku•8m ago•0 comments

What If David Chalmers's "Hard Problem" of Consciousness Isn't Real?

https://medium.com/@timventura/what-if-david-chalmerss-hard-problem-of-consciousness-isn-t-real-7...
1•timventura•10m ago•0 comments

Kimi K3: Open Frontier Intelligence

https://www.kimi.com/blog/kimi-k3
3•mfiguiere•12m ago•0 comments

Do This Before You Contact Your SQL Server Consultant

https://marlonribunal.com/do-this-before-you-contact-your-sql-server-consultant/
1•MarlonPro•13m ago•1 comments

Truth Social will sell Wall Street quicker access to posts

https://www.cnn.com/2026/07/16/business/truth-social-data-wall-street
1•2OEH8eoCRo0•13m ago•0 comments

Ask HN: Did you make any resolutions this year?

1•anee769•16m ago•0 comments

The Invisible Selection

https://www.bitchute.com/video/JSf5mZkFaq6d/
1•untiledsource•16m ago•0 comments

Show HN: Be the ChatBOT

https://bethechatbot.com/
3•keito•17m ago•0 comments

Ambry – LinkedIn's distributed object store

https://github.com/linkedin/ambry
1•samaysharma•18m ago•0 comments

FDA approves new best-in-class cholesterol pill

https://www.reuters.com/legal/litigation/mercks-cholesterol-pill-gets-us-fda-approval-2026-07-16/
3•ssgodderidge•19m ago•1 comments

Large Open-Weight MoEs Are Converging on Lower Expert Activation Ratios

https://twitter.com/ayushpai0/status/2077817066619351456
1•ayushpai•20m ago•0 comments

Scrawled signature names a Maya astronomer for the first time

https://www.science.org/content/article/scrawled-signature-names-maya-astronomer-first-time
2•gmays•20m ago•0 comments

Power of Reach

https://www.bitchute.com/video/hrdtHJykZcgb/
1•untiledsource•20m ago•0 comments

Thoughts on Typing – Guido Van Rossum (PyCon 2026) [video]

https://www.youtube.com/watch?v=_SRFZODQtxw
3•dwrodri•21m ago•0 comments

We've adding Inkling and 52 small apps one-shotted by it to our arena.

https://arena.logic.inc/compare/asteroid-game/?models=inkling&view=side-by-side
2•sgk284•22m ago•2 comments

We have an all time high in monthly contributors

https://en.osm.town/@simon/116928965352287178
2•aendruk•23m ago•0 comments

Authenticity

https://www.bitchute.com/video/Fmj6mC6DgnWU/
1•untiledsource•24m ago•0 comments

Paintings in a Different Style

https://www.experimentlog.com/blog/paintings-in-a-style-of-a-different-artist
1•iweczek•25m ago•1 comments