# iCloud-Homie
iCloud to Homie MQTT Bridge
Connects iCloud Accounts/Devices to [Homie 4 MQTT convention](https://homieiot.github.io/).
To start as a service on raspbian
Create icloud_homie.yml in /etc using the following settings:
```yaml
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
```service
[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
没有合适的资源?快使用搜索试试~ 我知道了~
Python库 | iCloud%20Homie%204-0.0.7.tar.gz
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 15 浏览量
2022-04-09
22:02:52
上传
评论
收藏 5KB GZ 举报
温馨提示
共14个文件
py:6个
txt:4个
pkg-info:2个
资源分类:Python库 所属语言:Python 资源全名:iCloud%20Homie%204-0.0.7.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
iCloud%20Homie%204-0.0.7.tar.gz (14个子文件)
iCloud Homie 4-0.0.7
PKG-INFO 2KB
iCloud_Homie_4.egg-info
PKG-INFO 2KB
requires.txt 23B
SOURCES.txt 402B
top_level.txt 13B
dependency_links.txt 1B
icloud_homie
icloud_account.py 5KB
__init__.py 42B
homie_device
__init__.py 0B
device_icloud_device.py 7KB
device_icloud_account.py 2KB
setup.cfg 42B
setup.py 864B
README.md 1KB
共 14 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功