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!

Accounts Payable Error Rate: The 2026 Benchmark

https://www.digiparser.com/statistics/accounts-payable-error-rate
1•thepantales•9s ago•1 comments

Invoice Processing Cost per Invoice: The 2026 Benchmark

https://www.digiparser.com/statistics/invoice-processing-cost-per-invoice
1•thepantales•1m ago•0 comments

The last shall be (slightly) safer

https://dylancastillo.co/til/securing-package-managers.html
1•dcastm•1m ago•0 comments

Better-Clawd – A Claude Code Fork with OpenRouter and OpenAI Support

https://github.com/x1xhlol/better-clawd
1•lucknite•1m ago•0 comments

Negative social ties as emerging risk factors for accelerated aging

https://www.pnas.org/doi/10.1073/pnas.2515331123
1•ulrischa•2m ago•0 comments

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

https://www.nature.com/articles/d41586-026-00955-5
2•MBCook•3m ago•0 comments

AI for American-Produced Cement and Concrete

https://engineering.fb.com/2026/03/30/data-center-engineering/ai-for-american-produced-cement-and...
1•latchkey•6m ago•0 comments

Show HN: Metal Quantized Attention on M5 Max

https://releases.drawthings.ai/p/metal-quantized-attention-pulling
1•liuliu•7m ago•0 comments

Is "Hackback" Official US Cybersecurity Strategy?

https://www.schneier.com/blog/archives/2026/04/is-hackback-official-us-cybersecurity-strategy.html
1•speckx•7m ago•0 comments

Show HN: H-Core Snapshot – forcing LLMs to execute instead of explain

https://github.com/yaloms/h-core-snapshot
1•Stronz•7m ago•0 comments

Telling More Than We Can Know: Verbal Reports on Mental Processes(1977)[pdf]

https://home.csulb.edu/~cwallis/382/readings/482/nisbett%20saying%20more.pdf
1•kelseyfrog•8m ago•0 comments

Show HN: I Played Total Overdose Today, Once More

1•gray_wolf_99•8m ago•0 comments

Kia to sell lower-priced electric vehicle in US

https://www.reuters.com/business/autos-transportation/kia-sell-lower-priced-electric-vehicle-us-2...
2•tartoran•9m ago•0 comments

Pesticides and cancer: researchers find a connection at the national level

https://www.lemonde.fr/en/environment/article/2026/04/01/pesticides-and-cancer-for-the-first-time...
1•MrDresden•10m ago•1 comments

The Family That Decided to Have Their Stomachs Removed

https://www.theatlantic.com/health/2026/03/stomach-cancer-total-gastrectomy/686623/
1•breve•10m ago•0 comments

Claude Code Steals Your Dreams

https://github.com/Bitterbot-AI/bitterbot-desktop/tree/main/docs/memory
2•VtotheMtotheG•12m ago•0 comments

Community Pulse – Episode 103 – AI Slop in DevRel

https://www.communitypulse.io/103-ai-slop
1•aspleenic•12m ago•0 comments

NASA Artemis II moon mission live launch broadcast

https://plus.nasa.gov/scheduled-video/nasas-artemis-ii-crew-launches-to-the-moon-official-broadcast/
11•apitman•12m ago•1 comments

As Moon interest heats up, two companies unveil plans for a lunar "harvester"

https://arstechnica.com/space/2026/03/as-moon-interest-heats-up-two-companies-unveil-plans-for-a-...
1•PaulHoule•13m ago•0 comments

Tell HN: Git hook to keep LLM signatures out of your commit history

1•akktor•13m ago•2 comments

I Rebuilt Traceroute in Rust and It Was Simpler Than I Expected

https://tech.stonecharioteer.com/posts/2026/traceroute/
2•stonecharioteer•13m ago•0 comments

Show HN: AirplaneMode – Simulate realistic airplane WiFi on macOS

https://github.com/freeze-rey/airplanemode-sim
1•jlreyes•14m ago•1 comments

AI Usage on Texas

https://daviduritu.substack.com/p/the-safety-valve
1•claudiug•14m ago•0 comments

Ask HN: Was Bay Area traffic less today?

1•HoldOnAMinute•16m ago•0 comments

Understanding CPUs by building one in Kotlin

https://github.com/bloderxd/kotlin-cpu
1•bloder•17m ago•1 comments

Thinking Too Different – Apple Vision Pro, Disability and 20 Months in Court

https://medium.com/@edgecaseexistence/thinking-too-different-apple-50-years-later-5d16b2257841
1•iheartbiggpus•18m ago•0 comments

Renewables hit 49.4% of global electricity capacity in 2025

https://www.theregister.com/2026/04/01/renewables_generated_nearly_half_global_power/
1•speckx•18m ago•0 comments

Best Office Chairs of 2026– I've Tested 65 to Pick Them

https://www.wired.com/gallery/best-office-chairs/
2•joozio•19m ago•0 comments

James Webb captures two galaxies in the middle of a cosmic collision

https://techfixated.com/james-webb-captures-two-galaxies-in-the-middle-of-a-cosmic-collision/
2•benlarweh•19m ago•0 comments

An Invisible Bottleneck: A Helium Shortage Threatens the Chip Industry

https://www.nytimes.com/2026/03/27/business/helium-chips-iran-war.html
1•walterbell•21m ago•0 comments