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

[Device problem]: CC2530 with https://github.com/ptvoinfo/zigbee-configurable-firmware #84

Closed
copystring opened this issue Dec 12, 2022 · 4 comments · Fixed by #86
Labels
device problem Data points or functionalities are missing

Comments

@copystring
Copy link

Link

https://www.zigbee2mqtt.io/devices/ptvo.switch.html#custom%2520devices%2520(diy)-ptvo.switch

Adapter version

2.4.4

What is missing or not working

Configure the ptvo firmware so it can have an action.
Sadly action is always null.
image

Device exposes

--->>> fromZ2M -> 0x00124b001bdc456c exposes: {"date_code":"2022-12-11","definition":{"description":"[Multi-channel relay switch](https://ptvo.info/zigbee-switch-configurable-firmware-router-199/)","exposes":[{"access":3,"name":"action","property":"action","type":"text"},{"endpoint":"l1","features":[{"access":7,"description":"On/off state of the switch","endpoint":"l1","name":"state","property":"state_l1","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":7,"description":"State or sensor value","endpoint":"l1","name":"l1","property":"l1","type":"text"},{"endpoint":"l2","features":[{"access":7,"description":"On/off state of the switch","endpoint":"l2","name":"state","property":"state_l2","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":7,"description":"State or sensor value","endpoint":"l2","name":"l2","property":"l2","type":"text"},{"endpoint":"l3","features":[{"access":7,"description":"On/off state of the switch","endpoint":"l3","name":"state","property":"state_l3","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":7,"description":"State or sensor value","endpoint":"l3","name":"l3","property":"l3","type":"text"},{"endpoint":"l4","features":[{"access":7,"description":"On/off state of the switch","endpoint":"l4","name":"state","property":"state_l4","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":7,"description":"State or sensor value","endpoint":"l4","name":"l4","property":"l4","type":"text"},{"endpoint":"l5","features":[{"access":7,"description":"On/off state of the switch","endpoint":"l5","name":"state","property":"state_l5","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":7,"description":"State or sensor value","endpoint":"l5","name":"l5","property":"l5","type":"text"},{"endpoint":"l6","features":[{"access":7,"description":"On/off state of the switch","endpoint":"l6","name":"state","property":"state_l6","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":7,"description":"State or sensor value","endpoint":"l6","name":"l6","property":"l6","type":"text"},{"endpoint":"l7","features":[{"access":7,"description":"On/off state of the switch","endpoint":"l7","name":"state","property":"state_l7","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":7,"description":"State or sensor value","endpoint":"l7","name":"l7","property":"l7","type":"text"},{"endpoint":"l8","features":[{"access":7,"description":"On/off state of the switch","endpoint":"l8","name":"state","property":"state_l8","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":7,"description":"State or sensor value","endpoint":"l8","name":"l8","property":"l8","type":"text"},{"endpoint":"l9","features":[{"access":7,"description":"On/off state of the switch","endpoint":"l9","name":"state","property":"state_l9","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":7,"description":"State or sensor value","endpoint":"l9","name":"l9","property":"l9","type":"text"},{"endpoint":"l10","features":[{"access":7,"description":"On/off state of the switch","endpoint":"l10","name":"state","property":"state_l10","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":7,"description":"State or sensor value","endpoint":"l10","name":"l10","property":"l10","type":"text"},{"endpoint":"l11","features":[{"access":7,"description":"On/off state of the switch","endpoint":"l11","name":"state","property":"state_l11","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":7,"description":"State or sensor value","endpoint":"l11","name":"l11","property":"l11","type":"text"},{"endpoint":"l12","features":[{"access":7,"description":"On/off state of the switch","endpoint":"l12","name":"state","property":"state_l12","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":7,"description":"State or sensor value","endpoint":"l12","name":"l12","property":"l12","type":"text"},{"endpoint":"l13","features":[{"access":7,"description":"On/off state of the switch","endpoint":"l13","name":"state","property":"state_l13","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":7,"description":"State or sensor value","endpoint":"l13","name":"l13","property":"l13","type":"text"},{"endpoint":"l14","features":[{"access":7,"description":"On/off state of the switch","endpoint":"l14","name":"state","property":"state_l14","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":7,"description":"State or sensor value","endpoint":"l14","name":"l14","property":"l14","type":"text"},{"endpoint":"l15","features":[{"access":7,"description":"On/off state of the switch","endpoint":"l15","name":"state","property":"state_l15","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":7,"description":"State or sensor value","endpoint":"l15","name":"l15","property":"l15","type":"text"},{"endpoint":"l16","features":[{"access":7,"description":"On/off state of the switch","endpoint":"l16","name":"state","property":"state_l16","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":7,"description":"State or sensor value","endpoint":"l16","name":"l16","property":"l16","type":"text"},{"access":1,"description":"Link quality (signal strength)","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"ptvo.switch","options":[{"access":2,"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).","name":"transition","property":"transition","type":"numeric","value_min":0},{"access":2,"description":"Set to false to disable the legacy integration (highly recommended), will change structure of the published payload (default true).","name":"legacy","property":"legacy","type":"binary","value_off":false,"value_on":true}],"supports_ota":false,"vendor":"Custom devices (DiY)"},"endpoints":{"1":{"bindings":[{"cluster":"genBasic","target":{"endpoint":1,"ieee_address":"0x00124b0022ab7808","type":"endpoint"}}],"clusters":{"input":["genBasic","genOnOffSwitchCfg"],"output":["genBasic","genMultistateInput"]},"configured_reportings":[{"attribute":"zclVersion","cluster":"genBasic","maximum_report_interval":"60","minimum_report_interval":60,"reportable_change":0}],"scenes":[]}},"friendly_name":"LichtschalterKüche","ieee_address":"0x00124b001bdc456c","interview_completed":true,"interviewing":false,"manufacturer":"diy","model_id":"ptvo.switch","network_address":11122,"power_source":"Mains (single phase)","software_build_id":"2022-12-11","supported":true,"type":"Router"}
@copystring copystring added the device problem Data points or functionalities are missing label Dec 12, 2022
@o0shojo0o
Copy link
Contributor

Can you please show me all states as screenshot

@o0shojo0o
Copy link
Contributor

@copystring
Copy link
Author

Try the dev branch https://github.com/o0shojo0o/ioBroker.zigbee2mqtt/tree/dev_%2384

This works. Do you still need the screenshot?

@o0shojo0o
Copy link
Contributor

This works. Do you still need the screenshot?

No ;)

o0shojo0o added a commit that referenced this issue Dec 20, 2022
-   (o0shojo0o) extend 'text' for 'action' ([#84](#84))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
device problem Data points or functionalities are missing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants