title: Use Button to send value "false" to KNX group address via LogicMachine
body: <p>I need some help with setting up a <code>Button</code> to control my lighting in one room.
  I have implemented WebSocket client in Android Studio. I have a <code>Button</code> that I want to send/write the value <code>false</code> for this KNX group address &quot;1/0/4&quot;. Is there anyway to do this?</p>
  <p>I use a LogicMachine <a href="https://forum.logicmachine.net/index.php?" rel="nofollow noreferrer">LogicMachine</a> as a webserver with built in Websockets libraries in <code>LUA.</code></p>
  <pre><code>public class MainActivity extends AppCompatActivity {
  
  Button btn;
  
  private WebSocketClient webSocketClient;
  
  
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  
      btn = (Button)findViewById(R.id.BT);
  
  
      connectWS();
  
  }
  
  
  private void connectWS() {
  
      URI uri;
      try {
          uri = new URI(&quot;wss://admin:admin@192.168.10.11/apps/localbus.lp&quot;);
  
      } catch (URISyntaxException e) {
          e.printStackTrace();
          return;
      }
  
      webSocketClient = new WebSocketClient(uri) {
  
  
          @Override
          public void onOpen(ServerHandshake handshakedata) {
              Log.i(&quot;Websocket&quot;, &quot;Opened&quot;);
              webSocketClient.send(&quot;Hello from &quot; + Build.MANUFACTURER + &quot; &quot; + Build.MODEL);
          }
  
          @Override
          public void onMessage(String s) {
              final String message = s;
              runOnUiThread(new Runnable() {
                  @Override
                  public void run() {
                      TextView textView = (TextView) findViewById(R.id.TW);
                      textView.setText(textView.getText() + &quot;\n&quot; + message);
                  }
              });
          }
  
  
          @Override
          public void onClose(int i, String s, boolean b) {
              Log.i(&quot;Websocket&quot;, &quot;Closed &quot; + s);
  
          }
  
          @Override
          public void onError(Exception e) {
              Log.i(&quot;Websocket&quot;, &quot;Error &quot; + e.getMessage());
          }
  
      };
  
      webSocketClient.connect();
  
  }
  
  public void sendMessage(View view) {
      EditText editText = (EditText) findViewById(R.id.ET);
      webSocketClient.send(editText.getText().toString());
      editText.setText(&quot;&quot;);
  
  
  }
  </code></pre>