Ankündigung

Einklappen
Keine Ankündigung bisher.

bobaos - js library for Weinzierl BAOS 838 kBerry

Einklappen
X
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    [KNX/EIB] bobaos - js library for Weinzierl BAOS 838 kBerry

    Hello.

    Have made JavaScript library for Weinzierl BAOS Module 838 kBerry that allows to use features of ObjectServer protocol (https://www.weinzierl.de/images/down...rotocol_v2.pdf)

    It is written in pure js an uses "serialport" npm package to communicate with UART.

    Usage is simple and documentation could be found at my repo:
    https://github.com/shabunin/bobaos

    Also, you can take a loot at command-line interface
    https://github.com/shabunin/bobaos-cli

    Thank
    bobaos - JavaScript implementation of KNX ObjectServer Protocol for KNX BAOS Module 838 kBerry.

    #2
    Added new npm package bobaos-datapoint-sdk. The main advantage is that you can operate with datapoint values without manual conversion between JS and KNX datapoint types. So, the idea is that you configure 838 module from ETS, download application and it stores all datapoints information including length, type, config flags. After connecting from JS app it gets information, creates datapoint objects and you are able to operate with from js from this moment.

    You can check it out on github as well
    bobaos-datapoint-sdk - JS Datapoint sdk for Weinzierl BAOS 838 module kBerry

    Kommentar


      #3
      There was a big update that I was promoting on L+B in Frankfurt.

      bobaos project still in active developement and there was major changes since my last post.

      First of all, it's github page now https://github.com/bobaos.

      Second, now there is small page with instructions how to download image for Raspberry Pi, write it to micro SD card, run bobaos.
      You can find it by following link: https://bobaos.github.io

      Also, bobaos-cli, bobaos-datapoint-sdk is deprecated since bdsd.sock appears. Instead, you use bdsd.sock as a core service, bdsd-cli for terminal access, bdsd.client to access from your own scripts.

      Good luck!

      Kommentar


        #4
        Now, I'm launching homebridge-bobaos plugin for HomeKit support. This module is in the beginning of it's path, so supported services at this moment are Lightbulb(On/Brightness), Switch(On), Fan(On).

        All instructions can be found at https://github.com/bobaos/homebridge-bobaos

        Kommentar


          #5
          Updating this thread.

          recent changes:

          1. bdsd-cli now can highlight selected datapoints. So, if you are debugging your app and there is a bunch of bus events output in terminal, you can use "watch" command to highlight only datapoints you needed.

          Code:
          bobaos> watch -s 100 -c green
          bobaos> watch -s 101 -c underline
          2. DBAD license. http://dbad-license.org/
          3. PayPal button in github repos to support me in developing project.

          Kommentar


            #6
            Hi vladimir,
            so cool, that somebody has developed this. I wouldn't have been able to do this myself, but now I have the chance to use it :-)

            By the way, how do you track changes to the datapoints from the bus-side? Do you have to poll the datapoints regularly or is the a "subscribe" function?

            Guess I'll have to play around with it a little, to understand better.

            Regards, Rolf

            Kommentar


              #7
              Hi, Rolf

              I have developed this module after years of working with other TP/UART solutions. Some was so expensive, some has lack of features.

              There is official baos sdk written in C++ and also available in open source. Take look at this too. https://github.com/weinzierl-engineering/baos

              To your question. There is DatapointValue.Ind service implemented in BAOS Binary protocol. So, everytime datapoint value changes no bus(e.g. you push button), BAOS module sends data via UART, bobaos module parses incoming binary data and in the end, EventEmitter does the rest. Also it is possible to send read requests but datapoints should have checked "Update" flag in BAOS module parameters.

              You may checkout latest version of bobaos module. More info and quick start guide can be found at https://bobaoskit.github.io/quickstart.html

              Kommentar


                #8
                Hi Vladimir,
                in the past, I've only worked with the Weinzierl interfaces as knx-tunnel/router. So things where "easy", but if you want to build real interaction with the tp-bus, building your own knx-device, then this is definitly a good way. I know the official sdk, but the effort of building a c++ application was to much to me :-)

                I've installed bobaos using "npm install --save bobaos" and was wondering, that there where 200 modules installed. Found the package-lock.json file and there are all these packages referenced. Could it be, that there are to many dependencies?
                I'll try to write my first node using your one today :-)

                Regards, Rolf

                Kommentar

                Lädt...
                X