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

Class HeaterCooler hombridge dont work. #572

Open
uronito opened this issue Jul 3, 2023 · 19 comments
Open

Class HeaterCooler hombridge dont work. #572

uronito opened this issue Jul 3, 2023 · 19 comments

Comments

@uronito
Copy link

uronito commented Jul 3, 2023

Hi class thermostat work Perfect, but class HeaterCooler dont work properly.

This parameters are for mqqthing for class HeaterCooler

{
"accessory": "mqttthing",
"type": "heaterCooler",
"name": "",
"url": "<url of MQTT server (optional)>",
"username": "<username for MQTT (optional)>",
"password": "<password for MQTT (optional)>",
"logMqtt": true | false,
"topics": {
"setActive": "<topic used to control 'active' state>",
"getActive": "<topic used to report 'active' state>",
"getCurrentHeaterCoolerState": "<topic used to report 'current heater/cooler state'>",
"setTargetHeaterCoolerState": "<topic used to control 'target heater/cooler state'>",
"getTargetHeaterCoolerState": "<topic used to report 'target heater/cooler state'>",
"getCurrentTemperature": "<topic used to report 'current temperature'>",
"setCoolingThresholdTemperature": "<topic used to control 'cooling threshold temperature'>",
"getCoolingThresholdTemperature": "<topic used to report 'cooling threshold temperature'>",
"setHeatingThresholdTemperature": "<topic used to control 'heating threshold temperature'>",
"getHeatingThresholdTemperature": "<topic used to report 'heating threshold temperature'>",
"setTemperatureDisplayUnits": "<topic used to control 'temperature display units'>",
"getTemperatureDisplayUnits": "<topic used to report 'temperature display units'>",
"setRotationMode": "<topic used to control 'rotation mode' (optional)>",
"getRotationMode": "<topic used to report 'rotation mode' (optional)>",
"setSwingMode": "<topic used to control 'swing mode' (optional)>",
"getSwingMode": "<topic used to report 'swing mode' (optional)>",
"setRotationSpeed": "<topic used to control 'rotation speed' (optional)>",
"getRotationSpeed": "<topic used to report 'rotation speed' (optional)>",
"getStatusFault": "<topic used to provide 'fault' status (optional)>"
},
"currentHeaterCoolerValues": "<array of values to be used to represent INACTIVE, IDLE, HEATING, COOLING respectively (optional)>",
"targetHeaterCoolerValues": "<array of values to be used to represent AUTO, HEAT, COOL respectively (optional)>",
"lockPhysicalControlsValues": "<array of values to be used to represent DISABLED and ENABLED respectively (optional)>",
"swingModeValues": "<array of values to be used to represent DISABLED and ENABLED respectively (optional)>",
"temperatureDisplayUnitsValues": "<array of values to be used to represent Celsius and Fahrenheit respectively (optional)>",
"minTemperature": minimum_target_temperature,
"maxTemperature": maximum_target_temperature,
"restrictHeaterCoolerState": "<array of allowed values - see notes above (optional)>"
}

Regards

@NorthernMan54
Copy link
Owner

NorthernMan54 commented Jul 4, 2023

Support for a heater / cooler device is included, but translates to a thermostat within the Alexa environment.

Could you share what is not working ? Also if you could share a homebridge accessory dump from your heater cooler device it would help with any changes required.

Accessory Dump

@uronito
Copy link
Author

uronito commented Jul 5, 2023

Hi,

Here is the dump

2023-07-05T08:45:18.890Z alexaLocal Emitting Alexa
2023-07-05T08:45:18.890Z alexaActions alexaMessage: {"directive":{"header":{"namespace":"Alexa","name":"ReportState","payloadVersion":"3","messageId":"feac98b3-dad3-4e8d-9936-6f49e8eed5b3","correlationToken":"AAAAAAAAAQDAVrfrayYW7YAkOeH5aoX5AAIAAAAAAACGkE/i1i+FXFvEW/K9/vT4U/vsWaO49Vv2FINrBYhlZn0syzgWF4fVIXJqgiH/UfxJ4Z/7Ktd9n2B06NEIh+WcIZc8cJc8UZx5oBinynycnIpUrRAhqcYvQefa0noZ72zobbbxwqh7YoMLtk+IZ4bEaYJbjiuMBzjs9DihsTDmfByrrFQ3rdBzjLzRpegTb188QmqZbbIKABb0fYNKtsCDtAezngn0cY2qpO70aDjnCOLLf0rGb+liGkOgdxT7t9Fk+eRKsvLbib6clNdu7H+VK87WF0PCfVf0TVk3ORjVZQ8ALyv79dXEhOctzn+JtAeVJqI23y/Cjsn0d5HchM2QQv5GZ1jvfaA2CLIQmxHLU3TSjgfCqxRGx8ZO3tOMxlwOgCT4ucu/Gn4mKRKM7WI1QUwaMxiN5mI68nnsgeP1t+eMhLEKRAU5mbLEU0lINLXbmvt83fg2ZsHHSGLiaioR236y511cnRZq1uVSHNdgVXEo91jkO4CzBxNF2rYZH9EbNit2P60QRS4ZJ3YMFg4GmOdykDerxi1REjgHpvrzdccWuv/5A/1dVIZt89RdGCLNZpK6oEEay79995JLmOxfXjkM54KLWeCFqU3wzoV7RkAY+3ZhWeo7FWx0T716PwEq3B3aF13MWII+gHCoCevDbYH5y0sE2aBN798Iw4EWww=="},"endpoint":{"endpointId":"MEU6REI6MTk6RDY6MEE6NzYtaG9tZWJyaWRnZS1tcXR0dGhpbmctQWlyZSBkZSBDYXNhLTAwMDAwMEJDLTAwMDAtMTAwMC04MDAwLTAwMjZCQjc2NTI5MQ==","cookie":{"thermostatModeCOOL":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":12,\"value\":2}","TurnOn":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":10,\"value\":1}","AdjustPowerLevel":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":16}","thermostatModeOFF":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":12,\"value\":0}","thermostatModeAUTO":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":12,\"value\":3}","thermostatModeHEAT":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":12,\"value\":1}","upperSetpoint":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":14}","ReportState":"[{\"interface\":\"Alexa.PowerController\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":10},{\"interface\":\"Alexa.ThermostatControllerthermostatMode\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":12},{\"interface\":\"Alexa.TemperatureSensor\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":13},{\"interface\":\"Alexa.ThermostatControllerupperSetpoint\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":14},{\"interface\":\"Alexa.ThermostatControllertargetSetpoint\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":14},{\"interface\":\"Alexa.ThermostatControllerlowerSetpoint\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":15},{\"interface\":\"Alexa.PowerLevelController\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":16}]","targetSetpoint":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":14}","lowerSetpoint":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":15}","thermostatMode":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":12}","SetPowerLevel":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":16}","TurnOff":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":10,\"value\":0}"}},"payload":{}}}
2023-07-05T08:45:18.892Z alexaActions _HAPstatusByDeviceID-1 {
  body: '?id=211.10,211.12,211.13,211.14,211.14,211.15,211.16',
  interface: 'Alexa.PowerController,Alexa.ThermostatControllerthermostatMode,Alexa.TemperatureSensor,Alexa.ThermostatControllerupperSetpoint,Alexa.ThermostatControllertargetSetpoint,Alexa.ThermostatControllerlowerSetpoint,Alexa.PowerLevelController',
  deviceID: '0E:DB:19:D6:0A:76',
  spacer: ',',
  elements: [
    { interface: 'Alexa.PowerController', aid: 211, iid: 10 },
    {
      interface: 'Alexa.ThermostatControllerthermostatMode',
      aid: 211,
      iid: 12
    },
    { interface: 'Alexa.TemperatureSensor', aid: 211, iid: 13 },
    {
      interface: 'Alexa.ThermostatControllerupperSetpoint',
      aid: 211,
      iid: 14
    },
    {
      interface: 'Alexa.ThermostatControllertargetSetpoint',
      aid: 211,
      iid: 14
    },
    {
      interface: 'Alexa.ThermostatControllerlowerSetpoint',
      aid: 211,
      iid: 15
    },
    { interface: 'Alexa.PowerLevelController', aid: 211, iid: 16 }
  ]
}
2023-07-05T08:45:18.902Z hapNodeJSClient Homebridge Status failed 192.168.1.178:50132 Status: 422  ?id=211.10,211.12,211.13,211.14,211.14,211.15,211.16 { status: -70410 }
2023-07-05T08:45:18.902Z alexaActions alexaMessage: Response {
  "event": {
    "header": {
      "namespace": "Alexa",
      "name": "ErrorResponse",
      "messageId": "feac98b3-dad3-4e8d-9936-6f49e8eed5b3",
      "correlationToken": "AAAAAAAAAQDAVrfrayYW7YAkOeH5aoX5AAIAAAAAAACGkE/i1i+FXFvEW/K9/vT4U/vsWaO49Vv2FINrBYhlZn0syzgWF4fVIXJqgiH/UfxJ4Z/7Ktd9n2B06NEIh+WcIZc8cJc8UZx5oBinynycnIpUrRAhqcYvQefa0noZ72zobbbxwqh7YoMLtk+IZ4bEaYJbjiuMBzjs9DihsTDmfByrrFQ3rdBzjLzRpegTb188QmqZbbIKABb0fYNKtsCDtAezngn0cY2qpO70aDjnCOLLf0rGb+liGkOgdxT7t9Fk+eRKsvLbib6clNdu7H+VK87WF0PCfVf0TVk3ORjVZQ8ALyv79dXEhOctzn+JtAeVJqI23y/Cjsn0d5HchM2QQv5GZ1jvfaA2CLIQmxHLU3TSjgfCqxRGx8ZO3tOMxlwOgCT4ucu/Gn4mKRKM7WI1QUwaMxiN5mI68nnsgeP1t+eMhLEKRAU5mbLEU0lINLXbmvt83fg2ZsHHSGLiaioR236y511cnRZq1uVSHNdgVXEo91jkO4CzBxNF2rYZH9EbNit2P60QRS4ZJ3YMFg4GmOdykDerxi1REjgHpvrzdccWuv/5A/1dVIZt89RdGCLNZpK6oEEay79995JLmOxfXjkM54KLWeCFqU3wzoV7RkAY+3ZhWeo7FWx0T716PwEq3B3aF13MWII+gHCoCevDbYH5y0sE2aBN798Iw4EWww==",
      "payloadVersion": "3"
    },
    "endpoint": {
      "endpointId": "MEU6REI6MTk6RDY6MEE6NzYtaG9tZWJyaWRnZS1tcXR0dGhpbmctQWlyZSBkZSBDYXNhLTAwMDAwMEJDLTAwMDAtMTAwMC04MDAwLTAwMjZCQjc2NTI5MQ=="
    },
    "payload": {
      "type": "ENDPOINT_UNREACHABLE",
      "message": "Homebridge Status failed"
    }
  }
}
2023-07-05T08:45:21.865Z alexaLocal Emitting Alexa
2023-07-05T08:45:21.865Z alexaActions alexaMessage: {"directive":{"header":{"namespace":"Alexa","name":"ReportState","payloadVersion":"3","messageId":"4be08d54-1eb2-4b0b-b984-0e4520e82772","correlationToken":"AAAAAAAAAQDAVrfrayYW7YAkOeH5aoX5AAIAAAAAAABBoLaSO4KcuZ1NMyCPfGtIRtiUCZH3UIaKU8eothcqgkshfi/cI/RO6zJx67/kEaP5itf+3FhiDrzVkCzdiSnWieGYP/FQpLTj+Ar/+x72Hsujg/xN4qTVVqORzVk8HpN8DXgWcYVsFMQ0F7JpPyw83Ir1bI63LSpQZfEWDz5seY9DkP3ySzpxP1ePbC6WK926BSjyHHLQUTu+qV7tutC5zRGCaFGDb3xHX9IjcYCQvKmkP8JfZUoc92q0iJZN5emEioVqSMGkK7kaw8NjwyktWBmzzbq8uFxCsSZFx5U6An9AoaxQn7qQgL2ociQDi4lm9EgWeW07QAHyFGQtZD4/GbPGi8UPZr6t3x4goRpsWPJ1oVJwEFYuty2vFTpaU3Re5Fg7UujlDJw9Pdps02iDVmmOB38faZ9rc9xqmhf8/GLP5+i6WEaMk7pjWuc1/02VgB5iNdOeyaGA73mNW3/AyVU37tOO7XF8TbEkXLO+DMBpO8bcoDARVOujsQgwC6ZAD2sHXkguMHWKFAajFDLaPBOuDo+foolthkTcsrWpIpFWweBEufe0SVpbIXzzsLR9UO9UX1+IUwY1B66W/zz6Ejo3ccHJrkWxh2EV6nHdS+6id99ccvMJ+/UvRs/j1bB0wgb7jysvMCBssSozWxKuC1MB5d/bWKgKA/NFCeTePg=="},"endpoint":{"endpointId":"MEU6REI6MTk6RDY6MEE6NzYtaG9tZWJyaWRnZS1tcXR0dGhpbmctQWlyZSBkZSBDYXNhLTAwMDAwMEJDLTAwMDAtMTAwMC04MDAwLTAwMjZCQjc2NTI5MQ==","cookie":{"thermostatModeCOOL":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":12,\"value\":2}","TurnOn":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":10,\"value\":1}","AdjustPowerLevel":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":16}","thermostatModeOFF":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":12,\"value\":0}","thermostatModeAUTO":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":12,\"value\":3}","thermostatModeHEAT":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":12,\"value\":1}","upperSetpoint":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":14}","ReportState":"[{\"interface\":\"Alexa.PowerController\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":10},{\"interface\":\"Alexa.ThermostatControllerthermostatMode\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":12},{\"interface\":\"Alexa.TemperatureSensor\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":13},{\"interface\":\"Alexa.ThermostatControllerupperSetpoint\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":14},{\"interface\":\"Alexa.ThermostatControllertargetSetpoint\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":14},{\"interface\":\"Alexa.ThermostatControllerlowerSetpoint\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":15},{\"interface\":\"Alexa.PowerLevelController\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":16}]","targetSetpoint":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":14}","lowerSetpoint":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":15}","thermostatMode":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":12}","SetPowerLevel":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":16}","TurnOff":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":10,\"value\":0}"}},"payload":{}}}
2023-07-05T08:45:21.866Z alexaActions _HAPstatusByDeviceID-1 {
  body: '?id=211.10,211.12,211.13,211.14,211.14,211.15,211.16',
  interface: 'Alexa.PowerController,Alexa.ThermostatControllerthermostatMode,Alexa.TemperatureSensor,Alexa.ThermostatControllerupperSetpoint,Alexa.ThermostatControllertargetSetpoint,Alexa.ThermostatControllerlowerSetpoint,Alexa.PowerLevelController',
  deviceID: '0E:DB:19:D6:0A:76',
  spacer: ',',
  elements: [
    { interface: 'Alexa.PowerController', aid: 211, iid: 10 },
    {
      interface: 'Alexa.ThermostatControllerthermostatMode',
      aid: 211,
      iid: 12
    },
    { interface: 'Alexa.TemperatureSensor', aid: 211, iid: 13 },
    {
      interface: 'Alexa.ThermostatControllerupperSetpoint',
      aid: 211,
      iid: 14
    },
    {
      interface: 'Alexa.ThermostatControllertargetSetpoint',
      aid: 211,
      iid: 14
    },
    {
      interface: 'Alexa.ThermostatControllerlowerSetpoint',
      aid: 211,
      iid: 15
    },
    { interface: 'Alexa.PowerLevelController', aid: 211, iid: 16 }
  ]
}
2023-07-05T08:45:21.873Z hapNodeJSClient HAP Device discovered Denon de Alberto 3855 [ '192.168.1.178', 'fe80::3009:166c:38d5:b6b6' ]
2023-07-05T08:45:21.874Z hapNodeJSClient HAP Device discovered Satelite B07B [ '192.168.1.178', 'fe80::3009:166c:38d5:b6b6' ]
2023-07-05T08:45:21.875Z hapNodeJSClient HAP Device discovered Casa 50C4 [ '192.168.1.178', 'fe80::3009:166c:38d5:b6b6' ]
2023-07-05T08:45:21.876Z hapNodeJSClient HAP Device discovered Altavoz Cocina C3AF [ '192.168.1.178', 'fe80::3009:166c:38d5:b6b6' ]
2023-07-05T08:45:21.877Z hapNodeJSClient HAP Device discovered Camara Habitacion 4609 [ '192.168.1.178', 'fe80::3009:166c:38d5:b6b6' ]
2023-07-05T08:45:21.877Z hapNodeJSClient HAP Device discovered Camara Entrada 89F7 [ '192.168.1.178', 'fe80::3009:166c:38d5:b6b6' ]
2023-07-05T08:45:21.881Z hapNodeJSClient HAP Device discovered Television Habitacion 5DFF [ '192.168.1.178', 'fe80::3009:166c:38d5:b6b6' ]
2023-07-05T08:45:21.978Z hapNodeJSClient HAP Device discovered Hue Casa - 22944F [ '192.168.1.46', 'fe80::217:88ff:fe22:944f' ]
2023-07-05T08:45:25.884Z hapNodeJSClient Homebridge Status failed 192.168.1.178:50132 Status: 422  ?id=211.10,211.12,211.13,211.14,211.14,211.15,211.16 { status: -70410 }
2023-07-05T08:45:25.885Z alexaActions alexaMessage: Response {
  "event": {
    "header": {
      "namespace": "Alexa",
      "name": "ErrorResponse",
      "messageId": "4be08d54-1eb2-4b0b-b984-0e4520e82772",
      "correlationToken": "AAAAAAAAAQDAVrfrayYW7YAkOeH5aoX5AAIAAAAAAABBoLaSO4KcuZ1NMyCPfGtIRtiUCZH3UIaKU8eothcqgkshfi/cI/RO6zJx67/kEaP5itf+3FhiDrzVkCzdiSnWieGYP/FQpLTj+Ar/+x72Hsujg/xN4qTVVqORzVk8HpN8DXgWcYVsFMQ0F7JpPyw83Ir1bI63LSpQZfEWDz5seY9DkP3ySzpxP1ePbC6WK926BSjyHHLQUTu+qV7tutC5zRGCaFGDb3xHX9IjcYCQvKmkP8JfZUoc92q0iJZN5emEioVqSMGkK7kaw8NjwyktWBmzzbq8uFxCsSZFx5U6An9AoaxQn7qQgL2ociQDi4lm9EgWeW07QAHyFGQtZD4/GbPGi8UPZr6t3x4goRpsWPJ1oVJwEFYuty2vFTpaU3Re5Fg7UujlDJw9Pdps02iDVmmOB38faZ9rc9xqmhf8/GLP5+i6WEaMk7pjWuc1/02VgB5iNdOeyaGA73mNW3/AyVU37tOO7XF8TbEkXLO+DMBpO8bcoDARVOujsQgwC6ZAD2sHXkguMHWKFAajFDLaPBOuDo+foolthkTcsrWpIpFWweBEufe0SVpbIXzzsLR9UO9UX1+IUwY1B66W/zz6Ejo3ccHJrkWxh2EV6nHdS+6id99ccvMJ+/UvRs/j1bB0wgb7jysvMCBssSozWxKuC1MB5d/bWKgKA/NFCeTePg==",
      "payloadVersion": "3"
    },
    "endpoint": {
      "endpointId": "MEU6REI6MTk6RDY6MEE6NzYtaG9tZWJyaWRnZS1tcXR0dGhpbmctQWlyZSBkZSBDYXNhLTAwMDAwMEJDLTAwMDAtMTAwMC04MDAwLTAwMjZCQjc2NTI5MQ=="
    },
    "payload": {
      "type": "ENDPOINT_UNREACHABLE",
      "message": "Homebridge Status failed"
    }
  }
}
2023-07-05T08:45:25.898Z hapNodeJSClient HAP Device discovered Denon de Alberto 3855 [ '192.168.1.178', 'fe80::3009:166c:38d5:b6b6' ]
2023-07-05T08:45:25.899Z hapNodeJSClient HAP Device discovered Satelite B07B [ '192.168.1.178', 'fe80::3009:166c:38d5:b6b6' ]
2023-07-05T08:45:25.901Z hapNodeJSClient HAP Device discovered Casa 50C4 [ '192.168.1.178', 'fe80::3009:166c:38d5:b6b6' ]
2023-07-05T08:45:25.902Z hapNodeJSClient HAP Device discovered Altavoz Cocina C3AF [ '192.168.1.178', 'fe80::3009:166c:38d5:b6b6' ]
2023-07-05T08:45:25.903Z hapNodeJSClient HAP Device discovered Camara Habitacion 4609 [ '192.168.1.178', 'fe80::3009:166c:38d5:b6b6' ]
2023-07-05T08:45:25.905Z hapNodeJSClient HAP Device discovered Camara Entrada 89F7 [ '192.168.1.178', 'fe80::3009:166c:38d5:b6b6' ]
2023-07-05T08:45:25.912Z hapNodeJSClient HAP Device discovered Television Habitacion 5DFF [ '192.168.1.178', 'fe80::3009:166c:38d5:b6b6' ]
2023-07-05T08:45:25.998Z hapNodeJSClient HAP Device discovered Hue Casa - 22944F [ '192.168.1.46', 'fe80::217:88ff:fe22:944f' ]
2023-07-05T08:45:27.889Z alexaLocal Emitting Alexa
2023-07-05T08:45:27.889Z alexaActions alexaMessage: {"directive":{"header":{"namespace":"Alexa","name":"ReportState","payloadVersion":"3","messageId":"8ed84d5b-5864-40a1-a94a-8f515d1e5d8e","correlationToken":"AAAAAAAAAQDAVrfrayYW7YAkOeH5aoX5AAIAAAAAAABnq2RMX11Jf2UmF93an3o5a2/p9xXu5M3TkaAKQOCjgvGcPQJdmUkfl+AV0oe0qG2mwYZ3AL4P4rpWYid8kOpbj1D6W21zXtVi7ardthWrNkX7oRmpxs4cGv1ORmtQAR9y3gctzUl5sWKhkcvHIWTUlkOZZV+tCaaThBmABtXxDUIOQ94OkRWWKtud6X+k/Ov2L97frJ6KhiUEzrzj1AstUxc2ih6IdiLcHqC4qcVPQSTr66RuUnepj6uwY866+fnrSvWyV1ePfToY8PO8zGVIVmP9ouybDXHnJQzkPoM7GW5pS7VjjGCXqKVdTiGNNrByiRX/8akpRd4sr+hGjove0w10b3TzGtQEcn4bSIwKyFUs39kXJLamOH0izG6EKcHTSA5zOwLlh11lYIDKpqptn9LDA0w5SbEt5CPo8uaBK+G/8mcBCA6V/pgHr7/kGI8G7HeEIBNadinYubnRndvmKx93qusA8yRgg/X34DrP+F7Co9pxJ8gFIRbPEQ3MjJhLwhmG9mEJrHIyJhaVdpOZeTednu8vyRPvVM97zwOpA7ceToqmvlzQje2Inq+qZJxVidkcVrA7XbD2GzremfyFYZXCkKSghKIZdnhtFFllh2hb8StpAHyDMYLzE8fWj73eaBzC4bINdWM03GYC2hnsvWPu/NBc2MoazeC3yUmySg=="},"endpoint":{"endpointId":"MEU6REI6MTk6RDY6MEE6NzYtaG9tZWJyaWRnZS1tcXR0dGhpbmctQWlyZSBkZSBDYXNhLTAwMDAwMEJDLTAwMDAtMTAwMC04MDAwLTAwMjZCQjc2NTI5MQ==","cookie":{"thermostatModeCOOL":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":12,\"value\":2}","TurnOn":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":10,\"value\":1}","AdjustPowerLevel":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":16}","thermostatModeOFF":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":12,\"value\":0}","thermostatModeAUTO":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":12,\"value\":3}","thermostatModeHEAT":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":12,\"value\":1}","upperSetpoint":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":14}","ReportState":"[{\"interface\":\"Alexa.PowerController\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":10},{\"interface\":\"Alexa.ThermostatControllerthermostatMode\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":12},{\"interface\":\"Alexa.TemperatureSensor\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":13},{\"interface\":\"Alexa.ThermostatControllerupperSetpoint\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":14},{\"interface\":\"Alexa.ThermostatControllertargetSetpoint\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":14},{\"interface\":\"Alexa.ThermostatControllerlowerSetpoint\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":15},{\"interface\":\"Alexa.PowerLevelController\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":16}]","targetSetpoint":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":14}","lowerSetpoint":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":15}","thermostatMode":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":12}","SetPowerLevel":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":16}","TurnOff":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":10,\"value\":0}"}},"payload":{}}}
2023-07-05T08:45:27.889Z alexaActions _HAPstatusByDeviceID-1 {
  body: '?id=211.10,211.12,211.13,211.14,211.14,211.15,211.16',
  interface: 'Alexa.PowerController,Alexa.ThermostatControllerthermostatMode,Alexa.TemperatureSensor,Alexa.ThermostatControllerupperSetpoint,Alexa.ThermostatControllertargetSetpoint,Alexa.ThermostatControllerlowerSetpoint,Alexa.PowerLevelController',
  deviceID: '0E:DB:19:D6:0A:76',
  spacer: ',',
  elements: [
    { interface: 'Alexa.PowerController', aid: 211, iid: 10 },
    {
      interface: 'Alexa.ThermostatControllerthermostatMode',
      aid: 211,
      iid: 12
    },
    { interface: 'Alexa.TemperatureSensor', aid: 211, iid: 13 },
    {
      interface: 'Alexa.ThermostatControllerupperSetpoint',
      aid: 211,
      iid: 14
    },
    {
      interface: 'Alexa.ThermostatControllertargetSetpoint',
      aid: 211,
      iid: 14
    },
    {
      interface: 'Alexa.ThermostatControllerlowerSetpoint',
      aid: 211,
      iid: 15
    },
    { interface: 'Alexa.PowerLevelController', aid: 211, iid: 16 }
  ]
}
2023-07-05T08:45:27.896Z hapNodeJSClient Homebridge Status failed 192.168.1.178:50132 Status: 422  ?id=211.10,211.12,211.13,211.14,211.14,211.15,211.16 { status: -70410 }
2023-07-05T08:45:27.896Z alexaActions alexaMessage: Response {
  "event": {
    "header": {
      "namespace": "Alexa",
      "name": "ErrorResponse",
      "messageId": "8ed84d5b-5864-40a1-a94a-8f515d1e5d8e",
      "correlationToken": "AAAAAAAAAQDAVrfrayYW7YAkOeH5aoX5AAIAAAAAAABnq2RMX11Jf2UmF93an3o5a2/p9xXu5M3TkaAKQOCjgvGcPQJdmUkfl+AV0oe0qG2mwYZ3AL4P4rpWYid8kOpbj1D6W21zXtVi7ardthWrNkX7oRmpxs4cGv1ORmtQAR9y3gctzUl5sWKhkcvHIWTUlkOZZV+tCaaThBmABtXxDUIOQ94OkRWWKtud6X+k/Ov2L97frJ6KhiUEzrzj1AstUxc2ih6IdiLcHqC4qcVPQSTr66RuUnepj6uwY866+fnrSvWyV1ePfToY8PO8zGVIVmP9ouybDXHnJQzkPoM7GW5pS7VjjGCXqKVdTiGNNrByiRX/8akpRd4sr+hGjove0w10b3TzGtQEcn4bSIwKyFUs39kXJLamOH0izG6EKcHTSA5zOwLlh11lYIDKpqptn9LDA0w5SbEt5CPo8uaBK+G/8mcBCA6V/pgHr7/kGI8G7HeEIBNadinYubnRndvmKx93qusA8yRgg/X34DrP+F7Co9pxJ8gFIRbPEQ3MjJhLwhmG9mEJrHIyJhaVdpOZeTednu8vyRPvVM97zwOpA7ceToqmvlzQje2Inq+qZJxVidkcVrA7XbD2GzremfyFYZXCkKSghKIZdnhtFFllh2hb8StpAHyDMYLzE8fWj73eaBzC4bINdWM03GYC2hnsvWPu/NBc2MoazeC3yUmySg==",
      "payloadVersion": "3"
    },
    "endpoint": {
      "endpointId": "MEU6REI6MTk6RDY6MEE6NzYtaG9tZWJyaWRnZS1tcXR0dGhpbmctQWlyZSBkZSBDYXNhLTAwMDAwMEJDLTAwMDAtMTAwMC04MDAwLTAwMjZCQjc2NTI5MQ=="
    },
    "payload": {
      "type": "ENDPOINT_UNREACHABLE",
      "message": "Homebridge Status failed"
    }
  }
}
[05/07/2023, 10:45:30] [RaspberryPi Info] Raspberry Temperatur: 50.147
2023-07-05T08:45:30.907Z alexaLocal Emitting Alexa
2023-07-05T08:45:30.908Z alexaActions alexaMessage: {"directive":{"header":{"namespace":"Alexa","name":"ReportState","payloadVersion":"3","messageId":"21083047-192f-436e-9eff-802fa19982d9","correlationToken":"AAAAAAAAAQDAVrfrayYW7YAkOeH5aoX5AAIAAAAAAACYwhcA0h2kdUjMkS2X/qDbIJNQ/buAVFH6/GfICQJAmRsaUUujUElxIf2t4WQjpBoE1ss/T9j/gEbaqmQBIwMqIXivXT/Pr05lZFcZNW+pHp/pyGNNbNiC38VbgM0Q7q+gHetfARpf4jgKl0qKTJbBO09MUdpsS50sOkn0SZbQ/6iTtFG9pcnrYEGzbzavm5++MI5wMWdLQYBSjiqtGO/DTPLb+d02cz1lErHjpMMFX+wHxDTpf5gDaqPc2/H4IaLwX/JjuDpfA5cKd6EO3viLAN7szLMnYzzVCDmeX7ur48TXu09MA+q2wz3OEjj2wHPxsXVMIZlQHrb9gFTpPkQvCgKbURkVDes1IhgGreeRh42l3yMQAj+kI3K8UMjTClYrBRmrJxlCQ/25FNc6MvPGm+qD+Jl8l6KcwGP26TJAw4hHWt3bE50eeyT1zQHmYRH2qRFK62VFQ5OwBmpOFIgD7nR8Hinur45mP+NZDBtiBhT6EDRf4ZTR+g6DVQRnGjUXKPoR3pCC6HFJGC7CIvhJTmKao+wXFdtNCrtt29V0nOzll6HYtB8EzpGxm8qiS/5tjtofySlcEIIYJqp/Ci6kaqnw4HzLfpEJt7d14aVdB1wj4/TheYa9EyvD2oSgT+nNWQvCM8EzjuXIni6fdCaYsUlv03u6dP6xZPETFyvBAQ=="},"endpoint":{"endpointId":"MEU6REI6MTk6RDY6MEE6NzYtaG9tZWJyaWRnZS1tcXR0dGhpbmctQWlyZSBkZSBDYXNhLTAwMDAwMEJDLTAwMDAtMTAwMC04MDAwLTAwMjZCQjc2NTI5MQ==","cookie":{"thermostatModeCOOL":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":12,\"value\":2}","TurnOn":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":10,\"value\":1}","AdjustPowerLevel":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":16}","thermostatModeOFF":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":12,\"value\":0}","thermostatModeAUTO":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":12,\"value\":3}","thermostatModeHEAT":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":12,\"value\":1}","upperSetpoint":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":14}","ReportState":"[{\"interface\":\"Alexa.PowerController\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":10},{\"interface\":\"Alexa.ThermostatControllerthermostatMode\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":12},{\"interface\":\"Alexa.TemperatureSensor\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":13},{\"interface\":\"Alexa.ThermostatControllerupperSetpoint\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":14},{\"interface\":\"Alexa.ThermostatControllertargetSetpoint\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":14},{\"interface\":\"Alexa.ThermostatControllerlowerSetpoint\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":15},{\"interface\":\"Alexa.PowerLevelController\",\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":16}]","targetSetpoint":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":14}","lowerSetpoint":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":15}","thermostatMode":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":12}","SetPowerLevel":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":16}","TurnOff":"{\"deviceID\":\"0E:DB:19:D6:0A:76\",\"aid\":211,\"iid\":10,\"value\":0}"}},"payload":{}}}
2023-07-05T08:45:30.908Z alexaActions _HAPstatusByDeviceID-1 {
  body: '?id=211.10,211.12,211.13,211.14,211.14,211.15,211.16',
  interface: 'Alexa.PowerController,Alexa.ThermostatControllerthermostatMode,Alexa.TemperatureSensor,Alexa.ThermostatControllerupperSetpoint,Alexa.ThermostatControllertargetSetpoint,Alexa.ThermostatControllerlowerSetpoint,Alexa.PowerLevelController',
  deviceID: '0E:DB:19:D6:0A:76',
  spacer: ',',
  elements: [
    { interface: 'Alexa.PowerController', aid: 211, iid: 10 },
    {
      interface: 'Alexa.ThermostatControllerthermostatMode',
      aid: 211,
      iid: 12
    },
    { interface: 'Alexa.TemperatureSensor', aid: 211, iid: 13 },
    {
      interface: 'Alexa.ThermostatControllerupperSetpoint',
      aid: 211,
      iid: 14
    },
    {
      interface: 'Alexa.ThermostatControllertargetSetpoint',
      aid: 211,
      iid: 14
    },
    {
      interface: 'Alexa.ThermostatControllerlowerSetpoint',
      aid: 211,
      iid: 15
    },
    { interface: 'Alexa.PowerLevelController', aid: 211, iid: 16 }
  ]
}

@uronito
Copy link
Author

uronito commented Jul 5, 2023

these are the changes from the thermostat class to the heatercooler class

Heater Cooler
Active state is set with a boolean value (see Boolean Value Settings).

Current heater/cooler state can be INACTIVE, IDLE, HEATING or COOLING. To use different values, specify an array of strings in currentHeaterCoolerValues. INACTIVE should be used in response if "Active" is set to false. IDLE, HEATING or COOLING should be used in response if "Active" is set to true.

Target heater/cooler state can be AUTO, HEAT or COOL. To use different values, specify an array of strings in targetHeaterCoolerValues.

@uronito
Copy link
Author

uronito commented Jul 5, 2023

this is the dump of accesories

{"accessories":[{"aid":1,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"homebridge.io","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"homebridge","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Casa 50C4","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"0E:DB:19:D6:0A:76","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"1.6.1","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"A2","iid":2000000008,"characteristics":[{"type":"37","iid":9,"value":"1.1.0","perms":["pr"],"description":"Version","format":"string","maxLen":64}]}]},{"aid":4,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"homebridge-alexa","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Default-Model","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Alexa","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"raspi-alberto","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"0.6.5","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"80","iid":8,"characteristics":[{"type":"23","iid":9,"value":"Alexa","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"6A","iid":10,"value":0,"perms":["ev","pr"],"description":"Contact Sensor State","format":"uint8","minValue":0,"maxValue":1,"minStep":1,"valid-values":[0,1]}]}]},{"aid":174,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"github.com naofireblade","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Powered by OpenWeatherMap","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Tiempo Torrent","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"openweathermap - Torrent, ES","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"3.2.11","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"8A","iid":8,"characteristics":[{"type":"23","iid":9,"value":"Temperature","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"11","iid":10,"value":27.2,"perms":["ev","pr"],"description":"Current Temperature","format":"float","unit":"celsius","minValue":-50,"maxValue":100,"minStep":0.1},{"type":"234FD9F1-1D33-4128-B622-D052F0C402AF","iid":13,"value":"11:59:10","perms":["pr","ev"],"description":"Observation Time","format":"string"},{"type":"10C88F40-7EC4-478C-8D5A-BD0C3CCE14B7","iid":14,"value":0,"perms":["pr","ev"],"description":"Rain Last Hour","format":"float","unit":"mm","minValue":0,"maxValue":50,"minStep":0.1},{"type":"E863F10F-079E-48FF-8F27-9C2605A29F52","iid":225,"value":700,"perms":["pr","ev"],"description":"Air Pressure","format":"uint16","unit":"hPa","minValue":700,"maxValue":1100,"minStep":1}]},{"type":"E863F007-079E-48FF-8F27-9C2605A29F52","iid":15,"characteristics":[{"type":"E863F11C-079E-48FF-8F27-9C2605A29F52","iid":19,"perms":["pw","hd"],"description":"S2W1","format":"data"},{"type":"E863F121-079E-48FF-8F27-9C2605A29F52","iid":20,"perms":["pw","hd"],"description":"S2W2","format":"data"},{"type":"23","iid":16,"value":"Tiempo Torrent History","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"E863F116-079E-48FF-8F27-9C2605A29F52","iid":17,"value":null,"perms":["pr","ev","hd"],"description":"S2R1","format":"data"},{"type":"E863F117-079E-48FF-8F27-9C2605A29F52","iid":18,"value":"AA==","perms":["pr","ev","hd"],"description":"S2R2","format":"data"}]},{"type":"82","iid":27,"characteristics":[{"type":"23","iid":28,"value":"Humidity","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"10","iid":29,"value":68,"perms":["ev","pr"],"description":"Current Relative Humidity","format":"float","unit":"percentage","minValue":0,"maxValue":100,"minStep":1}]},{"type":"8A","iid":30,"characteristics":[{"type":"23","iid":31,"value":"Apparent Temperature","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"11","iid":32,"value":29,"perms":["ev","pr"],"description":"Current Temperature","format":"float","unit":"celsius","minValue":-50,"maxValue":100,"minStep":0.1}]},{"type":"86","iid":33,"characteristics":[{"type":"23","iid":34,"value":"UV Index","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"71","iid":35,"value":0,"perms":["ev","pr"],"description":"Occupancy Detected","format":"uint8","minValue":0,"maxValue":1,"minStep":1,"valid-values":[0,1]}]}]},{"aid":175,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"github.com naofireblade","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Powered by OpenWeatherMap","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Torrent Today","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"openweathermap - Torrent, ES - Day 0","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"3.2.11","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"8A","iid":8,"characteristics":[{"type":"23","iid":9,"value":"Temperature Max","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"11","iid":10,"value":29,"perms":["ev","pr"],"description":"Current Temperature","format":"float","unit":"celsius","minValue":-50,"maxValue":100,"minStep":0.1},{"type":"0D96F60E-3688-487E-8CEE-D75F05BB3008","iid":11,"value":"","perms":["pr","ev"],"description":"Sunrise","format":"string"},{"type":"3DE24EE0-A288-4E15-A5A8-EAD2451B727C","iid":12,"value":"","perms":["pr","ev"],"description":"Sunset","format":"string"},{"type":"FC01B24F-CF7E-4A74-90DB-1B427AF1FFA3","iid":13,"value":29,"perms":["pr","ev"],"description":"Rain Chance","format":"uint8","unit":"percentage","minValue":0,"maxValue":100,"minStep":1}]},{"type":"82","iid":14,"characteristics":[{"type":"23","iid":15,"value":"Humidity","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"10","iid":16,"value":85,"perms":["ev","pr"],"description":"Current Relative Humidity","format":"float","unit":"percentage","minValue":0,"maxValue":100,"minStep":1}]},{"type":"8A","iid":17,"characteristics":[{"type":"23","iid":18,"value":"Minimum Temperature","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"11","iid":19,"value":23,"perms":["ev","pr"],"description":"Current Temperature","format":"float","unit":"celsius","minValue":-50,"maxValue":100,"minStep":0.1}]},{"type":"8A","iid":20,"characteristics":[{"type":"23","iid":21,"value":"Apparent Temperature","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"11","iid":22,"value":30,"perms":["ev","pr"],"description":"Current Temperature","format":"float","unit":"celsius","minValue":-50,"maxValue":100,"minStep":0.1}]},{"type":"86","iid":23,"characteristics":[{"type":"23","iid":24,"value":"UV Index","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"71","iid":25,"value":0,"perms":["ev","pr"],"description":"Occupancy Detected","format":"uint8","minValue":0,"maxValue":1,"minStep":1,"valid-values":[0,1]}]},{"type":"86","iid":26,"characteristics":[{"type":"23","iid":27,"value":"Total Precip: 0.14 mm","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"71","iid":28,"value":1,"perms":["ev","pr"],"description":"Occupancy Detected","format":"uint8","minValue":0,"maxValue":1,"minStep":1,"valid-values":[0,1]}]}]},{"aid":121,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"RaspberryPi","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"3B","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"RaspberryPi Info","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"raspi-alberto-RaspberryPi Info","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"0.0.5","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"E863F007-079E-48FF-8F27-9C2605A29F52","iid":8,"characteristics":[{"type":"E863F11C-079E-48FF-8F27-9C2605A29F52","iid":12,"perms":["pw","hd"],"description":"S2W1","format":"data"},{"type":"E863F121-079E-48FF-8F27-9C2605A29F52","iid":13,"perms":["pw","hd"],"description":"S2W2","format":"data"},{"type":"23","iid":9,"value":"undefined History","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"E863F116-079E-48FF-8F27-9C2605A29F52","iid":10,"value":null,"perms":["pr","ev","hd"],"description":"S2R1","format":"data"},{"type":"E863F117-079E-48FF-8F27-9C2605A29F52","iid":11,"value":"AA==","perms":["pr","ev","hd"],"description":"S2R2","format":"data"}]},{"type":"8A","iid":14,"characteristics":[{"type":"23","iid":15,"value":"RaspberryPi Info","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"11","iid":16,"value":49.7,"perms":["ev","pr"],"description":"Current Temperature","format":"float","unit":"celsius","minValue":-270,"maxValue":100,"minStep":0.1},{"type":"DB766C37-3A88-4587-8B69-19BAF0AF6337","iid":17,"value":" 1 day,  2:28","perms":["pr","ev"],"description":"Uptime","format":"string"},{"type":"4146A74A-CDBC-41E6-9DAC-946F55F31FBE","iid":18,"value":"0.33, 0.53, 0.59\n","perms":["pr","ev"],"description":"Average Load","format":"string"}]}]},{"aid":133,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"Synology","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Diskstation","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Diskstation","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"n/a","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"6.2.2","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"49","iid":8,"characteristics":[{"type":"23","iid":9,"value":"Diskstation","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"25","iid":10,"value":1,"perms":["ev","pr","pw"],"description":"On","format":"bool"}]},{"type":"8A","iid":11,"characteristics":[{"type":"23","iid":12,"value":"Diskstation Temperature","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"11","iid":13,"value":44,"perms":["ev","pr"],"description":"Current Temperature","format":"float","unit":"celsius","minValue":-270,"maxValue":100,"minStep":0.1},{"type":"75","iid":571,"value":1,"perms":["ev","pr"],"description":"Status Active","format":"bool"}]},{"type":"8A","iid":14,"characteristics":[{"type":"23","iid":15,"value":"Diskstation Average Disk Temperature","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"11","iid":16,"value":39.5,"perms":["ev","pr"],"description":"Current Temperature","format":"float","unit":"celsius","minValue":-270,"maxValue":100,"minStep":0.1},{"type":"75","iid":572,"value":1,"perms":["ev","pr"],"description":"Status Active","format":"bool"}]}]},{"aid":130,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"script2 Manufacturer","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"script2 Model","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Demonio Ventilador","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"1234567","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"0.3.0","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"49","iid":8,"characteristics":[{"type":"23","iid":9,"value":"Demonio Ventilador","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"25","iid":10,"value":1,"perms":["ev","pr","pw"],"description":"On","format":"bool"}]}]},{"aid":131,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"script2 Manufacturer","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"script2 Model","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Demonio Anillo","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"1234567","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"0.3.0","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"49","iid":8,"characteristics":[{"type":"23","iid":9,"value":"Demonio Anillo","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"25","iid":10,"value":0,"perms":["ev","pr","pw"],"description":"On","format":"bool"}]}]},{"aid":132,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"script2 Manufacturer","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"script2 Model","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Ojos LED","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"1234567","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"0.3.0","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"49","iid":8,"characteristics":[{"type":"23","iid":9,"value":"Ojos LED","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"25","iid":10,"value":1,"perms":["ev","pr","pw"],"description":"On","format":"bool"}]}]},{"aid":211,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"mqttthing","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"heaterCooler","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Aire de Casa","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"raspi-alberto-Aire de Casa","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"1.1.44","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"BC","iid":8,"characteristics":[{"type":"23","iid":9,"value":"Aire de Casa","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"B0","iid":10,"value":0,"perms":["ev","pr","pw"],"description":"Active","format":"uint8","minValue":0,"maxValue":1,"minStep":1,"valid-values":[0,1]},{"type":"B1","iid":11,"value":0,"perms":["ev","pr"],"description":"Current Heater-Cooler State","format":"uint8","minValue":0,"maxValue":3,"minStep":1,"valid-values":[0,1,2,3]},{"type":"B2","iid":12,"value":2,"perms":["ev","pr","pw"],"description":"Target Heater-Cooler State","format":"uint8","minValue":0,"maxValue":2,"minStep":1,"valid-values":[0,1,2]},{"type":"11","iid":13,"value":28,"perms":["ev","pr"],"description":"Current Temperature","format":"float","unit":"celsius","minValue":21,"maxValue":32,"minStep":1},{"type":"D","iid":14,"value":26,"perms":["ev","pr","pw"],"description":"Cooling Threshold Temperature","format":"float","unit":"celsius","minValue":21,"maxValue":32,"minStep":1},{"type":"12","iid":15,"value":26,"perms":["ev","pr","pw"],"description":"Heating Threshold Temperature","format":"float","unit":"celsius","minValue":21,"maxValue":32,"minStep":1},{"type":"29","iid":16,"value":4,"perms":["ev","pr","pw"],"description":"Rotation Speed","format":"float","unit":"percentage","minValue":1,"maxValue":4,"minStep":1}]}]},{"aid":123,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"Microsoft","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Windows PC","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Ordenador Despacho","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"Unknown","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"0.3.47","perms":["pr"],"description":"Firmware Revision","format":"string"},{"type":"54","iid":8,"value":"Unknown","perms":["pr"],"description":"Software Revision","format":"string"}]},{"type":"49","iid":9,"characteristics":[{"type":"23","iid":10,"value":"Ordenador Despacho","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"25","iid":11,"value":1,"perms":["ev","pr","pw"],"description":"On","format":"bool"}]}]},{"aid":124,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"Microsoft","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Windows PC","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Ordenador Salon","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"Unknown","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"0.3.47","perms":["pr"],"description":"Firmware Revision","format":"string"},{"type":"54","iid":8,"value":"Unknown","perms":["pr"],"description":"Software Revision","format":"string"}]},{"type":"49","iid":9,"characteristics":[{"type":"23","iid":10,"value":"Ordenador Salon","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"25","iid":11,"value":0,"perms":["ev","pr","pw"],"description":"On","format":"bool"}]}]},{"aid":109,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"eDomoticz","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Light/Switch","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Estado Homebridge","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"Domoticz IDX 663","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"2.1.46","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"49","iid":8,"characteristics":[{"type":"23","iid":9,"value":"Estado Homebridge","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"25","iid":10,"value":1,"perms":["ev","pr","pw"],"description":"On","format":"bool"}]}]},{"aid":110,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"eDomoticz","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Color Switch","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Lampara Entrada - Color & Brightness","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"Domoticz IDX 1195","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"2.1.46","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"43","iid":8,"characteristics":[{"type":"23","iid":9,"value":"Lampara Entrada - Color & Brightness","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"25","iid":10,"value":0,"perms":["ev","pr","pw"],"description":"On","format":"bool"},{"type":"8","iid":11,"value":99,"perms":["ev","pr","pw"],"description":"Brightness","format":"int","unit":"percentage","minValue":0,"maxValue":100,"minStep":1},{"type":"13","iid":12,"value":0,"perms":["ev","pr","pw"],"description":"Hue","format":"float","unit":"arcdegrees","minValue":0,"maxValue":360,"minStep":1},{"type":"2F","iid":13,"value":0,"perms":["ev","pr","pw"],"description":"Saturation","format":"float","unit":"percentage","minValue":0,"maxValue":100,"minStep":1}]}]},{"aid":137,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"@milo526/homebridge-tuya-web","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Outlet","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Aubess Smart Switch/EM 2","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"bfb330f7e7a3405ca5ymro","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"1.1.3","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"47","iid":8,"characteristics":[{"type":"25","iid":9,"value":0,"perms":["ev","pr","pw"],"description":"On","format":"bool"}]}]},{"aid":138,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"@milo526/homebridge-tuya-web","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Outlet","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Camara entrada","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"80380553cc50e361e348_1","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"1.1.3","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"47","iid":8,"characteristics":[{"type":"25","iid":9,"value":1,"perms":["ev","pr","pw"],"description":"On","format":"bool"}]}]},{"aid":139,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"@milo526/homebridge-tuya-web","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Outlet","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Switch","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"80380553cc50e361e348_2","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"1.1.3","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"47","iid":8,"characteristics":[{"type":"25","iid":9,"value":1,"perms":["ev","pr","pw"],"description":"On","format":"bool"}]}]},{"aid":140,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"@milo526/homebridge-tuya-web","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Outlet","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Switch all","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"80380553cc50e361e348_101","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"1.1.3","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"47","iid":8,"characteristics":[{"type":"25","iid":9,"value":1,"perms":["ev","pr","pw"],"description":"On","format":"bool"}]}]},{"aid":141,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"@milo526/homebridge-tuya-web","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Outlet","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Raspberry","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"80380553cc50e361e348_3","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"1.1.3","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"47","iid":8,"characteristics":[{"type":"25","iid":9,"value":1,"perms":["ev","pr","pw"],"description":"On","format":"bool"}]}]},{"aid":142,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"@milo526/homebridge-tuya-web","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Outlet","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"USB","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"80380553cc50e361e348_7","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"1.1.3","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"47","iid":8,"characteristics":[{"type":"25","iid":9,"value":1,"perms":["ev","pr","pw"],"description":"On","format":"bool"}]}]},{"aid":144,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"TP-Link","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"HS110(EU)","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Enchufe Salon","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"50:C7:BF:28:B2:47 8006D6898FE186D00ACAC4BA2882F84117F6ED0D","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"1.2.6 Build 200727 Rel.120821","perms":["pr"],"description":"Firmware Revision","format":"string"},{"type":"53","iid":8,"value":"1.0","perms":["pr"],"description":"Hardware Revision","format":"string"}]},{"type":"47","iid":9,"characteristics":[{"type":"23","iid":10,"value":"Enchufe Salon","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"25","iid":11,"value":0,"perms":["ev","pr","pw"],"description":"On","format":"bool"},{"type":"26","iid":12,"value":0,"perms":["ev","pr"],"description":"Outlet In Use","format":"bool"},{"type":"E863F126-079E-48FF-8F27-9C2605A29F52","iid":13,"value":0.01,"perms":["pr","ev"],"description":"Amperes","format":"float","unit":"A","minValue":0,"maxValue":65535,"minStep":0.01},{"type":"E863F10C-079E-48FF-8F27-9C2605A29F52","iid":14,"value":0.106,"perms":["pr","ev"],"description":"Total Consumption","format":"float","unit":"kWh","minValue":0,"maxValue":65535,"minStep":0.001},{"type":"E863F110-079E-48FF-8F27-9C2605A29F52","iid":15,"value":52366.2,"perms":["pr","ev"],"description":"Apparent Power","format":"float","unit":"VA","minValue":0,"maxValue":65535,"minStep":0.1},{"type":"E863F10A-079E-48FF-8F27-9C2605A29F52","iid":16,"value":228.8,"perms":["pr","ev"],"description":"Volts","format":"float","unit":"V","minValue":0,"maxValue":65535,"minStep":0.1},{"type":"E863F10D-079E-48FF-8F27-9C2605A29F52","iid":17,"value":0,"perms":["pr","ev"],"description":"Consumption","format":"float","unit":"W","minValue":0,"maxValue":65535,"minStep":0.1}]}]},{"aid":145,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"TP-Link","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"HS110(EU)","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Recreativa","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"50:D4:F7:1A:51:0E 80061DE8F25A4434F6AC3B42A10D54C41BD60089","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"1.5.6 Build 191125 Rel.083657","perms":["pr"],"description":"Firmware Revision","format":"string"},{"type":"53","iid":8,"value":"2.0","perms":["pr"],"description":"Hardware Revision","format":"string"}]},{"type":"47","iid":9,"characteristics":[{"type":"23","iid":10,"value":"Recreativa","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"25","iid":11,"value":0,"perms":["ev","pr","pw"],"description":"On","format":"bool"},{"type":"26","iid":12,"value":0,"perms":["ev","pr"],"description":"Outlet In Use","format":"bool"},{"type":"E863F126-079E-48FF-8F27-9C2605A29F52","iid":13,"value":0.01,"perms":["pr","ev"],"description":"Amperes","format":"float","unit":"A","minValue":0,"maxValue":65535,"minStep":0.01},{"type":"E863F10C-079E-48FF-8F27-9C2605A29F52","iid":14,"value":0.001,"perms":["pr","ev"],"description":"Total Consumption","format":"float","unit":"kWh","minValue":0,"maxValue":65535,"minStep":0.001},{"type":"E863F110-079E-48FF-8F27-9C2605A29F52","iid":15,"value":52265.3,"perms":["pr","ev"],"description":"Apparent Power","format":"float","unit":"VA","minValue":0,"maxValue":65535,"minStep":0.1},{"type":"E863F10A-079E-48FF-8F27-9C2605A29F52","iid":16,"value":228.6,"perms":["pr","ev"],"description":"Volts","format":"float","unit":"V","minValue":0,"maxValue":65535,"minStep":0.1},{"type":"E863F10D-079E-48FF-8F27-9C2605A29F52","iid":17,"value":0,"perms":["pr","ev"],"description":"Consumption","format":"float","unit":"W","minValue":0,"maxValue":65535,"minStep":0.1}]}]},{"aid":146,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"TP-Link","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"HS110(EU)","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Enchufe Despacho","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"50:C7:BF:00:AA:50 80067D13E0B63549B3C421437CC2A3EF170F269C","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"1.2.6 Build 200727 Rel.120821","perms":["pr"],"description":"Firmware Revision","format":"string"},{"type":"53","iid":8,"value":"1.0","perms":["pr"],"description":"Hardware Revision","format":"string"}]},{"type":"47","iid":9,"characteristics":[{"type":"23","iid":10,"value":"Enchufe Despacho","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"25","iid":11,"value":1,"perms":["ev","pr","pw"],"description":"On","format":"bool"},{"type":"26","iid":12,"value":1,"perms":["ev","pr"],"description":"Outlet In Use","format":"bool"},{"type":"E863F126-079E-48FF-8F27-9C2605A29F52","iid":13,"value":0.3,"perms":["pr","ev"],"description":"Amperes","format":"float","unit":"A","minValue":0,"maxValue":65535,"minStep":0.01},{"type":"E863F10C-079E-48FF-8F27-9C2605A29F52","iid":14,"value":73.406,"perms":["pr","ev"],"description":"Total Consumption","format":"float","unit":"kWh","minValue":0,"maxValue":65535,"minStep":0.001},{"type":"E863F110-079E-48FF-8F27-9C2605A29F52","iid":15,"value":52125.7,"perms":["pr","ev"],"description":"Apparent Power","format":"float","unit":"VA","minValue":0,"maxValue":65535,"minStep":0.1},{"type":"E863F10A-079E-48FF-8F27-9C2605A29F52","iid":16,"value":228.3,"perms":["pr","ev"],"description":"Volts","format":"float","unit":"V","minValue":0,"maxValue":65535,"minStep":0.1},{"type":"E863F10D-079E-48FF-8F27-9C2605A29F52","iid":17,"value":36.2,"perms":["pr","ev"],"description":"Consumption","format":"float","unit":"W","minValue":0,"maxValue":65535,"minStep":0.1}]}]},{"aid":169,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"Virtual","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"alberto caja","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"alberto caja","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"VISUAL_MAP_VISUAL_CONTROLLER_SERIAL","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"1.4.0","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"43","iid":8,"characteristics":[{"type":"25","iid":9,"value":0,"perms":["ev","pr","pw"],"description":"On","format":"bool"},{"type":"23","iid":10,"value":"alberto caja","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"13","iid":11,"value":0,"perms":["ev","pr","pw"],"description":"Hue","format":"float","unit":"arcdegrees","minValue":0,"maxValue":360,"minStep":1},{"type":"2F","iid":12,"value":0,"perms":["ev","pr","pw"],"description":"Saturation","format":"float","unit":"percentage","minValue":0,"maxValue":100,"minStep":1},{"type":"8","iid":13,"value":0,"perms":["ev","pr","pw"],"description":"Brightness","format":"int","unit":"percentage","minValue":0,"maxValue":100,"minStep":1}]}]},{"aid":180,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"Amazon","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"JK76PL","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Boton Despacho","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"ac:63:be:3f:48:89","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"0.0.8","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"89","iid":8,"characteristics":[{"type":"73","iid":10,"value":null,"perms":["ev","pr"],"description":"Programmable Switch Event","format":"uint8","minValue":0,"maxValue":0,"minStep":1,"valid-values":[0,1,2]},{"type":"23","iid":9,"value":"Boton Despacho","perms":["pr"],"description":"Name","format":"string","maxLen":64}]}]},{"aid":181,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"Amazon","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"JK76PL","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Boton Habitación","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"ac:63:be:ce:68:b6","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"0.0.8","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"89","iid":8,"characteristics":[{"type":"73","iid":10,"value":null,"perms":["ev","pr"],"description":"Programmable Switch Event","format":"uint8","minValue":0,"maxValue":0,"minStep":1,"valid-values":[0,1,2]},{"type":"23","iid":9,"value":"Boton Habitación","perms":["pr"],"description":"Name","format":"string","maxLen":64}]}]},{"aid":201,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"eDomoticz","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Light/Switch","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Persiana Habitación","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"Domoticz IDX 1261","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"2.1.46","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"8C","iid":8,"characteristics":[{"type":"23","iid":9,"value":"Persiana Habitación","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"72","iid":11,"value":2,"perms":["ev","pr"],"description":"Position State","format":"uint8","minValue":0,"maxValue":2,"minStep":1,"valid-values":[0,1,2]},{"type":"7C","iid":12,"value":70,"perms":["ev","pr","pw"],"description":"Target Position","format":"uint8","unit":"percentage","minValue":0,"maxValue":100,"minStep":1},{"type":"6D","iid":10,"value":70,"perms":["ev","pr"],"description":"Current Position","format":"uint8","unit":"percentage","minValue":0,"maxValue":100,"minStep":1}]}]},{"aid":202,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"eDomoticz","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Light/Switch","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Persiana Oficina","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"Domoticz IDX 1258","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"2.1.46","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"8C","iid":8,"characteristics":[{"type":"23","iid":9,"value":"Persiana Oficina","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"72","iid":11,"value":2,"perms":["ev","pr"],"description":"Position State","format":"uint8","minValue":0,"maxValue":2,"minStep":1,"valid-values":[0,1,2]},{"type":"7C","iid":12,"value":91,"perms":["ev","pr","pw"],"description":"Target Position","format":"uint8","unit":"percentage","minValue":0,"maxValue":100,"minStep":1},{"type":"6D","iid":10,"value":91,"perms":["ev","pr"],"description":"Current Position","format":"uint8","unit":"percentage","minValue":0,"maxValue":100,"minStep":1}]}]},{"aid":203,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"eDomoticz","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Light/Switch","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Persiana Planchar","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"Domoticz IDX 1260","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"2.1.46","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"8C","iid":8,"characteristics":[{"type":"23","iid":9,"value":"Persiana Planchar","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"72","iid":11,"value":2,"perms":["ev","pr"],"description":"Position State","format":"uint8","minValue":0,"maxValue":2,"minStep":1,"valid-values":[0,1,2]},{"type":"6D","iid":10,"value":71,"perms":["ev","pr"],"description":"Current Position","format":"uint8","unit":"percentage","minValue":0,"maxValue":100,"minStep":1},{"type":"7C","iid":12,"value":71,"perms":["ev","pr","pw"],"description":"Target Position","format":"uint8","unit":"percentage","minValue":0,"maxValue":100,"minStep":1}]}]},{"aid":204,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"eDomoticz","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Light/Switch","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Persiana Tendedero","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"Domoticz IDX 1259","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"2.1.46","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"8C","iid":8,"characteristics":[{"type":"23","iid":9,"value":"Persiana Tendedero","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"72","iid":11,"value":2,"perms":["ev","pr"],"description":"Position State","format":"uint8","minValue":0,"maxValue":2,"minStep":1,"valid-values":[0,1,2]},{"type":"7C","iid":12,"value":93,"perms":["ev","pr","pw"],"description":"Target Position","format":"uint8","unit":"percentage","minValue":0,"maxValue":100,"minStep":1},{"type":"6D","iid":10,"value":93,"perms":["ev","pr"],"description":"Current Position","format":"uint8","unit":"percentage","minValue":0,"maxValue":100,"minStep":1}]}]},{"aid":205,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"eDomoticz","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Light/Switch","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Sensor Puerta","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"Domoticz IDX 1249","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"2.1.46","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"80","iid":8,"characteristics":[{"type":"23","iid":9,"value":"Sensor Puerta","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"6A","iid":10,"value":0,"perms":["ev","pr"],"description":"Contact Sensor State","format":"uint8","minValue":0,"maxValue":1,"minStep":1,"valid-values":[0,1]}]}]},{"aid":206,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"eDomoticz","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Lux","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Sensor de Movimiento Fibaro","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"Domoticz IDX 1291","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"2.1.46","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"84","iid":8,"characteristics":[{"type":"23","iid":9,"value":"Sensor de Movimiento Fibaro","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"6B","iid":10,"value":4,"perms":["ev","pr"],"description":"Current Ambient Light Level","format":"float","unit":"lux","minValue":0.0001,"maxValue":100000}]}]},{"aid":207,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"eDomoticz","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Temp","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Sensor de Movimiento Fibaro","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"Domoticz IDX 1290","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"2.1.46","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"8A","iid":8,"characteristics":[{"type":"23","iid":9,"value":"Sensor de Movimiento Fibaro","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"11","iid":10,"value":27.8,"perms":["ev","pr"],"description":"Current Temperature","format":"float","unit":"celsius","minValue":-50,"maxValue":100,"minStep":0.1},{"type":"77","iid":11,"value":1,"perms":["ev","pr"],"description":"Status Fault","format":"uint8","minValue":0,"maxValue":1,"minStep":1,"valid-values":[0,1]}]}]},{"aid":208,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"eDomoticz","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Light/Switch","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Sensor de Movimiento Fibaro","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"Domoticz IDX 1256","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"2.1.46","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"85","iid":8,"characteristics":[{"type":"23","iid":9,"value":"Sensor de Movimiento Fibaro","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"22","iid":10,"value":0,"perms":["ev","pr"],"description":"Motion Detected","format":"bool"},{"type":"79","iid":11,"value":0,"perms":["ev","pr"],"description":"Status Low Battery","format":"uint8","minValue":0,"maxValue":1,"minStep":1,"valid-values":[0,1]}]}]},{"aid":209,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"eDomoticz","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Light/Switch","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Vitrinias Cocina","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"Domoticz IDX 1268","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"2.1.46","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"43","iid":8,"characteristics":[{"type":"23","iid":9,"value":"Vitrinias Cocina","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"25","iid":10,"value":0,"perms":["ev","pr","pw"],"description":"On","format":"bool"}]}]},{"aid":210,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"eDomoticz","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"Light/Switch","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"Persiana Comedor","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"Domoticz IDX 1262","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"2.1.46","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"8C","iid":8,"characteristics":[{"type":"23","iid":9,"value":"Persiana Comedor","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"72","iid":11,"value":2,"perms":["ev","pr"],"description":"Position State","format":"uint8","minValue":0,"maxValue":2,"minStep":1,"valid-values":[0,1,2]},{"type":"6D","iid":10,"value":65,"perms":["ev","pr"],"description":"Current Position","format":"uint8","unit":"percentage","minValue":0,"maxValue":100,"minStep":1},{"type":"7C","iid":12,"value":65,"perms":["ev","pr","pw"],"description":"Target Position","format":"uint8","unit":"percentage","minValue":0,"maxValue":100,"minStep":1}]}]},{"aid":125,"services":[{"type":"3E","iid":1,"characteristics":[{"type":"14","iid":2,"perms":["pw"],"description":"Identify","format":"bool"},{"type":"20","iid":3,"value":"Xiaomi","perms":["pr"],"description":"Manufacturer","format":"string","maxLen":64},{"type":"21","iid":4,"value":"dmaker.fan.1c","perms":["pr"],"description":"Model","format":"string","maxLen":64},{"type":"23","iid":5,"value":"ventilador","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"30","iid":6,"value":"Unknown","perms":["pr"],"description":"Serial Number","format":"string","maxLen":64},{"type":"52","iid":7,"value":"1.5.9","perms":["pr"],"description":"Firmware Revision","format":"string"}]},{"type":"B7","iid":8,"characteristics":[{"type":"23","iid":9,"value":"ventilador","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"B0","iid":10,"value":0,"perms":["ev","pr","pw"],"description":"Active","format":"uint8","minValue":0,"maxValue":1,"minStep":1,"valid-values":[0,1]},{"type":"AF","iid":11,"value":0,"perms":["ev","pr"],"description":"Current Fan State","format":"uint8","minValue":0,"maxValue":2,"minStep":1,"valid-values":[0,1,2]},{"type":"A7","iid":12,"value":0,"perms":["ev","pr","pw"],"description":"Lock Physical Controls","format":"uint8","minValue":0,"maxValue":1,"minStep":1,"valid-values":[0,1]},{"type":"B6","iid":13,"value":0,"perms":["ev","pr","pw"],"description":"Swing Mode","format":"uint8","minValue":0,"maxValue":1,"minStep":1,"valid-values":[0,1]},{"type":"28","iid":14,"value":1,"perms":["ev","pr","pw"],"description":"Rotation Direction","format":"int","minValue":0,"maxValue":1,"minStep":1,"valid-values":[0,1]}]},{"type":"49","iid":15,"characteristics":[{"type":"23","iid":16,"value":"Buzzer","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"25","iid":17,"value":0,"perms":["ev","pr","pw"],"description":"On","format":"bool"}]},{"type":"49","iid":18,"characteristics":[{"type":"23","iid":19,"value":"LED","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"25","iid":20,"value":0,"perms":["ev","pr","pw"],"description":"On","format":"bool"}]},{"type":"43","iid":21,"characteristics":[{"type":"23","iid":22,"value":"Shutdown timer","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"25","iid":23,"value":0,"perms":["ev","pr","pw"],"description":"On","format":"bool"},{"type":"8","iid":24,"value":0,"perms":["ev","pr","pw"],"description":"Brightness","format":"int","unit":"percentage","minValue":0,"maxValue":100,"minStep":1}]},{"type":"49","iid":25,"characteristics":[{"type":"23","iid":26,"value":"Level 1","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"25","iid":27,"value":0,"perms":["ev","pr","pw"],"description":"On","format":"bool"}]},{"type":"49","iid":28,"characteristics":[{"type":"23","iid":29,"value":"Level 2","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"25","iid":30,"value":0,"perms":["ev","pr","pw"],"description":"On","format":"bool"}]},{"type":"49","iid":31,"characteristics":[{"type":"23","iid":32,"value":"Level 3","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"25","iid":33,"value":0,"perms":["ev","pr","pw"],"description":"On","format":"bool"}]},{"type":"49","iid":34,"characteristics":[{"type":"23","iid":35,"value":"Sleep mode","perms":["pr"],"description":"Name","format":"string","maxLen":64},{"type":"25","iid":36,"value":0,"perms":["ev","pr","pw"],"description":"On","format":"bool"}]}]}]}

@NorthernMan54
Copy link
Owner

Tks for this

I presume that this is the issue you are seeing ?

2023-07-05T08:45:27.896Z hapNodeJSClient Homebridge Status failed 192.168.1.178:50132 Status: 422  ?id=211.10,211.12,211.13,211.14,211.14,211.15,211.16 { status: -70410 }
2023-07-05T08:45:27.896Z alexaActions alexaMessage: Response {
  "event": {
    "header": {
      "namespace": "Alexa",
      "name": "ErrorResponse",
      "messageId": "8ed84d5b-5864-40a1-a94a-8f515d1e5d8e",
      "correlationToken": "AAAAAAAAAQDAVrfrayYW7YAkOeH5aoX5AAIAAAAAAABnq2RMX11Jf2UmF93an3o5a2/p9xXu5M3TkaAKQOCjgvGcPQJdmUkfl+AV0oe0qG2mwYZ3AL4P4rpWYid8kOpbj1D6W21zXtVi7ardthWrNkX7oRmpxs4cGv1ORmtQAR9y3gctzUl5sWKhkcvHIWTUlkOZZV+tCaaThBmABtXxDUIOQ94OkRWWKtud6X+k/Ov2L97frJ6KhiUEzrzj1AstUxc2ih6IdiLcHqC4qcVPQSTr66RuUnepj6uwY866+fnrSvWyV1ePfToY8PO8zGVIVmP9ouybDXHnJQzkPoM7GW5pS7VjjGCXqKVdTiGNNrByiRX/8akpRd4sr+hGjove0w10b3TzGtQEcn4bSIwKyFUs39kXJLamOH0izG6EKcHTSA5zOwLlh11lYIDKpqptn9LDA0w5SbEt5CPo8uaBK+G/8mcBCA6V/pgHr7/kGI8G7HeEIBNadinYubnRndvmKx93qusA8yRgg/X34DrP+F7Co9pxJ8gFIRbPEQ3MjJhLwhmG9mEJrHIyJhaVdpOZeTednu8vyRPvVM97zwOpA7ceToqmvlzQje2Inq+qZJxVidkcVrA7XbD2GzremfyFYZXCkKSghKIZdnhtFFllh2hb8StpAHyDMYLzE8fWj73eaBzC4bINdWM03GYC2hnsvWPu/NBc2MoazeC3yUmySg==",
      "payloadVersion": "3"
    },
    "endpoint": {
      "endpointId": "MEU6REI6MTk6RDY6MEE6NzYtaG9tZWJyaWRnZS1tcXR0dGhpbmctQWlyZSBkZSBDYXNhLTAwMDAwMEJDLTAwMDAtMTAwMC04MDAwLTAwMjZCQjc2NTI5MQ=="
    },
    "payload": {
      "type": "ENDPOINT_UNREACHABLE",
      "message": "Homebridge Status failed"
    }
  }
}

@uronito
Copy link
Author

uronito commented Jul 6, 2023

yes, Why can this be? the alexa app tells me that the device is not responding.

It may be that the correct values ​​are not arriving at the iid?

Thanks!!!!!

@NorthernMan54
Copy link
Owner

One quick thing to try is to ask Alexa to discover devices again. This will update the aid and iid with the current values. Alexa will say that she found no new devices, but will update the values.

if this doesn’t fix it, I will attempt to recreate your setup.

@uronito
Copy link
Author

uronito commented Jul 6, 2023

I just tried but it gives me the same error. If instead I configure the air conditioner as a thermostat it works perfectly. When I set it as HeaterCooler is when it fails. The class HeaterCooler has differences with the Thermostat class such as Active. Could it be that?

@NorthernMan54
Copy link
Owner

It is likely that, let me recreate this with mqttthing

@uronito
Copy link
Author

uronito commented Jul 6, 2023

thanks @NorthernMan54

NorthernMan54 added a commit that referenced this issue Jul 7, 2023
NorthernMan54 added a commit that referenced this issue Jul 7, 2023
@NorthernMan54
Copy link
Owner

Found the issue - requesting status multiple times from the same iid triggers the error

2023-07-05T08:45:27.896Z hapNodeJSClient Homebridge Status failed 192.168.1.178:50132 Status: 422  ?id=211.10,211.12,211.13,211.14,211.14,211.15,211.16 { status: -70410 }

I have published release 0.6.6 with a fix for this. Please update to the latest and ask Alexa to discovery devices again. This should resolve the status request issue.

@uronito
Copy link
Author

uronito commented Jul 7, 2023

Runs Perfect @NorthernMan54 !!!!!!, a lot of thanks!!!!!!!!!

Regards

@uronito
Copy link
Author

uronito commented Jul 7, 2023

I have been testing the plugin and it works correctly, but there is a problem when I raise or lower the desired temperature from the amazon alexa application, the thermostat stops working for a few seconds. It could be made that, as with the thermostat, it only appreciates one desired temperature instead of two. Then I have also seen that the power class turns on and off but it makes the thermostat mode not work well. Could it be done that, as in the thermostat, the power class did not appear and everything was controlled from the mode?

@NorthernMan54
Copy link
Owner

Can you share a debug log of the temperature change, it should show what is actually being shared between Alexa and Homebridge

@uronito
Copy link
Author

uronito commented Jul 8, 2023

The problem is not in the communication between homebridge and alexa, the communication is correct. The problem is in the controls of the alexa application of Cooling Threshold Temperature and Heating Threshold Temperature that sometimes work and sometimes don't, what I have done is leave the single control of settargettemperature and that's how it works perfectly. On the other hand, it would be necessary to add the rotationspeed characteristic of the homebridge heatercooler, would it be possible?

@NorthernMan54
Copy link
Owner

The Alexa thermostat does not support rotation speed

https://developer.amazon.com/en-US/docs/alexa/device-apis/alexa-thermostatcontroller.html

@uronito
Copy link
Author

uronito commented Jul 8, 2023

the problem is in two setpoints control, with a single setpoint control works perfect. Two set points control is in the other way around, "lower temperature to" control is raise temperature to, and sometimes double setpoint fails. Could the minstep be controlled for temperature control? My minstep is 1º not 0.5º

@NorthernMan54
Copy link
Owner

Minstep is within the HomeKit / Homebridge side and not within Alexa.

@uronito
Copy link
Author

uronito commented Jul 11, 2023

Thanks @NorthernMan54

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