Currently, I am using a awkward series of curl, grep and awk commands with the command line sensor to parse some XML data from a REST service that does not display JSON. I have seen a few setups using similar methods to get data from XML.
It would be beneficial to have xmllint available on the command line of hassio as then a much simpler solution of combining the command line sensor and grabbing data through xmllint using an xpath statement can be used.
If you are using the core SSH addon for this, then you might want to take a look at the community SSH addon version, which allows to configure custom packages.
Is it possible to access the custom packages from a command line sensor for example ?
I used to have a command line sensor like command: ānodejs foo.jsā but I switch to hassio and this is not possible anymore.
I donāt really want to code an add-on just for a command line sensorā¦
The add-on support the execution of custom āinitā commands. You make your tools available for download some where and let the add-on download it on start.
Iām not sure to understand, newbie user here
Letās say I add the package ānodejsā in the config, how can I access nodejs from the sensor component ?
Is there something specific to do ? command: ānodejs foo.jsā will just work ?