Giter VIP home page Giter VIP logo

Comments (7)

mvalla avatar mvalla commented on September 18, 2024

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

from openhab-addons.

nix1986 avatar nix1986 commented on September 18, 2024

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.

PUL CODE

from openhab-addons.

mvalla avatar mvalla commented on September 18, 2024

ok, I will check what the binding does if receives these messages.
change title and description. google translate works well.......

from openhab-addons.

mvalla avatar mvalla commented on September 18, 2024

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?

from openhab-addons.

nix1986 avatar nix1986 commented on September 18, 2024

I have these version of binding, i think is the last relased bindings
binding version

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.

item configuration2
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

from openhab-addons.

mvalla avatar mvalla commented on September 18, 2024

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.

from openhab-addons.

mvalla avatar mvalla commented on September 18, 2024

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.

from openhab-addons.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.