question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Adding support for Paul Neuhaus Q-Remote

See original GitHub issue

Hi, I’m trying to add support form the Paul Neuhaus Remote -> https://www.paul-neuhaus.de/shop/de/ersatzteil-fernbedienung-sender-100-462-31.html

I have added the following section to devices.js: { zigbeeModel: ['Neuhaus remote'], model: '100.462.31', vendor: 'Paul Neuhaus', description: 'Q-REMOTE radio remote control, Smart Home', supports: 'on, off, brightness up/down/stop, color temperature up/down, TODO: select RGB color, TODO: select group 1/2/3/all, TODO: select scene 1/2', fromZigbee: [ fz.genOnOff_cmdOn, fz.genOnOff_cmdOff, fz.CTR_U_brightness_updown_click, fz.CTR_U_brightness_updown_hold, fz.CTR_U_brightness_updown_release, fz.CTR_U_scene, ], toZigbee: [], }, This way the lamp seems to receive everything correctly when switching on and off, dimming up and down as well as changing the color temperature via the remote. However I think it is not correctly implemented as I cannot get it running programatically, e.g. sending MQTT commands to do the job. From my understanding I would need to implement something in toZigbee.js as the remote is sending and not receiving? This is what the logfile (debug mode) says:

Brightness down on remote:

11/3/2019, 1:57:22 PM - debug: Received zigbee message of type 'cmdStep' with data '{"cid":"genLevelCtrl","data":{"stepmode":1,"stepsize":25,"transtime":1}}' of device 'undefined' (0x00124b0014d9e176) of endpoint 11 11/3/2019, 1:57:22 PM - debug: Ignoring message from coordinator 11/3/2019, 1:57:22 PM - debug: Received zigbee message of type 'cmdStep' with data '{"cid":"genLevelCtrl","data":{"stepmode":1,"stepsize":25,"transtime":1}}' of device 'Neuhaus remote' (0x00158d000209e74b) of endpoint 1 11/3/2019, 1:57:23 PM - info: MQTT publish: topic 'zigbee2mqtt/mb_Neuhaus_Remote', payload '{"linkquality":0,"rate":80,"action":"brightness_down_click","step_size":25,"transition_time":1,"device":{"ieeeAddr":"0x00158d000209e74b","friendlyName":"mb_Neuhaus_Remote","type":"EndDevice","nwkAddr":2164,"manufId":4151,"manufName":"Neuhaus Lighting Group","powerSource":"Battery","modelId":"Neuhaus remote","hwVersion":1,"swBuildId":"2000-0001","dateCode":"20180905","status":"online"}}' 11/3/2019, 1:57:23 PM - debug: Received zigbee message of type 'attReport' with data '{"cid":"genLevelCtrl","data":{"currentLevel":1}}' of device 'Neuhaus NLG-TW light' (0x00158d00028eb97a) of endpoint 1 11/3/2019, 1:57:23 PM - info: MQTT publish: topic 'zigbee2mqtt/wz_Sofatisch_Licht', payload '{"state":"ON","linkquality":21,"color_temp":340,"brightness":1,"color":{"x":0.4434,"y":0.4106},"device":{"ieeeAddr":"0x00158d00028eb97a","friendlyName":"wz_Sofatisch_Licht","type":"Router","nwkAddr":28582,"manufId":4151,"manufName":"Neuhaus Lighting Group","powerSource":"Mains (single phase)","modelId":"Neuhaus NLG-TW light","hwVersion":1,"swBuildId":"V1.1","dateCode":"20190110","status":"online"}}' 11/3/2019, 1:57:23 PM - debug: Received zigbee message of type 'devChange' with data '{"cid":"genLevelCtrl","data":{"currentLevel":1}}' of device 'Neuhaus NLG-TW light' (0x00158d00028eb97a) of endpoint 1

It seems there is an undefined device but I have no clue how to pin down where it could come from.

Press “W” on the remote (change color temperature):

11/3/2019, 1:58:55 PM - debug: Received zigbee message of type ‘cmdMoveToColorTemp’ with data ‘{“cid”:“lightingColorCtrl”,“data”:{“colortemp”:315,“transtime”:2}}’ of device ‘undefined’ (0x00124b0014d9e176) of endpoint 11 11/3/2019, 1:58:55 PM - debug: Ignoring message from coordinator 11/3/2019, 1:58:55 PM - debug: Received zigbee message of type ‘cmdMoveToColorTemp’ with data ‘{“cid”:“lightingColorCtrl”,“data”:{“colortemp”:315,“transtime”:2}}’ of device ‘Neuhaus remote’ (0x00158d000209e74b) of endpoint 1 11/3/2019, 1:58:55 PM - warn: No converter available for ‘100.462.31’ with cid ‘lightingColorCtrl’, type ‘cmdMoveToColorTemp’ and data ‘{“cid”:“lightingColorCtrl”,“data”:{“colortemp”:315,“transtime”:2}}’ 11/3/2019, 1:58:55 PM - warn: Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html. 11/3/2019, 1:58:56 PM - debug: Received zigbee message of type ‘attReport’ with data ‘{“cid”:“lightingColorCtrl”,“data”:{“currentY”:26522,“currentX”:28117,“colorTemperature”:315}}’ of device ‘Neuhaus NLG-TW light’ (0x00158d00028eb97a) of endpoint 1 11/3/2019, 1:58:56 PM - info: MQTT publish: topic ‘zigbee2mqtt/wz_Sofatisch_Licht’, payload ‘{“state”:“ON”,“linkquality”:23,“color_temp”:315,“brightness”:1,“color”:{“x”:0.429,“y”:0.4047},“device”:{“ieeeAddr”:“0x00158d00028eb97a”,“friendlyName”:“wz_Sofatisch_Licht”,“type”:“Router”,“nwkAddr”:28582,“manufId”:4151,“manufName”:“Neuhaus Lighting Group”,“powerSource”:“Mains (single phase)”,“modelId”:“Neuhaus NLG-TW light”,“hwVersion”:1,“swBuildId”:“V1.1”,“dateCode”:“20190110”,“status”:“online”}}’ 11/3/2019, 1:58:56 PM - debug: Received zigbee message of type ‘devChange’ with data ‘{“cid”:“lightingColorCtrl”,“data”:{“currentY”:26522,“currentX”:28117,“colorTemperature”:315}}’ of device ‘Neuhaus NLG-TW light’ (0x00158d00028eb97a) of endpoint 1 11/3/2019, 1:58:56 PM - info: MQTT publish: topic ‘zigbee2mqtt/wz_Sofatisch_Licht’, payload ‘{“state”:“ON”,“linkquality”:23,“color_temp”:315,“brightness”:1,“color”:{“x”:0.429,“y”:0.4047},“device”:{“ieeeAddr”:“0x00158d00028eb97a”,“friendlyName”:“wz_Sofatisch_Licht”,“type”:“Router”,“nwkAddr”:28582,“manufId”:4151,“manufName”:“Neuhaus Lighting Group”,“powerSource”:“Mains (single phase)”,“modelId”:“Neuhaus NLG-TW light”,“hwVersion”:1,“swBuildId”:“V1.1”,“dateCode”:“20190110”,“status”:“online”}}’

Switching off and on:

11/3/2019, 2:09:29 PM - debug: Received zigbee message of type ‘cmdOff’ with data ‘{“cid”:“genOnOff”,“data”:{}}’ of device ‘undefined’ (0x00124b0014d9e176) of endpoint 11 11/3/2019, 2:09:29 PM - debug: Ignoring message from coordinator 11/3/2019, 2:09:29 PM - debug: Received zigbee message of type ‘cmdOff’ with data ‘{“cid”:“genOnOff”,“data”:{}}’ of device ‘Neuhaus remote’ (0x00158d000209e74b) of endpoint 1 11/3/2019, 2:09:29 PM - info: MQTT publish: topic ‘zigbee2mqtt/mb_Neuhaus_Remote’, payload ‘{“linkquality”:0,“rate”:80,“click”:“off”,“device”:{“ieeeAddr”:“0x00158d000209e74b”,“friendlyName”:“mb_Neuhaus_Remote”,“type”:“EndDevice”,“nwkAddr”:2164,“manufId”:4151,“manufName”:“Neuhaus Lighting Group”,“powerSource”:“Battery”,“modelId”:“Neuhaus remote”,“hwVersion”:1,“swBuildId”:“2000-0001”,“dateCode”:“20180905”,“status”:“online”}}’ 11/3/2019, 2:09:29 PM - debug: Received zigbee message of type ‘attReport’ with data ‘{“cid”:“genOnOff”,“data”:{“onOff”:0}}’ of device ‘Neuhaus NLG-TW light’ (0x00158d00028eb97a) of endpoint 1 11/3/2019, 2:09:29 PM - info: MQTT publish: topic ‘zigbee2mqtt/wz_Sofatisch_Licht’, payload ‘{“state”:“OFF”,“linkquality”:26,“color_temp”:315,“brightness”:1,“color”:{“x”:0.429,“y”:0.4047},“device”:{“ieeeAddr”:“0x00158d00028eb97a”,“friendlyName”:“wz_Sofatisch_Licht”,“type”:“Router”,“nwkAddr”:28582,“manufId”:4151,“manufName”:“Neuhaus Lighting Group”,“powerSource”:“Mains (single phase)”,“modelId”:“Neuhaus NLG-TW light”,“hwVersion”:1,“swBuildId”:“V1.1”,“dateCode”:“20190110”,“status”:“online”}}’ 11/3/2019, 2:09:29 PM - debug: Received zigbee message of type ‘devChange’ with data ‘{“cid”:“genOnOff”,“data”:{“onOff”:0}}’ of device ‘Neuhaus NLG-TW light’ (0x00158d00028eb97a) of endpoint 1 11/3/2019, 2:09:29 PM - info: MQTT publish: topic ‘zigbee2mqtt/wz_Sofatisch_Licht’, payload ‘{“state”:“OFF”,“linkquality”:26,“color_temp”:315,“brightness”:1,“color”:{“x”:0.429,“y”:0.4047},“device”:{“ieeeAddr”:“0x00158d00028eb97a”,“friendlyName”:“wz_Sofatisch_Licht”,“type”:“Router”,“nwkAddr”:28582,“manufId”:4151,“manufName”:“Neuhaus Lighting Group”,“powerSource”:“Mains (single phase)”,“modelId”:“Neuhaus NLG-TW light”,“hwVersion”:1,“swBuildId”:“V1.1”,“dateCode”:“20190110”,“status”:“online”}}’ 11/3/2019, 2:09:31 PM - debug: Received zigbee message of type ‘cmdOn’ with data ‘{“cid”:“genOnOff”,“data”:{}}’ of device ‘undefined’ (0x00124b0014d9e176) of endpoint 11 11/3/2019, 2:09:31 PM - debug: Ignoring message from coordinator 11/3/2019, 2:09:31 PM - debug: Received zigbee message of type ‘cmdOn’ with data ‘{“cid”:“genOnOff”,“data”:{}}’ of device ‘Neuhaus remote’ (0x00158d000209e74b) of endpoint 1 11/3/2019, 2:09:31 PM - info: MQTT publish: topic ‘zigbee2mqtt/mb_Neuhaus_Remote’, payload ‘{“linkquality”:0,“rate”:80,“click”:“on”,“device”:{“ieeeAddr”:“0x00158d000209e74b”,“friendlyName”:“mb_Neuhaus_Remote”,“type”:“EndDevice”,“nwkAddr”:2164,“manufId”:4151,“manufName”:“Neuhaus Lighting Group”,“powerSource”:“Battery”,“modelId”:“Neuhaus remote”,“hwVersion”:1,“swBuildId”:“2000-0001”,“dateCode”:“20180905”,“status”:“online”}}’ 11/3/2019, 2:09:31 PM - debug: Ping 0x00158d00028eb97a (basic) 11/3/2019, 2:09:32 PM - debug: Received zigbee message of type ‘readRsp’ with data ‘{“cid”:“genBasic”,“data”:{“zclVersion”:2}}’ of device ‘Neuhaus NLG-TW light’ (0x00158d00028eb97a) of endpoint 1 11/3/2019, 2:09:32 PM - debug: Successfully pinged ‘wz_Sofatisch_Licht’ 11/3/2019, 2:09:32 PM - debug: Received zigbee message of type ‘attReport’ with data ‘{“cid”:“genOnOff”,“data”:{“onOff”:1}}’ of device ‘Neuhaus NLG-TW light’ (0x00158d00028eb97a) of endpoint 1 11/3/2019, 2:09:32 PM - info: MQTT publish: topic ‘zigbee2mqtt/wz_Sofatisch_Licht’, payload ‘{“state”:“ON”,“linkquality”:47,“color_temp”:315,“brightness”:1,“color”:{“x”:0.429,“y”:0.4047},“device”:{“ieeeAddr”:“0x00158d00028eb97a”,“friendlyName”:“wz_Sofatisch_Licht”,“type”:“Router”,“nwkAddr”:28582,“manufId”:4151,“manufName”:“Neuhaus Lighting Group”,“powerSource”:“Mains (single phase)”,“modelId”:“Neuhaus NLG-TW light”,“hwVersion”:1,“swBuildId”:“V1.1”,“dateCode”:“20190110”,“status”:“online”}}’ 11/3/2019, 2:09:32 PM - debug: Received zigbee message of type ‘devChange’ with data ‘{“cid”:“genOnOff”,“data”:{“onOff”:1}}’ of device ‘Neuhaus NLG-TW light’ (0x00158d00028eb97a) of endpoint 1 11/3/2019, 2:09:32 PM - info: MQTT publish: topic ‘zigbee2mqtt/wz_Sofatisch_Licht’, payload ‘{“state”:“ON”,“linkquality”:47,“color_temp”:315,“brightness”:1,“color”:{“x”:0.429,“y”:0.4047},“device”:{“ieeeAddr”:“0x00158d00028eb97a”,“friendlyName”:“wz_Sofatisch_Licht”,“type”:“Router”,“nwkAddr”:28582,“manufId”:4151,“manufName”:“Neuhaus Lighting Group”,“powerSource”:“Mains (single phase)”,“modelId”:“Neuhaus NLG-TW light”,“hwVersion”:1,“swBuildId”:“V1.1”,“dateCode”:“20190110”,“status”:“online”}}’

Any help in adding the Paul Neuhaus Q-Remote correctly to zigbee2mqtt is appreciated.

Best, Sascha

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:17 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
pepsiniocommented, May 26, 2020

I was able to get it to work. Simply reuse the same settings for Paulmann’s RGB remote and add NLG-remote as modelid or add the below to devices.js. They seem to be identical hardware

{
    zigbeeModel: ['NLG-remote'],
    model: 'NLG-remote',
    vendor: 'Paul Neuhaus',
    description: 'RGB remote control',
    supports: 'action',
    fromZigbee: [
        fz.command_on, fz.command_off, fz.command_toggle, fz.command_step,
        fz.command_move_to_color_temp, fz.command_move_to_color, fz.command_stop,
        fz.command_move, fz.command_color_loop_set, fz.command_ehanced_move_to_hue_and_saturation,
        fz.tint404011_scene,
    ],
    toZigbee: [],
},
1reaction
Gulpmancommented, Nov 13, 2019

Hi Koen, thank you very much for the great help! I really appreciate it.

I had some hassle after branching, as the zigbee2mqtt container didn’t want to start. It complained about

Error while starting zigbee-herdsman.

The error remained regardless of which combination of zigbee-herdsman and zigbee2mqtt I tried (dev vs. latest vs. branch…)

Then I recalled, that sometimes it helped other people to remove the CC2531 from the USB port and stick it back again … and voila, that was the solution. 😃 Maybe this could/should be added in the FAQ section?

The good thing about having had this issue is that I switched to 1.7.1 stable now (with the branch for 100.462.231 you provided).

I now try to understand what the format is to implement the rest of the functionality. May take till the weekend but I’ll get back with my results.

Thanks again! Best Sascha

Read more comments on GitHub >

github_iconTop Results From Across the Web

Paul Neuhaus Q-Remote 100.462.31 Zigbee compatibility
If the device is following Zigbee standards it is possible it will work with other gateway solutions, it is just not confirmed as...
Read more >
Paul Neuhaus 100.462.31 Homebridge/HomeKit integration
Add HomeKit support to your Paul Neuhaus 100.462.31, using Homebridge, Zigbee2MQTT and homebridge-z2m.
Read more >
Paul Neuhaus Lights? - Home Assistant Community
I have this Paul Neuhaus ceiling lamp (model Q-Vito) which uses a remote and supports Zigbee. But I cannot connect this using zigbee2mqtt....
Read more >
Paul Neuhaus Q-KAAN LED floor lamp remote control
Buy Paul Neuhaus Q-KAAN LED floor lamp remote control ✓ Top-rated service ✓ Comfortable & secure payment ✓ 10+ Years of experience ......
Read more >
Paul Neuhaus Q-VITO LED Ceiling Light, Works with Alexa
Paul Neuhaus Q-VITO LED Ceiling Light, Works with Alexa - Smart Home, Remote Control CCT Warm ... Our customer service is available for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found