Temat: Presence detection z hass.io nie chce działać
Chciałem sobie zrobić wykrywanie podłączonych urządzeń wg https://www.home-assistant.io/integrations/ubus
zrobiłem wszystko jak jest opisane: dodany wpis do user.json zainstalowane moduły itd.
Router to 1043nd z Lede
Gdy testuję tak dostaję:
root@LEDE:~# ubus -v list file
'file' @26f9b347
"read":{"path":"String","base64":"Boolean"}
"write":{"path":"String","data":"String","append":"Boolean","mode":"Integer","base64":"Boolean"}
"list":{"path":"String"}
"stat":{"path":"String"}
"md5":{"path":"String"}
"exec":{"command":"String","params":"Array","env":"Table"}Ale gdy próbuję już coś odczytać np:
ubus call file readDostaję:
Command failed: Unknown error