You are not logged in.
File in bin folder are transformed from src by gulp, and gulp will transform "await" instruction in promise,...
The code to upload a zip or something else look like this : (where buffer is the file content)
let result = await request({
uri: `${this.serverURL}/plate/add`,
formData: {
'ZipFile': {
value: buffer,
options: {
filename: 'exportFromMockaSlicer.zip'
}
},
'Path': "exportFromMockaSlicer.zip",
'ProfileID': 1
},
method: "POST",
});
Not yet, have a lot to do on my printer and not done the usb and new UX yet
Yep, the code I give you should work.
It's what I said, I looked at your HMI and your code. It's not the name of the component is sent to the program but the ID. and the event is "click_b"+id. So I sent you the fix
Hello, it's not the name software listen to but the id of the button. So you have to change
this.addListener("click_c0", () => this.nanoDLP.command("/button/press/0"));
this.addListener("click_c1", () => this.nanoDLP.command("/button/press/1"));
this.addListener("click_c2", () => this.nanoDLP.command("/printer/off"));
this.addListener("click_c3", () => this.nanoDLP.command("printer/restart"));
To
this.addListener("click_b4", () => this.nanoDLP.command("/button/press/0"));
this.addListener("click_b5", () => this.nanoDLP.command("/button/press/1"));
this.addListener("click_b6", () => this.nanoDLP.command("/printer/off"));
this.addListener("click_b7", () => this.nanoDLP.command("/printer/restart"));
yes, but if you can wait 2hours, I will update the V2.0 on the github to remove bugs!
V2.0 works but there is some bug. you can use it but maybe use V1.0 for now is better
I'm working on it, there was some update on nanodlp that change the screen behavior, so I'm fixing this. there will be a V0.3 in few days!
I'm currently building too a direct drive resin printer and I made a custom PCB with a lot of feature. You can check it here : https://plus.google.com/100170060322292 … 9180118782
The pi has always the same ip,
I will test ping it but I thing the ping is ok.
I ´ve just tested to take an old nanodlp version on jessie and update it and it works.
So the latest version of nanodlp works but the bash script to install it directly in advanced mode didn't work...
Hello,
Ive just installed Nano DLP on a raspberry pi 2 with Raspberry Jessie lite and Strech lite and after the installation, on next boot, the machine boot fine, the screen goes black (nanodlp take controle of it) and after that, nothing works. The raspberry pi doesn't respond and the webserver of nanoDLP is not reachable. Error 404.
I tested another SD card with NanoDLP installed since few month and everything works fine so no problem from my pi of so.
Could you help me?
Thanks
Will Check it this weekend. Could you tell me your nanodlp version?
Did you reinstall the V0.2?
it will run automaticaly, if you set a number in config.json file (default is 30), the screen will go to sleep after 30seconds of touch inactivity
I made a new version with some bug fix, and add the sleeping feature. It's in V0.2
No absolutely no problems!
The screen will so go to sleep and will reactivate on touch.
Hmmm I deactivated the auto sleep but I can reenable it.
Did you take the .tft located here https://github.com/Tibus/TouchScreen-Fo … P/releases? it should match your version...
wich screen model are you using?
Yes, every nextion screen is compatible!
Nop, only on nextion screens but there is a 7" nextion
try to reupload tft to the 4.3 screen?