Skip to main content

KDOne Navien Home Network API Wrapper

Project description

KDOne Navien Home Network API Wrapper

경동원 나비엔 홈네트워크 API Wrapper

예제

pip install KDOne
from KDOne.api import KDOneAPI

kd_one = KDOneAPI(username='username', password='password')

# 단지 정보를 불러온다
kd_one.get_complexes()

kd_one.login(complex_id='12341234')
# 로그인과 함께 월패드에 인증 코드가 전송된다

certify_number = input('인증번호를 입력하세요: ')
kd_one.certify(certify_number=certify_number)
kd_one.get_token()

# 로그인 후에는 아래와 같이 사용할 수 있다
from KDOne.models.device import DeviceType

devices = kd_one.get_devices(DeviceType.LIGHT)
kd_one.control_device(devices[0], status="On")
kd_one.control_device(devices[0], status="On")

# 엘리베이터 호출
kd_one.call_elevator()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kdone-1.1.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

KDOne-1.1.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file kdone-1.1.0.tar.gz.

File metadata

  • Download URL: kdone-1.1.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for kdone-1.1.0.tar.gz
Algorithm Hash digest
SHA256 8ec468fe437ea2dbf0b0c4cd24f7dcf54286e20a4d786516a3d8ba02f7df6947
MD5 d5263135133f5b1e929b2fdbd685debc
BLAKE2b-256 7f8507ae9ed6d5e818508e109814e2d612674654fbb2f7c06617978b28045629

See more details on using hashes here.

File details

Details for the file KDOne-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: KDOne-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for KDOne-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 537eac7e95aa91aca5caceef9179c2aa202c54b0a8c71adbe1dcd41e59e1dde6
MD5 4e0a83f84e5f9de621512f81cf40044a
BLAKE2b-256 50bffeb1f395c5620638c19104c990883b3de303a7b8860cf337a1d2b4d2b9bf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page