Skip to main content

Homie 4 for iCloud Devices

Project description

iCloud-Homie

iCloud to Homie MQTT Bridge

Connects iCloud Accounts/Devices to Homie 4 MQTT convention.

To start as a service on raspbian

Create icloud_homie.yml in /etc using the following settings:

mqtt:
  MQTT_BROKER: 
  MQTT_PORT: 1883

icloud:
  account_name: 
    username: 
    password: 
  account_name:
    username:
    password:

update_interval:

Create icloud-homie.service in /etc/systemd/system

[Unit]
Description=iCloud Homie
After=multi-user.target

[Service]
User=pi
Type=simple
ExecStart=/usr/bin/python3 /usr/local/bin/icloud_homie_start.py
Restart=on-abort

[Install]
WantedBy=multi-user.target

The first time the service starts, you should receive a text message on your phone with a verifcation code (do not use the verifcation code from the Apple App). You need to send this code back to the Homie account device. Easy to do this with MQTT Explorer.

Publish: homie/icloudaccount/account/verificationcode/set with the verification code as a raw payload

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

iCloud Homie 4-0.1.1.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

iCloud_Homie_4-0.1.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file iCloud Homie 4-0.1.1.tar.gz.

File metadata

  • Download URL: iCloud Homie 4-0.1.1.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0

File hashes

Hashes for iCloud Homie 4-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c104dd3b4ca9cf1e6c1f643aa2251674a9ae81c14661c8e04a0381a486801f45
MD5 0cca3da3e9448d649444398871435589
BLAKE2b-256 c72ce085ce964166836ac3008d3fae5e96877e3327f1ff0b637c7208c01f71f3

See more details on using hashes here.

File details

Details for the file iCloud_Homie_4-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: iCloud_Homie_4-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0

File hashes

Hashes for iCloud_Homie_4-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ccbc90550818acd7f4bd621673c2689a9cea64dce1253111dc00b73029afae04
MD5 1c30c41e5fcc2aa20b4aafcc56fa523b
BLAKE2b-256 ccb12fa4dcaec2b9a0142d7bc7b1d10dff6dd42a540b8bd8ef9707d002c478ab

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