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]: DIYRuZ_FreePad - DiY 8/12/20 button keypad #116

Closed
markus2701 opened this issue Jan 13, 2023 · 15 comments · Fixed by #120
Closed

[Device problem]: DIYRuZ_FreePad - DiY 8/12/20 button keypad #116

markus2701 opened this issue Jan 13, 2023 · 15 comments · Fixed by #120
Labels
device problem Data points or functionalities are missing

Comments

@markus2701
Copy link

Link

https://www.zigbee2mqtt.io/devices/DIYRuZ_FreePad.html

Adapter version

2.6.0

What is missing or not working

switch_actions_button_1 - 20 haben keine Funktion.

MQTT publish: topic 'zigbee2mqtt/Wandschalter Wohnzimmer Sofa', payload '{"action":"button_1_single","battery":13.5,"linkquality":138,"voltage":2700}'

lg, markus

Device exposes

--->>> fromZ2M -> 0x00124b0019a8e697 exposes: {"date_code":"27/05/2020 00:19","definition":{"description":"[DiY 8/12/20 button keypad](http://modkam.ru/?p=1114)","exposes":[{"access":1,"description":"Remaining battery in %","name":"battery","property":"battery","type":"numeric","unit":"%","value_max":100,"value_min":0},{"access":1,"description":"Triggered action (e.g. a button click)","name":"action","property":"action","type":"enum","values":["*_single","*_double","*_triple","*_quadruple","*_release"]},{"access":7,"endpoint":"button_1","name":"switch_type","property":"switch_type_button_1","type":"enum","values":["toggle","momentary","multifunction"]},{"access":7,"endpoint":"button_1","name":"switch_actions","property":"switch_actions_button_1","type":"enum","values":["on","off","toggle"]},{"access":7,"endpoint":"button_2","name":"switch_type","property":"switch_type_button_2","type":"enum","values":["toggle","momentary","multifunction"]},{"access":7,"endpoint":"button_2","name":"switch_actions","property":"switch_actions_button_2","type":"enum","values":["on","off","toggle"]},{"access":7,"endpoint":"button_3","name":"switch_type","property":"switch_type_button_3","type":"enum","values":["toggle","momentary","multifunction"]},{"access":7,"endpoint":"button_3","name":"switch_actions","property":"switch_actions_button_3","type":"enum","values":["on","off","toggle"]},{"access":7,"endpoint":"button_4","name":"switch_type","property":"switch_type_button_4","type":"enum","values":["toggle","momentary","multifunction"]},{"access":7,"endpoint":"button_4","name":"switch_actions","property":"switch_actions_button_4","type":"enum","values":["on","off","toggle"]},{"access":7,"endpoint":"button_5","name":"switch_type","property":"switch_type_button_5","type":"enum","values":["toggle","momentary","multifunction"]},{"access":7,"endpoint":"button_5","name":"switch_actions","property":"switch_actions_button_5","type":"enum","values":["on","off","toggle"]},{"access":7,"endpoint":"button_6","name":"switch_type","property":"switch_type_button_6","type":"enum","values":["toggle","momentary","multifunction"]},{"access":7,"endpoint":"button_6","name":"switch_actions","property":"switch_actions_button_6","type":"enum","values":["on","off","toggle"]},{"access":7,"endpoint":"button_7","name":"switch_type","property":"switch_type_button_7","type":"enum","values":["toggle","momentary","multifunction"]},{"access":7,"endpoint":"button_7","name":"switch_actions","property":"switch_actions_button_7","type":"enum","values":["on","off","toggle"]},{"access":7,"endpoint":"button_8","name":"switch_type","property":"switch_type_button_8","type":"enum","values":["toggle","momentary","multifunction"]},{"access":7,"endpoint":"button_8","name":"switch_actions","property":"switch_actions_button_8","type":"enum","values":["on","off","toggle"]},{"access":7,"endpoint":"button_9","name":"switch_type","property":"switch_type_button_9","type":"enum","values":["toggle","momentary","multifunction"]},{"access":7,"endpoint":"button_9","name":"switch_actions","property":"switch_actions_button_9","type":"enum","values":["on","off","toggle"]},{"access":7,"endpoint":"button_10","name":"switch_type","property":"switch_type_button_10","type":"enum","values":["toggle","momentary","multifunction"]},{"access":7,"endpoint":"button_10","name":"switch_actions","property":"switch_actions_button_10","type":"enum","values":["on","off","toggle"]},{"access":7,"endpoint":"button_11","name":"switch_type","property":"switch_type_button_11","type":"enum","values":["toggle","momentary","multifunction"]},{"access":7,"endpoint":"button_11","name":"switch_actions","property":"switch_actions_button_11","type":"enum","values":["on","off","toggle"]},{"access":7,"endpoint":"button_12","name":"switch_type","property":"switch_type_button_12","type":"enum","values":["toggle","momentary","multifunction"]},{"access":7,"endpoint":"button_12","name":"switch_actions","property":"switch_actions_button_12","type":"enum","values":["on","off","toggle"]},{"access":7,"endpoint":"button_13","name":"switch_type","property":"switch_type_button_13","type":"enum","values":["toggle","momentary","multifunction"]},{"access":7,"endpoint":"button_13","name":"switch_actions","property":"switch_actions_button_13","type":"enum","values":["on","off","toggle"]},{"access":7,"endpoint":"button_14","name":"switch_type","property":"switch_type_button_14","type":"enum","values":["toggle","momentary","multifunction"]},{"access":7,"endpoint":"button_14","name":"switch_actions","property":"switch_actions_button_14","type":"enum","values":["on","off","toggle"]},{"access":7,"endpoint":"button_15","name":"switch_type","property":"switch_type_button_15","type":"enum","values":["toggle","momentary","multifunction"]},{"access":7,"endpoint":"button_15","name":"switch_actions","property":"switch_actions_button_15","type":"enum","values":["on","off","toggle"]},{"access":7,"endpoint":"button_16","name":"switch_type","property":"switch_type_button_16","type":"enum","values":["toggle","momentary","multifunction"]},{"access":7,"endpoint":"button_16","name":"switch_actions","property":"switch_actions_button_16","type":"enum","values":["on","off","toggle"]},{"access":7,"endpoint":"button_17","name":"switch_type","property":"switch_type_button_17","type":"enum","values":["toggle","momentary","multifunction"]},{"access":7,"endpoint":"button_17","name":"switch_actions","property":"switch_actions_button_17","type":"enum","values":["on","off","toggle"]},{"access":7,"endpoint":"button_18","name":"switch_type","property":"switch_type_button_18","type":"enum","values":["toggle","momentary","multifunction"]},{"access":7,"endpoint":"button_18","name":"switch_actions","property":"switch_actions_button_18","type":"enum","values":["on","off","toggle"]},{"access":7,"endpoint":"button_19","name":"switch_type","property":"switch_type_button_19","type":"enum","values":["toggle","momentary","multifunction"]},{"access":7,"endpoint":"button_19","name":"switch_actions","property":"switch_actions_button_19","type":"enum","values":["on","off","toggle"]},{"access":7,"endpoint":"button_20","name":"switch_type","property":"switch_type_button_20","type":"enum","values":["toggle","momentary","multifunction"]},{"access":7,"endpoint":"button_20","name":"switch_actions","property":"switch_actions_button_20","type":"enum","values":["on","off","toggle"]},{"access":1,"description":"Link quality (signal strength)","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"DIYRuZ_FreePad","options":[],"supports_ota":false,"vendor":"DIYRuZ"},"disabled":false,"endpoints":{"1":{"bindings":[{"cluster":"genPowerCfg","target":{"endpoint":1,"ieee_address":"0x00124b0018e1cc67","type":"endpoint"}},{"cluster":"genMultistateInput","target":{"endpoint":1,"ieee_address":"0x00124b0018e1cc67","type":"endpoint"}},{"cluster":"genOnOff","target":{"endpoint":1,"ieee_address":"0x2c1165fffed5d85c","type":"endpoint"}}],"clusters":{"input":["genBasic"],"output":["genOnOff","genLevelCtrl","lightingColorCtrl","genMultistateInput"]},"configured_reportings":[{"attribute":"batteryPercentageRemaining","cluster":"genPowerCfg","maximum_report_interval":3600,"minimum_report_interval":0,"reportable_change":0},{"attribute":"batteryVoltage","cluster":"genPowerCfg","maximum_report_interval":3600,"minimum_report_interval":0,"reportable_change":0}],"scenes":[]},"2":{"bindings":[{"cluster":"genMultistateInput","target":{"endpoint":1,"ieee_address":"0x00124b0018e1cc67","type":"endpoint"}}],"clusters":{"input":[],"output":["genOnOff","genMultistateInput"]},"configured_reportings":[],"scenes":[]},"3":{"bindings":[{"cluster":"genMultistateInput","target":{"endpoint":1,"ieee_address":"0x00124b0018e1cc67","type":"endpoint"}}],"clusters":{"input":[],"output":["genOnOff","genMultistateInput"]},"configured_reportings":[],"scenes":[]},"4":{"bindings":[{"cluster":"genMultistateInput","target":{"endpoint":1,"ieee_address":"0x00124b0018e1cc67","type":"endpoint"}}],"clusters":{"input":[],"output":["genOnOff","genMultistateInput"]},"configured_reportings":[],"scenes":[]},"5":{"bindings":[],"clusters":{"input":["touchlink"],"output":["touchlink"]},"configured_reportings":[],"scenes":[]}},"friendly_name":"Wandschalter Wohnzimmer Sofa","ieee_address":"0x00124b0019a8e697","interview_completed":true,"interviewing":false,"manufacturer":"modkam.ru","model_id":"DIYRuZ_FreePad","network_address":12574,"power_source":"Battery","software_build_id":2,"supported":true,"type":"EndDevice"}
@markus2701 markus2701 added the device problem Data points or functionalities are missing label Jan 13, 2023
@markus2701
Copy link
Author

und ist es möglich in jedem Object ordner folgendes zuerstelle: RAW Data
{"action":"button_1_single","battery":12.5,"device":{"applicationVersion":2,"dateCode":"27/05/2020 00:19","friendlyName":"0x00124b0019a8e697","hardwareVersion":1,"ieeeAddr":"0x00124b0019a8e697","manufacturerID":0,"manufacturerName":"modkam.ru","model":"DIYRuZ_FreePad","networkAddress":12574,"powerSource":"Battery","softwareBuildID":2,"stackVersion":4,"type":"EndDevice","zclVersion":1},"linkquality":132,"voltage":2500}

@o0shojo0o
Copy link
Contributor

Hi Markus,

Kannst du mir einen Screenshot und auch einmal das Objekt von den switch_actions_button_1 zur Verfügung stellen?

und ist es möglich in jedem Object ordner folgendes zuerstelle: RAW Data ....

Nein, da die erzeugten Datenpunkt durch die Exposes generiert werden.

@markus2701
Copy link
Author

ich hoffe die email ist angekommen

@o0shojo0o
Copy link
Contributor

Nein, es ist nichts angekommen.
Warum lädst du das nicht hier hoch?

@markus2701
Copy link
Author

Hallo...

der "action" wird nicht dargestellt.

2023-01-16 09_50_52-zigbee2mqtt-0 - iob und 2 weitere Seiten - Persönlich – Microsoft​ Edge

2023-01-16 09_52_01-objects - iob und 2 weitere Seiten - Persönlich – Microsoft​ Edge

@o0shojo0o
Copy link
Contributor

Uiuiui, da muss ich noch grübeln wie ich das dynamisch umsetzten soll.

@asgothian
Copy link

kannst du so umsetzen wie ich auch, für die ganzen DiRuz Geräte. Das Problem hast du sicherlich auch mit den PVTO geräten..

Du fängst für diese Geräte Messages ab die bestimmte Bedingungen enthalten und legst dann dafür die switch actions an.

Dann muss nach Einbinden des Gerätes jeder button einmal gedrückt werden damit du die States bekommst.

A.

@o0shojo0o
Copy link
Contributor

@markus2701 die States für switch_type werden aber auch angelegt?

@markus2701
Copy link
Author

ja für "switch_type" werden die States angelegt.

@o0shojo0o
Copy link
Contributor

@markus2701
Copy link
Author

Hallo.
Hab den Adapter gelöscht und von der neuen URL installiert.
Hat sich nichts geändert.

@o0shojo0o
Copy link
Contributor

Hi, bist du auch im Discord vertreten?

@markus2701
Copy link
Author

ja bin ich. ljmarkus

@o0shojo0o
Copy link
Contributor

Ahhhhhhhhh 😄

@o0shojo0o
Copy link
Contributor

o0shojo0o added a commit that referenced this issue Jan 18, 2023
-   (o0shojo0o) added support for  wildcard actions (eg. *_single) ([#116](#116))
-   (o0shojo0o) added error handling optimizations ([more](ioBroker/ioBroker.repositories#1976 (comment)))
-   (o0shojo0o) added option `auth_token` for websocket connection ([#112](#112))
-   (o0shojo0o) websocket timeout increased
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.

3 participants