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!

Anthropic wants to develop its own drugs

https://www.theverge.com/ai-artificial-intelligence/961311/anthropic-claude-science-ai-drug-devel...
1•erhuve•1m ago•0 comments

Instagram running ads promoting child sexual abuse material in India, BBC finds

https://www.bbc.com/news/articles/cvgm4e0316zo
1•muralimadhu•4m ago•0 comments

Ask HN: Where are the good search engines for mathematical formulas?

1•lo0dot0•5m ago•0 comments

Apple Hide My Email Reveals the User’s Real Email

https://www.404media.co/apple-hide-my-email-vulnerability-reveals-peoples-real-email-addresses/
1•oldfuture•8m ago•1 comments

EU appears to find datacenter emissions easier to offset than lobbyists

https://www.theregister.com/on-prem/2026/07/03/eu-appears-to-find-datacenter-emissions-easier-to-...
2•Bender•11m ago•0 comments

What is a quantum computer good for? nothing – yet

https://www.theverge.com/science/959466/quantum-computer-majorana-2-microsoft-trump-eo
2•joak•12m ago•1 comments

Shaper3d is too expensive so I vibe coded this for Woodwork design

https://designer.vos.lol/
1•AndrewVos•15m ago•1 comments

Go-K8SDeploy – A <50MB RAM GitOps engine with tamper-evident audit logs

https://github.com/Your-Net-Tech/Go-K8SDeploy
1•ynetx•16m ago•0 comments

Open Syllabus: Galaxy

https://galaxy.opensyllabus.org/
1•mmooss•17m ago•0 comments

Overllm – flags where you're paying an LLM to do a regex's job

https://github.com/theadamdanielsson/overllm
1•adamdanielsson1•17m ago•1 comments

As downtown Seattle offices empty, city facing years of 'zombie' towers

https://www.seattletimes.com/business/local-business/as-downtown-seattle-offices-empty-city-facin...
10•petethomas•20m ago•1 comments

WeatherMaster, Open Source, and the Future of Android; Interview with Pranshul

https://gardinerbryant.com/weathermaster-open-source-and-the-future-of-android/
1•thunderbong•21m ago•0 comments

Funding Your Own Disruption

https://stratnotes.substack.com/p/funding-your-own-disruption
1•swastikanayak•27m ago•0 comments

ROZ Nanobots for Your PC

https://republicofzani.com/software
1•zani1337•27m ago•0 comments

Understanding AI Memory the Basics

https://kingofkimchi.substack.com/p/the-memory-files-case-01-ai-memory
1•KingofKimchi•31m ago•0 comments

HN – The first AI recruitment assistant beyond traditional ATS

https://www.kyntoai.com
1•Alex_Bonjean•34m ago•1 comments

Email inboxes for AI agents: the complete guide – MailKite

https://mailkite.dev/blog/email-inbox-for-ai-agents-guide/
1•fijiwebdesign•35m ago•0 comments

PicnicHabits Is Now Live

https://picnichabits.uk
1•PicnicApps•38m ago•0 comments

Fable 5 BeyBlade-inspired Arena Game

https://parastoner.itch.io/spintop-arena
1•Paratoner•41m ago•0 comments

Show HN: Cute Music App

1•bOZbfU4YdRnJQ•42m ago•0 comments

Ebrains Crowdsources the Future of European Neuroscience

https://www.the-scientist.com/ebrains-crowdsources-the-future-of-european-neuroscience-74690
1•visha1v•43m ago•1 comments

Algae Microrobots Battle Bladder Cancer

https://www.the-scientist.com/algae-microrobots-battle-bladder-cancer-74700
2•visha1v•44m ago•1 comments

Convert your RSS feeds into a static website

https://www.xda-developers.com/i-replaced-my-100-year-rss-reader-with-a-free-github-pages-aggrega...
2•8organicbits•46m ago•0 comments

Tests Are SQL Files Too

https://npgsqlrest.github.io/blog/npgsqlrest-3.19-sql-test-runner-watch-mode.html
1•vbilopav•54m ago•0 comments

Show HN: AI-powered code review tool

https://github.com/Kirill89/reviewcerberus
1•k1r111•55m ago•0 comments

EyesOff Spots Shoulder Surfers Using a Privacy-First Approach

https://www.eyesoff.app/blog/how-eyesoff-spots-shoulder-surfers/
1•Two_hands•1h ago•0 comments

But Nothing Has Changed on Our Side

https://cacm.acm.org/blogcacm/but-nothing-has-changed-on-our-side/
1•visha1v•1h ago•1 comments

I can build anything, but only the void sees it

3•urbanogt5•1h ago•4 comments

AI researchers ran a secret experiment on Reddit users (2025)

https://www.livescience.com/technology/artificial-intelligence/ai-researchers-ran-a-secret-experi...
1•rolph•1h ago•2 comments

Verizon is About to Break our Watches

https://www.jefftk.com/p/verizon-is-about-to-break-our-watches
31•jefftk•1h ago•6 comments