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•8mo 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!

Remote Code Execution in OpenCode, update now

https://cy.md/opencode-rce/
1•CyberShadow•4m ago•1 comments

An open spec for cryptographic API authentication

1•nagabandaru•6m ago•0 comments

Google introduces personalised shopping ads to AI tools

https://www.ft.com/content/957c7438-b2e0-4605-a276-caa8a7ec363c
1•sebastian_z•7m ago•0 comments

Show HN: Turntiles, an NYT style game I made for my parents

https://wheybags.com/turntiles/
1•wheybags•17m ago•0 comments

I'd tell you a UDP joke…

https://www.codepuns.com/post/805294580859879424/i-would-tell-you-a-udp-joke-but-you-might-not-get
4•redmattred•18m ago•0 comments

Great Chinese Famine

https://en.wikipedia.org/wiki/Great_Chinese_Famine
2•simonebrunozzi•20m ago•1 comments

Game is a single 13 KiB file that runs on Windows, Linux and in the Browser

https://iczelia.net/posts/snake-polyglot/
9•snoofydude•23m ago•2 comments

The Models Resource – Archive of 3D models in video games

https://models.spriters-resource.com/
1•1bpp•28m ago•0 comments

Show HN: Coi – A compiled-reactive language for high-performance WASM apps

1•io_eric•33m ago•0 comments

Show HN: Blockframe v1.0.3 Released

https://github.com/crushr3sist/blockframe-rs/releases/tag/v1.0.3
1•DeusCodex•36m ago•1 comments

The Next Two Years of Software Engineering

https://addyosmani.com/blog/next-two-years/
7•napolux•37m ago•2 comments

iMessage-kit is an iMessage SDK for macOS

https://github.com/photon-hq/imessage-kit
2•rsync•38m ago•1 comments

How I'm Doing at the End of 2025

https://rmondello.com/2025/12/30/how-im-doing-at-the-end-of-2025/
1•gpi•40m ago•0 comments

Show HN: Engineering Schizophrenia: Trusting Yourself Through Byzantine Faults

15•rescrv•42m ago•2 comments

Show HN: Should I Buy It – Paste a link. Answer questions. Get a recommendation

https://shouldibuyit.net
1•samebaker22•43m ago•0 comments

The Cauldron in the Spectrogram Or: What Happens When You Think with Your Tools

https://mcauldronism.substack.com/p/the-cauldron-in-the-spectrogram
2•mcauldronism•45m ago•2 comments

Axioms of Polity

https://colinsteele.org/blog/axioms_of_polity/
1•cvillecsteele•48m ago•0 comments

Show HN: I Built a Mobile Coding App. What I Use It for Surprised Me

https://kibbler.dev/blog/beyond-coding-unexpected-uses-for-kibbler
1•kewun•50m ago•0 comments

Read Sundar Pichai's Remarks at the 2026 National Retail Federation

https://blog.google/company-news/inside-google/message-ceo/nrf-2026-remarks/
1•gmays•51m ago•0 comments

Colorado is looking for range riders to help reduce conflict with wolves

https://www.aspentimes.com/news/colorado-parks-wildlife-range-riding-program/
2•mooreds•52m ago•0 comments

Military Grade

https://en.wikipedia.org/wiki/Military_grade
4•simonebrunozzi•52m ago•2 comments

Influencers and OnlyFans models are dominating O-1 visa requests

https://www.theguardian.com/us-news/2026/jan/11/onlyfans-influencers-us-o-1-visa
7•Teever•52m ago•2 comments

Play chess via Slack DMs or SMS using an ASCII board

https://github.com/dvelton/dm-chess
2•dustfinger•53m ago•0 comments

Show HN: Sprig-config – Spring-like config for Python, layered YAML and secrets

https://pypi.org/project/sprig-config/
1•gigglesx•53m ago•0 comments

Embrace your lack: on Pluribus and LLMs

https://hollisrobbinsanecdotal.substack.com/p/embrace-your-lack
1•HR01•53m ago•1 comments

When msvc:musttail attribute silently fails

https://www.abareplace.com/blog/musttail/
1•todsacerdoti•55m ago•0 comments

Stablecoin transactions rose to $33T in 2025

https://www.bloomberg.com/news/articles/2026-01-08/stablecoin-transactions-rose-to-record-33-tril...
1•gametorch•57m ago•0 comments

Doom on Oscilloscope

https://twitter.com/speed_shit/status/2009987671435948419
1•defly•1h ago•1 comments

You should change your mobile app version format to year.week.iteration

https://www.photoroom.com/inside-photoroom/why-you-should-change-your-mobile-app-version-format-t...
1•ea016•1h ago•0 comments

Weird DNS Behavior on Alpine Linux – .local and mDNS

https://ozelot.fyi/blog/weird-dns-behavior-on-alpine-linux/
3•OzelotVillain•1h ago•1 comments