Skip to content

Instantly share code, notes, and snippets.

@serrj-sv
serrj-sv / tuya_sh4_etrv.js
Last active Feb 4, 2022 — forked from basveeling/moes_radiator_alt.js
MoesHouse Tuya SH4 radiator valve eTRV thermostat zigbee2mqtt external converter
View tuya_sh4_etrv.js
const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const extend = require('zigbee-herdsman-converters/lib/extend');
const e = exposes.presets;
const ea = exposes.access;
const tuya = require("zigbee-herdsman-converters/lib/tuya");
const tuyaLocal = {