frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Golang UniFi Network and Protect API CLI and Client

https://github.com/ClifHouck/unified
4•cliffy•2mo 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!

WordPress Turmoil and the Fair Package Manager

https://thenewstack.io/wordpress-turmoil-and-the-fair-package-manager/
1•CrankyBear•1m ago•0 comments

The Pragmatic Engineer 2025 Survey: What's in your tech stack?

https://newsletter.pragmaticengineer.com/p/the-pragmatic-engineer-2025-survey
3•iLemming•2m ago•0 comments

Graph Continuous Thought Machines

1•Sai-dewa•5m ago•2 comments

Show HN: McClane – Done-for-you lead drops from Facebook group conversations

https://mcclane.super.site/
1•nickalex•6m ago•1 comments

Silicon Valley, à la Française

https://semiwiki.com/artificial-intelligence/358042-silicon-valley-a-la-francaise/
1•rbanffy•7m ago•0 comments

Energy expenditure and obesity across the economic spectrum

https://www.pnas.org/doi/10.1073/pnas.2420902122
1•bookofjoe•9m ago•0 comments

TikTok Creator Sued by Sylvanian Doll Maker over Brand Promotions

https://www.independent.ie/business/irish/sylvanian-families-toy-firm-in-settlement-talks-with-kildare-tiktok-star-over-parody-videos-featuring-japanese-companys-dolls/a1813361842.html
1•valgaze•9m ago•0 comments

Ask HN: Time to Pivot Out of Engineering?

1•bdnsj•10m ago•0 comments

Where's Firefox Going Next?

https://connect.mozilla.org/t5/discussions/where-s-firefox-going-next-you-tell-us/m-p/100698#M39094
2•ReadCarlBarks•11m ago•0 comments

Views of the U.S. have worsened while opinions of China have improved in surveys

https://www.pewresearch.org/short-reads/2025/07/15/views-of-the-us-have-worsened-while-opinions-of-china-have-improved-in-many-surveyed-countries/
5•alphabetatango•13m ago•0 comments

BlackRock hit by $52B withdrawal from single client

https://www.thetimes.com/business-money/companies/article/blackrock-hit-by-52bn-withdrawal-from-single-client-kmsmg87jc
2•alexcos•14m ago•1 comments

Tried Comet: Impressive AI Tool with Concerns About Future Risks

https://twitter.com/TenZorroAI/status/1945224617859113401
1•paulo20223•15m ago•1 comments

Power-seeking, by any person, may be equivalent to minimizing uncertainty

https://www.lesswrong.com/posts/KYxpkoh8ppnPfmuF3/power-seeking-minimising-free-energy
1•OgsyedIE•16m ago•0 comments

Ask HN: Why Marketing Software Hasn't Had Its 'Cursor Moment' Yet

1•richbelt•18m ago•2 comments

Fighting Brandolini's Law with Sampling

https://brady.fyi/fact-checking/
1•h-bradio•18m ago•0 comments

Differential geometry of ML: a geometric interpretation of gradient descent

https://research.fal.ai/blog/differential-geometry-of-ml/
1•felineflock•19m ago•0 comments

Sci-Fi, Fantasy, Fandom in the Norman vs. Lamb Gothic Fantasy Collection

https://internetarchivecanada.org/2025/07/15/science-fiction-fantasy-and-fandom-in-the-norman-v-lamb-gothic-fantasy-collection/
2•lintalist•21m ago•1 comments

Hacker Residency in Da Nang Vietnam with Tony Dinh

https://www.hackerresidencygroup.com
1•transitivebs•23m ago•1 comments

Cambridge academic James Orr: England should be ethnically English [video]

https://www.youtube.com/watch?v=UngibqLwJ34
2•donsupreme•24m ago•1 comments

Product Innovation is Discovery not Creation

https://boz.com/articles/product-discovery
1•pizzathyme•25m ago•0 comments

Mastodon 4.4 Is Here

https://www.patreon.com/posts/mastodon-4-4-is-134090971
2•doener•27m ago•0 comments

After a Decade of Chaos, Google Is Finally Getting Its Act Together

https://gizmodo.com/after-a-decade-of-chaos-google-is-finally-getting-its-act-together-2000629697
1•mikece•27m ago•1 comments

How to Cool Down Computers Inside of an A320 [video]

https://www.youtube.com/watch?v=HQuc_HhW6VA
1•sarimkx•29m ago•0 comments

Investigation confirms majority of community grievances in Socfin plantations

https://news.mongabay.com/short-article/two-year-investigation-confirms-majority-of-community-grievances-in-socfin-plantations/
1•PaulHoule•30m ago•0 comments

AWS launches Kiro, an agentic AI IDE

https://www.techradar.com/pro/aws-launches-kiro-an-agentic-ai-ide-to-end-the-chaos-of-vibe-coding
1•mikece•31m ago•0 comments

The FIPS 140-3 Go Cryptographic Module

https://go.dev/blog/fips140
3•FiloSottile•32m ago•0 comments

Piccolo: Powerful async ORM, query builder, and admin GUI

https://piccolo-orm.com/
1•akkad33•33m ago•0 comments

Show HN: Voice AI Based Visa Interview Prep

https://app.toughtongueai.com/collections/685906c3a2320018923dcaaf/
1•ajabhish•33m ago•0 comments

Novo Nordisk ousts CEO after falling behind in weight loss market

https://www.reuters.com/business/healthcare-pharmaceuticals/novo-nordisk-ceo-step-down-2025-05-16/
2•TMWNN•33m ago•0 comments

The Enshittification of American Power

https://www.wired.com/story/enshittification-of-american-power/
4•miles•33m ago•0 comments