Skip to main content

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()

Metadata

Release files for KDOne 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for KDOne 1.1.0
File Size Uploaded
kdone-1.1.0.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for KDOne 1.1.0
File Interpreter ABI Platform
KDOne-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.0 kB

Release files / kdone-1.1.0.tar.gz

Download URL kdone-1.1.0.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8ec468fe437ea2dbf0b0c4cd24f7dcf54286e20a4d786516a3d8ba02f7df6947
BLAKE2b-256 checksum
How to use checksums
7f8507ae9ed6d5e818508e109814e2d612674654fbb2f7c06617978b28045629
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / KDOne-1.1.0-py3-none-any.whl

Download URL KDOne-1.1.0-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
537eac7e95aa91aca5caceef9179c2aa202c54b0a8c71adbe1dcd41e59e1dde6
BLAKE2b-256 checksum
How to use checksums
50bffeb1f395c5620638c19104c990883b3de303a7b8860cf337a1d2b4d2b9bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page