I'm making use of the "TARGET !scriptname" datasource method - as per https://network-weathermap.com/manual/0 ... tml#script.
I'm able to successfully run a script (after enabling lib/datasources/WeatherMapDataSource_external.php) and it returns the four line values as required.
I want to then use ICON and use the hint variable external_line1 to choose which image to display - for example:
Code: Select all
ICON 16 16 images/updown_{node:this:external_line1}.png
Code: Select all
WARNING: configs/simple.conf: ICON 'images/updown_down.png' does not exist, or is not readable. Check path and permissions. [WMARN38]
Any ideas why using the hint variable external_line1 would cause this error, even though it seems to resolve OK?
Thank you.