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!

Talk about PPU (Parallel Processing Unit) increasing CPU speeds exponentially

https://www.youtube.com/watch?v=ZiQxxzCHLvo
1•openhw•2m ago•0 comments

Industrial Policy for the Intelligence Age

https://openai.com/index/industrial-policy-for-the-intelligence-age/
1•salkahfi•4m ago•0 comments

Avoid Concatenation in Log Statements

https://blog.bonnieeisenman.com/blog/avoid-concatenation-in-log-statements/
1•luu•5m ago•0 comments

Show HN: Beat Darwin

1•ecosystemj•6m ago•0 comments

Show HN: I built lightweight LLM tracing tool with CLI

https://github.com/SKE-Labs/lightrace
1•skele•6m ago•1 comments

GlueClaw: Use Claude subscription in OpenClaw again

https://github.com/zeulewan/glueclaw
1•zeulewan•7m ago•1 comments

Show HN: Browser-based EXIF remover – no upload, runs offline via WASM

https://picshift.app/metadata-remover/
2•pod4g•11m ago•0 comments

Drug safety intelligence API – 1M+ FDA adverse events in one call

https://pharma-signal.com
1•Niteowlpt•13m ago•0 comments

Show HN: I just built a MCP Server that connects Claude to all your wearables

https://pacetraining.co/
1•anton_salcher•14m ago•2 comments

Tips and tricks to avoid cloning in Rust

https://antoine.vandecreme.net/blog/avoiding-clone/
1•avandecreme•17m ago•0 comments

Ask HN: How do you escape golden handcuffs at FAANG?

2•oumua_don17•18m ago•3 comments

RISC-V Linux BusyBox Single Board Notebook

https://tomlarkworthy.github.io/lopebooks/notebooks/@tomlarkworthy_linux-sbc.html
1•tlarkworthy•22m ago•0 comments

Career-Ops: How I Built My Own AI Job Search Tool

https://santifer.io/career-ops-system
1•futurecat•23m ago•0 comments

Making Gamedev Tooling For Windows 3.1 in Turbo C++ [video]

https://www.youtube.com/watch?v=-7mc-D5V4L8
1•xyproto•25m ago•0 comments

Nanoscale Vacuum-Channel Transistor

https://en.wikipedia.org/wiki/Nanoscale_vacuum-channel_transistor
1•akshatjiwan•30m ago•0 comments

Texas Republican Called Out for Sharing AI Rendering of Rescued Soldier

https://www.mediaite.com/media/news/texas-republican-called-out-for-sharing-ai-rendering-of-rescu...
1•01-_-•30m ago•0 comments

Anomaly detection with nothing but Welford's algorithm and a KV store

https://uriv.me/blog/anomaly-detection-with-welford-and-kv
3•birdculture•41m ago•0 comments

All GANs No Brakes

https://mayberay.bearblog.dev/all-gans-no-brakes/
1•mugamuga•42m ago•0 comments

Paramera modified carbon fiber hood

https://www.porsche-km.com/productinfo/192708.html
1•edl8888•47m ago•0 comments

NIMBY Rails

https://store.steampowered.com/app/1134710/NIMBY_Rails/
10•altilunium•48m ago•0 comments

Show HN: Reverse-engineered the FPGA bitstream using Claude Code

https://github.com/14sea/Cyclone_CRAM_Mapper
4•14sea•48m ago•1 comments

Hell Is a World in Which Everybody Writes Like Axios (2022)

https://newrepublic.com/article/167857/axios-smart-brevity-book-hell-world
2•Tomte•49m ago•1 comments

Euro-Office – Your sovereign office

https://github.com/Euro-Office
40•XzetaU8•57m ago•10 comments

College instructor turns to typewriters to curb AI use, teach life lessons

https://apnews.com/article/typewriter-ai-cheating-chatgpt-cornell-ce10e1ca0f10c96f79b7d988bb56448b
2•1vuio0pswjnm7•58m ago•2 comments

Disposable Tools Manifesto

https://blog.vtemian.com/post/disposable-tools-manifesto/
1•vtemian•58m ago•0 comments

AI Damaged a Friendship

https://www.bartmol.io/how-ai-damaged-a-friendship/
2•Maulwurf•1h ago•0 comments

Vincelwt/gloomberb: Finance terminal, in your terminal

https://github.com/vincelwt/gloomberb
1•rcarmo•1h ago•0 comments

Java: The Foreign Function and Memory API

https://dev.java/learn/ffm/
2•tosh•1h ago•0 comments

Show HN: I developed a node editor framework using gpui

https://github.com/tu6ge/ferrum-flow
3•tu6ge•1h ago•4 comments

Humans Persistently Devalue AI-Generated Creative Writing

https://psycnet.apa.org/fulltext/2027-12675-001.html
1•Growtika•1h ago•0 comments