node-red-contrib-thermostat-scheduler icon indicating copy to clipboard operation
node-red-contrib-thermostat-scheduler copied to clipboard

Missing file

Open Edo78 opened this issue 4 years ago • 2 comments

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.

Edo78 avatar Nov 23 '20 16:11 Edo78

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 ?

kizio1000 avatar Jan 05 '21 09:01 kizio1000

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

Edo78 avatar Jan 05 '21 17:01 Edo78