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

Uploaded Source

Built Distribution

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

Uploaded Python 3

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