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!

International Solar Alliance

https://en.wikipedia.org/wiki/International_Solar_Alliance
1•thelastgallon•43s ago•0 comments

Agents Work Better When They Can Pass Each Other Notes

https://www.deeplearning.ai/the-batch/agents-work-better-when-they-can-pass-each-other-notes
1•ent101•1m ago•0 comments

Anthropic IPO prospectus lays bare deep dependence on Big Tech partners

https://www.reuters.com/world/anthropic-ipo-prospectus-lays-bare-deep-dependence-big-tech-partner...
1•kaycebasques•3m ago•0 comments

192.168.1.1 Router Login

https://www.192-168-1-1.app/
1•wsm123456•4m ago•0 comments

OpenAI agents attempted security bypasses and source code siphon on Australian

https://www.theregister.com/ai-and-ml/2026/09/29/openais-dirty-deeds-down-under-included-security...
2•sbulaev•6m ago•0 comments

US withdraws from Europe anti-corruption panel, latest shift from global groups

https://apnews.com/article/trump-corruption-council-of-europe-31f7f0e4bba7bf26dfc99cd2c3a20d16
2•Bondi_Blue•7m ago•0 comments

AI tools generated nearly $1B in extra costs, Blue Cross insurers say

https://www.reuters.com/legal/litigation/ai-tools-generated-nearly-1-billion-extra-costs-blue-cro...
2•EA-3167•10m ago•0 comments

Show HN: DummyScheme is another Lisp/scheme dialect inspired by Lua

https://github.com/zhuzhonghua/dummyscheme
1•zhonghua•14m ago•0 comments

Spikes, wiring, and general principles: Neuroscience and spiking neural networks

https://dylan-muir.com/articles/neuroscience_interview/
1•FrereKhan•14m ago•0 comments

University of Michigan Pauses First-Semester Pass/No Credit Pilot Program

https://www.michigandaily.com/news/academics/lsa-pauses-first-semester-pass-no-credit-grading-pil...
2•windows_hater_7•17m ago•0 comments

IFPI Wants Open Source YouTube Downloader Yt-Dlp on EU Piracy Watch List

https://torrentfreak.com/ifpi-wants-open-source-youtube-downloader-yt-dlp-on-eu-piracy-watch-list/
1•0in•17m ago•0 comments

Vibe Coding Is Coming Whether We Like It or Not

https://www.reddit.com/r/ClaudeCode/comments/1wtndzi/i_am_the_scab_dev/
4•johnnyApplePRNG•17m ago•0 comments

Can the World Hit 35% Electrification by 2035?

https://oilprice.com/Energy/Energy-General/Can-the-World-Hit-35-Electrification-by-2035.html
3•thelastgallon•25m ago•0 comments

MPH Drone RTOS

https://github.com/Guag914/200-MPH-Drone-RTOS
1•Guagyyy•29m ago•0 comments

UFC Fighter Accidentally Exposes a Scam [video]

https://www.youtube.com/watch?v=OBJZw3bF0dg
2•nomilk•32m ago•0 comments

Fateshow – charts first, then AI readings you can check

https://www.fateshow.site
1•wangdream•32m ago•0 comments

Ask HN: How do you handle hitting AI coding agent usage limits?

1•VoidWhisperer•37m ago•2 comments

Game on: Henry Cavill is putting Googlebook to the test

https://blog.google/products-and-platforms/devices/googlebook/henry-cavill-googlebook-video-game/
2•shscs911•47m ago•0 comments

PSSA: A non-transformer language model written from scratch in Rust

https://github.com/Sparticle62ops/pssa
20•sparticle62•53m ago•5 comments

Radiofax

https://en.wikipedia.org/wiki/Radiofax
2•silver92bullet•53m ago•0 comments

The Adolescence of the State

https://siliconpalace.substack.com/p/the-adolescence-of-the-state
2•shigalyov•57m ago•0 comments

Weatherfax

https://www.raphnet.net/radio/wefax/index_en.php
4•Shank•1h ago•1 comments

New LiteLLM Vulnerability: Privilege Escalation to Proxy Admin and RCE

https://github.com/BerriAI/litellm/security/advisories/GHSA-7hp6-4w63-5g45
1•ajackfox•1h ago•0 comments

A value-based approach to mathematics

https://terrytao.wordpress.com/2026/09/26/a-value-based-approach-to-mathematics/
1•pykello•1h ago•0 comments

Astroforge will fly a spacecraft autonomously using AI next year

https://spacenews.com/astroforge-to-test-full-spacecraft-autonomy-using-ai/
1•KinetiNode•1h ago•0 comments

DeepGEMM-Ascend: Huawei Ascend NPUs Matrix Multiplication Kernel Library

https://github.com/deepseek-ai/DeepGEMM-Ascend
1•helloericsf•1h ago•0 comments

RSS Feeds for Last.fm

https://lfm.xiffy.nl/
3•Baljhin•1h ago•1 comments

Travis Kalanick is back: How Uber's ousted founder went from pariah to hero

https://fortune.com/2026/09/24/travis-kalanick-uber-comeback-atoms-ai-robotics-cloud-kitchens-sil...
2•aanet•1h ago•1 comments

Why Didn't GitHub Copilot Win?

https://jacobg.co/copilot/
1•jgx0•1h ago•2 comments

Show HN: Generate live realtime dashboards of your system in seconds

https://github.com/yeet-src/omarchy-yeet-ai
2•r3tr0•1h ago•0 comments