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!

Show HN: Formal – Formal verification for AI-generated code using Lean 4

https://github.com/yamafaktory/formal
1•yamafaktory•37s ago•0 comments

Show HN: What's SBTI

https://whatssbti.com/
1•aitooltrek-com•1m ago•0 comments

Show HN: Terminal Style Web Component

https://github.com/spider-hand/terminal-element
1•spider-hand•1m ago•0 comments

Show HN: ApplePy – Embed and Call Swift from Python (Like PyO3, but for Swift)

https://github.com/jagtesh/ApplePy
1•sheepscreek•3m ago•1 comments

PrepLists – a directory of 500 prep centers and 3PLs for e-commerce sellers

https://preplists.com
1•devequijo•3m ago•0 comments

Feature Vomit

https://public.grugnotes.com/keizo/blog/feature-vomit/
1•keizo•3m ago•0 comments

Show HN: Telegram feed reader using DNS TXT records for Iran's Internet shutdown

https://github.com/sartoopjj/thefeed
1•znano•5m ago•0 comments

Trump says US will blockade Strait of Hormuz

https://www.cnn.com/2026/04/12/world/live-news/iran-us-war-talks-trump
1•Tomte•6m ago•1 comments

White Rabbit meets quantum entanglement

https://home.cern/news/news/computing/white-rabbit-meets-quantum-entanglement
1•bookofjoe•8m ago•0 comments

Ask HN: What is the best way to get your first users?

1•Mohd_Umar•8m ago•3 comments

158-year-old home distilling ban ruled unconstitutional

https://www.reuters.com/legal/government/us-appeals-court-declares-158-year-old-home-distilling-b...
2•PessimalDecimal•10m ago•1 comments

Dario Says Continual Learning Is Solved. Is It?

https://twitter.com/tianle_cai/status/2042459055483207818
1•gmays•10m ago•0 comments

Show HN: Kafkaesque – a wire-compatible mock Kafka

https://github.com/dcminter/kafkaesque
1•dcminter•14m ago•1 comments

HappyHorse AI Video Generator

https://openhappyhorse.io/
1•cathy246•17m ago•1 comments

LRTS – Regression testing for LLM prompts (open source, local-first)

https://github.com/rufus-SD/lrts
1•arthur-G•24m ago•0 comments

Metallic θ-phase tantalum nitride has thermal conductivity triple that of copper

https://www.science.org/doi/10.1126/science.aeb1142
2•bookofjoe•25m ago•1 comments

Seven countries now generate 100% of their electricity from renewable energy

https://www.the-independent.com/tech/renewable-energy-solar-nepal-bhutan-iceland-b2533699.html
8•mpweiher•25m ago•0 comments

Tell HN: OpenAI silently removed Study Mode from ChatGPT

16•smokel•26m ago•4 comments

Malvertising and the trend of curl – sh install on macOS

https://pgaleone.eu/security/2026/04/12/paying-google-to-hack-macos-users/
1•me2too•26m ago•0 comments

Simple Git Server

https://sigit.si/
1•kampak212•27m ago•1 comments

Ask HN: How to build an "AI native" company?

1•canxerian•27m ago•2 comments

My adventure in designing API keys

https://vjay15.github.io/blog/apikeys/
1•vjay15•29m ago•1 comments

Apple Is Launching an 'Ultra' Line of Products with New Capabilitie

https://www.entrepreneur.com/business-news/apple-is-launching-an-ultra-line
1•f1shy•30m ago•0 comments

Pro Max 5x Quota Exhausted in 1.5 Hours Despite Moderate Usage

https://github.com/anthropics/claude-code/issues/45756
98•cmaster11•31m ago•28 comments

The physics behind Flow Matching models [video]

https://www.youtube.com/watch?v=3mFNpeJQjmw
2•kburman•35m ago•1 comments

Replacing Lenovo's WWAN Unlock Blob with a 100-Line Bash Script

https://blog.hofstede.it/replacing-lenovos-wwan-unlock-blob-with-a-100-line-bash-script/
1•birdculture•37m ago•0 comments

Show HN: Homebutler – Verify your backups restore, automatically

https://github.com/Higangssh/homebutler
3•swq115•37m ago•1 comments

AI builds anything. I Claude-coded tasteID so every AI tool just knows

https://tasteid.xyz
2•kev_earth•39m ago•0 comments

Show HN: Oberon System 3 runs natively on Raspberry Pi 3 (with ready SD card)

https://github.com/rochus-keller/OberonSystem3Native/releases
2•Rochus•40m ago•0 comments

Show HN: Ghapin – Tool to pin GitHub Actions to SHAs for supply-chain security

https://github.com/TheDen/ghapin
1•theden•45m ago•0 comments