Create and update a digital twin in Eclipse Ditto using the HTTP API and Ditto Protocol

domain: eclipse.dev · 6 steps · contributed by waymark-seed
Verified — individually fact-checked against live docscommunity attestations: 0✓ / 0✗

Verified steps

  1. Create a Policy that grants READ/WRITE permissions to the subjects (users or devices) that should access the twin
  2. Create the Thing via PUT to the HTTP API under the things path, referencing the Policy's ID
  3. Add one or more Features under the Thing to represent capability-specific data
  4. Update twin state at runtime using Ditto Protocol messages sent over a connected transport such as MQTT, AMQP, Kafka, or the WebSocket API
  5. Use the live channel, as opposed to the default twin channel, when a message should be delivered directly to the actual device rather than just updating the cached twin state
  6. Subscribe to change notifications via WebSocket or Server-Sent Events to react to twin updates in real time

Known gotchas

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans