『瀚思彼岸』» 智能家居技术论坛

标题: 石头G10接入homeassistant [打印本页]

作者: bainiu    时间: 2022-6-18 15:48
标题: 石头G10接入homeassistant
本帖最后由 bainiu 于 2022-6-18 15:50 编辑

教程地址:https://www.youtube.com/watch?v=m11qbkgOz5o&t=594s
按教程将石头g10接入homeassistant,可以读取云端地图。生成vacuum.roborock_vacuum_a29实体 还有16个传感器,生成12个扫地机服务可以调用,各种自动化走起,还可以接入天猫精灵,语音控制。

[attach]38535[/attach]

[attach]38536[/attach]

作者: yotashop    时间: 2022-6-19 00:27
试试这个:https://github.com/PiotrMachowski/lovelace-xiaomi-vacuum-map-card[attach]38565[/attach]

作者: bainiu    时间: 2022-6-19 07:37
yotashop 发表于 2022-6-19 00:27
试试这个:https://github.com/PiotrMachowski/lovelace-xiaomi-vacuum-map-card

这个集成可能更好。谢谢。
作者: ptlzx    时间: 2022-7-31 11:15
本帖最后由 ptlzx 于 2022-7-31 11:23 编辑
bainiu 发表于 2022-6-19 07:37
这个集成可能更好。谢谢。

拷贝js到wwwcustom_lovelace/目录后有这个操作:
将保存的文件添加到Lovelace 资源
url: /local/custom_lovelace/xiaomi-vacuum-map-card.js
type: module

这个怎么操作,插入在ui-lovelace.yaml的什么位置?小白麻烦指点下,谢谢!
作者: ptlzx    时间: 2022-7-31 11:37
yotashop 发表于 2022-6-19 00:27
试试这个:https://github.com/PiotrMachowski/lovelace-xiaomi-vacuum-map-card

我将js拷贝到wwwcustom_lovelace/目录后有这个操作:

将保存的文件添加到Lovelace 资源
url: /local/custom_lovelace/xiaomi-vacuum-map-card.js
type: module


这个怎么操作,插入在ui-lovelace.yaml的什么位置?小白麻烦指点下,谢谢!
作者: yotashop    时间: 2022-7-31 19:10
本帖最后由 yotashop 于 2022-7-31 19:11 编辑
ptlzx 发表于 2022-7-31 11:37
我将js拷贝到wwwcustom_lovelace/目录后有这个操作:

将保存的文件添加到Lovelace 资源

实现扫地机器人-划区清扫&指定房间清扫(小米&石头)
https://bbs.hassbian.com/thread-16856-1-1.html
(出处: 『瀚思彼岸』» 智能家居技术论坛)


作者: flyibeat    时间: 2022-8-12 16:50
ptlzx 发表于 2022-7-31 11:37
我将js拷贝到wwwcustom_lovelace/目录后有这个操作:

将保存的文件添加到Lovelace 资源

仪表盘,右上角有三个点,资源
作者: OnionKing    时间: 2022-11-3 20:06
有没有不把石头接入米家的办法, 接入到米家之后就不能用石头app的快捷指令了
作者: lw12hf    时间: 2023-4-17 11:37
感谢分享
作者: Ari    时间: 2023-4-17 11:39
有没有自动上下水套件的扫地机接入啦
作者: FDH    时间: 2023-4-28 09:44
大神,怎么支持列表没看到G10file:///C:/Users/%E5%A4%A7%E8%BE%89/Desktop/HA.png,刚出的G20能不能接入呀
作者: jy00295017    时间: 2023-7-12 19:00
ptlzx 发表于 2022-7-31 11:37
我将js拷贝到wwwcustom_lovelace/目录后有这个操作:

将保存的文件添加到Lovelace 资源

怎么获取石头机器人的token啊
作者: lichao622    时间: 2023-8-10 19:45
yotashop 发表于 2022-6-19 00:27
试试这个:https://github.com/PiotrMachowski/lovelace-xiaomi-vacuum-map-card

我的也是g10s 用这个接入后,就是不能选择房间清扫,请问应该怎么操作呢

作者: OnionKing    时间: 2023-8-17 15:53
OnionKing 发表于 2022-11-3 20:06
有没有不把石头接入米家的办法, 接入到米家之后就不能用石头app的快捷指令了 ...

hacs里面直接找roborock集成,可以通过石头app登录接入
作者: 广东彭于晏    时间: 2025-6-13 17:20
大佬,我跟你的设备一样,但是没有地图生成,求指导




欢迎光临 『瀚思彼岸』» 智能家居技术论坛 (https://bbs.hassbian.com/) Powered by Discuz! X3.5