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!

Data Science Weekly – Issue 659

https://datascienceweekly.substack.com/p/data-science-weekly-issue-659
1•sebg•4m ago•0 comments

Brave Bat Roadmap 4.0

https://brave.com/blog/bat-roadmap-4-0/
1•twapi•8m ago•0 comments

The most, and least, liveable cities in 2026

https://www.economist.com/graphic-detail/2026/07/06/the-worlds-most-and-least-liveable-cities-in-...
1•andsoitis•10m ago•0 comments

Can you run every line of code in Super Mario Bros.?

https://www.youtube.com/watch?v=o0gOALTvkcc
1•badc0ffee•12m ago•0 comments

Show HN: AppleWalls – free 4K wallpapers for Apple devices

https://www.applewalls.com/en
1•fenggit•15m ago•0 comments

InternNav – Navigation Toolbox

https://github.com/InternRobotics/InternNav
1•rickcarlino•16m ago•0 comments

Audar-ASR-V1:Arabic-first speech recognition foundation models with open weights

1•AudarAI•19m ago•1 comments

LKML-reader: a Rust-based interactive reader for Linux Kernel Mailing Lists

https://github.com/RinHizakura/lkml-reader
1•RinHizakura•20m ago•0 comments

Class action suit over deepfake child sexual abuse material expands

https://text.npr.org/nx-s1-5885052
1•1659447091•23m ago•0 comments

Show HN: I made the Chrome Dino Game editable by your AI prompts

https://vibedino.com
1•johnnyapple•24m ago•0 comments

The Oral History of the Dinosaur Input Device (DID)

https://vfxblog.com/dinosaurinputdevice/
1•fabiensanglard•31m ago•0 comments

Graphic Data Processing – 1965 IBM System/360 Computer Lecture and Demonstration [video]

https://www.youtube.com/watch?v=Y0FY3CDCw1o
1•besserwisser•38m ago•0 comments

Pressurizing a Chicken Coop to Clean it [video]

https://www.youtube.com/watch?v=jYspl74j5eM
1•oftenwrong•41m ago•0 comments

Verla: Free AI Humanizer&assignment helper

https://verla.io
1•kaitsai•41m ago•0 comments

How a Transformer Plays Tic-Tac-Toe

https://sbondaryev.dev/articles/transformer
1•thunderbong•44m ago•0 comments

Netflix Is Exploring Live TV and Bundles as It Struggles to Keep Viewers Hooked

https://www.wsj.com/business/media/netflix-is-exploring-live-tv-and-bundles-as-it-struggles-to-ke...
2•mikhael•44m ago•0 comments

Sony disc-free PS5 plan triggered $457M lawsuit, undercutting antitrust defense

https://fortune.com/2026/07/09/sony-playstation-discs-lawsuit-xbox-antitrust/
3•1vuio0pswjnm7•44m ago•0 comments

Restate 1.7: End-to-end Flow Control for your Agents and Back ends

https://www.restate.dev/blog/announcing-restate-1-7
1•cbrewster•44m ago•0 comments

Microsoft's emissions surged 25% in 2025 during data center boom

https://fortune.com/2026/07/09/microsoft-carbon-emissions-2025-data-centers/
3•1vuio0pswjnm7•48m ago•0 comments

NSW Police infiltrate 'VIP Network' underworld phones, send warning message

https://www.abc.net.au/news/2026-07-10/nsw-police-infiltrate-underworld-app/106900648
2•femto•48m ago•1 comments

The NTP server of Australia's largest mobile provider reset time to 2006

https://www.abc.net.au/news/2026-07-10/telstra-warned-about-vulnerability-before-national-outage/...
2•itchingsphynx•50m ago•0 comments

The OS/2 Operating System Didn't Die. It Went Underground (2019)

https://hackaday.com/2019/06/20/the-os-2-operating-system-didnt-die-it-went-underground/
2•andsoitis•51m ago•0 comments

Boeing's Smallest Max Jet Nears FAA Milestone After Years of Delays

https://www.wsj.com/business/airlines/boeings-smallest-max-jet-nears-faa-milestone-after-years-of...
2•armoredmeatball•58m ago•0 comments

A Game for Career Simulator

https://www.thefenomenogame.com/
1•jeyzolo•59m ago•1 comments

What Happened to OS/2?

https://www.youtube.com/watch?v=yJy-zBvqXqU
1•cable2600•1h ago•0 comments

Show HN: Bring All Your Context Together

3•Daniel-Pan•1h ago•1 comments

Terminals for vibe coding, not only Ghostty, but also kitty

https://blog.chuanxilu.net/en/posts/2026/07/from-warp-to-kitty/
1•alexwwang•1h ago•0 comments

Kitty: New Level of Mouse Support

https://sw.kovidgoyal.net/kitty/changelog
2•zdkaster•1h ago•0 comments

Omegle for Weed

https://omeweed.com/
1•mmorga71•1h ago•0 comments

Thoughts on design as founding engineer

https://www.thrice.me/on-design
2•groznyj•1h ago•0 comments