我在跑哈斯(ver。166)和家庭助理(最19463331伟德国际新:我认为ver。0.94.3)在我的台式机(Debian Buster)上的Docker容器中。
现在我试着集成散热器恒温器(旧的自负那不Homematic IP) 用一个HmIP-RFUSB- 来自自相色谱的USB-RIGER RF-GRAYIVER。因为我安装了HomeMatic职业插件插入USB棒并执行以下配置:
addon配置:
{“rf_enable”:true,“rf”:[{“类型”:“ccu2”,“设备”:“/ dev / ttyusb0”}“,”wirever_enable“:false,”有线“:[{”串行“:“xy”,“关键”:“abc”,“ip”:“192.168.0.0”}],“hmip_enable”:false,“hmip”:[{“类型”:“hmip_ccu2”,“设备”:“/dev / ttyusb0“}”]}
HA configuration.yaml:
homatic: interfaces: rf: host: core- homatic port: 2001 wired: host: core- homatic port: 2000 hip: host: core- homatic port: 2010
首先,addon开始似乎是成功的,但在重新启动ha之后,我收到了消息(从ha)'':
![ha-occu-2019-06-22_16-35](//www.sz-tiancheng.com/community-assets/original/3X/b/7/b70580df6be8e5c943911a20227d74b4a47cba23.png)
并查看Addon我发现,它没有正确启动,并显示错误消息:
/run.sh:第42行:/ sys / class / gpio /导出:只读文件系统
I don’t know how to see the rights in the the docker instance but on the host computer /sys/class/gpio/export has --w------- and the ownership is root.root (write only for root). And why is the addon trying to access something with GPIO? The device is aUSB-Stick,程序未在RaspberryPI上运行。
看下来哈斯- 系统 - 硬件我可以看到/ dev / ttyusb0在插入/拔出USB-棒时出现/消失。
有没有人成功使用HMIP-RFUSB以访问同性全程设备?我究竟做错了什么?