ptvoinfo / zigbee-configurable-firmware

PTVO firmware for CC2530, CC2531, and CC2652 Zigbee chips
https://ptvo.info/zigbee-configurable-firmware-features/
MIT License
205 stars 22 forks source link

Add Converter for Internal Temperature #218

Closed obrain17 closed 1 year ago

obrain17 commented 1 year ago

Using firmware version 1.9.0.4:

If you select Internal temperature the converter is not added for Z2M.

inttemp

This results in debugging message:

Debug 2023-08-08 10:56:26 Received Zigbee message from 'ZigLight', type 'attributeReport', cluster 'msTemperatureMeasurement', data '{"measuredValue":2600}' from endpoint 4 with groupID 0
Debug 2023-08-08 10:56:26 No converter available for 'ZigLight' with cluster 'msTemperatureMeasurement' and type 'attributeReport' and data '{"measuredValue":2600}'

and the _cputemperature is shown as N/A.

If the converter is added manually (bold text):

fromZigbee: [fz.ignore_basic_report, fz.ptvo_switch_analog_input, fz.brightness, fz.ptvo_on_off, fz.temperature, fz.ptvo_multistate_action, fz.legacy.ptvo_switch_buttons, fz.ptvo_on_off_config,],

everything is fine:

tempworks

Maybe you can add the converter under "Save custom converter for Z2M" in one of the next versions.

BTW: Great tool you have created !!

obrain17 commented 1 year ago

I can confirm it is fixed with the new version 1.9.0.6 you just provided. Thank you very much.