Skip to content

USER-level string system-variable methods (SysVar.setString / createString) #129

Description

@claymore666

I'd like to understand whether a design decision is being observed or an oversight.

The HomeMatic JSON-RPC API (/api/homematic.cgi) exposes typed create* and set* methods for bool, float, and enum system variables, all at privilege LEVEL=USER. There is no equivalent for the string type — no SysVar.setString and no SysVar.createString exist.

As a result, the only way a JSON-RPC client can create or write a string system variable is via ReGa.runScript (dom.GetObject(...).State(...) / dom.CreateObject(OT_VARDP)), which is LEVEL=ADMIN. So string system variables are effectively admin-only, while every other type can be managed by a normal USER-level account.

Is that intentional?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions