Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • thoscy thoscy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
    • Locked files
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Hertz-LabHertz-Lab
  • ResearchResearch
  • Intelligent MuseumIntelligent Museum
  • thoscythoscy
  • Merge requests
  • !1

multi-device support

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Dan Wilcox requested to merge feature/multi-device into main Jun 23, 2022
  • Overview 2
  • Commits 11
  • Changes 16

This PR adds support for sending to and receiving from multiple ThingsBoard devices (issue #2) as well as general code refactoring and a few additional features:

  • refactored into thoscy modules: TBSender, TBReceiver, oscparser, jsonparser
  • added support for multiple devices (receiver currently has bug)
  • added support for json config file
  • added support for receiver login credentials via env variables: THOSCY_USER and THOSCY_PASS
  • fixed string parsing in wrapper scripts
  • removed unused python lib requirements
  • some README updates (though not finished)

When finished, this work will likely become Thoscy version 1.0.0.

TODO

  • fix receiving bug where it's not currently possible to tell which device is sending a telemetry update (see companion issue opened on the ThingsBoard Github repo)
  • update README with new features
  • add multi send and receive examples as well as sample config.json file
  • additional testing
Edited Jul 28, 2022 by Dan Wilcox
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/multi-device