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.39.tar.gz (22.2 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.39-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: homeconnect_webthing-0.3.39.tar.gz
  • Upload date:
  • Size: 22.2 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.39.tar.gz
Algorithm Hash digest
SHA256 71b60f5705cfbf2ac9ca27263cb36635fd37ec86ec2eac0d98d0888d6f35ff6d
MD5 8dbcb78dc16a1c90169ffb1d3e36466e
BLAKE2b-256 7b2e011958af7a9a96bf49927df63b76a8923cf62a467a12cbe1ecc6d45142b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for homeconnect_webthing-0.3.39-py3-none-any.whl
Algorithm Hash digest
SHA256 ca6e2a2af865f923b33e275f0806b8bdfac66c16d4f739fc1c2c5ed2ac4a5363
MD5 b4220fe4c4a4813af52bf337039122b9
BLAKE2b-256 5392982485df4a7e0da0a52759a74be3edd5c33f91e8182ab5e6615fbe92c9c2

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