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

[bug] Fibaro FGT-001 Thermostat no setpoint in HA #793

Closed
1 of 3 tasks
ldymek opened this issue Mar 2, 2021 · 19 comments
Closed
1 of 3 tasks

[bug] Fibaro FGT-001 Thermostat no setpoint in HA #793

ldymek opened this issue Mar 2, 2021 · 19 comments
Assignees
Labels
bug Something isn't working

Comments

@ldymek
Copy link

ldymek commented Mar 2, 2021

Before submitting a bug please read: https://zwave-js.github.io/zwavejs2mqtt/#/troubleshooting/bug_report

Version

Build/Run method

  • Docker
  • PKG
  • Manually built (git clone - npm install - npm run build )

zwavejs2mqtt version: 1.0.0-beta.7
zwavejs version: 6.4.0

Describe the bug

Fibaro FGT001 Thermostats are discovered correctly by zwavejs2mqtt, including setpoint of temperature. Unfortunately setpoint is not visible in Home Assistant nor via MQTT and websocket.

To Reproduce

Steps to reproduce the behavior:

  1. Add FGT001 to zwave2mqtt
  2. Discover in HA
  3. No SetPoint entity discovered
  4. See error

Expected behavior

SetPoint should appear. On HASS zwavejs direct plugin FGT001 is working as expected

Additional context

zwavejs2mqtt debug info:

{
  "id": 6,
  "deviceId": "271-4097-4865",
  "manufacturer": "Fibargroup",
  "manufacturerId": 271,
  "productType": 4865,
  "productId": 4097,
  "name": "Grzejnik_Kuchnia",
  "loc": "Kuchnia",
  "values": [
    {
      "id": "6-114-0-manufacturerId",
      "nodeId": 6,
      "commandClass": 114,
      "commandClassName": "Manufacturer Specific",
      "endpoint": 0,
      "property": "manufacturerId",
      "propertyName": "manufacturerId",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Manufacturer ID",
      "stateless": false,
      "min": 0,
      "max": 65535,
      "list": false,
      "value": 271,
      "newValue": 271
    },
    {
      "id": "6-114-0-productType",
      "nodeId": 6,
      "commandClass": 114,
      "commandClassName": "Manufacturer Specific",
      "endpoint": 0,
      "property": "productType",
      "propertyName": "productType",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Product type",
      "stateless": false,
      "min": 0,
      "max": 65535,
      "list": false,
      "value": 4865,
      "newValue": 4865
    },
    {
      "id": "6-114-0-productId",
      "nodeId": 6,
      "commandClass": 114,
      "commandClassName": "Manufacturer Specific",
      "endpoint": 0,
      "property": "productId",
      "propertyName": "productId",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Product ID",
      "stateless": false,
      "min": 0,
      "max": 65535,
      "list": false,
      "value": 4097,
      "newValue": 4097
    },
    {
      "id": "6-134-0-libraryType",
      "nodeId": 6,
      "commandClass": 134,
      "commandClassName": "Version",
      "endpoint": 0,
      "property": "libraryType",
      "propertyName": "libraryType",
      "type": "any",
      "readable": true,
      "writeable": false,
      "label": "Library type",
      "stateless": false,
      "list": false,
      "value": 3,
      "newValue": 3
    },
    {
      "id": "6-134-0-protocolVersion",
      "nodeId": 6,
      "commandClass": 134,
      "commandClassName": "Version",
      "endpoint": 0,
      "property": "protocolVersion",
      "propertyName": "protocolVersion",
      "type": "any",
      "readable": true,
      "writeable": false,
      "label": "Z-Wave protocol version",
      "stateless": false,
      "list": false,
      "value": "4.61",
      "newValue": "4.61"
    },
    {
      "id": "6-134-0-firmwareVersions",
      "nodeId": 6,
      "commandClass": 134,
      "commandClassName": "Version",
      "endpoint": 0,
      "property": "firmwareVersions",
      "propertyName": "firmwareVersions",
      "type": "any",
      "readable": true,
      "writeable": false,
      "label": "Z-Wave chip firmware versions",
      "stateless": false,
      "list": false,
      "value": [
        "4.7"
      ],
      "newValue": [
        "4.7"
      ]
    },
    {
      "id": "6-134-0-hardwareVersion",
      "nodeId": 6,
      "commandClass": 134,
      "commandClassName": "Version",
      "endpoint": 0,
      "property": "hardwareVersion",
      "propertyName": "hardwareVersion",
      "type": "any",
      "readable": true,
      "writeable": false,
      "label": "Z-Wave chip hardware version",
      "stateless": false,
      "list": false
    },
    {
      "id": "6-128-0-level",
      "nodeId": 6,
      "commandClass": 128,
      "commandClassName": "Battery",
      "endpoint": 0,
      "property": "level",
      "propertyName": "level",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Battery level",
      "stateless": false,
      "min": 0,
      "max": 100,
      "unit": "%",
      "list": false,
      "value": 85,
      "newValue": 85
    },
    {
      "id": "6-128-0-isLow",
      "nodeId": 6,
      "commandClass": 128,
      "commandClassName": "Battery",
      "endpoint": 0,
      "property": "isLow",
      "propertyName": "isLow",
      "type": "boolean",
      "readable": true,
      "writeable": false,
      "label": "Low battery level",
      "stateless": false,
      "list": false,
      "value": false,
      "newValue": false
    },
    {
      "id": "6-112-0-1",
      "nodeId": 6,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 1,
      "propertyName": "Override Schedule duration",
      "type": "number",
      "readable": true,
      "writeable": true,
      "description": "Duration of Override Schedule after turning knob",
      "label": "Override Schedule duration",
      "default": 240,
      "stateless": false,
      "min": 10,
      "max": 10000,
      "list": false,
      "value": 240,
      "newValue": 240
    },
    {
      "id": "6-112-0-2",
      "nodeId": 6,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 2,
      "propertyName": "Additional functions",
      "type": "number",
      "readable": true,
      "writeable": true,
      "description": "This parameter allows to enable different additional functions of the device.",
      "label": "Additional functions",
      "default": 1,
      "stateless": false,
      "min": 0,
      "max": 31,
      "list": false,
      "value": 1,
      "newValue": 1
    },
    {
      "id": "6-112-0-3",
      "nodeId": 6,
      "commandClass": 112,
      "commandClassName": "Configuration",
      "endpoint": 0,
      "property": 3,
      "propertyName": "Additional functions status (READ-ONLY)",
      "type": "number",
      "readable": true,
      "writeable": false,
      "description": "This parameter allows to check statuses of different additional functions.",
      "label": "Additional functions status (READ-ONLY)",
      "default": 0,
      "stateless": false,
      "min": 0,
      "max": 3,
      "list": false,
      "value": 0,
      "newValue": 0
    },
    {
      "id": "6-64-1-mode",
      "nodeId": 6,
      "commandClass": 64,
      "commandClassName": "Thermostat Mode",
      "endpoint": 1,
      "property": "mode",
      "propertyName": "mode",
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Thermostat mode",
      "stateless": false,
      "min": 0,
      "max": 255,
      "list": true,
      "states": [
        {
          "text": "Off",
          "value": 0
        },
        {
          "text": "Heat",
          "value": 1
        }
      ],
      "value": 1,
      "newValue": 1
    },
    {
      "id": "6-64-1-manufacturerData",
      "nodeId": 6,
      "commandClass": 64,
      "commandClassName": "Thermostat Mode",
      "endpoint": 1,
      "property": "manufacturerData",
      "propertyName": "manufacturerData",
      "type": "any",
      "readable": true,
      "writeable": true,
      "label": "manufacturerData (property)",
      "stateless": false,
      "list": false
    },
    {
      "id": "6-67-1-setpoint-1",
      "nodeId": 6,
      "commandClass": 67,
      "commandClassName": "Thermostat Setpoint",
      "endpoint": 1,
      "property": "setpoint",
      "propertyName": "setpoint",
      "propertyKey": 1,
      "propertyKeyName": "Heating",
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "setpoint (property)",
      "stateless": false,
      "ccSpecific": {
        "setpointType": 1
      },
      "min": 10,
      "max": 30,
      "unit": "°C",
      "list": false,
      "value": 23,
      "newValue": 23
    },
    {
      "id": "6-113-1-alarmType",
      "nodeId": 6,
      "commandClass": 113,
      "commandClassName": "Notification",
      "endpoint": 1,
      "property": "alarmType",
      "propertyName": "alarmType",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Alarm Type",
      "stateless": false,
      "min": 0,
      "max": 255,
      "list": false
    },
    {
      "id": "6-113-1-alarmLevel",
      "nodeId": 6,
      "commandClass": 113,
      "commandClassName": "Notification",
      "endpoint": 1,
      "property": "alarmLevel",
      "propertyName": "alarmLevel",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Alarm Level",
      "stateless": false,
      "min": 0,
      "max": 255,
      "list": false
    },
    {
      "id": "6-113-1-Power Management-unknown",
      "nodeId": 6,
      "commandClass": 113,
      "commandClassName": "Notification",
      "endpoint": 1,
      "property": "Power Management",
      "propertyName": "Power Management",
      "propertyKey": "unknown",
      "propertyKeyName": "unknown",
      "type": "any",
      "readable": true,
      "writeable": true,
      "label": "Power Management (property)",
      "stateless": false,
      "list": false,
      "value": 254,
      "newValue": 254
    },
    {
      "id": "6-113-1-System-unknown",
      "nodeId": 6,
      "commandClass": 113,
      "commandClassName": "Notification",
      "endpoint": 1,
      "property": "System",
      "propertyName": "System",
      "propertyKey": "unknown",
      "propertyKeyName": "unknown",
      "type": "any",
      "readable": true,
      "writeable": true,
      "label": "System (property)",
      "stateless": false,
      "list": false,
      "value": 254,
      "newValue": 254
    },
    {
      "id": "6-113-1-Power Management-Battery load status",
      "nodeId": 6,
      "commandClass": 113,
      "commandClassName": "Notification",
      "endpoint": 1,
      "property": "Power Management",
      "propertyName": "Power Management",
      "propertyKey": "Battery load status",
      "propertyKeyName": "Battery load status",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Battery load status",
      "stateless": false,
      "ccSpecific": {
        "notificationType": 8
      },
      "min": 0,
      "max": 255,
      "list": true,
      "states": [
        {
          "text": "idle",
          "value": 0
        },
        {
          "text": "Battery is charging",
          "value": 12
        }
      ]
    },
    {
      "id": "6-113-1-Power Management-Battery level status",
      "nodeId": 6,
      "commandClass": 113,
      "commandClassName": "Notification",
      "endpoint": 1,
      "property": "Power Management",
      "propertyName": "Power Management",
      "propertyKey": "Battery level status",
      "propertyKeyName": "Battery level status",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Battery level status",
      "stateless": false,
      "ccSpecific": {
        "notificationType": 8
      },
      "min": 0,
      "max": 255,
      "list": true,
      "states": [
        {
          "text": "idle",
          "value": 0
        },
        {
          "text": "Battery is fully charged",
          "value": 13
        },
        {
          "text": "Charge battery soon",
          "value": 14
        },
        {
          "text": "Charge battery now",
          "value": 15
        }
      ]
    },
    {
      "id": "6-113-1-System-Hardware status",
      "nodeId": 6,
      "commandClass": 113,
      "commandClassName": "Notification",
      "endpoint": 1,
      "property": "System",
      "propertyName": "System",
      "propertyKey": "Hardware status",
      "propertyKeyName": "Hardware status",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Hardware status",
      "stateless": false,
      "ccSpecific": {
        "notificationType": 9
      },
      "min": 0,
      "max": 255,
      "list": true,
      "states": [
        {
          "text": "idle",
          "value": 0
        },
        {
          "text": "System hardware failure (with failure code)",
          "value": 3
        }
      ]
    },
    {
      "id": "6-117-1-local",
      "nodeId": 6,
      "commandClass": 117,
      "commandClassName": "Protection",
      "endpoint": 1,
      "property": "local",
      "propertyName": "local",
      "type": "number",
      "readable": true,
      "writeable": true,
      "label": "Local protection state",
      "stateless": false,
      "list": true,
      "states": [
        {
          "text": "Unprotected",
          "value": 0
        },
        {
          "text": "ProtectedBySequence",
          "value": 1
        },
        {
          "text": "NoOperationPossible",
          "value": 2
        }
      ],
      "value": 0,
      "newValue": 0
    },
    {
      "id": "6-128-1-level",
      "nodeId": 6,
      "commandClass": 128,
      "commandClassName": "Battery",
      "endpoint": 1,
      "property": "level",
      "propertyName": "level",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Battery level",
      "stateless": false,
      "min": 0,
      "max": 100,
      "unit": "%",
      "list": false,
      "value": 85,
      "newValue": 85
    },
    {
      "id": "6-128-1-isLow",
      "nodeId": 6,
      "commandClass": 128,
      "commandClassName": "Battery",
      "endpoint": 1,
      "property": "isLow",
      "propertyName": "isLow",
      "type": "boolean",
      "readable": true,
      "writeable": false,
      "label": "Low battery level",
      "stateless": false,
      "list": false,
      "value": false,
      "newValue": false
    },
    {
      "id": "6-49-2-Air temperature",
      "nodeId": 6,
      "commandClass": 49,
      "commandClassName": "Multilevel Sensor",
      "endpoint": 2,
      "property": "Air temperature",
      "propertyName": "Air temperature",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Air temperature",
      "stateless": false,
      "ccSpecific": {
        "sensorType": 1,
        "scale": 0
      },
      "unit": "°C",
      "list": false,
      "value": 23.9,
      "newValue": 23.9
    },
    {
      "id": "6-113-2-alarmType",
      "nodeId": 6,
      "commandClass": 113,
      "commandClassName": "Notification",
      "endpoint": 2,
      "property": "alarmType",
      "propertyName": "alarmType",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Alarm Type",
      "stateless": false,
      "min": 0,
      "max": 255,
      "list": false
    },
    {
      "id": "6-113-2-alarmLevel",
      "nodeId": 6,
      "commandClass": 113,
      "commandClassName": "Notification",
      "endpoint": 2,
      "property": "alarmLevel",
      "propertyName": "alarmLevel",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Alarm Level",
      "stateless": false,
      "min": 0,
      "max": 255,
      "list": false
    },
    {
      "id": "6-113-2-Power Management-unknown",
      "nodeId": 6,
      "commandClass": 113,
      "commandClassName": "Notification",
      "endpoint": 2,
      "property": "Power Management",
      "propertyName": "Power Management",
      "propertyKey": "unknown",
      "propertyKeyName": "unknown",
      "type": "any",
      "readable": true,
      "writeable": true,
      "label": "Power Management (property)",
      "stateless": false,
      "list": false,
      "value": 254,
      "newValue": 254
    },
    {
      "id": "6-113-2-Power Management-Battery maintenance status",
      "nodeId": 6,
      "commandClass": 113,
      "commandClassName": "Notification",
      "endpoint": 2,
      "property": "Power Management",
      "propertyName": "Power Management",
      "propertyKey": "Battery maintenance status",
      "propertyKeyName": "Battery maintenance status",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Battery maintenance status",
      "stateless": false,
      "ccSpecific": {
        "notificationType": 8
      },
      "min": 0,
      "max": 255,
      "list": true,
      "states": [
        {
          "text": "idle",
          "value": 0
        },
        {
          "text": "Replace battery soon",
          "value": 10
        },
        {
          "text": "Replace battery now",
          "value": 11
        }
      ]
    },
    {
      "id": "6-128-2-level",
      "nodeId": 6,
      "commandClass": 128,
      "commandClassName": "Battery",
      "endpoint": 2,
      "property": "level",
      "propertyName": "level",
      "type": "number",
      "readable": true,
      "writeable": false,
      "label": "Battery level",
      "stateless": false,
      "min": 0,
      "max": 100,
      "unit": "%",
      "list": false,
      "value": 85,
      "newValue": 85
    },
    {
      "id": "6-128-2-isLow",
      "nodeId": 6,
      "commandClass": 128,
      "commandClassName": "Battery",
      "endpoint": 2,
      "property": "isLow",
      "propertyName": "isLow",
      "type": "boolean",
      "readable": true,
      "writeable": false,
      "label": "Low battery level",
      "stateless": false,
      "list": false,
      "value": false,
      "newValue": false
    }
  ],
  "groups": [
    {
      "text": "Lifeline",
      "value": 1,
      "maxNodes": 1,
      "isLifeline": true,
      "multiChannel": true
    },
    {
      "text": "Lifeline",
      "value": 1,
      "maxNodes": 1,
      "isLifeline": true,
      "multiChannel": true
    }
  ],
  "neighbors": [
    1,
    2,
    3,
    4,
    7,
    8,
    9,
    10,
    11,
    12,
    13,
    14,
    15,
    17,
    18,
    19,
    20,
    21,
    22
  ],
  "ready": true,
  "available": false,
  "hassDevices": {
    "sensor_battery_level": {
      "type": "sensor",
      "object_id": "battery_level",
      "discovery_payload": {
        "value_template": "{{ value_json.value }}",
        "device_class": "battery",
        "unit_of_measurement": "%",
        "state_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/128/0/level",
        "json_attributes_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/128/0/level",
        "device": {
          "identifiers": [
            "zwavejs2mqtt_0xdb2a289b_node6"
          ],
          "manufacturer": "Fibargroup",
          "model": "Thermostatic Valve (FGT001)",
          "name": "Grzejnik_Kuchnia",
          "sw_version": "4.7"
        },
        "name": "Grzejnik_Kuchnia_battery_level",
        "unique_id": "zwavejs2mqtt_0xdb2a289b_6-128-0-level"
      },
      "discoveryTopic": "sensor/Grzejnik_Kuchnia/battery_level/config",
      "values": [
        "128-0-level"
      ],
      "persistent": false,
      "ignoreDiscovery": false
    },
    "binary_sensor_battery_islow": {
      "type": "binary_sensor",
      "object_id": "battery_islow",
      "discovery_payload": {
        "payload_on": true,
        "payload_off": false,
        "value_template": "{{ value_json.value }}",
        "device_class": "battery",
        "state_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/128/0/isLow",
        "json_attributes_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/128/0/isLow",
        "device": {
          "identifiers": [
            "zwavejs2mqtt_0xdb2a289b_node6"
          ],
          "manufacturer": "Fibargroup",
          "model": "Thermostatic Valve (FGT001)",
          "name": "Grzejnik_Kuchnia",
          "sw_version": "4.7"
        },
        "name": "Grzejnik_Kuchnia_battery_islow",
        "unique_id": "zwavejs2mqtt_0xdb2a289b_6-128-0-isLow"
      },
      "discoveryTopic": "binary_sensor/Grzejnik_Kuchnia/battery_islow/config",
      "values": [
        "128-0-isLow"
      ],
      "persistent": false,
      "ignoreDiscovery": false
    },
    "sensor_notification_alarmtype_1": {
      "type": "sensor",
      "object_id": "notification_alarmtype_1",
      "discovery_payload": {
        "value_template": "{{ {}[value_json.value] | default(value_json.value) }}",
        "icon": "mdi:alarm-light",
        "state_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/113/1/alarmType",
        "json_attributes_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/113/1/alarmType",
        "device": {
          "identifiers": [
            "zwavejs2mqtt_0xdb2a289b_node6"
          ],
          "manufacturer": "Fibargroup",
          "model": "Thermostatic Valve (FGT001)",
          "name": "Grzejnik_Kuchnia",
          "sw_version": "4.7"
        },
        "name": "Grzejnik_Kuchnia_notification_alarmtype_1",
        "unique_id": "zwavejs2mqtt_0xdb2a289b_6-113-1-alarmType"
      },
      "discoveryTopic": "sensor/Grzejnik_Kuchnia/notification_alarmtype_1/config",
      "values": [
        "113-1-alarmType"
      ],
      "persistent": false,
      "ignoreDiscovery": false
    },
    "sensor_notification_alarmlevel_1": {
      "type": "sensor",
      "object_id": "notification_alarmlevel_1",
      "discovery_payload": {
        "value_template": "{{ {}[value_json.value] | default(value_json.value) }}",
        "icon": "mdi:alarm-light",
        "state_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/113/1/alarmLevel",
        "json_attributes_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/113/1/alarmLevel",
        "device": {
          "identifiers": [
            "zwavejs2mqtt_0xdb2a289b_node6"
          ],
          "manufacturer": "Fibargroup",
          "model": "Thermostatic Valve (FGT001)",
          "name": "Grzejnik_Kuchnia",
          "sw_version": "4.7"
        },
        "name": "Grzejnik_Kuchnia_notification_alarmlevel_1",
        "unique_id": "zwavejs2mqtt_0xdb2a289b_6-113-1-alarmLevel"
      },
      "discoveryTopic": "sensor/Grzejnik_Kuchnia/notification_alarmlevel_1/config",
      "values": [
        "113-1-alarmLevel"
      ],
      "persistent": false,
      "ignoreDiscovery": false
    },
    "sensor_notification_power_management_unknown_1": {
      "type": "sensor",
      "object_id": "notification_power_management_unknown_1",
      "discovery_payload": {
        "value_template": "{{ {}[value_json.value] | default(value_json.value) }}",
        "icon": "mdi:alarm-light",
        "state_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/113/1/Power_Management/unknown",
        "json_attributes_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/113/1/Power_Management/unknown",
        "device": {
          "identifiers": [
            "zwavejs2mqtt_0xdb2a289b_node6"
          ],
          "manufacturer": "Fibargroup",
          "model": "Thermostatic Valve (FGT001)",
          "name": "Grzejnik_Kuchnia",
          "sw_version": "4.7"
        },
        "name": "Grzejnik_Kuchnia_notification_power_management_unknown_1",
        "unique_id": "zwavejs2mqtt_0xdb2a289b_6-113-1-Power_Management-unknown"
      },
      "discoveryTopic": "sensor/Grzejnik_Kuchnia/notification_power_management_unknown_1/config",
      "values": [
        "113-1-Power Management-unknown"
      ],
      "persistent": false,
      "ignoreDiscovery": false
    },
    "sensor_notification_system_unknown_1": {
      "type": "sensor",
      "object_id": "notification_system_unknown_1",
      "discovery_payload": {
        "value_template": "{{ {}[value_json.value] | default(value_json.value) }}",
        "icon": "mdi:alarm-light",
        "state_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/113/1/System/unknown",
        "json_attributes_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/113/1/System/unknown",
        "device": {
          "identifiers": [
            "zwavejs2mqtt_0xdb2a289b_node6"
          ],
          "manufacturer": "Fibargroup",
          "model": "Thermostatic Valve (FGT001)",
          "name": "Grzejnik_Kuchnia",
          "sw_version": "4.7"
        },
        "name": "Grzejnik_Kuchnia_notification_system_unknown_1",
        "unique_id": "zwavejs2mqtt_0xdb2a289b_6-113-1-System-unknown"
      },
      "discoveryTopic": "sensor/Grzejnik_Kuchnia/notification_system_unknown_1/config",
      "values": [
        "113-1-System-unknown"
      ],
      "persistent": false,
      "ignoreDiscovery": false
    },
    "binary_sensor_battery_load_status_1": {
      "type": "binary_sensor",
      "object_id": "battery_load_status_1",
      "discovery_payload": {
        "payload_on": 12,
        "payload_off": 0,
        "value_template": "{{ value_json.value }}",
        "state_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/113/1/Power_Management/Battery_load_status",
        "json_attributes_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/113/1/Power_Management/Battery_load_status",
        "device": {
          "identifiers": [
            "zwavejs2mqtt_0xdb2a289b_node6"
          ],
          "manufacturer": "Fibargroup",
          "model": "Thermostatic Valve (FGT001)",
          "name": "Grzejnik_Kuchnia",
          "sw_version": "4.7"
        },
        "name": "Grzejnik_Kuchnia_battery_load_status_1",
        "unique_id": "zwavejs2mqtt_0xdb2a289b_6-113-1-Power_Management-Battery_load_status"
      },
      "discoveryTopic": "binary_sensor/Grzejnik_Kuchnia/battery_load_status_1/config",
      "values": [
        "113-1-Power Management-Battery load status"
      ],
      "persistent": false,
      "ignoreDiscovery": false
    },
    "sensor_notification_power_management_battery_level_status_1": {
      "type": "sensor",
      "object_id": "notification_power_management_battery_level_status_1",
      "discovery_payload": {
        "value_template": "{{ {0: \"idle\",13: \"Battery is fully charged\",14: \"Charge battery soon\",15: \"Charge battery now\"}[value_json.value] | default(value_json.value) }}",
        "icon": "mdi:alarm-light",
        "state_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/113/1/Power_Management/Battery_level_status",
        "json_attributes_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/113/1/Power_Management/Battery_level_status",
        "device": {
          "identifiers": [
            "zwavejs2mqtt_0xdb2a289b_node6"
          ],
          "manufacturer": "Fibargroup",
          "model": "Thermostatic Valve (FGT001)",
          "name": "Grzejnik_Kuchnia",
          "sw_version": "4.7"
        },
        "name": "Grzejnik_Kuchnia_notification_power_management_battery_level_status_1",
        "unique_id": "zwavejs2mqtt_0xdb2a289b_6-113-1-Power_Management-Battery_level_status"
      },
      "discoveryTopic": "sensor/Grzejnik_Kuchnia/notification_power_management_battery_level_status_1/config",
      "values": [
        "113-1-Power Management-Battery level status"
      ],
      "persistent": false,
      "ignoreDiscovery": false
    },
    "binary_sensor_hardware_status_1": {
      "type": "binary_sensor",
      "object_id": "hardware_status_1",
      "discovery_payload": {
        "payload_on": 3,
        "payload_off": 0,
        "value_template": "{{ value_json.value }}",
        "device_class": "problem",
        "state_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/113/1/System/Hardware_status",
        "json_attributes_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/113/1/System/Hardware_status",
        "device": {
          "identifiers": [
            "zwavejs2mqtt_0xdb2a289b_node6"
          ],
          "manufacturer": "Fibargroup",
          "model": "Thermostatic Valve (FGT001)",
          "name": "Grzejnik_Kuchnia",
          "sw_version": "4.7"
        },
        "name": "Grzejnik_Kuchnia_hardware_status_1",
        "unique_id": "zwavejs2mqtt_0xdb2a289b_6-113-1-System-Hardware_status"
      },
      "discoveryTopic": "binary_sensor/Grzejnik_Kuchnia/hardware_status_1/config",
      "values": [
        "113-1-System-Hardware status"
      ],
      "persistent": false,
      "ignoreDiscovery": false
    },
    "sensor_battery_level_1": {
      "type": "sensor",
      "object_id": "battery_level_1",
      "discovery_payload": {
        "value_template": "{{ value_json.value }}",
        "device_class": "battery",
        "unit_of_measurement": "%",
        "state_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/128/1/level",
        "json_attributes_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/128/1/level",
        "device": {
          "identifiers": [
            "zwavejs2mqtt_0xdb2a289b_node6"
          ],
          "manufacturer": "Fibargroup",
          "model": "Thermostatic Valve (FGT001)",
          "name": "Grzejnik_Kuchnia",
          "sw_version": "4.7"
        },
        "name": "Grzejnik_Kuchnia_battery_level_1",
        "unique_id": "zwavejs2mqtt_0xdb2a289b_6-128-1-level"
      },
      "discoveryTopic": "sensor/Grzejnik_Kuchnia/battery_level_1/config",
      "values": [
        "128-1-level"
      ],
      "persistent": false,
      "ignoreDiscovery": false
    },
    "binary_sensor_battery_islow_1": {
      "type": "binary_sensor",
      "object_id": "battery_islow_1",
      "discovery_payload": {
        "payload_on": true,
        "payload_off": false,
        "value_template": "{{ value_json.value }}",
        "device_class": "battery",
        "state_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/128/1/isLow",
        "json_attributes_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/128/1/isLow",
        "device": {
          "identifiers": [
            "zwavejs2mqtt_0xdb2a289b_node6"
          ],
          "manufacturer": "Fibargroup",
          "model": "Thermostatic Valve (FGT001)",
          "name": "Grzejnik_Kuchnia",
          "sw_version": "4.7"
        },
        "name": "Grzejnik_Kuchnia_battery_islow_1",
        "unique_id": "zwavejs2mqtt_0xdb2a289b_6-128-1-isLow"
      },
      "discoveryTopic": "binary_sensor/Grzejnik_Kuchnia/battery_islow_1/config",
      "values": [
        "128-1-isLow"
      ],
      "persistent": false,
      "ignoreDiscovery": false
    },
    "sensor_temperature_air_2": {
      "type": "sensor",
      "object_id": "temperature_air_2",
      "discovery_payload": {
        "value_template": "{{ value_json.value }}",
        "device_class": "temperature",
        "unit_of_measurement": "°C",
        "state_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/49/2/Air_temperature",
        "json_attributes_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/49/2/Air_temperature",
        "device": {
          "identifiers": [
            "zwavejs2mqtt_0xdb2a289b_node6"
          ],
          "manufacturer": "Fibargroup",
          "model": "Thermostatic Valve (FGT001)",
          "name": "Grzejnik_Kuchnia",
          "sw_version": "4.7"
        },
        "name": "Grzejnik_Kuchnia_temperature_air_2",
        "unique_id": "zwavejs2mqtt_0xdb2a289b_6-49-2-Air_temperature"
      },
      "discoveryTopic": "sensor/Grzejnik_Kuchnia/temperature_air_2/config",
      "values": [
        "49-2-Air temperature"
      ],
      "persistent": false,
      "ignoreDiscovery": false
    },
    "sensor_notification_alarmtype_2": {
      "type": "sensor",
      "object_id": "notification_alarmtype_2",
      "discovery_payload": {
        "value_template": "{{ {}[value_json.value] | default(value_json.value) }}",
        "icon": "mdi:alarm-light",
        "state_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/113/2/alarmType",
        "json_attributes_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/113/2/alarmType",
        "device": {
          "identifiers": [
            "zwavejs2mqtt_0xdb2a289b_node6"
          ],
          "manufacturer": "Fibargroup",
          "model": "Thermostatic Valve (FGT001)",
          "name": "Grzejnik_Kuchnia",
          "sw_version": "4.7"
        },
        "name": "Grzejnik_Kuchnia_notification_alarmtype_2",
        "unique_id": "zwavejs2mqtt_0xdb2a289b_6-113-2-alarmType"
      },
      "discoveryTopic": "sensor/Grzejnik_Kuchnia/notification_alarmtype_2/config",
      "values": [
        "113-2-alarmType"
      ],
      "persistent": false,
      "ignoreDiscovery": false
    },
    "sensor_notification_alarmlevel_2": {
      "type": "sensor",
      "object_id": "notification_alarmlevel_2",
      "discovery_payload": {
        "value_template": "{{ {}[value_json.value] | default(value_json.value) }}",
        "icon": "mdi:alarm-light",
        "state_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/113/2/alarmLevel",
        "json_attributes_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/113/2/alarmLevel",
        "device": {
          "identifiers": [
            "zwavejs2mqtt_0xdb2a289b_node6"
          ],
          "manufacturer": "Fibargroup",
          "model": "Thermostatic Valve (FGT001)",
          "name": "Grzejnik_Kuchnia",
          "sw_version": "4.7"
        },
        "name": "Grzejnik_Kuchnia_notification_alarmlevel_2",
        "unique_id": "zwavejs2mqtt_0xdb2a289b_6-113-2-alarmLevel"
      },
      "discoveryTopic": "sensor/Grzejnik_Kuchnia/notification_alarmlevel_2/config",
      "values": [
        "113-2-alarmLevel"
      ],
      "persistent": false,
      "ignoreDiscovery": false
    },
    "sensor_notification_power_management_unknown_2": {
      "type": "sensor",
      "object_id": "notification_power_management_unknown_2",
      "discovery_payload": {
        "value_template": "{{ {}[value_json.value] | default(value_json.value) }}",
        "icon": "mdi:alarm-light",
        "state_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/113/2/Power_Management/unknown",
        "json_attributes_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/113/2/Power_Management/unknown",
        "device": {
          "identifiers": [
            "zwavejs2mqtt_0xdb2a289b_node6"
          ],
          "manufacturer": "Fibargroup",
          "model": "Thermostatic Valve (FGT001)",
          "name": "Grzejnik_Kuchnia",
          "sw_version": "4.7"
        },
        "name": "Grzejnik_Kuchnia_notification_power_management_unknown_2",
        "unique_id": "zwavejs2mqtt_0xdb2a289b_6-113-2-Power_Management-unknown"
      },
      "discoveryTopic": "sensor/Grzejnik_Kuchnia/notification_power_management_unknown_2/config",
      "values": [
        "113-2-Power Management-unknown"
      ],
      "persistent": false,
      "ignoreDiscovery": false
    },
    "sensor_notification_power_management_battery_maintenance_status_2": {
      "type": "sensor",
      "object_id": "notification_power_management_battery_maintenance_status_2",
      "discovery_payload": {
        "value_template": "{{ {0: \"idle\",10: \"Replace battery soon\",11: \"Replace battery now\"}[value_json.value] | default(value_json.value) }}",
        "icon": "mdi:alarm-light",
        "state_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/113/2/Power_Management/Battery_maintenance_status",
        "json_attributes_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/113/2/Power_Management/Battery_maintenance_status",
        "device": {
          "identifiers": [
            "zwavejs2mqtt_0xdb2a289b_node6"
          ],
          "manufacturer": "Fibargroup",
          "model": "Thermostatic Valve (FGT001)",
          "name": "Grzejnik_Kuchnia",
          "sw_version": "4.7"
        },
        "name": "Grzejnik_Kuchnia_notification_power_management_battery_maintenance_status_2",
        "unique_id": "zwavejs2mqtt_0xdb2a289b_6-113-2-Power_Management-Battery_maintenance_status"
      },
      "discoveryTopic": "sensor/Grzejnik_Kuchnia/notification_power_management_battery_maintenance_status_2/config",
      "values": [
        "113-2-Power Management-Battery maintenance status"
      ],
      "persistent": false,
      "ignoreDiscovery": false
    },
    "sensor_battery_level_2": {
      "type": "sensor",
      "object_id": "battery_level_2",
      "discovery_payload": {
        "value_template": "{{ value_json.value }}",
        "device_class": "battery",
        "unit_of_measurement": "%",
        "state_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/128/2/level",
        "json_attributes_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/128/2/level",
        "device": {
          "identifiers": [
            "zwavejs2mqtt_0xdb2a289b_node6"
          ],
          "manufacturer": "Fibargroup",
          "model": "Thermostatic Valve (FGT001)",
          "name": "Grzejnik_Kuchnia",
          "sw_version": "4.7"
        },
        "name": "Grzejnik_Kuchnia_battery_level_2",
        "unique_id": "zwavejs2mqtt_0xdb2a289b_6-128-2-level"
      },
      "discoveryTopic": "sensor/Grzejnik_Kuchnia/battery_level_2/config",
      "values": [
        "128-2-level"
      ],
      "persistent": false,
      "ignoreDiscovery": false
    },
    "binary_sensor_battery_islow_2": {
      "type": "binary_sensor",
      "object_id": "battery_islow_2",
      "discovery_payload": {
        "payload_on": true,
        "payload_off": false,
        "value_template": "{{ value_json.value }}",
        "device_class": "battery",
        "state_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/128/2/isLow",
        "json_attributes_topic": "zwavejs2mqtt/Grzejnik_Kuchnia/128/2/isLow",
        "device": {
          "identifiers": [
            "zwavejs2mqtt_0xdb2a289b_node6"
          ],
          "manufacturer": "Fibargroup",
          "model": "Thermostatic Valve (FGT001)",
          "name": "Grzejnik_Kuchnia",
          "sw_version": "4.7"
        },
        "name": "Grzejnik_Kuchnia_battery_islow_2",
        "unique_id": "zwavejs2mqtt_0xdb2a289b_6-128-2-isLow"
      },
      "discoveryTopic": "binary_sensor/Grzejnik_Kuchnia/battery_islow_2/config",
      "values": [
        "128-2-isLow"
      ],
      "persistent": false,
      "ignoreDiscovery": false
    }
  },
  "failed": false,
  "lastActive": 1614676872060,
  "interviewCompleted": true,
  "firmwareVersion": "4.7",
  "isBeaming": true,
  "isSecure": false,
  "keepAwake": false,
  "maxBaudRate": null,
  "isRouting": true,
  "isFrequentListening": true,
  "isListening": false,
  "status": "Alive",
  "interviewStage": "Complete",
  "productLabel": "FGT001",
  "productDescription": "Thermostatic Valve",
  "zwaveVersion": 4,
  "deviceClass": {
    "basic": 4,
    "generic": 8,
    "specific": 6
  },
  "hexId": "0x010f-0x1001-0x1301",
  "_name": "Grzejnik_Kuchnia (Kuchnia)"
}
@ldymek ldymek added the bug Something isn't working label Mar 2, 2021
@robertsLando
Copy link
Member

@ldymek Could you attach zwavejs logs please?

@ldymek
Copy link
Author

ldymek commented Mar 2, 2021

hello, please find logs below
zwavejs_1.log

@robertsLando
Copy link
Member

@AlCalzone I think this could be something related to the other bug about root endpoints?

@AlCalzone
Copy link
Member

{
  "id": "6-64-1-mode",
  "nodeId": 6,
  "commandClass": 64,
  "commandClassName": "Thermostat Mode",
  "endpoint": 1,
  "property": "mode",
  "propertyName": "mode",
  "type": "number",
  "readable": true,
  "writeable": true,
  "label": "Thermostat mode",
  "stateless": false,
  "min": 0,
  "max": 255,
  "list": true,
  "states": [
    {
      "text": "Off",
      "value": 0
    },
    {
      "text": "Heat",
      "value": 1
    }
  ],
  "value": 1,
  "newValue": 1
},
{
  "id": "6-64-1-manufacturerData",
  "nodeId": 6,
  "commandClass": 64,
  "commandClassName": "Thermostat Mode",
  "endpoint": 1,
  "property": "manufacturerData",
  "propertyName": "manufacturerData",
  "type": "any",
  "readable": true,
  "writeable": true,
  "label": "manufacturerData (property)",
  "stateless": false,
  "list": false
},
{
  "id": "6-67-1-setpoint-1",
  "nodeId": 6,
  "commandClass": 67,
  "commandClassName": "Thermostat Setpoint",
  "endpoint": 1,
  "property": "setpoint",
  "propertyName": "setpoint",
  "propertyKey": 1,
  "propertyKeyName": "Heating",
  "type": "number",
  "readable": true,
  "writeable": true,
  "label": "setpoint (property)",
  "stateless": false,
  "ccSpecific": {
    "setpointType": 1
  },
  "min": 10,
  "max": 30,
  "unit": "°C",
  "list": false,
  "value": 23,
  "newValue": 23
},

I see it here ^

@robertsLando
Copy link
Member

@ldymek could you explain what you mean with

Unfortunately setpoint is not visible in Home Assistant nor via MQTT and websocket.

Also are you using zwavejs integration or MQTT discovery? Have you tried to check the MQTT traffic using tools like MQTT explorer?

@ldymek
Copy link
Author

ldymek commented Mar 2, 2021

@robertsLando

I can't set temperature via Home Assistant, setpoint is not there - nor in hidden/disabled entities. HA see that this is Thermostat, but I can't control it, I can only see measured temperature. Please see screenshot attached.

fgt001 entities
fgt001 generic info

I tried MQTT and zwavejs integration, same story. But as I said "full" zwavejs addon from supervisor does not have this problem, but have no control panel for the devices. I could try MQTT explorer, never done that, have to google it.

@robertsLando
Copy link
Member

But at least could you change the setpoint from the zwavejs2mqtt ui? If so there must also be a topic for it

@ldymek
Copy link
Author

ldymek commented Mar 2, 2021

I can set it from zwavejs2mqtt ui

@robertsLando
Copy link
Member

Ok so there must also be a value in mqtt, I think that you problem may be with zwavejs integration, that is not handled by me

@ldymek
Copy link
Author

ldymek commented Mar 2, 2021

As I wrote earlier, Setpoint is also not visible in MQTT. Firstly I used MQTT integration and saw missing Setpoint, so I moved to websocket and got the same issue. I started with beta6, updated to beta7 today without luck. Who should be addressed then with this issue?

@robertsLando
Copy link
Member

zwavejs2mqtt version: 1.0.0-beta.7

Try to update to 2.1.0, I think that's the zwavejs server version BTW

@ldymek
Copy link
Author

ldymek commented Mar 2, 2021

How to update only zwavejs server in zwavejs2mqtt docker image? Can you share guide?

@robertsLando
Copy link
Member

How to update only zwavejs server in zwavejs2mqtt docker image? Can you share guide?

You should just updatre zwavejs2mqtt, the server comes with it always upated

@ldymek
Copy link
Author

ldymek commented Mar 2, 2021

well I updated it today to latest version from docker, and have 1.0.0-beta7

@robertsLando
Copy link
Member

Please check that you are pulling the correct image. The latest is app version 2.1.0 and zwavejs server 1.1.0

@ldymek
Copy link
Author

ldymek commented Mar 2, 2021

You're correct, I had to delete existing image and pull again. Now I have:

App Version
2.1.0
Zwavejs Version
6.6.0
Zwavejs-server Version
1.1.0

but the problem is still the same. I re-interviewed all nodes, result is the same on HASS, still no setpoints from FGT001 thermostats. I attached updated logfile
zwavejs_1.log
zwavejs2mqtt.log

@robertsLando
Copy link
Member

I see setpoint updates in logs, I'm quite sure the problem is with zwavejs integration

@ldymek
Copy link
Author

ldymek commented Mar 3, 2021

I can confirm that via MQTT setpoints are avaible now.

@robertsLando
Copy link
Member

Ok so closing this as the problem is not on my side

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants