Warning - at this moment (z2m version 1.17.0) Hassio inegration works only in Dev branch of zigbee2mqtt!
Install
place ptvo_pwm.js to data folder of zigbee2mqtt
Typicaly /share/zigbee2mqtt
and add - ptvo_pwm.js
to external_converters:
In configuration of zigbee2mqtt
example:
data_path: /share/zigbee2mqtt
external_converters:
- ptvo_pwm.js
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: false
mqtt:
.......................
Also Model id in Firmware configurator must be indeticali with zigbeeModel:, in ptvo_pwm.js
example: ptvo_PWM