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!

Plumbers, chains, and famous painters: The history of the pipe operator in R

http://adolfoalvarez.cl/blog/2021-09-16-plumbers-chains-and-famous-painters-the-history-of-the-pi...
1•sinnsro•2m ago•0 comments

Michelangelus, the Story of the Font – Microsoft

https://matiasmobilia.substack.com/p/how-do-you-keep-500-years-of-heritage
1•matiasmobilia•3m ago•0 comments

Ask HN: How do you turn videos into searchable text without uploading them?

1•flounderXM•3m ago•2 comments

Notes on how glibc and musl handle math errors

https://sebsite.pw/w/20261004-math_errhandling.html
1•sinnsro•4m ago•0 comments

A US charity plans to use AI to monitor its Gaza schools

https://apnews.com/article/gaza-children-village-ai-speech-schools-7a41b3986524877b3e7ade7985853c53
1•CrypticShift•6m ago•0 comments

Maybe humans are just bad at math

https://trotro.mataroa.blog/blog/maybe-humans-are-just-bad-at-math/
2•trotro•6m ago•0 comments

ChatGPT work is down: Could not resolve host: github.com

2•itvision•7m ago•0 comments

Ask HN: Difference Between Astro and Next.js?

1•zsnkhnyt•7m ago•0 comments

Show HN: All Things Banana – banana news, prices, and a daily Wikipedia game

https://allthingsbanana.com/
1•nicknnamsa•10m ago•0 comments

You can now run Googlebook OS on your Mac, unofficially of course

https://www.androidauthority.com/googlebook-os-apple-silicon-mac-gbos-vm-3720744/
1•GaryBluto•14m ago•0 comments

Ask HN: What was the last task about that you abandoned

1•Haeuserschlucht•15m ago•0 comments

I Use AI to Learn Things [video]

https://www.youtube.com/watch?v=kzcI5F4tGiU
1•ssernikk•18m ago•0 comments

Show HN: I let Claude refactor my old game

https://github.com/victorqribeiro/aimAndShoot
1•atum47•19m ago•0 comments

Let your AI agents paint big arrows, boxes and text on your screen

https://github.com/franzenzenhofer/big-arrow-on-the-screen
9•franze•19m ago•2 comments

We're putting too much faith in AI's ability to say no

https://www.technologyreview.com/2026/10/09/1145728/we-are-putting-too-much-faith-in-ai-to-say-no/
2•joozio•21m ago•0 comments

Show HN: Client-side image cropping for any file input, without coding

https://cropguide.io/#demo
2•rikschennink•21m ago•0 comments

Show HN: Gh-reponark – audit settings across every repo in a GitHub org

https://github.com/admcpr/gh-reponark
1•sequence7•21m ago•0 comments

Pure ARM64 assembly implementation of the ED homophonic codebook cipher

https://gitlab.com/here_forawhile/edasm
1•Bluestein•23m ago•0 comments

An Open Letter to Scott Alexander

https://quillette.substack.com/p/an-open-letter-to-scott-alexander
1•GTP•24m ago•0 comments

AI Assistants Transform Nuclear Power Plant Work

https://spectrum.ieee.org/ai-assistants-nuclear-power-plant
1•rbanffy•25m ago•0 comments

Windows Media Player skin museum

https://wmp-skin-museum.mitpit.com/
1•MitPitt•25m ago•0 comments

A GTA-like vibe coding game that's currently taking Taiwan by storm

https://www.taipei-rush.app/
1•haebom•25m ago•0 comments

My Space Cadet Pinball Machine Is Starting to Look Real [video]

https://www.youtube.com/watch?v=dtXlG4FHs88
1•skibz•28m ago•0 comments

You can now play GTA V on the web

https://github.com/alihammoud21/playgta5
1•aliceo211•31m ago•0 comments

Show HN: Spectra – A drop-in optimizer that cuts LLM training VRAM by 50%

https://github.com/SpectraSI/SpectraAdamw
1•KanishkIndia•31m ago•0 comments

Self-host your own AI text detector on CPU to filter out slop

https://github.com/pablocaeg/sloptotal
1•sloptotal•35m ago•0 comments

Defining epidemic modeling as a public service

https://www.nature.com/articles/s44528-026-00019-0
1•Anon84•37m ago•0 comments

Ukrainian drone attack takes out Russian datacenter

https://www.theregister.com/off-prem/2026/10/09/ukrainian-drone-attack-takes-out-russian-datacent...
5•pseudolus•39m ago•0 comments

Netflix reportedly plans to lay off about 5% of its workforce

https://puck.news/netflix-is-sharpening-the-layoff-axe/
1•ilreb•40m ago•0 comments

Ending the Casuarina Linux Experiment

https://casuarina.org/news/ending-the-casuarina-linux-experiment/
1•birdculture•41m ago•0 comments