Skip to main content

No project description provided

Project description

WDNAS-Client

About

This module allows users to connect to their local WD NAS and view system info (Storage capacity, Disk temp, volumes etc..) Its heavily a WIP and is my first public python module

My end goal with this is to link into Home Assistant so I can monitor my WD NAS

Code

First create the client with the username, password and the host (Be that hostname or IP address)

Admin account is requred!

Now call the functions to obtain wanted data - Thats it!

from wdnas_client import client

username = input("Username: ")
password = input("Password: ")

wdNAS = client(username, password, 'wdmycloudmirror.local')

print(wdNAS.system_info())

print(wdNAS.share_names())

print(wdNAS.system_status())

print(wdNAS.network_info())

print(wdNAS.device_info())

print(wdNAS.system_version())

print(wdNAS.latest_version())

print(wdNAS.accounts())

print(wdNAS.alerts())

Important Info

I have only tested this on my WD NAS which is a wdmycloud mirror running version 2.13.108

Its an old one and so I cannot say if this system works for any newer WD NAS drives

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

wdnas_client-0.7.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wdnas_client-0.7.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file wdnas_client-0.7.0.tar.gz.

File metadata

  • Download URL: wdnas_client-0.7.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for wdnas_client-0.7.0.tar.gz
Algorithm Hash digest
SHA256 52e4589e495a0013027c72e67563de3069e15c2a1e862a8f80b1c8d477088aa6
MD5 b5cd9855578bd3e3dc3461c972df6466
BLAKE2b-256 cea5befedf29dd3654221dad19f50e9430b655c489caedd3ce8ff3e881102a70

See more details on using hashes here.

File details

Details for the file wdnas_client-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: wdnas_client-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for wdnas_client-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1e77785bab1f3b7589e2633922e288ac84bed597acf53afc3e7e04eed5f1fe4b
MD5 e07974e94f2f488444ff71f6f3f7775b
BLAKE2b-256 fe4687a5744177f8de7aad81629f284b8953e4b40dae7991a008dcfdbc160bf6

See more details on using hashes here.

Supported by

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