This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

Problems with javascript write to bus
(04.05.2021, 06:22)admin Wrote: Example:
<!DOCTYPE html>
  <meta charset="UTF-8">
  <script src=""></script>
  <script src=""></script>
  <script src=""></script>

<button id="example">Click to write</button>

$(function() {
  // listen to all groupwrite telegrams
  localbus.listen('groupwrite', function(event) {

  localbus.init('', 'admin:admin');

  $('#example').click(function() {
    localbus.write('0/0/10', true);

Thank you, now I have something to work on Smile

Messages In This Thread
RE: Problems with javascript write to bus - by Alexander - 04.05.2021, 09:56

Forum Jump: