Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thermostat receiver SSR303 does not change the BinarySwitch and ThermostatMode states #1012

Open
sucesor opened this issue Jun 19, 2023 · 1 comment

Comments

@sucesor
Copy link

sucesor commented Jun 19, 2023

Versions:

  • Adapter version: 3.0.5
  • JS-Controller version: 4.0.24
  • Node version: 8.16.0
  • Operating system: Linux Debian 11

The states of BinarySwitch and ThermostatMode did not change in ioBroker when the device changes its state.
https://products.z-wavealliance.org/products/1618

Device:

  • Manufacturer / Model: Secure SRT-321
  • Node numbers:
  • manufacturerId: 0x059
  • productType: 3
  • productId: 1
  • firmwareVersions: 2.0

Logfile of an interview:
zwavejs_2023-06-19.log

@AlCalzone
Copy link
Owner

AlCalzone commented Jun 19, 2023

This device does not support Associations, so it is unable to report the changed state on its own. It has to be polled regularly for its state to get updated.
Since that is only necessary for a handful of legacy devices and can have severe negative influences on a Z-Wave network if not done correctly, iobroker.zwave2 does not poll on its own. You can use the javascript adapter however to do this, e.g. to poll those two states every minute:

// Poll every minute, see https://github.com/ioBroker/ioBroker.javascript/blob/master/docs/en/javascript.md#time-schedule for details
schedule("* * * * *", () => {
  sendTo(
    "zwave2.0",
    "sendCommand",
    {
      nodeId: 2, // The target node
      commandClass: "Binary Switch", // Which command class to use
      command: "get", // Which command should be sent
    },
    ({ error, result }) => {
      //
    }
  );

  sendTo(
    "zwave2.0",
    "sendCommand",
    {
      nodeId: 2, // The target node
      commandClass: "Thermostat Mode", // Which command class to use
      command: "get", // Which command should be sent
    },
    ({ error, result }) => {
      //
    }
  );
});

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

No branches or pull requests

2 participants