DAMDA Docs
  • DAMDA Overview
  • Quick Start
    • 개발환경 구성하기
    • Hello DAMDA 따라하기
    • ThinQ 연결하기
    • 내 컴포넌트 로그 확인하기
    • 내 컴포넌트 원격 제어하기
  • FUNDAMENTALS
    • DAMDA 기기
      • DAMDA Installer
        • DAMDA Installer 설치하기
        • DAMDA 설치하기
        • DAMDA 삭제하기
        • DAMDA Installer 삭제하기
      • DAMDA Debugging Console
      • DAMDA Home
        • 기기 등록 하기
        • 기기 등록 해제하기
      • Custom Sub Device
        • Capability
        • Profile
        • Functions
    • DAMDA Cloud
      • 계정 관리
        • 계정 생성하기
        • 기타
      • 컴포넌트 관리
        • DAMDA Components
        • 컴포넌트 초기화하기
        • 컴포넌트 개발하기
        • 컴포넌트 생성하기
        • 컴포넌트 배포하기
    • DAMDA Tools
      • DAMDA CLI
        • Configuration
        • Component
        • Device
        • Deployment
      • DAMDA Simulator
  • REFERENCE
    • API Reference
      • ThinQ API
        • APIs
          • ThinQ 계정 등록
          • 사용자 홈 목록 가져오기
          • 사용자 기기 목록 가져오기
          • 기기 등록하기
          • 기기 정보 가져오기
          • 기기 제어하기
          • 기기 삭제하기
          • 기기 정보 전달하기
        • Error / Exceptions
      • Hub API
        • APIs
          • 지원 기기타입 가져오기
          • 기기 profile 가져오기
          • Capability 가져오기
          • 서브 디바이스 등록하기
          • 서브 디바이스 삭제하기
          • 등록 / 삭제 결과 확인하기
          • 서브 디바이스 리스트 조회
          • 서브 디바이스 정보 조회
          • 서브 디바이스 상태 조회
          • 서브 디바이스 제어
          • 제어 결과 확인
          • 서브 디바이스 상태 모니터링
          • 전체 서브 디바이스 상태 모니터링
        • Types
          • Device
          • DeviceState
      • 가전 API
        • 가전 상태 조회
        • 가전 제어
        • APIs
          • 공통 | Headers
          • 공통 | Response
          • 공통 | Error
          • 가전 목록 조회
          • 가전 상태 조회
          • 가전 Profile 조회
          • 가전 제어
          • EMP Access Token 발급
          • Event/Push Callback (Websocket)
        • Types
          • Device Type
          • Device Profile
      • webOS TV API
        • TV 리스트 조회
        • TV 등록
        • Custom SSAP Command
        • Control
          • ON/OFF
          • Channel
          • Audio
          • App
          • UI 및 기타
        • Remote
        • Subscribe
    • Samples
      • Hello DAMDA
      • ThinQ 연결하기
      • Debugging App
      • 가전 App
      • Proto Sub Device
      • TV화면 캡쳐 + AWS Rekognition
      • DAMDA Hub
Powered by GitBook
On this page
  • get-device
  • command
  • Usage
  • list-devices
  • Command
  • Usage
  • list-installed-components
  • Command
  • Usage
  1. FUNDAMENTALS
  2. DAMDA Tools
  3. DAMDA CLI

Device

Commands to retrieve device information and a list of components installed in the device

get-device

  • Retrieves information of a specific device.

  • Either --device-id or --device-alias is required

    • However --device-alias is not yet supported.

command

$ damda get-device [OPTIONS]
# Options: 
#  --device-id TEXT
#  --device-alias TEXT [Not supported Yet}
#  --profile TEXT: [default: default]

Usage

$ damda get-device --device-id  Damda-V2-J328hJTXRZK2H72dLdjE7A
{'coreDeviceThingName': 'Damda-V2-J328hJTXRZK2H72dLdjE7A', 'coreVersion': '2.5.3', 'platform': 'linux', 'architectu
re': 'arm', 'status': 'HEALTHY', 'lastStatusUpdateTimestamp': '2022-02-25 00:57:18.001000+00:00', 'tags': {}}

list-devices

Retrieves the damda device list.

Command

$ damda list-devices [OPTIONS]
# Options:
#  --profile TEXT: [default: default]

Usage

$ damda list-devices
['DAMDA-xdX0xL86QEmhzEQZNJ4Qxg', 'Damda-V2-J328hJTXRZK2H72dLdjE7A']

list-installed-components

  • Retrieves the list of components installed in the device.

  • Either --device-id or --device-alias is required.

    • However, --device-alias is not yet supported.

Command

$ damda list-installed-components [OPTIONS]
# Options: 
#  --device-id TEXT
#  --device-alias TEXT
#  --profile TEXT: [default: default]

Usage

$ damda list-installed-components --device-id  Damda-V2-J328hJTXRZK2H72dLdjE7A
[{"component_id":"aws.greengrass.Nucleus","version":"2.4.0","state":"FINISHED"},
{"component_id":"aws.greengrass.clientdevices.IPDetector","version":"2.0.2","state":"RUNNING"},
{"component_id":"com.example.first","version":"1.0.3","state":"FINISHED"},
{"component_id":"aws.greengrass.Cli","version":"2.4.0","state":"RUNNING"}]
PreviousComponentNextDeployment

Last updated 2 years ago