Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom CC2530 PVTO reports no states #21895

Closed
derSchreifritz opened this issue Mar 21, 2024 · 3 comments
Closed

custom CC2530 PVTO reports no states #21895

derSchreifritz opened this issue Mar 21, 2024 · 3 comments
Labels
problem Something isn't working

Comments

@derSchreifritz
Copy link

derSchreifritz commented Mar 21, 2024

What happened?

I flashed the DL-20 CC2530 with custom PVTO-tool config.
Z2M with conbee2 works fine, with other devices. The CC2530 is paired (when I touch it.. something wrong with the battery power?).
Problem is, no state report, state is {}, not even Led or link quality.
here is a screenshot of Clusters, there is 6 more endpoints like no.2
Screenshot from 2024-03-21 10-05-46
When flashed with the default from z-stack it works.

What did you expect to happen?

at least LED status is reported.
Trying to connect Dallas sensors.

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.36.0-1

Adapter firmware version

6.23.0

Adapter

deconz/ conbee2

Setup

add-on ha

Debug log

No response

@derSchreifritz derSchreifritz added the problem Something isn't working label Mar 21, 2024
@derSchreifritz
Copy link
Author

this is the log when pairing:
info 2024-03-21 10:12:05Device '0x00124b0026171a69' joined
info 2024-03-21 10:12:05MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x00124b0026171a69","ieee_address":"0x00124b0026171a69"},"type":"device_joined"}'
info 2024-03-21 10:12:05MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":{"friendly_name":"0x00124b0026171a69"},"type":"device_connected"}'
info 2024-03-21 10:12:05Starting interview of '0x00124b0026171a69'
info 2024-03-21 10:12:05MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x00124b0026171a69","ieee_address":"0x00124b0026171a69","status":"started"},"type":"device_interview"}'
info 2024-03-21 10:12:05MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_started","meta":{"friendly_name":"0x00124b0026171a69"},"type":"pairing"}'
info 2024-03-21 10:12:07Successfully interviewed '0x00124b0026171a69', device has successfully been paired
info 2024-03-21 10:12:07Device '0x00124b0026171a69' is supported, identified as: Custom devices (DiY) CC2530 router (CC2530.ROUTER)
info 2024-03-21 10:12:07MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"CC2530 router","exposes":[{"access":1,"label":"Led","name":"led","property":"led","type":"binary","value_off":false,"value_on":true},{"access":1,"category":"diagnostic","description":"Link quality (signal strength)","label":"Linkquality","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"CC2530.ROUTER","options":[],"supports_ota":false,"vendor":"Custom devices (DiY)"},"friendly_name":"0x00124b0026171a69","ieee_address":"0x00124b0026171a69","status":"successful","supported":true},"type":"device_interview"}'
info 2024-03-21 10:12:07MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_successful","meta":{"description":"CC2530 router","friendly_name":"0x00124b0026171a69","model":"CC2530.ROUTER","supported":true,"vendor":"Custom devices (DiY)"},"type":"pairing"}'
info 2024-03-21 10:12:07MQTT publish: topic 'homeassistant/binary_sensor/0x00124b0026171a69/led/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00124b0026171a69"],"manufacturer":"Custom devices (DiY)","model":"CC2530 router (CC2530.ROUTER)","name":"0x00124b0026171a69","sw_version":"2021-07-05","via_device":"zigbee2mqtt_bridge_0x00212effff09a813"},"json_attributes_topic":"zigbee2mqtt/0x00124b0026171a69","name":"Led","object_id":"0x00124b0026171a69_led","origin":{"name":"Zigbee2MQTT","sw":"1.36.0","url":"https://www.zigbee2mqtt.io"},"payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/0x00124b0026171a69","unique_id":"0x00124b0026171a69_led_zigbee2mqtt","value_template":"{{ value_json.led }}"}'
info 2024-03-21 10:12:07MQTT publish: topic 'homeassistant/sensor/0x00124b0026171a69/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"device":{"identifiers":["zigbee2mqtt_0x00124b0026171a69"],"manufacturer":"Custom devices (DiY)","model":"CC2530 router (CC2530.ROUTER)","name":"0x00124b0026171a69","sw_version":"2021-07-05","via_device":"zigbee2mqtt_bridge_0x00212effff09a813"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/0x00124b0026171a69","name":"Linkquality","object_id":"0x00124b0026171a69_linkquality","origin":{"name":"Zigbee2MQTT","sw":"1.36.0","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0x00124b0026171a69","unique_id":"0x00124b0026171a69_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'

and this the config hex from pvto:

Board type: CC2530
Device type: End device without routing
Model ID: ptvo.switch1
Status LED: P10 (Inversed), Periodic (every 5 seconds)
Set default reporting interval (s): 20

Output pins:
P03: Output 1, DS18B20, Pull-up (Sensor ID (optional, hex): )
P03: Output 2, DS18B20, External pull-up (Sensor ID (optional, hex): )
P02: Output 3, DS18B20, Pull-up (Sensor ID (optional, hex): )
P03: Output 4, DS18B20, Pull-up (Sensor ID (optional, hex): )
P22: Output 5, DS18B20, Pull-up (Sensor ID (optional, hex): )
P21: Output 8, DS18B20, Pull-up (Sensor ID (optional, hex): )

@derSchreifritz
Copy link
Author

reposted this issue at ptvoinfo/zigbee-configurable-firmware#268
maybe that's the proper place for it.

@derSchreifritz
Copy link
Author

restart de add-on before pairing the reflashed device helped!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant