elbowz
(Elbowz)
1
If the output/result is not a json, could I parse it with something like regex, I don’t know if template could be usefull?
ei (amule output):
> Kad: Connected (ok)
> Download: 367.93 kB/s
> Upload: 12.00 kB/s
> Clients in queue: 40
> Total sources: 225
fabaff
(Fabian Affolter)
2
Regex is not available. Don’t know if value
could help.
You could pipe the command line to awk
and extract only the value that you need within Home Assistant.
elbowz
(Elbowz)
4
ohhh yes!
It was really simple ![:slight_smile: :slight_smile:](https://community.home-assistant.io/images/emoji/twitter/slight_smile.png?v=9)
thanks!