node-red-contrib-thermostat-scheduler
node-red-contrib-thermostat-scheduler copied to clipboard
Missing file
The first time I tried to run your flow I got Error: ENOENT: no such file or directory, open '/share/thermo_scheduler.save'
from the Resotre
node because there is no such file.
It works fine but you should check fi the file exists before trying to read it.
I got same error but in my present knowledge level I'm stuck. Where this directory should be created ? How to proceed from this point ?
I'm thinking about modify it to use a "on file" context to save the schedule instead of a file. This way it only requires a specific context to be defined and then it should works everywhere