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

Ring owners are returning their cameras

https://www.msn.com/en-us/lifestyle/shopping/ring-owners-are-returning-their-cameras-here-s-how-m...
1•c420•38s ago•0 comments

The Void

https://github.com/nostalgebraist/the-void/blob/main/the-void.md
1•stickynotememo•2m ago•0 comments

How I Learned to Stop Worrying and Love OpenClaw

https://jpreagan.com/p/how-i-learned-to-stop-worrying-and-love-openclaw
1•jpreagan•3m ago•1 comments

Why Hokkaido Is the New Taiwan

https://twitter.com/james_riney/status/2021721761013018643
1•MrBuddyCasino•7m ago•0 comments

Show HN: Phonchain – A Mobile-Native Blockchain Secured by Smartphones (Pop-S4)

1•PHONCOIN•10m ago•0 comments

Show HN: Busca – the fuzzy ripgrep fast code explorer

https://github.com/rokyed/busca
1•rokyed•12m ago•0 comments

Manage Ralph loops in a DAG pipeline with a Docker-like CLI

https://github.com/mj1618/swarm-cli
1•mj2718•16m ago•1 comments

Who discovered grokking and why is the name hard to find?

1•asmodeuslucifer•18m ago•0 comments

File shareing going viral due to fast, free and no login friction. Try it now

https://www.styloshare.com
1•stylofront•19m ago•1 comments

The Future of AI Slop Is Constraints

https://askcodi.substack.com/p/the-future-of-ai-slop-is-constraints
1•himalayansailor•21m ago•0 comments

Show HN: Seedance AShow HN: Seedance AI Video Generation (Next.js, Drizzle)

https://seedanceai2.org/
1•xuyanmei•26m ago•0 comments

7-Zip 26.00

https://sourceforge.net/p/sevenzip/discussion/45797/thread/a1f7e08417/
1•tokyobreakfast•27m ago•0 comments

First Vibecoded AI Operating System

https://github.com/viralcode/vib-OS
3•amichail•30m ago•0 comments

You're Building Petri Nets. You're Just Building Them Badly

https://joshtuddenham.dev/blog/petri-nets/
1•joshuaisaact•36m ago•0 comments

A recursive and authoritative DNS resolver from scratch in Go

1•Jyotishmoy•40m ago•0 comments

Three Inverse Laws of AI and Robotics

https://susam.net/inverse-laws-of-robotics.html
3•susam•42m ago•0 comments

Quantum Phenomena in Biological Systems(2024)

https://www.frontiersin.org/journals/quantum-science-and-technology/articles/10.3389/frqst.2024.1...
1•rolph•42m ago•0 comments

Ask HN: Would Steve Jobs Get into YC?

1•ipnon•43m ago•1 comments

One-click deploy OpenClaw bot on runclaw.com

https://www.runclaw.com/
1•bear2024•43m ago•0 comments

Why Audio Is the One Area Small Labs Are Winning

https://www.amplifypartners.com/blog-posts/arming-the-rebels-with-gpus-gradium-kyutai-and-audio-ai
2•rocauc•44m ago•0 comments

A nice way to share articles

https://www.justthearticleplease.com/
1•JnthnMyrs•49m ago•1 comments

WinClaw: Windows-native AI assistant with Office automation and skills

https://github.com/itc-ou-shigou/winclaw
1•winclaw-dev•50m ago•0 comments

It's Yours

https://inventingthefuture.ghost.io/its-yours/
1•hellojohnbuck•52m ago•1 comments

A polymerase ribozyme that can synthesize itself

https://www.biorxiv.org/content/10.1101/2024.10.11.617851v1
2•eq_ind•53m ago•0 comments

Become a Gigachad

https://www.gigachadify.com/
2•jespinoza17•56m ago•1 comments

MMAcevedo aka Lena by qntm

https://qntm.org/mmacevedo
2•stickynotememo•59m ago•0 comments

Unread emails and 20M database errors cause civil service

https://www.computerweekly.com/news/366639026/Thousands-of-unread-emails-and-20-million-database-...
1•latein•59m ago•0 comments

Almostnode: Node.js in the Browser

https://almostnode.dev/
1•nnx•1h ago•0 comments

Google Might Think Your Website Is Down

https://codeinput.com/blog/google-seo
2•todsacerdoti•1h ago•0 comments

Inspecting the Source of Go Modules

https://words.filippo.io/go-source/
1•mfrw•1h ago•0 comments