Closed peter1960 closed 5 years ago
Just to be sure, you got it working with the above addition to devices.js
, right?
Below is the results after adding that and restart:
Start: 2019-3-8 15:30:37 - info: GarageLight (0x00158d0002926dad): FNB56-ZSW01LX2.0 - Nue ZigBee one gang smart switch (Router)
2019-3-8 15:30:37 - info: MQTT publish: topic 'zigbee2mqtt/GarageLight', payload '{"state":"ON","linkquality":49,"last_seen":"2019-03-08T04:23:40.164Z","device":{"ieeeAddr":"0x00158d0002926dad","friendlyName":"GarageLight","type":"Router","nwkAddr":20560,"manufId":4478,"manufName": "FeiBit","powerSource":"Mains (single phase)","modelId":"FNB56-ZSW01LX2.0","status":"offline"},"elapsed":1200102}'
Turn On: 2019-3-9 13:43:46 - info: MQTT publish: topic 'zigbee2mqtt/GarageLight', payload '{"state":"ON","linkquality":57,"last_seen":"2019-03-09T02:43:46.827Z","device":{"ieeeAddr":"0x00158d0002926dad","friendlyName":"GarageLight","type":"Router","nwkAddr":20560,"manufId":4478,"manufName":"FeiBit","powerSource":"Mains (single phase)","modelId":"FNB56-ZSW01LX2.0","status":"offline"},"elapsed":1200088}'
Turn Off 2019-3-9 13:57:44 - info: MQTT publish: topic 'zigbee2mqtt/GarageLight', payload '{"state":"OFF","linkquality":65,"last_seen":"2019-03-09T02:57:44.135Z","device":{"ieeeAddr":"0x00158d0002926dad","friendlyName":"GarageLight","type":"Router","nwkAddr":20560,"manufId":4478,"manufName":"FeiBit","powerSource":"Mains (single phase)","modelId":"FNB56-ZSW01LX2.0","status":"offline"},"elapsed":837308}'
I didn't see this until just now but I've already tested and submitted a pull request earlier as I just got one of these switches. There was already a converter with this model number though for the 'HGZB-42-UK':
https://github.com/Koenkk/zigbee-shepherd-converters/pull/325
@Koenkk , I just got a new batch of different switches and they have indeed changed models. I'll continue to work through my old and new switches, but so far there seem to be some changes internally. The CC2530 chip is replaced with a JN5169 chip. I'll get back to these changes with you eventually in my marathon issue but anything with '2.0' on the end of the model might have different endpoints - e.g. the older 3 gang uses 16,17,18. New '2.0' one uses 1,2,3 and adds another undefined state, plus another "state":'OFF/ON'.
This particular switch though does work with the other handler fine. You can probably close this one ....?
@highground88 great, so it's already supported, closing this.
The 'FNB56-ZSW01LX2.0' is a newer version of 'FB56+ZSW05HG1.2'.
Can the following be added to the devices.js please under Nue, the existing converter works