@tomfy/core
v2026.3.6
Published
Scriptable home automation server with fully typed object scheme
Downloads
393
Readme
@tomfy/core
Tomby's combined server and client.
See main README for overview, installation etc.
Tech Stack
- Runtime: Node.js ≥ 22, ESM, strict TypeScript
- HTTP: Hono
- CLI: Commander
- Plugin loader: jiti (TypeScript without a build step)
- Intentionally minimal dependencies
HTTP API
All endpoints are POST with JSON bodies, RPC-style:
| Endpoint | Description |
| ---------------- | -------------------------------- |
| health-check | Server status and uptime |
| plugins.list | List loaded plugins |
| objects.list | List all objects with properties |
| objects.get | Get a single object |
| objects.rename | Rename an object |
| props.get | Get a property value |
| props.set | Set a writable property |
| props.watch | SSE stream for property changes |
| actions.list | List available actions |
| actions.run | Invoke an action |
All paths are prefixed with /api/ (e.g. POST /api/objects.list).
