Open EberleG opened 6 years ago
I have the same problem. Home button on the Z axis control not work. Reboot and Shutdow also not working. I am using 2.4 nextion screen
Sounds to me like you only updated the tft-file on the nextion but did not update the javascript code (home botton issue on z-axis screen requires fixed zAxis.js in bin folder, also new features require corresponding changes/ additions in javascript files.
Thanks for quick respond. Can you guide me how to upgrade this javascrip? Upgrade via Rasberry terminal or in nextionsreen. Cuz I am a new in this so I dont know how :(
Tibus currently preparing an official 3rd release. Until that becomes available you might try the following: mkdir /home/pi/nextion;(wget https://github.com/SteBuTOS/TouchScreen-For-NanoDLP/archive/v0.3.tar.gz --no-check-certificate -O - | tar -C /home/pi/nextion -xz);cd /home/pi/nextion; sudo ./setup.sh
Thanks alot. I will try it, waiting to the nex release :D
I tried this as you recomended but no luck, till the same problem??? mkdir /home/pi/nextion;(wget https://github.com/SteBuTOS/TouchScreen-For-NanoDLP/archive/v0.3.tar.gz --no-check-certificate -O - | tar -C /home/pi/nextion -xz);cd /home/pi/nextion; sudo ./setup.sh
Did you copy the complete sequence at once to the command line and executed it? If so, did you get any error messages? You might give it a second try with „sudo“ in front
Most importand: once installed, do a reboot!
Yes i coppied and executed it. it show some faul mean " folder exist" then it download ( about 12Mb) then ended. After that I do a reboot. I will try again with "sudo" in front and take the picture.
I tried again with no luck. it show error (please see 2 pictures) https://upanhtocdo.com/image/Sotg3 https://upanhtocdo.com/image/Sonpv
(Last) Try: cd /home/pi/nextion;sudo (wget https://github.com/SteBuTOS/TouchScreen-For-NanoDLP/archive/v0.3.tar.gz --no-check-certificate -O - | tar -C /home/pi/nextion -xz);cd /home/pi/nextion; sudo ./setup.sh
It show error in command line: bash: syntax error near unexpected token `wget'
sudo cd /home/pi/nextion;(wget https://github.com/SteBuTOS/TouchScreen-For-NanoDLP/archive/v0.3.tar.gz --no-check-certificate -O - | tar -C /home/pi/nextion -xz);cd /home/pi/nextion; sudo ./setup.sh
Right at the moment I have no access to linux machine for testing myself. So it becomes a trial an error which is not very effectlve. Sorry for that
Hi I tried but the same problems as two pictures I showed. Maybe i have to reinstall all. Thanks alot for support.
ok, had some time on my hand on a linux machine. the following script shourd work:
sudo wget https://github.com/SteBuTOS/TouchScreen-For-NanoDLP/archive/v0.3.tar.gz --no-check-certificate -O - | sudo tar -C /home/pi/nextion -xz
sudo cp /home/pi/nextion/TouchScreen-For-NanoDLP-0.3/. /home/pi/nextion/. -rv
sudo rm -r /home/pi/nextion/TouchScreen-For-NanoDLP-0.3
sudo npm i ip
sudo npm i drivelist
sudo npm i child_process
sudo shutdown -r now
Thanks you for help me. I tried and the Shutdown and reboot button is working now!!! But Home button on Z axis calibration till not work and in this section I can choice arrange of number like the picture. Some thing went wrong ??? https://upanhtocdo.com/image/SUfw5
The script also downloaded a fresh set of tft files. Can you try to reinstall the right one to your display with sd card?!
I tried but nothing. What the different between 2.4.tft and 2.4 tft enhance. I try to install 2.4 enhance tft file to my screen but it showed wrong file.
Can you check for a file errorOutput.log in your nextion folder on your Pi. If the content is not to huge, pist it here.
Err: pist=post
Hi, I checked errorOutput.log, only 1 line "missing API key for pushbullet" how to solve that? Thanks
That message seems not related to your issue with the zAxis screen. Your screenshot indicates that in the javascript zAxis.js in the bin-subfolder the function setBtn() was not executed. Thats strange, bacuse in that area was no code chang lately, so it‘s more likely that there is something that prevents that file from beeing executed in general in your setup. Can you please check the following file: /home/pi/nextion/bin/plugins/nextion/pages/zAxis.js Two questions here: 1 does it exist? 2 whats the content?
Yes it exist, I copy the content as below ( not need anymore 😀 )
Hi I tried to reinstall 2.4 tft file version 0.2. In this case Zaxis page work like a charm. So i think problem come from 2.4 tft file version 0.3 thanks
Can you tell me what file-size the 2.4.tft of your 0.3 version has?
...oh I now see the reason: somehow the nextion IDE reassigned the object-id's during downscaling. It seems only be the case for the zAxis screen, with effect for the 2.4, 2.4 enhanced, 2.8 and 2.8 enhanced tft's. Thats a bad situation, as the object ids are not editable (assigned by the IDE), but must match through all versions of HMI files to correspond with the javascript. Have to figure out a way to get that fixed.
2.4.tft.zip can you please try this one
(...of course you need to unzip it first). Give a short feedback, if we have fixed it. In that case I need to make a pull request to provide the fix to Julien.
Wow I reinstall your 2.4tft and it working now!! I appreciate your work. Thanks alot, it time to provide the fix to Julien :D
Thanks for your feedback. I already made a pull request to Julien
Sorry was a bit occupied on other things. I just accept your pull request and will really try to make a Release today!
Laser on fdm printer?
yeap ;D https://www.youtube.com/watch?v=QYVMZF7p-S4 And modified the LaserWeb4 repository, create a pull request to make this awesome software compatible
Dear TOS I am waiting for next version with can choise Plate from usb. It made an awesome standalone machine without network connection. Happy to test next version on my own machine :D
@mylove29985 as you downloaded a pre-release from my fork, you should already have that functionality available within your current setup. Just check for the plus-icon in the top right corner of the Plates-screen.
@SteBuTOS I know but it not working any button and stuck on that page, cant back to home page like the last bug of Zaxis page so I think it just a demo version! So this the same problem like Zaxis page ? https://upanhtocdo.com/image/Sqs7j
Oh I know how to solve that, just insert USB then all the Problem gone :D Wonderful!!!
Did I get you right? The home button in the „add Plate“ screen does not work?
Yes it work! I checked all and everything is working well 😀
hello,i am a chemist in 3d uv curing materials, i want a diy interface so i follow your guys tips to install this script,but after connecting its bottoms not working ,is there any wrong with my terminal inputs? somebody can help or give me some information?
pi@raspberrypi:~/nextion $ sudo npm i ip --unsafe-perm screen@1.0.0 /home/pi/nextion └── ip@1.1.5
npm WARN screen@1.0.0 No repository field. pi@raspberrypi:~/nextion $ sudo npm i drivelist --unsafe-perm
drivelist@6.4.6 install /home/pi/nextion/node_modules/drivelist prebuild-install || node-gyp rebuild
prebuild-install WARN install No prebuilt binaries found (target=6.4.0 runtime=n ode arch=arm platform=linux)
make: Entering directory '/home/pi/nextion/node_modules/drivelist/build'
CXX(target) Release/obj.target/drivelist/src/drivelist.o
In file included from /root/.node-gyp/6.4.0/include/node/node.h:42,
from ../../nan/nan.h:56,
from ../src/drivelist.cpp:17:
/root/.node-gyp/6.4.0/include/node/v8.h: In static member function ‘static void v8::V8::RemoveGCPrologueCallback(v8::GCCallback)’:
/root/.node-gyp/6.4.0/include/node/v8.h:8504:57: warning: cast between incompati ble function types from ‘v8::GCCallback’ {aka ‘void ()(v8::GCType, v8::GCCallba ckFlags)’} to ‘v8::Isolate::GCCallback’ {aka ‘void ()(v8::Isolate, v8::GCType, v8::GCCallbackFlags)’} [-Wcast-function-type]
reinterpret_cast ::Callback, v8::WeakCallba ckType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInf o ::Callback = void ( ::Callback, v8::WeakCallba ckType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo ::Callback = void ( ::Callback, v8::WeakCallba ckType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInf o ::Callback = void ( ::Callback, v8::WeakCallba ckType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo ::Callback = void ( ::Callback, v8::WeakCallba ckType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInf o ::Callback = void ( ::Callback, v8::WeakCallba ckType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo ::Callback = void (~~~~
../src/drivelist.cpp:66:1: note: in expansion of macro ‘NODE_MODULE’
NODE_MODULE(DriveList, InitAll);
^~~
In file included from /root/.node-gyp/6.4.0/include/node/node.h:42,
from ../../nan/nan.h:56,
from ../src/drivelist.cpp:17:
/root/.node-gyp/6.4.0/include/node/v8.h: In instantiation of ‘void v8::Persisten tBase~~~~~~~
/root/.node-gyp/6.4.0/include/node/v8.h: In instantiation of ‘void v8::Persisten tBase~~~~~~~
/root/.node-gyp/6.4.0/include/node/v8.h: In instantiation of ‘void v8::Persisten tBase~~~~~~~
/root/.node-gyp/6.4.0/include/node/v8.h: In instantiation of ‘void v8::Persisten tBase
npm WARN screen@1.0.0 No repository field. pi@raspberrypi:~/nextion $ sudo npm i child_process --unsafe-perm screen@1.0.0 /home/pi/nextion └── child_process@1.0.2
npm WARN screen@1.0.0 No repository field. pi@raspberrypi:~/nextion $ sudo shutdown -r now
Hi, I have found the home button on the Z-axis control screen/page doesn't work. All the z-axis controls still function but I can't leave that page. BTW, I followed the previous issue post (solved: "connecting to printer" issue) to get my Nextion screen (NX4832T035) working on a Pi3 B. I'm not sure that introduced this bug?