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!

AI is rewriting the hiring playbook for coders

https://www.businessinsider.com/software-engineering-job-technical-interviews-hiring-ai-2026-7
1•Congeec•45s ago•0 comments

Power company hikes data center bills by 30%, cuts residential costs by 1.3%

https://www.tomshardware.com/tech-industry/data-centers/power-company-hikes-data-center-bills-by-...
1•speckx•53s ago•0 comments

Hacker Fantastic and team report a pre-auth remote root exploit against openwrt

https://twitter.com/hackerfantastic/status/2074871544984064163
1•spr-alex•3m ago•1 comments

Datepicker

https://midasminnegal.nl/date-picker.html
1•ravenical•3m ago•0 comments

The Answer to Orbital Compute's Silicon Problem Isn't Rad-Hard

https://vincentpribble.substack.com/p/the-answer-to-orbital-computes-silicon
1•vpribble•4m ago•0 comments

Talon: Self-hosted AI agent harness for chat, terminal, and desktop

https://github.com/dylanneve1/talon
1•claudiusthebot•4m ago•0 comments

Eliza Archaeology Project

https://sites.google.com/view/elizaarchaeology/
1•nate•5m ago•0 comments

Fixing AMDGPU's VRAM management for low-end GPUs

https://pixelcluster.dev/VRAM-Mgmt-fixed/
1•WadeGrimridge•6m ago•0 comments

The Greatest Invention Ever

https://yelluwcomedy.substack.com/p/the-greatest-invention-ever
1•pryelluw•6m ago•0 comments

Show HN: See when ChatGPT or Perplexity sends a visitor to your site

https://github.com/surfacedby/ai-traffic-alerts-for-cloudflare
1•startages•8m ago•0 comments

Coinbase runs 1,200 agents and just slashed its AI bill in half

https://thenewstack.io/multi-model-ai-infrastructure/
1•Brajeshwar•8m ago•0 comments

Show HN: TenancyJs – Open-source, secure multi-tenancy for Node.js

https://github.com/Karthick-Ramachandran/TenancyJS
2•karthickrmchn•9m ago•0 comments

"Most relaxing song" used to calm patients before surgery (2019)

https://www.the-independent.com/arts-entertainment/music/news/relaxing-song-best-weightless-marco...
1•Alifatisk•10m ago•0 comments

Happy Voluntary Lobotomy Day, Microsoft

https://www.uplevel.pro/p/happy-voluntary-lobotomy-day-microsoft
2•wintermute2dot0•10m ago•0 comments

Show HN: I ported llama.cpp to Apple Watch and ran a 0.8B LLM locally

1•Eric-Terminal•10m ago•0 comments

Contextual Policies in Omnigent: Using session state to better govern AI agents

https://www.databricks.com/blog/contextual-policies-omnigent-using-session-state-better-govern-ai...
1•forks•10m ago•0 comments

Node.js's phantom dependency problem and the path to a 5x faster package manager

https://nubjs.com/blog/unblocking-the-global-virtual-store
1•colinmcd•10m ago•0 comments

Should tests in codebase be tripwires

https://zohaib.me/should-tests-in-codebase-be-tripwires/
1•speckx•11m ago•0 comments

Show HN: Kastor – Terraform-style specs for AI agents

https://github.com/weirdGuy/kastor
3•weirdguy•11m ago•0 comments

Show HN: Soup – organize and route Agent Skills into your LLM prompts

https://github.com/southwind-ai/soup
2•kegenaar•12m ago•0 comments

All New Cars Sold in the EU Now Require a Camera Aimed at Your Face

https://allaboutcookies.org/eu-mandatory-distracted-driver-system#google_vignette
1•bookofjoe•12m ago•1 comments

Property Rights in Capitalism: "Open Source" Software

https://intcp.org/en/texts/41647/property-rights-in-capitalism-open-source-software/
1•mimasama•13m ago•0 comments

LisaFPGA: The Apple Lisa computer implemented inside an FPGA

https://github.com/alexthecat123/LisaFPGA
1•lproven•14m ago•0 comments

Show HN: NoCrap – A Reddit-like community for people quitting porn

https://nocrap.vercel.app/
1•heroboy•14m ago•0 comments

'Who Should I Vote For?' Voters Turn to A.I. Before Casting Their Ballots

https://www.nytimes.com/2026/07/04/us/politics/voters-ai-chatbots-elections.html
1•Vaslo•14m ago•0 comments

Five app stores, one gatekeeper, and a Court that waved it through

https://twitter.com/szilagyipal/status/2074875563571917197
1•miohtama•15m ago•0 comments

WinUAE for macOS and Linux – 6.1.0 beta 9 Latest

https://github.com/reinauer/WinUAE/releases/tag/unix_r3
1•doener•15m ago•0 comments

Drug-addicted Python rehabilitated by Australian prisoners (2017)

https://www.bbc.com/news/world-australia-39550815
2•theanonymousone•15m ago•0 comments

Waymo starts driverless rides in four more U.S. markets as expansion accelerates

https://www.cnbc.com/2026/07/08/waymo-starts-driverless-rides-in-san-diego-las-vegas-tampa-denver...
2•andsoitis•16m ago•2 comments

Chatto is now Open Source

https://www.hmans.dev/blog/chatto-is-open-source
10•speckx•17m ago•2 comments