本帖最后由 guitengyue 于 2020-12-10 12:49 编辑
nodered中的sensor信息到ha中,提示Attention: This node requires Node-RED custom integration to be installed in Home Assistant for it to function.
InstallationThis integration is available in [color=var(--color-text-link)]HACS (Home Assistant Community Store) - Using the tool of choice open the directory (folder) for your HA configuration (where you find configuration.yaml).
- If you do not have a custom_components directory (folder) there, you need to create it.
- In the custom_components directory (folder) create a new folder called nodered.
- Download all the files from the custom_components/nodered/ directory (folder) in this repository.
- Place the files you downloaded in the new directory (folder) you created.
- Restart Home Assistant
- In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "Node-RED"
我再config下面创建了custom_components,并把相关的文件都放到这个文件夹中了,就是第一步不知道在configuration中需要如何修改,是加一个nodered: ? 但是重启后HA中的集成还是搜不到nodered
日志提示如下错误:
Logger: homeassistant.components.websocket_api.http.connection.140612763282352
Source: components/websocket_api/connection.py:84
Integration: Home Assistant WebSocket API ([color=var(--primary-color)]documentation, [color=var(--primary-color)]issues)
First occurred: 下午12:46:28 (3 occurrences)
Last logged: 下午12:46:29 Received invalid command: nodered/version
|