Skip to content

Releases: NubeIO/iot-engine

Release v0.3.2

08 Feb 12:11
7234405

Choose a tag to compare

Release version v0.3.2

Release v0.3.1

06 Feb 21:58

Choose a tag to compare

Bump v0.3.1

Release v0.3.0

06 Feb 13:31

Choose a tag to compare

Bump v0.3.0

Bump v0.2.1

20 Jan 09:50

Choose a tag to compare

To add correct library dependencies for able to write BACnet point

Bump v0.2.0

15 Jan 11:09

Choose a tag to compare

  • Support Marc issue(blocking request) when discover BACnet Object via NodeRed workflow
  • Try fallback to string if any exception during parsing BACnet object to json
  • Make BACnet Service can start as HTTP server
  • Get rid of Bios Installer or some stuffs

Instruction

  • Install java

    sudo apt update -y \
      && sudo apt install openjdk-8-jre -y \
      && sudo apt autoclean -y \
      && sudo apt autoremove -y
  • Download binary into /tmp

    sudo curl -L https://github.com/zero88/gh-release-downloader/releases/download/v1.1.1/ghrd -o /usr/local/bin/ghrd \
      && sudo chmod +x /usr/local/bin/ghrd \
      && sudo ln -s /usr/local/bin/ghrd /usr/bin/ghrd \
      && sudo apt install jq -y
     ghrd -a .*bacnet.* -x -t <token_if_repo_is_private> NubeIO/iot-engine -o /tmp
  • Register it as service by one liner:

    sudo mkdir -p /app/ \
      && u=$(whoami) \
      && sudo chown -R $u:$u /app \
      && unzip -d /app /tmp/nubeio-edge-connector-bacnet-0.2.0.zip \
      && mv /app/nubeio-edge-connector-bacnet-0.2.0 /app/bacnet \
      && sudo cp -rf /app/bacnet/conf/nubeio-bacnet.service /etc/systemd/system \
      && sudo systemctl daemon-reload \
      && sudo systemctl enable nubeio-bacnet.service \
      && sudo systemctl restart nubeio-bacnet.service
  • Application will start at port: 8888

  • Verify service: systemctl status nubeio-bacnet.service

  • Verify port: netstat -tupln | grep 8888

  • Verify service: curl -i localhost:8888/gw/index?_pretty=true

  • Any configuration can be modified at /app/conf/bacnet.json. Example config

  • Example API. Remember change it to localhost:8888

Tweak config

Assume you install jar file in /app/bacnet.

  • Logging: /app/bacnet/conf/logback.xml

    • Change log level to info => error:
      sed -i 's/info/error/g' /app/bacnet/conf/logback.xml
  • App config: /app/bacnet/conf/bacnet.json

    • Change log level to 8888 => 9999:
      sed -i 's/"port": 8888/"port": 9999/g' /app/bacnet/conf/bacnet.json
    • Fixed Bacnet Device Id to 81234 (normally it is random number from 80000 to 90000)
      jq --arg deviceId 81234 '.__app__.__bacnet__ += {deviceId: $deviceId}' < conf/bacnet.json > /tmp/bacnet.json && cp -rf /tmp/bacnet.json /app/bacnet/conf/bacnet.json
  • Service: /app/bacnet/conf/nubeio-bacnet.service

    • Change memory usage from 295M to 150Mb
      sed -i 's/-XX:MaxRAM=295m -XX:MinRAMPercentage=50.0/-XX:MaxRAM=150m -XX:MinRAMPercentage=25.0/g' /app/bacnet/conf/nubeio-bacnet.service

All changes then require restart service.

sudo systemctl restart nubeio-bacnet.service

In case of update memory usage in conf, need to re-update service by

sudo cp -rf /app/bacnet/conf/nubeio-bacnet.service /etc/systemd/system \
    && sudo systemctl daemon-reload \
    && sudo systemctl enable nubeio-bacnet.service \
    && sudo systemctl restart nubeio-bacnet.service

Removed out SQL conditional restriction

05 Aug 13:45

Choose a tag to compare

Pre-release

SQL conditional query is removed out and it will be controlled by the PostgreSQL itself.

Site Field Edition

05 Aug 13:43

Choose a tag to compare

Site Field Edition Pre-release
Pre-release

Boolean field icon_on_collapsed is added on site for UI support.

Password Issue Fix

18 Apr 02:42

Choose a tag to compare

Password Issue Fix Pre-release
Pre-release

Update password by parent descendants was not working.

Dynamic Layout Site

27 Feb 10:04
ea6221f

Choose a tag to compare

Dynamic Layout Site Pre-release
Pre-release
  • Image life-cycle
  • Adding fields on Site for dynamic layout support
  • Dockerized backend

Migration

18 Feb 02:34
aea1bab

Choose a tag to compare

Migration Pre-release
Pre-release

This project is migrated from pre-existing another project and did changes over here. And some of the deployments were done with that previous project, and this is the migrated version of that project.