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!

Silicon solar cells could cut satellite power costs by up to 90%

https://www.surrey.ac.uk/news/silicon-solar-cells-could-cut-satellite-power-costs-90-cent
1•giuliomagnifico•1m ago•0 comments

Show HN: Run Linux kernel drivers in userspace on Neptune OS, NT-like OS on seL4

1•cl91•3m ago•0 comments

Show HN: Data structure that lets different parts of math work together

https://github.com/tmilovan/composite-machine
1•calculusmachine•4m ago•0 comments

Show HN: OnDevice Tools – 64 browser utilities that never upload your data

https://ondevice-tools.org/
1•office-utilitie•8m ago•0 comments

What Is an AI Software Factory? Lessons from 3 Client Deployments

https://camplight.net/ai/ai-software-factory/
2•altras•8m ago•0 comments

Sen. Bernie Sanders unveils bill to ban artificial superintelligence

https://apnews.com/article/ai-superintelligence-bernie-sanders-d6a6a2cd8e71d7c95bdc394595aa85d1
2•geox•11m ago•0 comments

Break Your Network on Purpose

https://github.com/arjunshajitech/netbad
1•techyKerala•15m ago•1 comments

Build a Browser Extension with Jev

https://medium.com/towards-artificial-intelligence/build-a-browser-extension-with-jev-22e026255cb7
1•cadeos•19m ago•0 comments

PostMCP – Turn any OpenAPI spec into a context-optimized MCP server

https://github.com/braveram/postmcp
1•plxor•24m ago•0 comments

Trained KV cache bank turns any LLM into Jev like Model

https://gambler-relay-us-west1.leo-fish.ts.net/demo
1•faangguyindia•25m ago•2 comments

My German Exit Tax: 13 Tax Advisors, 1.5 Years, 18.7k€ to leave the country

https://eidel.io/posts/my-german-exit-tax-13-tax-advisors-1-5-years-18-7k-to-be-able-to-leave-the...
5•olieidel•27m ago•0 comments

The Alien Signal That Looked Intelligent [video]

https://www.youtube.com/watch?v=NmCRQPITE2g
1•binyu•29m ago•0 comments

Zipf's law

https://en.wikipedia.org/wiki/Zipf%27s_law
2•binyu•30m ago•0 comments

Show HN: Codex Reset – A tracker for public Codex reset signals

https://codexreset.live
1•Jiangshan•33m ago•0 comments

Claude Microfactory

https://claude.ai/artifact/7nCPrrWTcQsWFfkXFRHDLR
1•jaksa•35m ago•1 comments

London buses in decline? Why public transport in global cities is slowing

https://www.theguardian.com/uk-news/ng-interactive/2026/sep/23/london-buses-in-terminal-decline-w...
3•world2vec•36m ago•0 comments

Longtime SUSE staff asked if they'd opt for 'voluntary separation'

https://www.theregister.com/software/2026/09/22/longtime-suse-staff-asked-if-theyd-opt-for-volunt...
2•pelasaco•37m ago•1 comments

Nemotron-H: A Family of Accurate, Efficient Hybrid Mamba-Transformer Models

https://research.nvidia.com/labs/adlr/nemotronh/
1•Bluestein•40m ago•0 comments

Show HN: What's Next – make Claude Code respond with choice, not prose

https://github.com/kvitapp/kvit-plugins
1•skolos•40m ago•0 comments

Enables Nvidia DLSS Frame Generation (DLSS-G) on RTX 30-series and RTX 20-series

https://github.com/sdli1995/dlssg_for_sm86
2•metrofun•42m ago•0 comments

Show HN: ToolRoots, local alternatives to the tools you use

https://toolroots.com
1•drdruide•44m ago•0 comments

Qwen-Audio-3.1-TTS

https://fun-resource-shanghai.oss-cn-shanghai.aliyuncs.com/cuijiayan.cjy/tmp/exp/qwen_audio_3_tts...
1•nthypes•44m ago•0 comments

Tokens Too Cheap to Meter

https://jyn.dev/tokens-too-cheap-to-meter/
3•teoruiz•44m ago•0 comments

MNT Station – A modular, open hardware desktop computer and server

https://www.crowdsupply.com/mnt-research/mnt-station
1•birdculture•47m ago•0 comments

Directus The back end for your whole team

https://directus.com/
1•Bluestein•48m ago•0 comments

Next version of OpenClaw uses a decision model to decide between steer or queue

https://twitter.com/steipete/status/2102667004557832497
2•tosh•50m ago•0 comments

Show HN: A running app that turns your runs to a garden

https://apps.apple.com/us/app/run-tracker-run-grow/id6745428070
1•Utkarshn101•53m ago•0 comments

Positive emotions toward AI outweigh negative ones in 34 out of 37 countries

https://news.gallup.com/poll/714593/optimism-globally-widespread-despite-uneven.aspx
2•giuliomagnifico•54m ago•0 comments

Netherlands bracing for potentially devastating US sanctions against the ICC

https://apnews.com/article/icc-trump-sanctions-eu-israel-netherlands-2c1cc314732f920c2de59396d3b5...
68•vrganj•56m ago•27 comments

A New DNA Analysis May Solve the Centuries-Old Medici Mystery

https://www.smithsonianmag.com/smart-news/did-this-duke-poison-his-brother-a-new-dna-analysis-may...
2•thunderbong•1h ago•0 comments