Skip to content

Conversation

@siku2
Copy link

@siku2 siku2 commented Aug 11, 2025

Follows: #14

This PR creates the low-level dingz.rest module which aims to provide a thin abstraction over the dingz REST API.

The goal is to rebuild the high-level API on top of this layer.

The current vision is to have:

  • dingz.rest - handles the REST API
  • dingz.webhook - infrastructure for receiving "webhook" pushes from the dingz devices
  • dingz.mqtt - handles the MQTT API
  • dingz - High level API, similar to the current API. This API can make use of all three interfaces to allow for real-time updates.

I want to support both webhook and mqtt. Webhooks are easy to set up automatically, but MQTT scales a lot better.

While working on these changes I realized that the current state of the codebase is completely unusable with the newer dingz firmware. I decided that I won't even try to keep things backwards-compatible. Naturally, this is gonna lead to a lot of breaking changes.

@siku2 siku2 force-pushed the feat/rest branch 2 times, most recently from addcba0 to 88a8c76 Compare August 16, 2025 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant