new Device but...
i added this
{
zigbeeModel: ['SMOK_YDLV10'],
model: 'todo',
vendor: 'Heiman',
description: 'Heiman smoke detector',
supports: 'smoke',
fromZigbee: [],
toZigbee: [],
},
into devices.js
in the log i can see
2018-9-19 16:53:23 - info: unknown (0x005043c903351248): todo - Heiman Heiman smoke detector (EndDevice)
here ok
but thats all messages
2018-9-19 16:57:59 - info: New device with address 0x005043c903351248 connected!
2018-9-19 16:57:59 - info: MQTT publish, topic: 'zigbee2mqtt/bridge/log', payload: '{"type":"device_connected","message":"0x005043c903351248"}'
nothing after pressed button or smoke detect
Hi this type normaly are IAS Devices.
Please post content of your database.db so we could check and work to get them integrate :)
We need todo some magic for IAS to get them complete work...
{"id":42,"type":"EndDevice","ieeeAddr":"0x005043c903351248","nwkAddr":12369,"manufId":48042,"manufName":"Heiman","powerSource":"Battery","modelId":"SMOK_YDLV10","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":1026,"inClusterList":[0,1,3,9,1280,1282],"outClusterList":[25],"clusters":{"genBasic":{"dir":{"value":1},"attrs":{"zclVersion":1,"appVersion":3,"stackVersion":2,"hwVersion":1,"manufacturerName":"Heiman","modelId":"SMOK_YDLV10","dateCode":"20150330","powerSource":3,"locationDesc":"","physicalEnv":0,"deviceEnabled":1,"alarmMask":0}},"genPowerCfg":{"dir":{"value":1},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{"identifyTime":0}},"genAlarms":{"dir":{"value":1},"attrs":{"alarmCount":0}},"genOta":{"dir":{"value":2},"attrs":{}},"ssIasZone":{"dir":{"value":1},"attrs":{"zoneState":0,"zoneType":40,"zoneStatus":32,"iasCieAddr":"0x0000000000000000","zoneId":0,"numZoneSensitivityLevelsSupported":2,"currentZoneSensitivityLevel":0}},"ssIasWd":{"dir":{"value":1},"attrs":{"maxDuration":240}}}}},"_id":"qmAugWFejpvKTRXz"}
or here
{"id":42,"type":"EndDevice","ieeeAddr":"0x005043c903351248","nwkAddr":12369,"manufId":48042,"manufName":"Heiman","powerSource":"Battery","modelId":"SMOK_YDLV10","epList":[1],"status":"online","joinTime":1537369046,"endpoints":{"1":{"profId":260,"epId":1,"devId":1026,"inClusterList":[0,1,3,9,1280,1282],"outClusterList":[25],"clusters":{"genBasic":{"dir":{"value":1},"attrs":{"zclVersion":1,"appVersion":3,"stackVersion":2,"hwVersion":1,"manufacturerName":"Heiman","modelId":"SMOK_YDLV10","dateCode":"20150330","powerSource":3,"locationDesc":"","physicalEnv":0,"deviceEnabled":1,"alarmMask":0}},"genPowerCfg":{"dir":{"value":1},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{"identifyTime":0}},"genAlarms":{"dir":{"value":1},"attrs":{"alarmCount":0}},"genOta":{"dir":{"value":2},"attrs":{}},"ssIasZone":{"dir":{"value":1},"attrs":{"zoneState":0,"zoneType":40,"zoneStatus":32,"iasCieAddr":"0x0000000000000000","zoneId":0,"numZoneSensitivityLevelsSupported":2,"currentZoneSensitivityLevel":0}},"ssIasWd":{"dir":{"value":1},"attrs":{"maxDuration":240}}}}},"_id":"qmAugWFejpvKTRXz"}
{"id":42,"type":"EndDevice","ieeeAddr":"0x005043c903351248","nwkAddr":12369,"manufId":48042,"manufName":"Heiman","powerSource":"Battery","modelId":"SMOK_YDLV10","epList":[1],"status":"online","joinTime":1537369046,"endpoints":{"1":{"profId":260,"epId":1,"devId":1026,"inClusterList":[0,1,3,9,1280,1282],"outClusterList":[25],"clusters":{"genBasic":{"dir":{"value":1},"attrs":{"zclVersion":1,"appVersion":3,"stackVersion":2,"hwVersion":1,"manufacturerName":"Heiman","modelId":"SMOK_YDLV10","dateCode":"20150330","powerSource":3,"locationDesc":"","physicalEnv":0,"deviceEnabled":1,"alarmMask":0}},"genPowerCfg":{"dir":{"value":1},"attrs":{"mainsVoltage":0,"mainsFrequency":0,"mainsAlarmMask":0,"mainsVoltMinThres":0,"mainsVoltMaxThres":65535,"mainsVoltageDwellTripPoint":0,"batteryVoltage":31,"batteryPercentageRemaining":200,"batteryManufacturer":"","batterySize":255,"batteryAHrRating":0,"batteryQuantity":0,"batteryRatedVoltage":30,"batteryAlarmMask":1,"batteryVoltMinThres":25,"batteryVoltThres1":0,"batteryVoltThres2":0,"batteryVoltThres3":0,"batteryPercentMinThres":40,"batteryPercentThres1":0,"batteryPercentThres2":0,"batteryPercentThres3":0,"batteryAlarmState":0}},"genIdentify":{"dir":{"value":1},"attrs":{"identifyTime":0}},"genAlarms":{"dir":{"value":1},"attrs":{"alarmCount":0}},"genOta":{"dir":{"value":2},"attrs":{}},"ssIasZone":{"dir":{"value":1},"attrs":{"zoneState":0,"zoneType":40,"zoneStatus":32,"iasCieAddr":"0x0000000000000000","zoneId":0,"numZoneSensitivityLevelsSupported":2,"currentZoneSensitivityLevel":0}},"ssIasWd":{"dir":{"value":1},"attrs":{"maxDuration":240}}}}},"_id":"qmAugWFejpvKTRXz"}
Thanks for the Infos.
Is this device powered by battery ??
please test this ones
{
zigbeeModel: ['SMOK_YDLV10'],
model: 'Heiman SMOK_YDLV10 smoke detector',
vendor: 'Heiman',
description: '',
supports: '',
fromZigbee: [],
toZigbee: [],
configure: (ieeeAddr, shepherd, coordinator, callback) => {
const device = shepherd.find(ieeeAddr, 1);
const actions = [
(cb) => device.bind('genPowerCfg', coordinator, cb),
(cb) => device.report('genPowerCfg', 'batteryPercentageRemaining', 0, 1000, 0, cb),
(cb) => device.write('ssIasZone', 'iasCieAddr', coordinator.device.getIeeeAddr(), cb),
(cb) => device.report('ssIasZone', 'zoneStatus', 0, 30, null, cb),
(cb) => device.functional('ssIasZone', 'enrollRsp', {enrollrspcode: 1, zoneid: 1}, cb),
];
execute(device, actions, callback);
},
},
please provide log via DEBUG=zigbee-shepherd* npm start
zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: [object Object] +1ms
zigbee2mqtt:debug 2018-9-20 08:48:06 Recieved zigbee message with data {"cid":"genPowerCfg","data":{"batteryPercentageRemaining":186}}
zigbee2mqtt:warn 2018-9-20 08:48:06 No converter available for 'SMOK_YDLV10 smoke detector' with cid 'genPowerCfg', type 'attReport' and data '{"cid":"genPowerCfg","data":{"batteryPercentageRemaining":186}}'
zigbee2mqtt:warn 2018-9-20 08:48:06 Please see: https://github.com/Koenkk/zigbee2mqtt/wiki/How-to-support-new-devices.
Great thanks.
please provide full log because i need the converter states from the ssIasZone too.
Does if you trigger alarm something return as value ??
for batteryPercentageRemaining we could use
fromZigbee: [fz.generic_battery],
for converter-type.
its same as fromZigbee: [fz.ignore_power_change, fz._324131092621_power], also
but alarm is not available.. after pressed the check button i cant see any message
here is the other line
No converter available for 'SMOK_YDLV10 smoke detector' with cid 'genPowerCfg', type 'devChange' and data '{"cid":"genPowerCfg","data":{"batteryPercentageRemaining":185}}'
here
```
dispatchIncomingMsg(): type: zclIncomingMsg, msg: [object Object] +2ms
zigbee2mqtt:debug 2018-9-20 09:23:24 Recieved zigbee message with data {"cid":"genPowerCfg","data":{"batteryPercentageRemaining":169}}
zigbee2mqtt:info 2018-9-20 09:23:24 MQTT publish, topic: 'zigbee2mqtt/0x005043c903351248', payload: '{"battery":84.5,"linkquality":57}'
zigbee2mqtt:debug 2018-9-20 09:23:24 Recieved zigbee message with data {"cid":"genPowerCfg","data":{"batteryPercentageRemaining":169}}
zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: [object Object] +4s
```
fz._324131092621_power] seems to be an older state of converter ... doesn´t the actually state named like my post before ?
does this three
(cb) => device.write('ssIasZone', 'iasCieAddr', coordinator.device.getIeeeAddr(), cb),
(cb) => device.report('ssIasZone', 'zoneStatus', 0, 30, null, cb),
(cb) => device.functional('ssIasZone', 'enrollRsp', {enrollrspcode: 1, zoneid: 1}, cb),
return on logfile with ok and finally with Succesfully configured XXXXX ??
Because if this three states doesnt return succesfully you couldn´t get any messages by alarm !!!
We could do some more tests if we change the zoneid: to higher value.
You have to show in your database.db file if for your device this line with informations changed!
"ssIasZone":{"dir":{"value":1},"attrs":{"zoneState":0,"zoneType":40,"zoneStatus":32,"iasCieAddr":"0x0000000000000000","zoneId":0,
normaly
"iasCieAddr":"0x0000000000000000" should be changed to local CIEAddr!
"zoneState":0, should be changed to 1 if successfully enroll.
fz.generic_battery done :-) and works
here i pushed the button 4x
zigbee-shepherd:msgHdlr IND <-- AF:incomingMsg, transId: 0 +7ms
zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: [object Object] +2ms
zigbee2mqtt:debug 2018-9-20 09:39:50 Recieved zigbee message with data {"cid":"genPowerCfg","data":{"batteryPercentageRemaining":130}}
zigbee2mqtt:info 2018-9-20 09:39:50 MQTT publish, topic: 'zigbee2mqtt/0x005043c903351248', payload: '{"battery":65,"linkquality":55}'
zigbee2mqtt:debug 2018-9-20 09:39:50 Recieved zigbee message with data {"cid":"genPowerCfg","data":{"batteryPercentageRemaining":130}}
zigbee-shepherd:af dispatchIncomingMsg(): type: incomingMsg, msg: [object Object] +2s
zigbee-shepherd:msgHdlr IND <-- AF:incomingMsg, transId: 0 +7ms
zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: [object Object] +2ms
zigbee2mqtt:debug 2018-9-20 09:39:51 Recieved zigbee message with data {"cid":"genPowerCfg","data":{"batteryPercentageRemaining":177}}
zigbee2mqtt:info 2018-9-20 09:39:51 MQTT publish, topic: 'zigbee2mqtt/0x005043c903351248', payload: '{"battery":88.5,"linkquality":55}'
zigbee2mqtt:debug 2018-9-20 09:39:51 Recieved zigbee message with data {"cid":"genPowerCfg","data":{"batteryPercentageRemaining":177}}
zigbee-shepherd:af dispatchIncomingMsg(): type: incomingMsg, msg: [object Object] +4s
zigbee-shepherd:msgHdlr IND <-- AF:incomingMsg, transId: 0 +7ms
zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: [object Object] +2ms
zigbee2mqtt:debug 2018-9-20 09:39:56 Recieved zigbee message with data {"cid":"genPowerCfg","data":{"batteryPercentageRemaining":137}}
zigbee2mqtt:info 2018-9-20 09:39:56 MQTT publish, topic: 'zigbee2mqtt/0x005043c903351248', payload: '{"battery":68.5,"linkquality":57}'
zigbee2mqtt:debug 2018-9-20 09:39:56 Recieved zigbee message with data {"cid":"genPowerCfg","data":{"batteryPercentageRemaining":137}}
zigbee-shepherd:af dispatchIncomingMsg(): type: incomingMsg, msg: [object Object] +2s
zigbee-shepherd:msgHdlr IND <-- AF:incomingMsg, transId: 0 +8ms
zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: [object Object] +1ms
zigbee2mqtt:debug 2018-9-20 09:39:57 Recieved zigbee message with data {"cid":"genPowerCfg","data":{"batteryPercentageRemaining":177}}
zigbee2mqtt:info 2018-9-20 09:39:57 MQTT publish, topic: 'zigbee2mqtt/0x005043c903351248', payload: '{"battery":88.5,"linkquality":55}'
zigbee2mqtt:debug 2018-9-20 09:39:57 Recieved zigbee message with data {"cid":"genPowerCfg","data":{"batteryPercentageRemaining":177}}
This reporting shows up because its generic cluster .. no ssIasZone specific!
..........
that means ??
As posted on
https://github.com/Koenkk/zigbee2mqtt/issues/384#issuecomment-423072116
I need the informations ...
that
{
zigbeeModel: ['SMOK_YDLV10'],
model: 'SMOK_YDLV10 smoke detector',
vendor: 'Heiman',
description: '',
supports: '',
fromZigbee: [fz.generic_battery],
toZigbee: [],
configure: (ieeeAddr, shepherd, coordinator, callback) => {
const device = shepherd.find(ieeeAddr, 1);
const actions = [
(cb) => device.write('ssIasZone', 'iasCieAddr', coordinator.device.getIeeeAddr(), cb),
(cb) => device.report('ssIasZone', 'zoneStatus', 0, 30, null, cb),
(cb) => device.functional('ssIasZone', 'enrollRsp', {enrollrspcode: 1, zoneid: 1}, cb),
];
execute(device, actions, callback);
},
},
result that
zigbee2mqtt:info 2018-9-20 10:04:44 MQTT publish, topic: 'zigbee2mqtt/0x005043c903351248', payload: '{"battery":87.5,"linkquality":57}'
zigbee2mqtt:debug 2018-9-20 10:04:44 Recieved zigbee message with data {"cid":"genPowerCfg","data":{"batteryPercentageRemaining":175}}
zigbee2mqtt:warn 2018-9-20 10:04:44 No converter available for 'SMOK_YDLV10 smoke detector' with cid 'genPowerCfg', type 'devChange' and data '{"cid":"genPowerCfg","data":{"batteryPercentageRemaining":175}}'
zigbee2mqtt:warn 2018-9-20 10:04:44 Please see: https://github.com/Koenkk/zigbee2mqtt/wiki/How-to-support-new-devices.
zigbee-shepherd:af dispatchIncomingMsg(): type: dataConfirm, msg: [object Object] +4s
This converter message could be removed by insert fz.ignore_power_change on the fromZigbee section.
What about the status values from the converter -configure themselve ?
Do you see the Succesfully configured ${friendlyName} ${ieeeAddr} message for this specific device in your logfile ?
It would be great and helpfully for everyone if you would provide more debug-content !
after restart the application in tehe log
2018-9-20 18:43:31 - info: MQTT publish, topic: 'zigbee2mqtt/0x005043c903351248', payload: '{"battery":88,"linkquality":52}'
2018-9-20 18:43:33 - info: Succesfully configured 0x84182600000e4d12 0x84182600000e4d12
2018-9-20 18:43:33 - error: Failed to configure 0x005043c903351248 0x005043c903351248
2018-9-20 18:43:33 - info: Succesfully configured 0x84182600000c8b2f 0x84182600000c8b2f
error: Failed to configure 0x005043c903351248 0x005043c903351248 ??????? this is the device
or here this message
2018-9-20 18:43:41 - debug: Recieved zigbee message with data "0x005043c903351248"
2018-9-20 18:43:58 - debug: Recieved zigbee message with data "0x005043c903351248"
2018-9-20 18:44:07 - debug: Recieved zigbee message with data "0x005043c903351248"
2018-9-20 18:44:10 - debug: Recieved zigbee message with data "0x005043c903351248"
2018-9-20 18:44:11 - debug: Recieved zigbee message with data "0x005043c903351248"
2018-9-20 18:44:11 - debug: Recieved zigbee message with data "0x005043c903351248"
2018-9-20 18:44:14 - debug: Recieved zigbee message with data "0x005043c903351248"
2018-9-20 18:44:14 - debug: Recieved zigbee message with data "0x005043c903351248"
then this
zigbee-shepherd Device: 0x005043c903351248 already in network +2s
what that ??
error: Failed to configure 0x005043c903351248 0x005043c903351248 ??????? this is the device
okay that help ... what we now need is the detail section on which the failure happens so please start zigbee2mqtt on console manually via DEBUG=zigbee-shepherd* npm start and let them run.
after short time you should see the converter messages comes up .. we need to find the failure ones ..
maybe its the enroll request i think ..
IASZone is special and very strange ... i don´t know if we could them complete integrate ..
Please provide link for buy .. maybe we could check for sample ..
what should I look for ?
zigbee2mqtt:info 2018-9-20 19:29:26 Device incoming...
zigbee2mqtt:info 2018-9-20 19:29:26 MQTT publish, topic: 'zigbee2mqtt/bridge/log', payload: '{"type":"pairing","message":"device incoming"}'
zigbee2mqtt:debug 2018-9-20 19:29:26 Recieved zigbee message with data "online"
zigbee2mqtt:debug 2018-9-20 19:29:36 Recieved zigbee message with data "0x005043c903351248"
zigbee2mqtt:debug 2018-9-20 19:29:37 Recieved zigbee message with data {"cid":"genPowerCfg","data":{"batteryPercentageRemaining":173}}
zigbee2mqtt:info 2018-9-20 19:29:37 MQTT publish, topic: 'zigbee2mqtt/0x005043c903351248', payload: '{"linkquality":18,"battery":86.5}'
zigbee2mqtt:info 2018-9-20 19:29:37 MQTT publish, topic: 'zigbee2mqtt/0x005043c903351248', payload: '{"linkquality":18}'
zigbee2mqtt:debug 2018-9-20 19:29:37 Recieved zigbee message with data {"cid":"genPowerCfg","data":{"batteryPercentageRemaining":173}}
zigbee2mqtt:debug 2018-9-20 19:29:38 Recieved zigbee message with data {"cid":"msIlluminanceMeasurement","data":{"measuredValue":2}}
zigbee2mqtt:info 2018-9-20 19:29:38 MQTT publish, topic: 'zigbee2mqtt/0x00158d0001e50d07', payload: '{"illuminance":2,"linkquality":70,"occupancy":true,"battery":"100.00","voltage":3035}'
zigbee2mqtt:debug 2018-9-20 19:29:38 Recieved zigbee message with data {"cid":"msIlluminanceMeasurement","data":{"measuredValue":2}}
zigbee2mqtt:debug 2018-9-20 19:29:38 Recieved zigbee message with data {"cid":"msOccupancySensing","data":{"occupancy":1}}
zigbee2mqtt:info 2018-9-20 19:29:38 MQTT publish, topic: 'zigbee2mqtt/0x00158d0001e50d07', payload: '{"illuminance":2,"linkquality":70,"occupancy":true,"battery":"100.00","voltage":3035}'
zigbee2mqtt:debug 2018-9-20 19:29:41 Recieved zigbee message with data {"cid":"genPowerCfg","data":{"batteryPercentageRemaining":172}}
zigbee2mqtt:info 2018-9-20 19:29:41 MQTT publish, topic: 'zigbee2mqtt/0x005043c903351248', payload: '{"linkquality":15,"battery":86}'
zigbee2mqtt:info 2018-9-20 19:29:41 MQTT publish, topic: 'zigbee2mqtt/0x005043c903351248', payload: '{"linkquality":15}'
zigbee2mqtt:debug 2018-9-20 19:29:41 Recieved zigbee message with data {"cid":"genPowerCfg","data":{"batteryPercentageRemaining":172}}
zigbee2mqtt:debug 2018-9-20 19:29:44 Recieved zigbee message with data "0x005043c903351248"
zigbee2mqtt:debug 2018-9-20 19:29:46 Recieved zigbee message with data "0x005043c903351248"
zigbee2mqtt:debug 2018-9-20 19:29:49 Recieved zigbee message with data "0x005043c903351248"
zigbee2mqtt:debug 2018-9-20 19:29:50 Recieved zigbee message with data "0x005043c903351248"
zigbee2mqtt:debug 2018-9-20 19:29:55 Recieved zigbee message with data "0x005043c903351248"
zigbee2mqtt:debug 2018-9-20 19:29:57 Recieved zigbee message with data "0x005043c903351248"
zigbee2mqtt:debug 2018-9-20 19:29:57 Recieved zigbee message with data "0x005043c903351248"
maybe here
zigbee-shepherd:request REQ --> AF:dataRequest, transId: 24 +5ms
zigbee-shepherd-converters:devices Configured '(cb) => device.write('ssIasZone', 'iasCieAddr', coordinator.device.getIeeeAddr(), cb)' with result 'Error: request unsuccess: 135' +2s
zigbee2mqtt:error 2018-9-20 19:33:18 Failed to configure 0x005043c903351248 0x005043c903351248
zigbee-shepherd:request RSP <-- AF:dataRequest, status: 0 +31ms
zigbee-shepherd:msgHdlr IND <-- ZDO:nodeDescRsp +1s
zigbee-shepherd:request REQ --> ZDO:activeEpReq +2ms
Look like we got it...
Need to Figure what failure.
Maybe its already written?
Please Post actually database.db content
here db
Hi @arteck .. does you do some more tests ?
We should check why it failed for writing.
maybe we could hold state up if you bring in pairing mode and push every second or more the button to keep device in wakeup ..
Where did you buy this end-device ? please post link!
its no problem but i already did that.. press the button like xiaomi device.. nope
i have no idea .. ich check this with other stick.. maybe works ..
i bought it on amazon its Heiman HS1SA-M..
@arteck
The mentioned error: 135 | Invalid value. Out of range error, or set to a reserved value.
We could check if it could help by repeating the stuff ..
please test this and report.
{
zigbeeModel: ['SMOK_YDLV10'],
model: 'SMOK_YDLV10 smoke detector',
vendor: 'Heiman',
description: '',
supports: '',
fromZigbee: [fz.generic_battery],
toZigbee: [],
configure: (ieeeAddr, shepherd, coordinator, callback) => {
const device = shepherd.find(ieeeAddr, 1);
const actions = [
(cb) => device.write('ssIasZone', 'iasCieAddr', coordinator.device.getIeeeAddr(), cb),
(cb) => device.write('ssIasZone', 'iasCieAddr', coordinator.device.getIeeeAddr(), cb),
(cb) => device.report('ssIasZone', 'zoneStatus', 0, 30, null, cb),
(cb) => device.report('ssIasZone', 'zoneStatus', 0, 30, null, cb),
(cb) => device.functional('ssIasZone', 'enrollRsp', {enrollrspcode: 1, zoneid: 50}, cb),
(cb) => device.functional('ssIasZone', 'enrollRsp', {enrollrspcode: 1, zoneid: 50}, cb),
];
execute(device, actions, callback);
},
},
here the message
zigbee2mqtt:info 2018-9-23 18:15:08 MQTT publish, topic: 'zigbee2mqtt/bridge/log', payload: '{"type":"pairing","message":"device incoming"}'
zigbee2mqtt:warn 2018-9-23 18:15:12 No converter available for 'SMOK_YDLV10 smoke detector' with cid 'ssIasZone', type 'devChange' and data '{"cid":"ssIasZone","data":{"iasCieAddr":"0x00124b0012022f35"}}'
zigbee2mqtt:warn 2018-9-23 18:15:12 Please see: https://github.com/Koenkk/zigbee2mqtt/wiki/How-to-support-new-devices.
zigbee2mqtt:error 2018-9-23 18:15:14 Failed to configure 0x005043c903351248 0x005043c903351248
zigbee2mqtt:warn 2018-9-23 18:15:14 No converter available for 'SMOK_YDLV10 smoke detector' with cid 'ssIasZone', type 'devChange' and data '{"cid":"ssIasZone","data":{"iasCieAddr":"0x00124b0012022f35"}}'
zigbee2mqtt:warn 2018-9-23 18:15:14 Please see: https://github.com/Koenkk/zigbee2mqtt/wiki/How-to-support-new-devices.
Nice .. this read great because now the device got the right coordinator Addr.
What about the other log messages ?
Btw.. wir können dieses Thema auch gerne auf Deutsch bearbeiten ;) ..
na klar...
aber immer noch keine zoneid
{"id":42,"type":"EndDevice","ieeeAddr":"0x005043c903351248","nwkAddr":60302,"manufId":48042,"manufName":"Heiman","powerSource":"Battery","modelId":"SMOK_YDLV10","epList":[1],"status":"online","joinTime":1537720042,"endpoints":{"1":{"profId":260,"epId":1,"devId":1026,"inClusterList":[0,1,3,9,1280,1282],"outClusterList":[25],"clusters":{"genBasic":{"dir":{"value":1},"attrs":{"zclVersion":1,"appVersion":3,"stackVersion":2,"hwVersion":1,"manufacturerName":"Heiman","modelId":"SMOK_YDLV10","dateCode":"20150330","powerSource":3,"locationDesc":"","physicalEnv":0,"deviceEnabled":1,"alarmMask":0}},"genPowerCfg":{"dir":{"value":1},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genAlarms":{"dir":{"value":1},"attrs":{"alarmCount":0}},"genOta":{"dir":{"value":2},"attrs":{}},"ssIasZone":{"dir":{"value":1},"attrs":{"zoneState":0,"zoneType":40,"zoneStatus":32,"iasCieAddr":"0x0000000000000000","zoneId":0,"numZoneSensitivityLevelsSupported":2,"currentZoneSensitivityLevel":0}},"ssIasWd":{"dir":{"value":1},"attrs":{"maxDuration":240}}}}},"_id":"I15C1vqLNpLd5Cf2"}
{"id":42,"type":"EndDevice","ieeeAddr":"0x005043c903351248","nwkAddr":60302,"manufId":48042,"manufName":"Heiman","powerSource":"Battery","modelId":"SMOK_YDLV10","epList":[1],"status":"online","joinTime":1537720042,"endpoints":{"1":{"profId":260,"epId":1,"devId":1026,"inClusterList":[0,1,3,9,1280,1282],"outClusterList":[25],"clusters":{"genBasic":{"dir":{"value":1},"attrs":{"zclVersion":1,"appVersion":3,"stackVersion":2,"hwVersion":1,"manufacturerName":"Heiman","modelId":"SMOK_YDLV10","dateCode":"20150330","powerSource":3,"locationDesc":"","physicalEnv":0,"deviceEnabled":1,"alarmMask":0}},"genPowerCfg":{"dir":{"value":1},"attrs":{"mainsVoltage":0,"mainsFrequency":0,"mainsAlarmMask":0,"mainsVoltMinThres":0,"mainsVoltMaxThres":65535,"mainsVoltageDwellTripPoint":0,"batteryVoltage":29,"batteryPercentageRemaining":168,"batteryManufacturer":"","batterySize":255,"batteryAHrRating":0,"batteryQuantity":0,"batteryRatedVoltage":30,"batteryAlarmMask":1,"batteryVoltMinThres":25,"batteryVoltThres1":0,"batteryVoltThres2":0,"batteryVoltThres3":0,"batteryPercentMinThres":40,"batteryPercentThres1":0,"batteryPercentThres2":0,"batteryPercentThres3":0,"batteryAlarmState":0}},"genIdentify":{"dir":{"value":1},"attrs":{"identifyTime":0}},"genAlarms":{"dir":{"value":1},"attrs":{"alarmCount":0}},"genOta":{"dir":{"value":2},"attrs":{}},"ssIasZone":{"dir":{"value":1},"attrs":{"zoneState":0,"zoneType":40,"zoneStatus":32,"iasCieAddr":"0x0000000000000000","zoneId":0,"numZoneSensitivityLevelsSupported":2,"currentZoneSensitivityLevel":0}},"ssIasWd":{"dir":{"value":1},"attrs":{"maxDuration":240}}}}},"_id":"I15C1vqLNpLd5Cf2"}
Dein Converter-Output zeigt auf, dass iasCieAddr geändert wurde.
Aber dein Auszug aus der database.db spiegelt dies nicht wieder ..
Wichtig wäre auch die Informationen ob die anderen zwei Converter Konfigurationen auch einen positiven Log aufweisen, daher bitte einen vollständigen DEBUG-LOG posten.
das sind alle mit id 42 aus der db
wobei ich hab den resettet und neu angelernt
hätt ich vielleicht nicht machen sollen
{"id":42,"type":"EndDevice","ieeeAddr":"0x005043c903351248","nwkAddr":39994,"manufId":48042,"manufName":"Heiman","powerSource":"Battery","modelId":"SMOK_YDLV10","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":1026,"inClusterList":[0,1,3,9,1280,1282],"outClusterList":[25],"clusters":{"genBasic":{"dir":{"value":1},"attrs":{"zclVersion":1,"appVersion":3,"stackVersion":2,"hwVersion":1,"manufacturerName":"Heiman","modelId":"SMOK_YDLV10","dateCode":"20150330","powerSource":3,"locationDesc":"","physicalEnv":0,"deviceEnabled":1,"alarmMask":0}},"genPowerCfg":{"dir":{"value":1},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genAlarms":{"dir":{"value":1},"attrs":{"alarmCount":0}},"genOta":{"dir":{"value":2},"attrs":{}},"ssIasZone":{"dir":{"value":1},"attrs":{"zoneState":0,"zoneType":40,"zoneStatus":32,"iasCieAddr":"0x0000000000000000","zoneId":0,"numZoneSensitivityLevelsSupported":2,"currentZoneSensitivityLevel":0}},"ssIasWd":{"dir":{"value":1},"attrs":{"maxDuration":240}}}}},"_id":"I15C1vqLNpLd5Cf2"}
{"id":42,"type":"EndDevice","ieeeAddr":"0x005043c903351248","nwkAddr":39994,"manufId":48042,"manufName":"Heiman","powerSource":"Battery","modelId":"SMOK_YDLV10","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":1026,"inClusterList":[0,1,3,9,1280,1282],"outClusterList":[25],"clusters":{"genBasic":{"dir":{"value":1},"attrs":{"zclVersion":1,"appVersion":3,"stackVersion":2,"hwVersion":1,"manufacturerName":"Heiman","modelId":"SMOK_YDLV10","dateCode":"20150330","powerSource":3,"locationDesc":"","physicalEnv":0,"deviceEnabled":1,"alarmMask":0}},"genPowerCfg":{"dir":{"value":1},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genAlarms":{"dir":{"value":1},"attrs":{"alarmCount":0}},"genOta":{"dir":{"value":2},"attrs":{}},"ssIasZone":{"dir":{"value":1},"attrs":{"zoneState":0,"zoneType":40,"zoneStatus":32,"iasCieAddr":"0x0000000000000000","zoneId":0,"numZoneSensitivityLevelsSupported":2,"currentZoneSensitivityLevel":0}},"ssIasWd":{"dir":{"value":1},"attrs":{"maxDuration":240}}}}},"_id":"I15C1vqLNpLd5Cf2"}
{"id":42,"type":"EndDevice","ieeeAddr":"0x005043c903351248","nwkAddr":60302,"manufId":48042,"manufName":"Heiman","powerSource":"Battery","modelId":"SMOK_YDLV10","epList":[1],"status":"online","joinTime":1537720042,"endpoints":{"1":{"profId":260,"epId":1,"devId":1026,"inClusterList":[0,1,3,9,1280,1282],"outClusterList":[25],"clusters":{"genBasic":{"dir":{"value":1},"attrs":{"zclVersion":1,"appVersion":3,"stackVersion":2,"hwVersion":1,"manufacturerName":"Heiman","modelId":"SMOK_YDLV10","dateCode":"20150330","powerSource":3,"locationDesc":"","physicalEnv":0,"deviceEnabled":1,"alarmMask":0}},"genPowerCfg":{"dir":{"value":1},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genAlarms":{"dir":{"value":1},"attrs":{"alarmCount":0}},"genOta":{"dir":{"value":2},"attrs":{}},"ssIasZone":{"dir":{"value":1},"attrs":{"zoneState":0,"zoneType":40,"zoneStatus":32,"iasCieAddr":"0x0000000000000000","zoneId":0,"numZoneSensitivityLevelsSupported":2,"currentZoneSensitivityLevel":0}},"ssIasWd":{"dir":{"value":1},"attrs":{"maxDuration":240}}}}},"_id":"I15C1vqLNpLd5Cf2"}
{"id":42,"type":"EndDevice","ieeeAddr":"0x005043c903351248","nwkAddr":60302,"manufId":48042,"manufName":"Heiman","powerSource":"Battery","modelId":"SMOK_YDLV10","epList":[1],"status":"online","joinTime":1537720042,"endpoints":{"1":{"profId":260,"epId":1,"devId":1026,"inClusterList":[0,1,3,9,1280,1282],"outClusterList":[25],"clusters":{"genBasic":{"dir":{"value":1},"attrs":{"zclVersion":1,"appVersion":3,"stackVersion":2,"hwVersion":1,"manufacturerName":"Heiman","modelId":"SMOK_YDLV10","dateCode":"20150330","powerSource":3,"locationDesc":"","physicalEnv":0,"deviceEnabled":1,"alarmMask":0}},"genPowerCfg":{"dir":{"value":1},"attrs":{"mainsVoltage":0,"mainsFrequency":0,"mainsAlarmMask":0,"mainsVoltMinThres":0,"mainsVoltMaxThres":65535,"mainsVoltageDwellTripPoint":0,"batteryVoltage":29,"batteryPercentageRemaining":168,"batteryManufacturer":"","batterySize":255,"batteryAHrRating":0,"batteryQuantity":0,"batteryRatedVoltage":30,"batteryAlarmMask":1,"batteryVoltMinThres":25,"batteryVoltThres1":0,"batteryVoltThres2":0,"batteryVoltThres3":0,"batteryPercentMinThres":40,"batteryPercentThres1":0,"batteryPercentThres2":0,"batteryPercentThres3":0,"batteryAlarmState":0}},"genIdentify":{"dir":{"value":1},"attrs":{"identifyTime":0}},"genAlarms":{"dir":{"value":1},"attrs":{"alarmCount":0}},"genOta":{"dir":{"value":2},"attrs":{}},"ssIasZone":{"dir":{"value":1},"attrs":{"zoneState":0,"zoneType":40,"zoneStatus":32,"iasCieAddr":"0x0000000000000000","zoneId":0,"numZoneSensitivityLevelsSupported":2,"currentZoneSensitivityLevel":0}},"ssIasWd":{"dir":{"value":1},"attrs":{"maxDuration":240}}}}},"_id":"I15C1vqLNpLd5Cf2"}
wobei
2018-9-23 18:26:58 - info: MQTT publish, topic: 'zigbee2mqtt/bridge/log', payload: '{"type":"pairing","message":"device incoming"}'
2018-9-23 18:26:58 - debug: Recieved zigbee message with data "online"
2018-9-23 18:27:18 - error: Cannot get the Node Descriptor of the Device: 0x005043c903351248 (Error: Timed out after 10000 ms)
2018-9-23 18:27:28 - debug: Recieved zigbee message with data "0x005043c903351248"
2018-9-23 18:27:37 - debug: Recieved zigbee message with data "0x005043c903351248"
2018-9-23 18:27:40 - debug: Recieved zigbee message with data "0x005043c903351248"
2018-9-23 18:27:42 - debug: Recieved zigbee message with data "0x005043c903351248"
2018-9-23 18:27:44 - debug: Recieved zigbee message with data "0x005043c903351248"
2018-9-23 18:27:48 - debug: Recieved zigbee message with data "0x005043c903351248"
2018-9-23 18:27:48 - debug: Recieved zigbee message with data {"cid":"genPowerCfg","data":{"batteryPercentageRemaining":200}}
2018-9-23 18:27:48 - info: MQTT publish, topic: 'zigbee2mqtt/0x0017880102e251de', payload: '{"battery":100,"linkquality":7}'
2018-9-23 18:27:50 - debug: Recieved zigbee message with data "0x005043c903351248"
2018-9-23 18:27:50 - debug: Recieved zigbee message with data "0x005043c903351248"
iasCieAddr ist immer noch im original-Zustand(0x0000000000000000).
Lerne noch mal das Gerät an und stelle den kompletten Log ein.
Möglicherweise funktioniert das Schreiben der iasCieAddr aber danach nicht mehr der enrollRsp.
das habe ich bereits..das ist das was raus kam
habs sogar zuerst auch aus der db gelöscht..
wir der Log irgendwo mit geschrieben as dem
DEBUG=zigbee-shepherd* npm start
oder sehe ich den nur auf der Console
Hm. wir müssen es schaffen wieder den oben gezeigten Zustand zu erreichen!
meinst du diesen hier
Genau dieser Zustand ist auf jeden Fall ein erster Schritt.
Hallo zusammen, ich habe auch Rauchmelder von Heiman... Ich habe diese auf ebay gekauft. Es scheint davon unterschiedliche Revisionen (eventuell nur Firmware) zu geben. Von außen sehen meine wie diese aushttps://www.replacedirect.de/product/P1018166/trust-zigbee-draadloze-rookdetector/pn/71197.html?utm_source=google&utm_medium=cpc&utm_campaign=shopping_adc&gclid=EAIaIQobChMIiN_63e7S3QIVj9CyCh02AwxYEAQYASABEgKUsPD_BwE. Es gibt sie wohl auch aus China.... Bei mir steht im production date inbder devices.DB 2015...Meiner meldet sich mit einem anderen Zigbee Model; verhält sich aber deinem recht ähnlich.... Ich probiere also aktuell auch vor mich hin.
Genau dieser Zustand ist auf jeden Fall ein erster Schritt.
das ist nicht das Problem.. das bekomme ich reproduzierbar hin.. nur das wars..
Failed to configure 0x005043c903351248 0x005043c903351248
kommt dann trotzdem
Kann mir jemand einen Kauflink zusenden, damit ich kurzfristig mir ein Zigbee Heiman Gerät kaufen kann ?
Ich denke für die genauere Analyse brauche ich ein Endgerät vor Ort.
sagemal wo kommst du her ??
Das sollten wir anderweitig kommunizieren.
schreib mir mal ne email.....
arteck at outlook.com
die Adresse ist ehh öffentlich da ich es im Adapter stehen habe
https://github.com/arteck/ioBroker.hs100
ich habe zigbee2mqtt neu installiert.. hatte ein anderes Problem mit einem Hue Schalter
ok weiter gehts
das sieht doch schon mal anders aus als vorher
{
"id": 3,
"type": "EndDevice",
"ieeeAddr": "0x005043c903351248",
"nwkAddr": 26045,
"manufId": 48042,
"manufName": "Heiman",
"powerSource": "Battery",
"modelId": "SMOK_YDLV10",
"epList": [
1
],
"status": "online",
"joinTime": 1538205759,
"endpoints": {
"1": {
"profId": 260,
"epId": 1,
"devId": 1026,
"inClusterList": [
0,
1,
3,
9,
1280,
1282
],
"outClusterList": [
25
],
"clusters": {
"genBasic": {
"dir": {
"value": 1
},
"attrs": {
"zclVersion": 1,
"appVersion": 3,
"stackVersion": 2,
"hwVersion": 1,
"manufacturerName": "Heiman",
"modelId": "SMOK_YDLV10",
"dateCode": "20150330",
"powerSource": 3,
"locationDesc": "",
"physicalEnv": 0,
"deviceEnabled": 1,
"alarmMask": 0
}
},
"genPowerCfg": {
"dir": {
"value": 1
},
"attrs": {
"mainsVoltage": 0,
"mainsFrequency": 0,
"mainsAlarmMask": 0,
"mainsVoltMinThres": 0,
"mainsVoltMaxThres": 65535,
"mainsVoltageDwellTripPoint": 0,
"batteryVoltage": 29,
"batteryPercentageRemaining": 165,
"batteryManufacturer": "",
"batterySize": 255,
"batteryAHrRating": 0,
"batteryQuantity": 0,
"batteryRatedVoltage": 30,
"batteryAlarmMask": 1,
"batteryVoltMinThres": 25,
"batteryVoltThres1": 0,
"batteryVoltThres2": 0,
"batteryVoltThres3": 0,
"batteryPercentMinThres": 40,
"batteryPercentThres1": 0,
"batteryPercentThres2": 0,
"batteryPercentThres3": 0,
"batteryAlarmState": 0
}
},
"genIdentify": {
"dir": {
"value": 1
},
"attrs": {
"identifyTime": 0
}
},
"genAlarms": {
"dir": {
"value": 1
},
"attrs": {
"alarmCount": 0
}
},
"genOta": {
"dir": {
"value": 2
},
"attrs": {}
},
"ssIasZone": {
"dir": {
"value": 1
},
"attrs": {
"zoneState": 0,
"zoneType": 40,
"zoneStatus": 32,
"iasCieAddr": "0x00124b0012022f35",
"zoneId": 0,
"numZoneSensitivityLevelsSupported": 2,
"currentZoneSensitivityLevel": 0
}
},
"ssIasWd": {
"dir": {
"value": 1
},
"attrs": {
"maxDuration": 240
}
}
}
}
},
"_id": "hbewaw5qnaSj2j73"
}
Hi ich habe nochmal für ein anderes Gerät von mir den ssIASZONE Teil geändert und angepasst, es scheint nun um einiges besser zu funktionieren.
Bitte teste daher in dem Converter nochmals folgenden Code und gib mir eine Rückmeldung.
{
zigbeeModel: ['SMOK_YDLV10'],
model: 'SMOK_YDLV10 smoke detector',
vendor: 'Heiman',
description: '',
supports: '',
fromZigbee: [fz.generic_battery],
toZigbee: [],
configure: (ieeeAddr, shepherd, coordinator, callback) => {
const device = shepherd.find(ieeeAddr, 1);
const writeRecArgs_ssIasZone = {
attrId: 16,
dataType: 'ieeeAddr',
attrData: coordinator.device.getIeeeAddr()
};
const enrollRspArgs_ssIasZone = {
enrollrspcode: 0x00,
zoneid : 1 // Hier bitte entsprechend der Anzahl an Endgeräten die ID erhöhen +1!
};
const actions = [
(cb) => device.foundation('ssIasZone', 'write', [ writeRecArgs_ssIasZone ], { direction: 0}, cb),
(cb) => device.functional('ssIasZone', 'enrollRsp', [ enrollRspArgs_ssIasZone ], cb),
(cb) => device.report('ssIasZone', 'zoneStatus', 0, 30, null, cb),
];
execute(device, actions, callback);
},
},
Bitte auch den Hinweis Kommentar mit der zoneid beachten!
Grüße
@arteck .. konntest du nochmals testen in der Zwischenzeit ?
na klar
alles frisch installiert.. neu gepaired
zigbee-shepherd:af dispatchIncomingMsg(): type: zclIncomingMsg, msg: [object Object] +2ms
zigbee2mqtt:debug 2018-10-4 20:58:36 Recieved zigbee message of type 'devChange' with data '{"cid":"ssIasZone","data":{"zoneState":0,"zoneType":40,"zoneStatus":32,"iasCieAddr":"0x0000000000000000","zoneId":0,"numZoneSensitivityLevelsSupported":2,"currentZoneSensitivityLevel":0}}' of device 'SMOK_YDLV10' (0x005043c903351248)
zigbee2mqtt:warn 2018-10-4 20:58:36 No converter available for 'SMOK_YDLV10 smoke detector' with cid 'ssIasZone', type 'devChange' and data '{"cid":"ssIasZone","data":{"zoneState":0,"zoneType":40,"zoneStatus":32,"iasCieAddr":"0x0000000000000000","zoneId":0,"numZoneSensitivityLevelsSupported":2,"currentZoneSensitivityLevel":0}}'
zigbee2mqtt:warn 2018-10-4 20:58:36 Please see: https://github.com/Koenkk/zigbee2mqtt/wiki/How-to-support-new-devices.
Hey please me out i have the same problem but i dont understand dutch.
hi @JLeandroFreitas
i´m working on general implementation for ssiaszone to get them easier integrated.
if i´m on the stage for testing i will post.
push
Hi,
I've got couple of rebranded Heiman sensors (http://www.heimantech.com/product/76.html, http://www.heimantech.com/product/75.html and http://www.heimantech.com/product/89.html)
Is there anything I can do to help with testing / development?
Same issue as https://github.com/Koenkk/zigbee2mqtt/issues/279
@Arteck support is now merged
ok but battery report not available ??
@Arteck no battery report or sensitivity settings yet @Koenkk havent implemented that yet.
thx
Most helpful comment
hi @JLeandroFreitas
i´m working on general implementation for
ssiaszoneto get them easier integrated.if i´m on the stage for testing i will post.