yes, i did because of compactness but you are right it should be identical (and readable)
-
@bertreb said in pimatic-save:
I released version 0.1.6. with the timestamp and error message change.
works perfectly! thank you!
-
@bertreb
Hello,I have the following error for my rule and the cfg is not saved on the server:
When…
its 01:00 or when CFG-Backup is pressed
then…
save “config.json” with timestamp to FTP Backup Deviceerror [pimatic-save]: Error: can't connect when connection status is: 'connecting'
Did you know why this happend?
I have the same rule for the DB and there is no problem and the DB is saved on the server.
-
@bertreb said in pimatic-save:
@dnl0319 said in pimatic-save:
connect when connection status is: ‘connecting’
hi, do you get the error now when you push CFG-Backup and do you have more than 1 ftp save rule?
I get this error when the rule is activated at 01:00pm. When I press the CFG-Backup button I don’t get this error.
Yes I have one rule for CFG and one for DB.
-
@bertreb said in pimatic-save:
and they are triggered at the same time?
Yes I got the problem I think. Yes they are at the some time, that makes sense
-
I changed the ftp client handling a bit and released a new version -> 0.1.8.
You can see (in debug mode) what the initial connection status is before every upload.Because i don’t want to leave a FTP connection open for a long time, I close the connection after every upload. But when 2 or more uploads are happening at the same time, it’s getting a nice asynchronous challenge
Let me know what the 0.1.8 results are.
And for the short time you can avoid the error by changing the time of the second save -
@bertreb said in pimatic-save:
I changed the ftp client handling a bit and released a new version -> 0.1.8.
You can see (in debug mode) what the initial connection status is before every upload.Because i don’t want to leave a FTP connection open for a long time, I close the connection after every upload. But when 2 or more uploads are happening at the same time, it’s getting a nice asynchronous challenge
Let me know what the 0.1.8 results are.
And for the short time you can avoid the error by changing the time of the second saveYes I will test the new version.
Yeah I think I will leave the 2 min difference between the two rules. That doesn’t matter.
-
@bertreb said in pimatic-save:
@dnl0319 version 0.1.9. should be able to do more than 1 save at the same time.
Let me know if it works in your setup.Thank you. I will test it today.
-
@bertreb said in pimatic-save:
@dnl0319 version 0.1.9. should be able to do more than 1 save at the same time.
Let me know if it works in your setup.It works perfectly without any errors! Thanks
-
Pimatic-save will not safe my pimatic-database.sqlite anymore.
I get the following error:
error [pimatic-save]: Error put, probably wrong path (not existing on ftp server): FtpConnectionError: can't perform 'put' command when connection status is: disconnecting
error [pimatic-save]: File 'pimatic-database.sqlite' not found in FTP readFile:
It did work before but now my database is bigger then 450.000 Kb It dous not work anymore.
Is there a timelimit or size limit to saving the database file.