# \[APP\]\[Pro\] BeNext - BeNext devices for Homey

**URL:** <https://community.homey.app/t/app-pro-benext-benext-devices-for-homey/76104>\
**Category:** Apps\
**Tags:** app, devices, homey-pro\
**Created:** [February 6, 2023, 7:18pm UTC](https://community.homey.app/t/app-pro-benext-benext-devices-for-homey/76104 "2023-02-06T19:18:59Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [February 6, 2023, 7:18pm UTC](https://community.homey.app/t/app-pro-benext-benext-devices-for-homey/76104/1 "2023-02-06T19:18:59Z")

</div>

The [BeNext App](https://homey.app/a/eu.benext/) has been transfered to me, and will be updated to SDK3 shortly.

This will be it’s Forum Topic with information.

A support and feature ticket system wil be created also.

**If you have any suggestions for the App, just let me know!**

If you like the app, please leave a rating in the Store: [BeNext App](https://homey.app/a/eu.benext/).

### Apps:

> [@\[Profile\] Arie J. Godschalk](https://community.homey.app/t/profile-arie-j-godschalk/70663/2):
>
> Apps developed or maintained by me: [Advanced Triggers](https://community.homey.app/t/app-pro-advanced-triggers-trigger-and-action-cards-with-eventname-for-advanced-flows/65651) , [BeNext](https://community.homey.app/t/app-pro-benext-benext-devices-for-homey/76104) , [Better Logic](https://community.homey.app/t/app-pro-better-logic-just-some-better-logic-and-variable-management/5568) , [Chronograph](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214) , [Device Capabilities](https://community.homey.app/t/app-pro-device-capabilities-enhance-the-capabilities-of-devices/43287) , [Advanced Virtual Device](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198) , [FTP Client](https://community.homey.app/t/app-pro-ftp-client/70876) , [Google Services](https://community.homey.app/t/google-services-app-for-translate-and-new-text-to-speech-for-any-device-with-url-input/43257) , [Homesh Controller](https://community.homey.app/t/app-pro-homesh-controller-homesh-satellite-connect-homey-pro-2023-to-homey-pro-for-led-speaker-zwave-satellite-and-network-resource/70369) , [Homesh Satellite](https://community.homey.app/t/app-pro-homesh-controller-homesh-satellite-connect-homey-pro-2023-to-homey-pro-for-led-speaker-zwave-satellite-and-network-resource/70369) , [JSON Handler and Manipulator](https://community.homey.app/t/app-pro-json-handler-and-manipulator/66317) , [LOQED](https://community.homey.app/t/app-pro-loqed-your-personal-doorman/89816) , [Music Url Converter](https://community.homey.app/t/music-url-converter-play-music-urls-on-homey-bigger-then-900-kb/43546) , [Simple Log](https://community.homey.app/t/simple-log-app/146) , [Universal Media Player](https://community.homey.app/t/universal-media-player-a-generic-storages-place-for-your-homey-speakers-tvs-or-other-media-devices/43450) and [Virtual Devices](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723) . [Goto profile of Arie J. Godschalk](https://community.homey.app/t/profile-arie-j-godschalk/70663) for more …

### Donations or Sponsorship

> [@\[Profile\] Arie J. Godschalk](https://community.homey.app/t/profile-arie-j-godschalk/70663/3):
>
> Donations or Sponsorship. You can help with the development, maintenance and support for the Apps, by donating or becoming a sponsor. This would be much appreciated! The more donations i receive, the more time i can make free for development and support. slight_smileDonations can be done through: [[PP] PayPal](https://paypal.me/QlusterIT) Requires a PayPal account. [[GS] Github Sponsors](https://github.com/sponsors/XeroxQ) Allowes for CreditCard. Sponsorships can be done through: [[P] Patreon](https://www.patreon.com/QlusterIT/membership) Requires a Patreon account. [[GS] Github Sponsor…](https://github.com/sponsors/XeroxQ)

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [February 6, 2023, 7:19pm UTC](https://community.homey.app/t/app-pro-benext-benext-devices-for-homey/76104/2 "2023-02-06T19:19:06Z")

</div>

[reserved]

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [February 6, 2023, 7:19pm UTC](https://community.homey.app/t/app-pro-benext-benext-devices-for-homey/76104/3 "2023-02-06T19:19:14Z")

</div>

[reserved2]

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [February 9, 2023, 1:51pm UTC](https://community.homey.app/t/app-pro-benext-benext-devices-for-homey/76104/4 "2023-02-09T13:51:22Z")

</div>

## The BeNext App is now updated to SDK3 in the test:

> **[BeNext | Homey](https://homey.app/en-us/app/eu.benext/BeNext/)**
>
> BeNext devices for Homey

I would be happy if people would test this, since i only have the window sensor.  
And yes, that one works fine, and i didn’t need to fix that one special.

So, i expect all drivers to work, except perhaps the 500 tag reader, since that once is buildin completly different.

### Let me know if you run into issues!

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [February 14, 2023, 8:42am UTC](https://community.homey.app/t/app-pro-benext-benext-devices-for-homey/76104/5 "2023-02-14T08:42:40Z")

</div>

@Caseda or anyone else who knows Z-Wave development.  
Hey, Z-Wave Genius, 😉

Question: I have updated the [BeNext](https://homey.app/nl-nl/app/eu.benext/BeNext/) app to SDK3.  
It used the old version of homey-zwavedriver, which i upgraded to the newest version of [Home - Homey ZWaveDriver (athombv.github.io)](https://athombv.github.io/node-homey-zwavedriver/).

Now, for me, it works fine, but i only have the window/door sensor.

Yesterday i pushed to live, and this morning, i got a [support ticket](https://bitbucket.org/QlusterIT/nl.qluster-it.benext/issues/1/foutmelding-heating-control-benext) for the heating\_control.  
In it’s diagnostic tho, i also found the same errors for the energy\_switch\_plus.

Which i find very wierd, because it’s source, the coding itself at least, is just this:

```auto
const ZwaveDevice = require('homey-zwavedriver').ZwaveDevice;

class EnergySwitchDevice extends ZwaveDevice {
	onNodeInit(){
	    this.enableDebug();
		this.printNode();		
				
		this.registerCapability('onoff', 'SWITCH_BINARY');
		this.registerCapability('onoff', 'BASIC_SET');
		this.registerCapability('measure_power', 'METER');
		this.registerCapability('meter_power', 'METER');
	}	
}
module.exports = EnergySwitchDevice;

```

While, straingly enough, the window-sensor does work, while it’s a lott more complicated:

```auto

class DoorSensorDevice extends ZwaveDevice {
	onNodeInit() {
		//this.enableDebug();
		//this.printNode();
		
		this.registerCapability('alarm_contact', 'BASIC');
		this.registerCapability('alarm_contact', 'SENSOR_BINARY');
		this.registerCapability('alarm_generic', 'ALARM', {
			get: 'ALARM_GET',
			getParser: () => ({
				'Alarm Type': 2,
			}),
			report: 'ALARM_REPORT',
			reportParser: report => {
				if (report &&
					report.hasOwnProperty('Alarm Type') &&
					report['Alarm Type'] === 2 &&
					report.hasOwnProperty('Alarm Level')) {
					return report['Alarm Level'] === 255;
				}
				return null;
			}
		});
		this.registerCapability('alarm_tamper', 'ALARM', {
			get: 'ALARM_GET',
			getParser: () => ({
				'Alarm Type': 3,
			}),
			report: 'ALARM_REPORT',
			reportParser: report => {
				if (report &&
					report.hasOwnProperty('Alarm Type') &&
					report['Alarm Type'] === 3 &&
					report.hasOwnProperty('Alarm Level')) {
					return report['Alarm Level'] === 255;
				}
				return null;
			}
		});
		this.registerCapability('measure_temperature', 'SENSOR_MULTILEVEL');
		this.registerCapability('measure_battery', 'BATTERY');
		this.registerCapability('alarm_battery', 'BATTERY');
	}

}

```

Here is part of the diagnostic (stderr is at the bottom):

```auto
User Message:
Heating Control

---- stdout ----

[log] 2023-02-14 06:35:53 [ManagerDrivers] [Driver:heating_control] [Device:d19d1ea6-b95e-4ee1-8e2c-9ead6ef2af2d] [dbg] _onReport() -> measure_temperature, SENSOR_MULTILEVEL -> parsed payload: 15.96
[log] 2023-02-14 06:35:53 [ManagerDrivers] [Driver:heating_control] [Device:d19d1ea6-b95e-4ee1-8e2c-9ead6ef2af2d] [dbg] _onReport() -> measure_temperature.outside, SENSOR_MULTILEVEL -> parsed payload: 15.96
[log] 2023-02-14 06:38:53 [ManagerDrivers] [Driver:heating_control] [Device:d19d1ea6-b95e-4ee1-8e2c-9ead6ef2af2d] node.CommandClass['COMMAND_CLASS_SENSOR_MULTILEVEL'].on('report') arguments: [
  { value: 5, name: 'SENSOR_MULTILEVEL_REPORT' },
  {
    'Sensor Type (Raw)': ,
    'Sensor Type': 'Temperature (version 1)',
    'Level (Raw)': ,
    Level: { Size: 4, Scale: 0, Precision: 2 },
    'Sensor Value (Raw)': ,
    'Sensor Value': ,
    'Sensor Value (Parsed)': 16.08
  },
  22
]
[log] 2023-02-14 06:38:53 [ManagerDrivers] [Driver:heating_control] [Device:d19d1ea6-b95e-4ee1-8e2c-9ead6ef2af2d] [dbg] _onReport() -> measure_temperature, SENSOR_MULTILEVEL -> parsed payload: 16.08
[log] 2023-02-14 06:38:53 [ManagerDrivers] [Driver:heating_control] [Device:d19d1ea6-b95e-4ee1-8e2c-9ead6ef2af2d] [dbg] _onReport() -> measure_temperature.outside, SENSOR_MULTILEVEL -> parsed payload: 16.08
[log] 2023-02-14 06:42:53 [ManagerDrivers] [Driver:heating_control] [Device:d19d1ea6-b95e-4ee1-8e2c-9ead6ef2af2d] node.CommandClass['COMMAND_CLASS_SENSOR_MULTILEVEL'].on('report') arguments: [
  { value: 5, name: 'SENSOR_MULTILEVEL_REPORT' },
  {
    'Sensor Type (Raw)': ,
    'Sensor Type': 'Temperature (version 1)',
    'Level (Raw)': ,
    Level: { Size: 4, Scale: 0, Precision: 2 },
    'Sensor Value (Raw)': ,
    'Sensor Value': ,
    'Sensor Value (Parsed)': 16.2
  },
  22
]
[log] 2023-02-14 06:42:53 [ManagerDrivers] [Driver:heating_control] [Device:d19d1ea6-b95e-4ee1-8e2c-9ead6ef2af2d] [dbg] _onReport() -> measure_temperature, SENSOR_MULTILEVEL -> parsed payload: 16.2
[log] 2023-02-14 06:42:53 [ManagerDrivers] [Driver:heating_control] [Device:d19d1ea6-b95e-4ee1-8e2c-9ead6ef2af2d] [dbg] _onReport() -> measure_temperature.outside, SENSOR_MULTILEVEL -> parsed payload: 16.2
[log] 2023-02-14 06:47:12 [ManagerDrivers] [Driver:heating_control] [Device:d19d1ea6-b95e-4ee1-8e2c-9ead6ef2af2d] node.CommandClass['COMMAND_CLASS_SENSOR_MULTILEVEL'].on('report') arguments: [
  { value: 5, name: 'SENSOR_MULTILEVEL_REPORT' },
  {
    'Sensor Type (Raw)': ,
    'Sensor Type': 'Temperature (version 1)',
    'Level (Raw)': ,
    Level: { Size: 4, Scale: 0, Precision: 2 },
    'Sensor Value (Raw)': ,
    'Sensor Value': ,
    'Sensor Value (Parsed)': 16.32
  },
  22
]
[log] 2023-02-14 06:47:12 [ManagerDrivers] [Driver:heating_control] [Device:d19d1ea6-b95e-4ee1-8e2c-9ead6ef2af2d] [dbg] _onReport() -> measure_temperature, SENSOR_MULTILEVEL -> parsed payload: 16.32
[log] 2023-02-14 06:47:12 [ManagerDrivers] [Driver:heating_control] [Device:d19d1ea6-b95e-4ee1-8e2c-9ead6ef2af2d] [dbg] _onReport() -> measure_temperature.outside, SENSOR_MULTILEVEL -> parsed payload: 16.32

---- stderr ----
[err] 2023-02-14 05:33:26 [ManagerDrivers] [Driver:built_in_dimmer] [Device:bf182365-2494-4cca-8779-e6e46574207b] CommandClass: BASIC_SET in main node undefined
[err] 2023-02-14 05:33:26 [ManagerDrivers] [Driver:energy_switch_plus] [Device:c51b7283-1cbb-4f54-8806-938ba6f9778a] CommandClass: BASIC_SET in main node undefined
[err] 2023-02-14 05:33:28 [ManagerDrivers] [Driver:energy_switch_plus] [Device:c51b7283-1cbb-4f54-8806-938ba6f9778a] Error: capability get command failed {
  capabilityId: 'onoff',
  commandClassId: 'SWITCH_BINARY',
  parsedPayload: {}
} Error: TRANSMIT_COMPLETE_NO_ACK
    at Remote Process
    at HomeyClient.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/HomeyClient.js:1:312)
    at Object.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/manager/zwave.js:76:30)
    at Object.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/ZwaveNode.js:1:812)
    at (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/ZwaveCommandClass.js:1:223)
    at EnergySwitchDevice._getCapabilityValue (/node_modules/homey-zwavedriver/lib/ZwaveDevice.js:445:29)
    at EnergySwitchDevice._registerCapabilityGet (/node_modules/homey-zwavedriver/lib/ZwaveDevice.js:358:14)
    at EnergySwitchDevice.registerCapability (/node_modules/homey-zwavedriver/lib/ZwaveDevice.js:834:10)
    at EnergySwitchDevice.onNodeInit (/drivers/energy_switch_plus/device.js:16:6)
    at /node_modules/homey-zwavedriver/lib/ZwaveDevice.js:108:20
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[err] 2023-02-14 05:33:28 [ManagerDrivers] [Driver:energy_switch_plus] [Device:c51b7283-1cbb-4f54-8806-938ba6f9778a] Could not get capability value for capabilityId: onoff Error: TRANSMIT_COMPLETE_NO_ACK
    at Remote Process
    at HomeyClient.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/HomeyClient.js:1:312)
    at Object.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/manager/zwave.js:76:30)
    at Object.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/ZwaveNode.js:1:812)
    at (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/ZwaveCommandClass.js:1:223)
    at EnergySwitchDevice._getCapabilityValue (/node_modules/homey-zwavedriver/lib/ZwaveDevice.js:445:29)
    at EnergySwitchDevice._registerCapabilityGet (/node_modules/homey-zwavedriver/lib/ZwaveDevice.js:358:14)
    at EnergySwitchDevice.registerCapability (/node_modules/homey-zwavedriver/lib/ZwaveDevice.js:834:10)
    at EnergySwitchDevice.onNodeInit (/drivers/energy_switch_plus/device.js:16:6)
    at /node_modules/homey-zwavedriver/lib/ZwaveDevice.js:108:20
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
(node:22603) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[err] 2023-02-14 05:33:29 [ManagerDrivers] [Driver:heating_control] [Device:d19d1ea6-b95e-4ee1-8e2c-9ead6ef2af2d] setCapabilityValue (target_temperature) failed Error: invalid_type_expected_boolean ["Properties1"]["undefined"]
    at Remote Process
    at HomeyClient.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/HomeyClient.js:1:312)
    at Object.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/manager/zwave.js:76:30)
    at Object.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/ZwaveNode.js:1:812)
    at (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/ZwaveCommandClass.js:1:223)
    at HeatingDevice._setCapabilityValue (/node_modules/homey-zwavedriver/lib/ZwaveDevice.js:511:20)
    at /node_modules/homey-zwavedriver/lib/ZwaveDevice.js:533:19
    at /node_modules/homey-zwavedriver/lib/ZwaveDevice.js:534:7
    at HeatingDevice._onSetCapabilityValue (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/Device.js:1:2140)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[err] 2023-02-14 05:33:30 [ManagerDrivers] [Driver:energy_switch_plus] [Device:c51b7283-1cbb-4f54-8806-938ba6f9778a] Error: capability get command failed {
  capabilityId: 'measure_power',
  commandClassId: 'METER',
  parsedPayload: { Properties1: { 'Rate Type': 'Import', Scale: 2 }, 'Scale 2': 0 }
} Error: TRANSMIT_COMPLETE_NO_ACK
    at Remote Process
    at HomeyClient.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/HomeyClient.js:1:312)
    at Object.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/manager/zwave.js:76:30)
    at Object.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/ZwaveNode.js:1:812)
    at (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/ZwaveCommandClass.js:1:223)
    at EnergySwitchDevice._getCapabilityValue (/node_modules/homey-zwavedriver/lib/ZwaveDevice.js:445:29)
    at EnergySwitchDevice._registerCapabilityGet (/node_modules/homey-zwavedriver/lib/ZwaveDevice.js:358:14)
    at EnergySwitchDevice.registerCapability (/node_modules/homey-zwavedriver/lib/ZwaveDevice.js:834:10)
    at EnergySwitchDevice.onNodeInit (/drivers/energy_switch_plus/device.js:18:6)
    at /node_modules/homey-zwavedriver/lib/ZwaveDevice.js:108:20
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[err] 2023-02-14 05:33:30 [ManagerDrivers] [Driver:energy_switch_plus] [Device:c51b7283-1cbb-4f54-8806-938ba6f9778a] Could not get capability value for capabilityId: measure_power Error: TRANSMIT_COMPLETE_NO_ACK
    at Remote Process
    at HomeyClient.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/HomeyClient.js:1:312)
    at Object.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/manager/zwave.js:76:30)
    at Object.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/ZwaveNode.js:1:812)
    at (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/ZwaveCommandClass.js:1:223)
    at EnergySwitchDevice._getCapabilityValue (/node_modules/homey-zwavedriver/lib/ZwaveDevice.js:445:29)
    at EnergySwitchDevice._registerCapabilityGet (/node_modules/homey-zwavedriver/lib/ZwaveDevice.js:358:14)
    at EnergySwitchDevice.registerCapability (/node_modules/homey-zwavedriver/lib/ZwaveDevice.js:834:10)
    at EnergySwitchDevice.onNodeInit (/drivers/energy_switch_plus/device.js:18:6)
    at /node_modules/homey-zwavedriver/lib/ZwaveDevice.js:108:20
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[err] 2023-02-14 05:33:35 [ManagerDrivers] [Driver:heating_control] [Device:d19d1ea6-b95e-4ee1-8e2c-9ead6ef2af2d] setCapabilityValue (target_temperature) failed Error: invalid_type_expected_boolean ["Properties1"]["undefined"]
    at Remote Process
    at HomeyClient.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/HomeyClient.js:1:312)
    at Object.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/manager/zwave.js:76:30)
    at Object.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/ZwaveNode.js:1:812)
    at (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/ZwaveCommandClass.js:1:223)
    at HeatingDevice._setCapabilityValue (/node_modules/homey-zwavedriver/lib/ZwaveDevice.js:511:20)
    at /node_modules/homey-zwavedriver/lib/ZwaveDevice.js:533:19
    at /node_modules/homey-zwavedriver/lib/ZwaveDevice.js:534:7
    at HeatingDevice._onSetCapabilityValue (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/Device.js:1:2140)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[err] 2023-02-14 05:33:37 [ManagerDrivers] [Driver:energy_switch_plus] [Device:c51b7283-1cbb-4f54-8806-938ba6f9778a] Error: capability get command failed {
  capabilityId: 'meter_power',
  commandClassId: 'METER',
  parsedPayload: { Properties1: { 'Rate Type': 'Import', Scale: 0 }, 'Scale 2': 0 }
} Error: TRANSMIT_COMPLETE_NO_ACK
    at Remote Process
    at HomeyClient.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/HomeyClient.js:1:312)
    at Object.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/manager/zwave.js:76:30)
    at Object.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/ZwaveNode.js:1:812)
    at (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/ZwaveCommandClass.js:1:223)
    at EnergySwitchDevice._getCapabilityValue (/node_modules/homey-zwavedriver/lib/ZwaveDevice.js:445:29)
    at EnergySwitchDevice._registerCapabilityGet (/node_modules/homey-zwavedriver/lib/ZwaveDevice.js:358:14)
    at EnergySwitchDevice.registerCapability (/node_modules/homey-zwavedriver/lib/ZwaveDevice.js:834:10)
    at EnergySwitchDevice.onNodeInit (/drivers/energy_switch_plus/device.js:19:6)
    at /node_modules/homey-zwavedriver/lib/ZwaveDevice.js:108:20
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[err] 2023-02-14 05:33:37 [ManagerDrivers] [Driver:energy_switch_plus] [Device:c51b7283-1cbb-4f54-8806-938ba6f9778a] Could not get capability value for capabilityId: meter_power Error: TRANSMIT_COMPLETE_NO_ACK
    at Remote Process
    at HomeyClient.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/HomeyClient.js:1:312)
    at Object.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/manager/zwave.js:76:30)
    at Object.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/ZwaveNode.js:1:812)
    at (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/ZwaveCommandClass.js:1:223)
    at EnergySwitchDevice._getCapabilityValue (/node_modules/homey-zwavedriver/lib/ZwaveDevice.js:445:29)
    at EnergySwitchDevice._registerCapabilityGet (/node_modules/homey-zwavedriver/lib/ZwaveDevice.js:358:14)
    at EnergySwitchDevice.registerCapability (/node_modules/homey-zwavedriver/lib/ZwaveDevice.js:834:10)
    at EnergySwitchDevice.onNodeInit (/drivers/energy_switch_plus/device.js:19:6)
    at /node_modules/homey-zwavedriver/lib/ZwaveDevice.js:108:20
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[err] 2023-02-14 05:34:28 [ManagerDrivers] [Driver:heating_control] [Device:d19d1ea6-b95e-4ee1-8e2c-9ead6ef2af2d] setCapabilityValue (target_temperature) failed Error: invalid_type_expected_boolean ["Properties1"]["undefined"]
    at Remote Process
    at HomeyClient.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/HomeyClient.js:1:312)
    at Object.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/manager/zwave.js:76:30)
    at Object.emit (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/ZwaveNode.js:1:812)
    at (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/ZwaveCommandClass.js:1:223)
    at HeatingDevice._setCapabilityValue (/node_modules/homey-zwavedriver/lib/ZwaveDevice.js:511:20)
    at /node_modules/homey-zwavedriver/lib/ZwaveDevice.js:533:19
    at /node_modules/homey-zwavedriver/lib/ZwaveDevice.js:534:7
    at HeatingDevice._onSetCapabilityValue (/opt/homey-client/system/manager/ManagerApps/AppProcess/node_modules/homey-apps-sdk-v3/lib/Device.js:1:2140)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    	

```

**Any idea why the error about the heating control is there?**  
`setCapabilityValue (target_temperature) failed Error: invalid_type_expected_boolean ["Properties1"]["undefined"]`

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [February 14, 2023, 8:48am UTC](https://community.homey.app/t/app-pro-benext-benext-devices-for-homey/76104/6 "2023-02-14T08:48:31Z")

</div>

And the heating control:

```auto
'use strict';

// Documentation: http://www.benext.eu/static/manual/heatingcontrol.pdf

//still experimental

const Homey = require('homey');
const ZwaveDevice = require('homey-zwavedriver').ZwaveDevice;

const DEFAULT_SETPOINT = 20;

class HeatingDevice extends ZwaveDevice {

onNodeInit(){
	    this.enableDebug();
		this.printNode();
		this.registerCapability('target_temperature', 'CLIMATE_CONTROL_SCHEDULE', {
	get: 'SCHEDULE_OVERRIDE_GET',
	report: 'SCHEDULE_OVERRIDE_REPORT',
	reportParser: report => {
				console.log('SCHEDULE_OVERRIDE_REPORT -> report', report, 'override value', report['Override State (Raw)'][0]);
				if (report &&
					report.hasOwnProperty('Override State (Raw)')) {

					let delta;
					// Value is below DEFAULT_SETPOINT
					if (report['Override State (Raw)'][0] >= 126 && report['Override State (Raw)'][0] <= 256) {
						delta = ((256 - report['Override State (Raw)'][0]) / 10) * -1;
						console.log('calculated incoming (negative) delta', delta);
					}
					// Value is above DEFAULT_SETPOINT
					else if (report['Override State (Raw)'][0] >= 0 && report['Override State (Raw)'][0] < 126) {
						delta = report['Override State (Raw)'][0] / 10;
						console.log('calculated incoming (positive) delta', delta);
					}
					console.log('SCHEDULE_OVERRIDE_REPORT -> calculated value ->', DEFAULT_SETPOINT + delta);
					return Math.max(7.5, Math.min(DEFAULT_SETPOINT + delta, 32.5));
				}
			},
	set: 'SCHEDULE_OVERRIDE_SET',
	setParser(value) {

				console.log('Set target temperature', value);

				let delta = (value - DEFAULT_SETPOINT) * 10;

				console.log('SCHEDULE_OVERRIDE_SET -> calculated delta ->', delta);

				if (delta < 0 && delta < -125) {
					console.error('out_of_range_too_low', delta);
					delta = -125;
				} else if (delta > 0 && delta > 125) {
					console.error('out_of_range_too_high', delta);
					delta = 125;
				}

				if (delta < 0) delta = 256 + delta;

				console.log('SCHEDULE_OVERRIDE_SET -> final object ->', {
					Properties1: {
						'Override Type': this.getSetting('override_mode') || 1,
					},
					'Override State': new Buffer([delta])
				});

				return {
					Properties1: {
						'Override Type': this.getSetting('override_mode') || 1,
					},
					'Override State': new Buffer([delta])
				}
			}
		});

		this.registerCapability('measure_temperature', 'SENSOR_MULTILEVEL');

		this.registerCapability('measure_pressure', 'SENSOR_MULTILEVEL', {
			command_class: 'COMMAND_CLASS_SENSOR_MULTILEVEL',
			command_get: 'SENSOR_MULTILEVEL_GET',
			command_get_parser: () => ({
				'Sensor Type': 'Barometric pressure (version 2) ',
				Properties1: {
					Scale: 0,
				},
			}),
			command_report: 'SENSOR_MULTILEVEL_REPORT',
			command_report_parser: report => {
				if (report['Sensor Type'] !== 'Barometric pressure (version 2) ' || report['Sensor Value (Parsed)'] === -999.9) return null;
				return report['Sensor Value (Parsed)'];
			},
			optional: true,
		});
		
		
		
		this.registerCapability('measure_temperature.outside', 'SENSOR_MULTILEVEL', {
			command_class: 'COMMAND_CLASS_SENSOR_MULTILEVEL',
			command_get: 'SENSOR_MULTILEVEL_GET',
			command_get_parser: () => ({
				'Sensor Type': 'Target Temperature (v6)',
				Properties1: {
					Scale: 0,
				},
			}),
			command_report: 'SENSOR_MULTILEVEL_REPORT',
			command_report_parser: report => {
				if (report['Sensor Type'] !== 'Target Temperature (v6)' || report['Sensor Value (Parsed)'] === -999.9) return null;
				return report['Sensor Value (Parsed)'];
			},
			optional: true,
		});

		//Setpoint
				if (this.node && this.node.CommandClass && this.node.CommandClass.COMMAND_CLASS_THERMOSTAT_SETPOINT) {
			this.node.CommandClass.COMMAND_CLASS_THERMOSTAT_SETPOINT.THERMOSTAT_SETPOINT_GET({
				'Level': {
					'Setpoint Type': 'Heating 1'
				}
			}, (err, result) => {
				console.log('GET', err, result);
				if (result && result.hasOwnProperty('Value')) {
					let parsedValue = result['Value'].readUIntBE(0, 2);
					if (typeof parsedValue === 'number' && parsedValue / 10 !== 20) {
						this.node.CommandClass.COMMAND_CLASS_THERMOSTAT_SETPOINT.THERMOSTAT_SETPOINT_SET({
							'Level': {
								'Setpoint Type': 'Heating 1'
							},
							'Level2': {
								'Size': 2,
								'Scale': 0,
								'Precision': 1
							},
							'Value': new Buffer([0, DEFAULT_SETPOINT * 10])
						}, (err, result) => {
							if (err) {
								console.error('Error on THERMOSTAT_SETPOINT_SET', err);
							} else {
								console.log('Success after THERMOSTAT_SETPOINT_SET', result);
							}
						});
					} 
				}
			});

		} else {
			console.log('missing_command_class_or_method');
		}
		
		
		

}
}

module.exports = HeatingDevice;

```

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [February 28, 2023, 10:33pm UTC](https://community.homey.app/t/app-pro-benext-benext-devices-for-homey/76104/7 "2023-02-28T22:33:33Z")

</div>

Sorry, I completely forgot about this topic 😛

Those are some weird errors that i’ve never seen before.  
Also a bit weird that they are using CLIMATE\_CONTROL\_SCHEDULE for the heat controller…  
Looks like that driver has always been a “experimental” driver though 😛  
But I guess lets begin at the beginning.

The error isn’t for the energy\_switch\_plus though (looks like the built\_in\_dimmer has the issue too), the “BASIC\_SET in main node undefined” is an entirely different error.  
Not sure why a device has no “basic\_set” though (I would need the “printNode” part for that) as that’s the bare minimum any z-wave device should have.  
You probably can just comment those (`this.registerCapability('onoff', 'BASIC_SET');`) out/delete them though, those are usually only used if a device only reports on an other endpoint (Association Group) then the one that should be the controller (Homey).

as for the setCapabilityValue being wrong.  
`invalid_type_expected_boolean ["Properties1"]["undefined"]`  
This looks more like a z-wave core issue, that perhaps was introduced in the SDKv3 core, or it just never worked, it is expecting a “undefined” value in the Properties1 object… there are some “reserved” bits left, but that should be ignored/not specified.  
line 67, what it would expect according the error:

```auto
return {
	Properties1: {
		'Override Type': this.getSetting('override_mode') || 1,
		'undefined': 0,
	},
	'Override State': Buffer.from([delta])
};

```

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [February 28, 2023, 10:45pm UTC](https://community.homey.app/t/app-pro-benext-benext-devices-for-homey/76104/8 "2023-02-28T22:45:35Z")

</div>

Thanks!

Ill look into it tomorrow, because i have another device from BeNext with the same message.

And im tired 😉

But thanks in advance!

---

<div class="post-metadata">

**Author:** ![Wisefire](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wisefire/32/73192_2.png) [@Wisefire](https://community.homey.app/u/Wisefire)\
**Post date:** [March 28, 2023, 2:35pm UTC](https://community.homey.app/t/app-pro-benext-benext-devices-for-homey/76104/9 "2023-03-28T14:35:36Z")

</div>

ik krijg deze error inderdaad ook.

Daarnaast heb ik nog wat benext apparaten die wellicht toegevoegd zouden kunnen worden (wat afstandsbedieningen)

Ik heb niet veel programmeer ervaring, maar mocht ik kunnen helpen, laat het me weten!

---

<div class="post-metadata">

**Author:** ![Davide\_Zamo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/davide_zamo/32/32590_2.png) [@Davide\_Zamo](https://community.homey.app/u/Davide_Zamo)\
**Post date:** [April 4, 2023, 7:03am UTC](https://community.homey.app/t/app-pro-benext-benext-devices-for-homey/76104/10 "2023-04-04T07:03:19Z")

</div>

can you do something for the 1st gen tag reader??

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [April 4, 2023, 7:30am UTC](https://community.homey.app/t/app-pro-benext-benext-devices-for-homey/76104/11 "2023-04-04T07:30:35Z")

</div>

Could you explain that more?  
Because, as far as i know, the tag reader was working properly again.

---

<div class="post-metadata">

**Author:** ![Davide\_Zamo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/davide_zamo/32/32590_2.png) [@Davide\_Zamo](https://community.homey.app/u/Davide_Zamo)\
**Post date:** [April 4, 2023, 8:04am UTC](https://community.homey.app/t/app-pro-benext-benext-devices-for-homey/76104/12 "2023-04-04T08:04:03Z")

</div>

in the afternoon i’ll send you some screenshots…

Inviato dal mio Galaxy

-------- Messaggio originale --------

---

<div class="post-metadata">

**Author:** ![Davide\_Zamo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/davide_zamo/32/32590_2.png) [@Davide\_Zamo](https://community.homey.app/u/Davide_Zamo)\
**Post date:** [April 4, 2023, 12:09pm UTC](https://community.homey.app/t/app-pro-benext-benext-devices-for-homey/76104/13 "2023-04-04T12:09:13Z")

</div>

i can add the tag reader but…  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/f/2f3774ebe15defb6bb509e97fe46a09945167248.png)  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/2/e244c4f9c03c6d6b451e9e0fcaa3807c5fbd5150.png)

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/2/42d7ec0299e104b9845cda87f011429f526f6288.png)

naturally nothing works…i succeded only to scan a tag

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/6/569d3b6ec0945ef7b1efbcacb9f947417c7b3a5a.png)

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [April 4, 2023, 5:38pm UTC](https://community.homey.app/t/app-pro-benext-benext-devices-for-homey/76104/14 "2023-04-04T17:38:48Z")

</div>

Okay.  
Is there anyone (in holland) from whom i can borough a Tag Reader?  
Because, fixing this without, would be very tiresome and difficult.

---

<div class="post-metadata">

**Author:** ![Davide\_Zamo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/davide_zamo/32/32590_2.png) [@Davide\_Zamo](https://community.homey.app/u/Davide_Zamo)\
**Post date:** [April 4, 2023, 5:47pm UTC](https://community.homey.app/t/app-pro-benext-benext-devices-for-homey/76104/15 "2023-04-04T17:47:11Z")

</div>

i saw there’s the same tag reader branded ZIPATO…and there’s also an homey app (sdk3) that support it!! it has different id then cannot be recognized but i think you can try…no? i’m a developer but i’m not skilled in athom api…

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [April 4, 2023, 8:13pm UTC](https://community.homey.app/t/app-pro-benext-benext-devices-for-homey/76104/16 "2023-04-04T20:13:46Z")

</div>

Yeah i know, i already took parts off that code 😉  
Still, solving this is way easier with a device.

---

<div class="post-metadata">

**Author:** ![Davide\_Zamo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/davide_zamo/32/32590_2.png) [@Davide\_Zamo](https://community.homey.app/u/Davide_Zamo)\
**Post date:** [April 4, 2023, 9:08pm UTC](https://community.homey.app/t/app-pro-benext-benext-devices-for-homey/76104/17 "2023-04-04T21:08:16Z")

</div>

Ok. let me know if I can help in any way.  
do you want to have access to my homey? could it help?

---

<div class="post-metadata">

**Author:** ![Davide\_Zamo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/davide_zamo/32/32590_2.png) [@Davide\_Zamo](https://community.homey.app/u/Davide_Zamo)\
**Post date:** [April 5, 2023, 5:37pm UTC](https://community.homey.app/t/app-pro-benext-benext-devices-for-homey/76104/18 "2023-04-05T17:37:51Z")

</div>

i resolved for now…

i cloned locally the zipato app, changed the ids in the driver and installed the app via CLI.

now i can add the tag reader (benext) as a zipato and is perfectly functional.

naturally you can include in you app as a tag reader (revision 1)

---

<div class="post-metadata">

**Author:** ![Wisefire](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wisefire/32/73192_2.png) [@Wisefire](https://community.homey.app/u/Wisefire)\
**Post date:** [April 13, 2023, 9:40am UTC](https://community.homey.app/t/app-pro-benext-benext-devices-for-homey/76104/19 "2023-04-13T09:40:29Z")

</div>

I’ve got a tagreader you could borrow, though its a 500 version, not the gen1.

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [April 14, 2023, 9:38am UTC](https://community.homey.app/t/app-pro-benext-benext-devices-for-homey/76104/20 "2023-04-14T09:38:24Z")

</div>

That’s very sweet of you, thanks for the offer.

In that case: Could someone please confirm that:

- It is the Tag Reader 500 that doesn’t work correct.
- That the Tag reader Gen1 is (or not) working correct.

@Wisefire:

- Where do you live? In holland?
- How long can you mis it?
- Do also have cards/devices/tags with it so i could test it than? (i don’t know the Tag Reader, so any more info you can give me helps me to get a better image of it, how it (should) work, etc.)

And, i am first waiting for the new adapter: my HP2019 is allready pretty maxed out with all my apps.  
So i am still using the HP2023 as developing machine, but i still have the random errors from the Power Supply.  
When i have the new PowerAdapter, and answers to some questions, i can plan when to spend time on it. Then we can talk about borrowing it, and minimize the time it will be here (and not just laying around waiting for the poweradapter) 😉

But already: thanks in advance!

[Next page](https://community.homey.app/t/app-pro-benext-benext-devices-for-homey/76104.md?page=2)
