In the above output there is just a list of processes.
What I can’t find is a way to select the “object” where “Name” equals “deCONZ” and get the attributes from there.
However this code works, but I want to selct it by name, and not by place [1].
- platform: rest
resource: http://10.0.24.11:61208/api/3/processlist
name: Glances - DeCONZ - CPU - Process
value_template: '{{ "ok" }}'
json_attributes_path: '$[1]'
json_attributes:
- name
- status
- username
I have tried a lot of compinations of code, but I cant find a working way.
Anyone know?
I’m behind a corporate firewall that bocks pasebin.com. Interestingly it does not block https://paste.ubuntu.com/ so if you paste the output there I can have a look for you.