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
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
iCloud Homie 4-0.1.1.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for iCloud_Homie_4-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccbc90550818acd7f4bd621673c2689a9cea64dce1253111dc00b73029afae04 |
|
MD5 | 1c30c41e5fcc2aa20b4aafcc56fa523b |
|
BLAKE2b-256 | ccb12fa4dcaec2b9a0142d7bc7b1d10dff6dd42a540b8bd8ef9707d002c478ab |