Skip to main content

Homeconnect WebThing adapter

Project description

homeconnect_webthing

A webthing adapter of HomeConnect smart home appliances.

This project provides a webthing API to access HomeConnect devices. Currently, the device types Dishwasher, Washer and Dryer are supported only

The homeconnect_webthing package exposes a http webthing endpoint for each detected and supported smart home appliances. E.g.

# webthing has been started on host 192.168.0.23
curl http://192.168.0.23:8744/0/properties 

{
   "device_name":"Geschirrspüler",
   "device_type":"Dishwasher",
   "device_haid":"BOSCH-SMV68TX06E-70C62F17C8E4",
   "device_brand":"Bosch",
   "device_vib":"SMV68TX06E",
   "device_enumber":"SMV68TX06E/74",
   "power":"Off",
   "door":"Open",
   "operation":"Inactive",
   "remote_start_allowed":false,
   "program_selected":"Eco50",
   "program_vario_speed_plus":false,
   "program_hygiene_plus":false,
   "program_extra_try":false,
   "program_start_date":"",
   "program_progress":0
}

To install this software you may use PIP package manager such as shown below

PIP approach

sudo pip3 install homeconnect_webthing

After this installation you may start the webthing http endpoint inside your python code or via command line using

sudo homeconnect --command listen --port 8744 --refresh_token 9yJ4LXJlZyI6IfVVIiwi...2YXRlIn0= --client_secret FEAE...522BD0 

Here, the webthing API will be bound to the local port 8744. Furthermore, the refresh_token and client_secret have to be set. Please refer HomeConnect Authorization to get your refresh_token and client_secret

Alternatively to the listen command, you can use the register command to register and start the webthing service as systemd unit. By doing this the webthing service will be started automatically on boot. Starting the server manually using the listen command is no longer necessary.

sudo homeconnect --command register --port 8744 --refresh_token 9yJ4LXJlZyI6IfVVIiwi...2YXRlIn0= --client_secret FEAE...522BD0

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

homeconnect_webthing-0.3.4.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

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

homeconnect_webthing-0.3.4-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

Details for the file homeconnect_webthing-0.3.4.tar.gz.

File metadata

  • Download URL: homeconnect_webthing-0.3.4.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for homeconnect_webthing-0.3.4.tar.gz
Algorithm Hash digest
SHA256 152991454a27e6dc69ee34cff8d3d7f9211bed22e075ae27d6193ae9422d1315
MD5 a353d9d1f9d28d75f0061b79486b2a83
BLAKE2b-256 9f79836eae962c704f5b6e482397830cc741e5c15656e53af65a20bed858d728

See more details on using hashes here.

File details

Details for the file homeconnect_webthing-0.3.4-py3-none-any.whl.

File metadata

File hashes

Hashes for homeconnect_webthing-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a284c6f18179532c175afd847967120781455fb8a7327fd1a86a2262e35dfc7a
MD5 439608e05d88723e31bfa404c98ace17
BLAKE2b-256 3d1c0264ccc1c26b42483045af094428391b806b118b5bf0f0591bab25e50a83

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