Witam,
czy już ktoś dostał ten sterownik?
Niestety z2m pokazuje po parowaniu ze urządzenie jest nie obsługiwane.
Zaktualizowałem z2m do najnowszej wersji, niestety nie obsługuje.
Więc dodałem ręcznie:
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 definition = {
zigbeeModel: ['TS0601'], // The model ID from: Device with modelID 'lumi.sens' is not supported.
model: 'HG06875', // Vendor model number, look on the device for a model number
vendor: 'PARKSIDE', // Vendor of the device (only used for documentation and startup logging)
description: 'zawor parkside', // Description of the device, copy from vendor site. (only used for documentation and startup logging)
fromZigbee: [fz.on_off], // We will add this later
toZigbee: [tz.on_off], // Should be empty, unless device can be controlled (e.g. lights, switches).
exposes: [e.switch(), e.battery_low(), e.battery()], // Defines what this device exposes, used for e.g. Home Assistant discovery and in the frontend
configure: async (device, coordinatorEndpoint, logger) => {
const endpoint = device.getEndpoint(1);
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff']);
await reporting.onOff(endpoint);
},
};
module.exports = definition;
Efekt jest taki że moge go właczyć i wyłaczyć.
Ale… sterownik po włączeniu po minucie się wyłacza sam, w aplikacji Lidla ustawia się czas podlewania, niestety nie mam bramki lidla.
I druga sprawa, urządzenie nie publikuje żdnych wiadomości, żadnego stanu, nic… czyli właczam jest stan on… sama sie po minucie wyłacza… jest dalej on. W debugu nic nie ma co wychodzi od urządzenia.
Oczywiście automatyzacja NR w dwie minuty i już jak włączam to jest otwarty zawór aż wyłacze, ale moze ktoś ogarnia i jest w stanie podpowiedzieć jak w pełni go sparować.
Myśle, ze kluczowe jest tu toZigbee, fromZigbee, exposes, ale nie wiem co obsługuje ten sterownik.