Closed nix1986 closed 4 years ago
issues must be formulated in English.
For the PUL function: can you explain better - with examples of OpenWebNet messages - which kind of messages you would like to be supported?
Support for generic messages like *6 *10 *4000##
is already described in #52
Sorry for Italian my English is not very good :)
PUL mode (contact is set to normal open)
The openwebnet message sent is:
pressed = ON
*1*1000#1*1003##
*1*1*1003##
relased = OFF
*1*1000#0*1003##
*1*0*1003##
The difference between switch mode and pul mode is an another message sent before the standard on/off message which recall the "where 1003" in my case.
ok, I will check what the binding does if receives these messages. change title and description. google translate works well.......
i do not understand the requirement.
the binding already handles correctly messages like *1*1000#1*1003##
by swithcing the light thing/item ON (or OFF in the case of WHAT=1000#0).
Can you explain what you want to achieve, the expected behaviour and what is not working in your case?
I have these version of binding, i think is the last relased bindings
I have some dimming ballast which work in push button mode (not a dali dimmer) push button mode function is resumed in: pressed one time = light ON ; button long pressed = dimming function ; pressed one more time = OFF the push button work: pressed= contact close ; relased= contact open your switch work: pressed= contact close, pressed one more time= contact open The contact in the actuator reproduced the pressed and relased push button When i relased the push button the contact in the actuator is open (OFF) The contact in the actuator is closed only if the push button is pressed but when relased the contact is open.
push button or PUL function is not same a switch function.
adding push button function in "Type" is a good things, maybe the function is possible to setting in this command:
pressed send a on command,relased send a off command to the actuator
If I control this light with your switch function, I have to press the button two times each time (since the contact of the actuator must always be open and must only close when it receives the commands) and this only to switch it on and off; with the dimmer function I have to press once and pay attention to the desired brightness and press the button again to stop the dimmer function
adding push button function in "Type" is a good things
a Push button Type does not exists in openHAB, therefore you have to use other methods to achieve your goals.
For example see here: https://community.openhab.org/t/bticino-openwebnet-new-openhab2-binding-ready-for-testing/43377/862 You need to install the Expire binding and configure your switch item like in the example, this way you can simulate : pressed = contact closed (ON), released = contact open (send OFF)
For dimming I cannot see an easy way to use dimming connected to your PUL button. Maybe with the help of a Dimmer item (that has value 0%-100%) and then a rule that takes the % value form the dimmer item when it changes, sends a ON (pressed) commands to the switch and after time to be proportional to the item %, send a OFF (released) command. It's just a suggestion to try and test, not sure it will work well.
Since the push button function is not related to the binding but needs to be simulated in OH using Expire binding and rules, and since support for generic messages is already described in #52, I will close this issue as duplicate and invalid.
Salve, attualmente sul mio impianto ho diversi tasti che usano la funzione PUL per gestire il carico connesso sull'attuatore e quindi molte funzioni non possono essere portate su openhab.
Volevo chiederti se è possibile aggiungere la funzione pulsante in una delle prossime relase e avere la possibilità di inserire una stringa openwebnet personalizzata es. elettroserratura 6 10 *4000##
Grazie Max