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!

How drones could be used to track plastic litter on Irish beaches

https://www.rte.ie/brainstorm/2026/0424/1569594-ireland-beaches-plastic-pollution-litter-drone-fo...
1•austinallegro•1m ago•0 comments

Show HN: Daily China AI news briefing – engineering, product, and business

https://overnightai.substack.com/p/china-ai-news-eight-chinese-chip
1•jackyli02•2m ago•0 comments

Ask HN: I built an AI planner that adapts routines automatically – feedback?

1•Profazia•7m ago•0 comments

FDA gives the green light to the first gene therapy for deafness

https://www.npr.org/2026/04/23/nx-s1-5795526/deafness-gene-therapy-regeneron
1•geox•7m ago•0 comments

Wisp – Social that's fun again

https://wisp.mobile
2•janandonly•8m ago•0 comments

Wikipedia's AI Policy

https://en.wikipedia.org/wiki/Wikipedia:Artificial_intelligence
3•Antibabelic•11m ago•0 comments

Kremlin's tightening grip on internet fuels Russian discontent

https://www.bbc.com/news/articles/cr510de17jlo
1•breve•13m ago•0 comments

Mathesar 0.10.0

https://docs.mathesar.org/0.10.0/releases/0.10.0/
1•klaussilveira•14m ago•0 comments

Mounting tar archives as a filesystem in WebAssembly

https://jeroen.github.io/notes/webassembly-tar/
3•datajeroen•14m ago•0 comments

Impactmel Is Available

https://impactmel.com
1•pndize•15m ago•0 comments

Hidden Secrets in the ArXiv: Information Disclosure in Preprint Source Files

https://arxiv.org/abs/2604.20927
1•bageldesert•16m ago•0 comments

Ask HN: What sw do you dream about but don't have the time to code yourself?

1•curtisblaine•19m ago•1 comments

Artificial intelligence is creeping into American lawmaking

https://www.economist.com/united-states/2026/04/23/artificial-intelligence-is-creeping-into-ameri...
1•edward•19m ago•0 comments

Ask HN: Am I getting old, or is working with AI juniors becoming a nightmare?

3•MichaelRazum•20m ago•2 comments

Ask HN: Who is using DeepSeek in production

2•h99•20m ago•0 comments

DeepSeek-V4: Making 1M token context efficient

https://firethering.com/deepseek-v4-open-source-million-token-context/
2•steveharing1•20m ago•0 comments

OpenAI has the governance structure of a unicorn – it does not exist

https://readuncut.com/open-ai-has-little-effective-governance/
1•dnsb•22m ago•0 comments

Half a Month of Consolation Writing Advice

https://www.astralcodexten.com/p/half-a-month-of-consolation-writing
1•herbertl•24m ago•0 comments

How to Make Sense of AI

https://commoncog.com/how-to-make-sense-of-ai/
2•dnnddidiej•27m ago•0 comments

Seed3D 2.0

https://seed.bytedance.com/en/seed3d_2_0
1•pella•27m ago•0 comments

Why software fundamentals matter more than ever [video]

https://www.youtube.com/watch?v=v4F1gFy-hqg
1•zingar•29m ago•0 comments

The global edtech boom is fading as investors look elsewhere

https://restofworld.org/2026/edtech-funding-collapse-k12-startups-ai-workforce/
1•thm•29m ago•0 comments

Removal of Microplastics from Drinking Water by Moringa Oleifera Seed

https://pubs.acs.org/doi/10.1021/acsomega.5c11569
2•fodmap•30m ago•0 comments

AI Agent Designs a RISC-V CPU Core from Scratch

https://spectrum.ieee.org/ai-chip-design
1•pseudolus•34m ago•0 comments

Facts versus Understanding

https://www.solipsys.co.uk/ZimExpt/FactsVersusUnderstanding.html?zd24hn
2•ColinWright•34m ago•1 comments

US accuses China of "industrial-scale" AI theft. China says it's "slander"

https://arstechnica.com/tech-policy/2026/04/us-accuses-china-of-industrial-scale-ai-theft-china-s...
7•jnord•37m ago•0 comments

Electrostatics and High Voltage Links

http://amasci.com/static/electrostatic1.html
1•ludicrousdispla•40m ago•0 comments

Cohere and Aleph Alpha Merger

https://www.nytimes.com/2026/04/24/business/cohere-aleph-alpha-ai-merger.html
3•warthog•40m ago•0 comments

Spectro – macOS app to detect fake lossless audio files

https://www.getspectro.app
3•ddtcx•45m ago•0 comments

How Much Information Does Adding Noise Remove?

https://www.testingbranch.com/information_loss_and_noise/
2•mpcsb•55m ago•0 comments