Closed nicedevil007 closed 4 years ago
I don't know what exactly goes wrong, but error handling in Tools.js is not really good. I'll fix that later.
However, the code should only be called when Valetudo sends map data. If you shutdown your vacuum or deactivate mqtt, Node-Red should no longer crash and you can change the crop settings.
Please write here the crop settings that you had set before it crashed.
If I remember right, I set it to this values:
x1=75 x2=0 y1=75 y2=0
Ok was able to set it to correct values to fit in a huge window.
Is there a way to make this png smaller in valetudo so it don't need that much space? Or even better, could we just rotate the png?
Is there a way to make this png smaller in valetudo so it don't need that much space? Or even better, could we just rotate the png?
For rotating you can use a node for image manipulation like node-red-contrib-image-tools
That won't work, tested this one out :/
EDIT: Same happens on the rotate node.
EDIT2: Everything is working. Just have to use the manipulation node before Base64 node.
Just want to let you know that node-red didn't crash in these tests anymore (I didn't disabled mqtt for this time, just made a backup of all my flows).
Hey Alex :)
I build everything new from ground up and now it was time to setup valetudo again. Unfurtunately I didn't know the right crop settings of my previous installation. So I started and testing. After I adjusted the y1 my node-red keeps bootlooping with that error: