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

Live Artemis II position tracker

https://issinfo.net/artemis
1•qingcharles•9m ago•1 comments

Quantum computers need fewer resources than thought to break vital encryption

https://arstechnica.com/security/2026/03/new-quantum-computing-advances-heighten-threat-to-ellipt...
3•rickcarlino•16m ago•0 comments

China's "pig semen eyedrop" could help deliver Alzheimer's treatment

https://www.scmp.com/news/china/science/article/3348726/chinas-brain-penetrating-pig-semen-eyedro...
4•nikolay•20m ago•1 comments

Remember Their Names

https://visualizingpalestine.org/visual/end-30-billion-of-us-military-aid-to-israel-green-jobs/
1•euler2100•20m ago•0 comments

Web server ratelimits are a precaution to let me stop worrying

https://utcc.utoronto.ca/~cks/space/blog/web/RatelimitsAreAPrecaution
1•LorenDB•21m ago•0 comments

After Fighting Malware for Decades, Cybersecurity Vet Now Hacking Drones

https://techcrunch.com/2026/04/04/after-fighting-malware-for-decades-this-cybersecurity-veteran-i...
1•yesensm•21m ago•0 comments

How Pope Leo is pushing back on divine justification of war

https://www.cnn.com/2026/04/04/middleeast/pope-leo-iran-war-analysis-latam-intl
1•1659447091•22m ago•0 comments

AGI Is Here

https://breaking-changes.blog/agi-is-here/
7•oakhan3•23m ago•13 comments

Show HN: Yoink functionality from dependencies and avoid supply chain attacks

https://github.com/theogbrand/yoink
2•kstonekuan•25m ago•0 comments

Half of social-science studies fail replication test in years-long project

https://www.nature.com/articles/d41586-026-00955-5
1•prabal97•26m ago•0 comments

The Rise of Worse Is Better

https://dreamsongs.com/RiseOfWorseIsBetter.html
1•kaladin-jasnah•41m ago•0 comments

Show HN: mailtrim – find what's actually filling your Gmail inbox

6•chevuru•45m ago•3 comments

Explore union types in C# 15

https://devblogs.microsoft.com/dotnet/csharp-15-union-types/
4•0x00C0FFEE•45m ago•0 comments

AI Whiz Kids Dropped Out of College and Got Investors to Pay Their Bills

https://www.wsj.com/tech/ai/ai-college-dropouts-ecc665b7
2•lxm•48m ago•0 comments

Mlx-VLM: Fast Local VLMs and Omni Models on Apple Silicon with MLX

https://github.com/Blaizzy/mlx-vlm
2•salkahfi•50m ago•0 comments

Towards end-to-end automation of AI research

https://www.nature.com/articles/s41586-026-10265-5
3•hardmaru•51m ago•0 comments

The Perils of Privatized Cyberwarfare

https://www.lawfaremedia.org/article/the-perils-of-privatized-cyberwarfare
2•gnabgib•51m ago•0 comments

Show HN: Simple Local Meme Generator

https://github.com/KyleTryon/Gemini-Meme-Generator
2•TechSquidTV•55m ago•0 comments

Nppexec

https://github.com/d0vgan/nppexec
2•downboots•57m ago•0 comments

Computer for Taxes

https://www.perplexity.ai/hub/blog/introducing-computer-for-taxes
2•wslh•57m ago•0 comments

Conductor – Durable Execution Engine

https://conductor-oss.github.io/conductor/index.html
3•opiniateddev•58m ago•0 comments

Notes for US Performers in Montreal

https://evanp.me/2026/04/04/notes-for-us-performers-in-montreal/
2•decimalenough•59m ago•0 comments

Meta-Harness: End-to-End Optimization of Model Harnesses

https://arxiv.org/abs/2603.28052
2•kstonekuan•1h ago•0 comments

Karpathy's knowledge base matches our Grep-is-All-You-Need paper

https://www.localkin.dev/papers/grep-is-all-you-need
3•localkin•1h ago•0 comments

We Made Technology Easy to Use. That Was a Mistake

https://slate.com/technology/2026/04/usability-complexity-apple-iphone-facebook-donald-norman.html
2•kawera•1h ago•0 comments

The Awake "Sleep" Loop: Why Attention Lapses Occur in ADHD

https://neurosciencenews.com/adhd-attention-sleep-activity-30324/
3•ivewonyoung•1h ago•0 comments

Show HN: Signals – finding the most informative agent traces without LLM judges

https://arxiv.org/abs/2604.00356
3•sparacha•1h ago•0 comments

I built a $19.99 flat-fee EU261 flight compensation letter generator

https://www.sovereign-suite.com/
2•oneprofiledev•1h ago•0 comments

The Crazy Nastyass Honey Badger (2011)

https://www.youtube.com/watch?v=4r7wHMg5Yjg
2•kaycebasques•1h ago•0 comments

Beat Cancer Off

https://beatcanceroff.com/
3•cebert•1h ago•0 comments