家里3台电脑都装了aida64,有办法让homeassistant通过aida64获得各传感器数值吗
查阅了官方文档
[size=1.2]READ VALUE OUT OF A REMOTE TEXT FILE
If you own devices which are storing values in text files which are accessible over HTTP then you can use the same approach as shown in the previous section. Instead of looking at the JSON response we directly grab the sensor’s value. sensor: - platform: command_line command: python3 -c "import requests; print(requests.get('http://remote-host/sensor_data.txt').text)" name: File value
奈何毫无编程基础,没有办法实现,有现成的办法解决吗
|