frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•11mo 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!

What are some unforeseen / elusive edge cases you have seen in your career?

https://www.reddit.com/r/ExperiencedDevs/s/FIQYb1Fg8x
1•rainhacker•4m ago•0 comments

Get Free Picks Everyday. Best Sports Analysis App in Market

https://probaly.net/
1•astrofx•5m ago•0 comments

Show HN: Browse GitHub repos in Emacs without cloning

https://github.com/agzam/remoto.el
2•iLemming•11m ago•0 comments

Maine's governor vetoes data center moratorium

https://techcrunch.com/2026/04/25/maines-governor-vetoes-data-center-moratorium/
1•SilverElfin•14m ago•0 comments

All About USB-C: Resistors and Emarkers (2023)

https://hackaday.com/2023/01/04/all-about-usb-c-resistors-and-emarkers/
1•walterbell•16m ago•0 comments

I asked my local LLM to add 23 numbers and got seven wrong answers

https://viggy28.dev/article/local-llm-seven-wrong-answers/
1•vira28•18m ago•0 comments

Godot 4.7 Beta with HDR Output, Ray-Tracing Improvements and Editor Enhancements

https://www.phoronix.com/news/Godot-4.7-Beta
1•shpat•19m ago•0 comments

White House Correspondents' Dinner shooting suspect worked as California teacher

https://www.cnn.com/2026/04/26/us/white-house-correspondents-dinner-shooter-teacher-invs
3•canucker2016•19m ago•2 comments

Show HN: RewardGuard – detect reward hacking in RL training loops

https://github.com/Giovan321/Reward-Guard
1•Giovan321•20m ago•1 comments

Electric trucks in China have ditched diesel, now they're ditching the driver

https://thedriven.io/2026/04/25/electric-trucks-in-china-have-already-ditched-diesel-now-theyre-d...
1•decimalenough•27m ago•0 comments

Show HN: Track official AI company news and blogs in your Chrome side panel

https://chromewebstore.google.com/detail/bigtech-ai-news/aehmpingbppjnlppejppiifmijdjjiej
1•tughvn•28m ago•0 comments

Ask HN: Is "agentic" coding working for everyone except me?

1•canttestthis•28m ago•2 comments

Maine governor blocks first US state freeze on new data centers

https://www.reuters.com/legal/litigation/maine-governor-rejects-first-us-state-freeze-new-data-ce...
1•rmason•28m ago•0 comments

Show HN: I made a simple bill of sale maker

https://www.makebillofsale.com/
1•atharvtathe•32m ago•0 comments

What the FCC router ban means for FOSS

https://sfconservancy.org/blog/2026/apr/02/fcc-router-ban/
6•pabs3•36m ago•0 comments

MrBeast Is What Marx Warned Us About [video]

https://www.youtube.com/watch?v=-Hv-be_KdE0
6•xbmcuser•36m ago•0 comments

Show HN: I built a Shadcn based alternative to shields.io

https://github.com/jal-co/shieldcn/
1•justinlevine•44m ago•1 comments

iOS 18.7.3-18.7.6 were withheld from most devices; iOS 18.7.7 is enabled for all

https://support.apple.com/en-us/126793
4•seam_carver•44m ago•0 comments

A Home Made PBX

https://wandel.ca/homepage/pbx.html
4•rickcarlino•49m ago•0 comments

Real-time speech-to-speech translation

https://research.google/blog/real-time-speech-to-speech-translation/
1•theorchid•53m ago•0 comments

How much for a fake authorship? Ad database reveals secrets of scientific fraud

https://www.nature.com/articles/d41586-026-01340-y
1•WaitWaitWha•53m ago•0 comments

Spanish archaeologists discover trove of ancient shipwrecks in Bay of Gibraltar

https://www.theguardian.com/science/2026/apr/15/hidden-treasures-spanish-archaeologists-discover-...
2•1659447091•55m ago•0 comments

OpenAI CEO apologizes to Tumbler Ridge community

https://techcrunch.com/2026/04/25/openai-ceo-apologizes-to-tumbler-ridge-community/
1•pseudolus•1h ago•0 comments

A breakthrough in C/C++ dependency management

https://lcamtuf.substack.com/p/a-breakthrough-in-cc-dependency-management
3•nippoo•1h ago•0 comments

EU Age Control: The trojan horse for digital IDs

https://juraj.bednar.io/en/blog-en/2026/04/17/eu-age-control-the-trojan-horse-for-digital-ids/
27•gasull•1h ago•3 comments

How many biological substrates of life?

1•energyscholar•1h ago•2 comments

Dataland, the first museum of AI arts, sets opening date and first exhibition

https://www.latimes.com/entertainment-arts/story/2026-04-23/refik-anadol-ai-art-museum-dataland-o...
1•1659447091•1h ago•0 comments

Etymology of "Foo"

https://www.ietf.org/rfc/rfc3092.txt
2•shawnzam•1h ago•0 comments

Show HN: Peeroxide – Full wire-compatible Rust implementation of Hyperswarm

https://github.com/Rightbracket/peeroxide
1•eshork•1h ago•0 comments

Is the world ready for a car without a rear window?

https://www.msn.com/en-us/autos/enthusiasts/is-the-world-ready-for-a-car-without-a-rear-window/ar...
1•pseudolus•1h ago•0 comments