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

Ask HN: How do I contribute to OSS without giving training data to AI companies?

1•cosiiine•15s ago•0 comments

"﷽" U+fdfd: Arabic Ligature Bismillah AR-Rahman AR-Raheem (Unicode Character)

https://unicodeplus.com/U+FDFD
1•birdculture•30s ago•0 comments

Apple adds Bosch, Cirrus Logic, others to US manufacturing program, invest $400M

https://www.reuters.com/business/apple-adds-bosch-cirrus-logic-others-us-manufacturing-program-in...
1•onemoresoop•37s ago•0 comments

Why Linguistic Context Outperforms Raw Data for LLM Decision-Making

https://www.prereason.com/evidence/research
1•KalskiTheDan•44s ago•0 comments

The JuliaMono Typeface

https://juliamono.netlify.app/
1•tosh•1m ago•0 comments

France confirms oil crisis, says 30-40% of Gulf energy infrastructure destroyed

https://www.france24.com/en/france-confirms-oil-crisis-says-30-40-gulf-energy-infrastructure-dest...
1•toomuchtodo•2m ago•0 comments

IRGC recruiting 12 year olds to fight US "in support roles"

https://www.iranintl.com/en/202603261604
1•spwa4•3m ago•0 comments

Training Driving AI at 50k× Real Time

https://spectrum.ieee.org/gm-scalable-driving-ai
1•Brajeshwar•3m ago•0 comments

Meta AI Research – An AI Model of the Human Brain

https://aidemos.atmeta.com/tribev2/
1•dmarcos•3m ago•1 comments

Helium shortage has started impacting tech supply chains, execs say

https://www.reuters.com/world/asia-pacific/helium-shortage-has-started-impacting-tech-supply-chai...
1•onemoresoop•4m ago•0 comments

Show HN: Pytest tests catching Python supply chain attacks (litellm .pth vector)

https://github.com/Quality-Max/supply-chain-scanner
1•qualitymax•4m ago•0 comments

Nobody Is Defaulting. That's the Problem

https://kyletsai123.substack.com/p/nobody-is-defaulting-thats-the-problem
2•Kyle0939•5m ago•0 comments

Casio|the Special One – S100X Japanese Lacquer Edition [video]

https://www.youtube.com/watch?v=YTwESBcgoyQ
1•xavaki•5m ago•0 comments

Gov. Newsom's Office Claims Grindr Provides to Them Opponent's Usage Data

https://twitter.com/GovPressOffice/status/2036864339722875380
1•fortran77•6m ago•0 comments

JetBrains kills X11 in WebStorm 2026.1

https://www.neowin.net/news/jetbrains-releases-webstorm-20261-with-typescript-6-support-and-wayla...
1•bundie•10m ago•0 comments

Nemotron-Cascade 2: Post-Training LLMs with Cascade RL, On-Policy Distillation

https://arxiv.org/abs/2603.19220
1•gmays•10m ago•0 comments

Grove: Distributed LLM Training over AirDrop

https://github.com/swarnim-j/grove
2•oldfuture•10m ago•0 comments

Google sets a timeline for post-quantum cryptography migration to 2029

https://blog.google/innovation-and-ai/technology/safety-security/cryptography-migration-timeline/
1•giuliomagnifico•10m ago•0 comments

Can I Buy a Butler Yet?

https://philc.io/butler-bet/
2•breakpointalpha•11m ago•1 comments

Show HN: Paseo – Open-source coding agent interface (desktop, mobile, CLI)

https://github.com/getpaseo/paseo
4•boudra•12m ago•0 comments

OpenBSD on SGI, 1/6: A missed opportunity

http://miod.online.fr/software/openbsd/stories/sgi1.html
1•jruohonen•12m ago•0 comments

A one-line Kubernetes fix that saved 600 hours a year

https://blog.cloudflare.com/one-line-kubernetes-fix-saved-600-hours-a-year/
1•buendiapino•12m ago•0 comments

Show HN: Slashr – live validator incident feed [SOL, ETH, SUI, ATOM]

https://slashr.dev
1•simonmorley•15m ago•1 comments

Show HN: Version 1.0 of agent-of-empires CLI agent orchestration tool

https://www.agent-of-empires.com/
1•river_otter•16m ago•0 comments

Show HN: Is this headline a big deal everywhere, or just here? Crosswire.online

https://crosswire.online/country/us
2•davidpelayo•17m ago•0 comments

The future of work is world models

https://www.strangeloopcanon.com/p/the-future-of-work-is-world-models
1•gmays•17m ago•0 comments

Show HN: Paseo – Open-source coding agent interface (desktop, mobile, CLI)

3•boudra•17m ago•1 comments

PolicyGen – free privacy policy generator, no account needed

https://policygen.app/
2•jhunters•18m ago•1 comments

The average phone now has a bigger battery than the S26 Ultra

https://www.androidauthority.com/smartphones-average-battery-capacity-increase-3652111/
1•thunderbong•18m ago•0 comments

Data Science Weekly – Issue 644

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