we are looking for a solution for the button that, when you press the button, it will be turn to 1, and when you release the button, it will switch to 0. could you please suggest how could we achieve that?
also, is there a way that we can press one button to achieve toggle a channel and also set another channel (like I describe above)
The existing button component has no state. To achieve this, a new component should be developed. This is not common behavior for controls on web pages, because tap is usually used for displaying a popup menu.
I am wondering how long would take this to develop? on the other hand, is there any formula, or leeway we can sort of achieving this? because this is very critical for us.
Using the formula you can send different commands with a button, but it will require 2 clicks. As I understand you correctly, you need to send the 1st command on button down and send the 2nd command on button up. If so, it requires development of a new component. We can do that by a contract. For more details, please email us.