You are not logged in.
Thanks you all for information,
I have a 5" display and it's now working, but with a lot of bugs, such us:
wrong image size on preview
when a printing start from browser it don't display the current printing process
etc...
have some one fixed the bugs?
I'm not expert but maybe I can fix by myself, can someone show me where I can do this?
thanks a lot
Offline
I'm stuck with the same problem on a RPi2B and a Nextion Basic 3.5". I'm running v2. I think I tried all solution I saw online, but I can't find the issue.
I initially thought it was a permission/serial port issue, but after some checking I just realized it's should not.
I did find the problem. I just did not realized you need to change the url in config.json when using non-standard web interface port.
{
"url":"http://localhost",
....
to
{
"url":"http://localhost:PORT",
...
where PORT equals to your port number.
I am writing back in case someone else could find the same problem.
It might be nice to add this info in the README for other users, just in case. Or otherwise any kind of debug info when program cannot connect to the interface. I had been messing around a lot with the serial settings, thinking it was a pi serial configuration problem. Killing node process and running it from console with
DEBUG=* node /home/pi/nextion/bin/index.js
I could notice that program hang after successfully sending the first commands (sleep=0,bkcmd=3,etc) but there was no debug info like "cannot connect to url". It might be helpful to debug configuration.
PS: Thanks again for the great work!
Offline
Hi Julien
I reinstall the V2 but It stays on "connecting Printer..." now
any idea?
thanks
Offline
Hi Julien....
another strange things is that after installation of new v.2 nanodlp doesn't work.....
I have to reinstall image on sdcard
Offline
Please, could somebody put a sequentialy list of the step to install nextion sw and work it with nanodlp?
After upgrade installation...I can't use it.....after all I got Always "connecting to printer..." and nothing else.....
Offline
Hi All
So at the end I got it!
Julienne I think there is another bug to resolve:
if I put a password on nano....lcd doesn't work.
If do you click on "plate" button...you got all "undefined" plate....and other functions are KO.
I think with a software password....nextion can't access to nano data.....
Offline
Hi
In the printing mode....still there no preview image on the display....any solution???
?
Offline
Hi
Any update?
Offline
Hi juliendelnatte,
I added the Dual-state button id23 in Z axis screen to Enable or Disable motor but i don't known how to code or set up any other objects to make it work.
Thank in advance,
Offline
Yes, every nextion screen is compatible!
where i can find .tft file for 7'' inch screen?
Offline
I would like to upload files.
How do I run the commands in node.js to upload to the nanodlp.db db?
I want to know the code to be uploaded when the submit button on the add-usb page is clicked.
Or are there sites or links to reference?
Offline
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",
});
Offline
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",
});
The await command is known to work with the node js 7.x version.
Thanks for the answer.
My Raspberry Phonode js version is 6.4.
If you check the version with node -v after updating the latest version, 6.4
If you check with nodejs -v, you will see 8.9 (8.x version installed).
I still can not upload files ^^;
Offline
File in bin folder are transformed from src by gulp, and gulp will transform "await" instruction in promise,...
Offline
File in bin folder are transformed from src by gulp, and gulp will transform "await" instruction in promise,...
return (0, _requestPromiseNative2.default)({
uri: '${this.serverURL}/plate/add-usb'
formData : {
ZipFile : {
value: '/media/usb0/test123.stl',
options :{
filename : 'test123.stl'
}
},
Path : "test123",
ProfileID : 2
},
enctype: 'multipart/form-data',
method : "POST",
timeout: 10000
});
The result is like this: Please help me
Promise {
_c: [],
_a: undefined,
_s: 0,
_d: false,
_v: undefined,
_h: 0,
_n: false }
Last edited by uups (2018-01-10 13:48:43)
Offline