LS Deutschland GmbH Home Base (A319463) not working
Hi, I tried yesterday to connect to my Home base (A319463) with the latest GIT release of this adapter (1.10.5). The connection to the device was established, but no states are mapped to the device. Is this device already supported?
May require a newer version of the zigbee-herdsman-converters. It should come into the zigbee adapter soon.
Please test with the current GitHub version
Hi @asgothian I updated to the latest version, but the error message "Device 0xb... "A319463" not described in statesMapping." is still there.
The message means nothing anymore. How do the objects look ?
Hi ... so the object looks like this:
No state for controlling the light is created there, basic information of the device (e.g. link quality) is created.
Please show the info tile of the device. Of special interest: the Manufaktur.ID and Manufacturer entries.
A.
Hi ... sure, please finde the information here:
This is strange. Which version exactly are you running ? Please post the log entries from starting the zigbee Adapter. it lists in Detail which version is running.
A.
Hi ... It should be the latest version from GIT:
"starting. Version 1.10.9 (non-npm: ioBroker/ioBroker.zigbee) in /opt/iobroker/node_modules/iobroker.zigbee, node: v20.16.0, js-controller: 6.0.11"
Something is very fishy there - the device is supported for a while now and should provide the standard light states. Did the pairing go through successful or did you get a message about the device being not successfully paired ?
A
Hi ... so as far as I noticed it the pairing went through without any problem. The only error message I got is "Device 0xb... "A319463" not described in statesMapping." . I took a look at the "devices.js" and found out that there is no model with the corresponding ID (A319463). I played around with it a little bit and added a device by adding a device with the state configuration "lightStatesWithColortemp". I ended up with the device and all states corresponding to "lightStatesWithColortemp" created, but the device is still not working. Are there more steps to go to add a new device?
When the pairing is successful, there should be no need to have the device present in the devices.js of the zigbee Adapter. This is a legacy option which only still exists as it would possibly break user scripts to remove it. The Adapter should generate the states based on what is called "exposes" from the zigbee-herdsman-converters library - hence the comment that the message no longer carries any real meaning. The definition in the zigbee-herdsman-converters library is like this:
zigbeeModel: ['Emotion'],
model: 'A319463',
vendor: 'LS Deutschland GmbH',
description: 'Home base',
fromZigbee: light({colorTemp: {range: [153, 454]}, color: true}).fromZigbee,
toZigbee: light({colorTemp: {range: [153, 454]}, color: true}).toZigbee,
configure: light({colorTemp: {range: [153, 454]}, color: true}).configure[0],
exposes: (device, options) => {
if (!device) return [e.light_brightness_colortemp_colorxy([153, 454]), e.linkquality()];
return [
e.linkquality(),
...device.endpoints
.filter((ep) => ep.ID !== 242)
.map((ep) => {
return e.light_brightness_colortemp_colorxy([153, 454]).withEndpoint(`l${ep.ID}`);
}),
];
},
meta: {multiEndpoint: true},
endpoint: (device) => {
return Object.fromEntries(device.endpoints.filter((ep) => ep.ID !== 242).map((ep) => [`l${ep.ID}`, ep.ID]));
},
},
Main issue why it won't work with you adding code to devices.js may be that they are using the wrong endpoint. Unfortunately, the screenshot from the info Display does not show the current endpoint for the relevant clusters.
A.
Ah ok ... so adding the device there should not be necessary. I switched back to your latest release and paired the device again. Here is the other half of the info display:
Same issue here with latest Github version 1.10.13 - Pairing without Problems - LS.js in /node_modules/zigbee-herdsman-converters/devices exists.
Device 0xb43a31fffe776fb0 "A319463" not present in statesMapping - relying on exposes for device definition.
No state for controlling the light is created there, basic information of the device (e.g. link quality) is created.
Same issue with v1.10.14. I also tried to exclude A319463 to force usage of exposes but still got no objects.
here is the response from the Gateway:
{"type":"device","device":{"_events":{},"_eventsCount":0,"_maxListeners":100,"ID":31,"_applicationVersion":0,"_dateCode":"","_endpoints":[{"_events":{},"_eventsCount":0,"_maxListeners":100,"deviceID
":268,"inputClusters":[0,3,4,5,6,8,768],"outputClusters":[],"profileID":260,"ID":1,"clusters":{"genOnOff":{"attributes":{"onOff":1}},"genBasic":{"attributes":{"appVersion":0,"stackVersion":0,"dateCo
de":"","hwVersion":1,"zclVersion":3}},"lightingColorCtrl":{"attributes":{"colorCapabilities":16,"colorTempPhysicalMin":153,"colorTempPhysicalMax":454}},"genOnOffSwitchCfg":{"attributes":{}}},"device
IeeeAddress":"0xb43a31fffe776fb0","deviceNetworkAddress":16679,"_binds":[],"_configuredReportings":[],"meta":{},"pendingRequests":{"sendInProgress":false,"ID":1,"deviceIeeeAddress":"0xb43a31fffe776f
b0"}},{"_events":{},"_eventsCount":0,"_maxListeners":100,"deviceID":97,"inputClusters":[],"outputClusters":[33],"profileID":41440,"ID":242,"clusters":{},"deviceIeeeAddress":"0xb43a31fffe776fb0","dev
iceNetworkAddress":16679,"_binds":[],"_configuredReportings":[],"meta":{},"pendingRequests":{"sendInProgress":false,"ID":242,"deviceIeeeAddress":"0xb43a31fffe776fb0"}}],"_hardwareVersion":1,"_ieeeAd
dr":"0xb43a31fffe776fb0","_interviewCompleted":true,"_interviewing":false,"_lastSeen":1736761122638,"_manufacturerID":4686,"_manufacturerName":"LS Deutschland
GmbH","_modelID":"Emotion","_networkAddress":16679,"_powerSource":"DC
Source","_softwareBuildID":"1.0.0_r00000","_stackVersion":0,"_type":"Router","_zclVersion":3,"_linkquality":255,"_skipDefaultResponse":false,"_lastDefaultResponseSequenceNumber":14,"_pendingRequestT
imeout":0,"_customClusters":{},"meta":{"configured":-142569967}},"mapped":{"zigbeeModel":["Emotion"],"model":"A319463","vendor":"LS Deutschland GmbH","description":"Home
base","fromZigbee":[{"cluster":"genOnOff","type":["attributeReport","readResponse"],"options":[{"name":"state_action","label":"State
action","access":2,"type":"binary","property":"state_action","description":"State actions will also be published as 'action' when true (default
false).","value_on":true,"value_off":false}]},{"cluster":"genLevelCtrl","type":["attributeReport","readResponse"]},{"cluster":"genBasic","type":["attributeReport","readResponse"]},{"cluster":"genLev
elCtrl","type":["attributeReport","readResponse"]},{"cluster":"lightingColorCtrl","type":["attributeReport","readResponse"],"options":[{"name":"color_sync","label":"Color
sync","access":2,"type":"binary","property":"color_sync","description":"When enabled colors will be synced, e.g. if the light supports both color x/y and color temperature a conversion from color
x/y to color temperature will be done when setting the x/y color (default
true).","value_on":true,"value_off":false}]},{"cluster":"genOnOff","type":["attributeReport","readResponse"]}],"toZigbee":[{"key":["state","brightness","brightness_percent","on_time","off_wait_time"
],"options":[{"name":"transition","label":"Transition","access":2,"type":"numeric","property":"transition","description":"Controls the transition time (in seconds) of on/off, brightness, color
temperature (if applicable) and color (if applicable) changes. Defaults to `0` (no
transition).","value_min":0}]},{"key":["transition"]},{"key":["level_config"]},{"key":["rate"]},{"key":["brightness_move","brightness_move_onoff"]},{"key":["brightness_step","brightness_step_onoff"]
,"options":[{"name":"transition","label":"Transition","access":2,"type":"numeric","property":"transition","description":"Controls the transition time (in seconds) of on/off, brightness, color
temperature (if applicable) and color (if applicable) changes. Defaults to `0` (no
transition).","value_min":0}]},{"key":["color","color_temp","color_temp_percent"],"options":[{"name":"color_sync","label":"Color
sync","access":2,"type":"binary","property":"color_sync","description":"When enabled colors will be synced, e.g. if the light supports both color x/y and color temperature a conversion from color
x/y to color temperature will be done when setting the x/y color
(defaulttrue).","value_on":true,"value_off":false},{"name":"transition","label":"Transition","access":2,"type":"numeric","property":"transition","description":"Controls the transition time (in
seconds) of on/off, brightness, color temperature (if applicable) and color (if applicable) changes. Defaults to `0` (no
transition).","value_min":0}]},{"key":["color_mode"]},{"key":["color_options"]},{"key":["colortemp_move","color_temp_move"]},{"key":["color_temp_step"],"options":[{"name":"transition","label":"Trans
ition","access":2,"type":"numeric","property":"transition","description":"Controls the transition time (in seconds) of on/off, brightness, color temperature (if applicable) and color (if
applicable) changes. Defaults to `0` (no
transition).","value_min":0}]},{"key":["color_temp_startup"]},{"key":["hue_move","saturation_move"]},{"key":["hue_step","saturation_step"],"options":[{"name":"transition","label":"Transition","acces
s":2,"type":"numeric","property":"transition","description":"Controls the transition time (in seconds) of on/off, brightness, color temperature (if applicable) and color (if applicable) changes.
Defaults to `0` (no
transition).","value_min":0}]},{"key":["effect","alert","flash"]},{"key":["power_on_behavior"]},{"key":["scene_store"]},{"key":["scene_recall"]},{"key":["scene_add"]},{"key":["scene_remove"]},{"key"
:["scene_remove_all"]},{"key":["scene_rename"]},{"key":["read"]},{"key":["write"]},{"key":["command"]},{"key":["reset"]},{"key":["zclcommand"]}],"meta":{"multiEndpoint":true},"options":["[Circular]"
,"[Circular]","[Circular]"]},"name":"0xb43a31fffe776fb0"} incoming event:
{"type":"readResponse","device":{"_events":{},"_eventsCount":0,"_maxListeners":100,"ID":31,"_applicationVersion":0,"_dateCode":"","_endpoints":[{"_events":{},"_eventsCount":0,"_maxListeners":100,"de
viceID":268,"inputClusters":[0,3,4,5,6,8,768],"outputClusters":[],"profileID":260,"ID":1,"clusters":{"genOnOff":{"attributes":{"onOff":1}},"genBasic":{"attributes":{"appVersion":0,"stackVersion":0,"
dateCode":"","hwVersion":1,"zclVersion":3}},"lightingColorCtrl":{"attributes":{"colorCapabilities":16,"colorTempPhysicalMin":153,"colorTempPhysicalMax":454}},"genOnOffSwitchCfg":{"attributes":{}}},"
deviceIeeeAddress":"0xb43a31fffe776fb0","deviceNetworkAddress":16679,"_binds":[],"_configuredReportings":[],"meta":{},"pendingRequests":{"sendInProgress":false,"ID":1,"deviceIeeeAddress":"0xb43a31ff
fe776fb0"}},{"_events":{},"_eventsCount":0,"_maxListeners":100,"deviceID":97,"inputClusters":[],"outputClusters":[33],"profileID":41440,"ID":242,"clusters":{},"deviceIeeeAddress":"0xb43a31fffe776fb0
","deviceNetworkAddress":16679,"_binds":[],"_configuredReportings":[],"meta":{},"pendingRequests":{"sendInProgress":false,"ID":242,"deviceIeeeAddress":"0xb43a31fffe776fb0"}}],"_hardwareVersion":1,"_
ieeeAddr":"0xb43a31fffe776fb0","_interviewCompleted":true,"_interviewing":false,"_lastSeen":1736761122638,"_manufacturerID":4686,"_manufacturerName":"LS Deutschland
GmbH","_modelID":"Emotion","_networkAddress":16679,"_powerSource":"DC
Source","_softwareBuildID":"1.0.0_r00000","_stackVersion":0,"_type":"Router","_zclVersion":3,"_linkquality":255,"_skipDefaultResponse":false,"_lastDefaultResponseSequenceNumber":14,"_pendingRequestT
imeout":0,"_customClusters":{},"meta":{"configured":-142569967}},"endpoint":"[Circular]","data":{"onOff":1},"linkquality":255,"groupID":0,"cluster":"genOnOff","meta":{"zclTransactionSequenceNumber":
14,"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":false,"reservedBits":0}}}
are there any hints? It's getting very frustrating :(
check new GIT version
Please test with current stable version (2.0.5)
Problem solved with new version