This feature is not directly implemented, but can be easily achieved by a script definition.
1) define a file "gen.sh" with following content:
Code: Select all
#!/bin/sh
### script to evaluate a template to a file. Parameters: <template> <target file>
#
cp "/tmp/mnt/data/templates/$1" /var/run/meteohub/template
nc 127.0.0.1 5551 2>/dev/null >"/tmp/mnt/data/export/$2"
3) define a script service like this: 4) generated file can be found on PC network share in export folder