Write a plugin for DWC- solved using BtnCmd.
-
@moth4017 If you want to - there is an import/export layout feature in BtnCmd, so you can include your BtnCmd layout with the esp code.
-
Im not a pro programmer so im hoping someone will sort out my inefficient code for me , im going to spend the next few days putting together the hardware list and some code so i can get some testing done
-
@moth4017 i have most of those bits available here so i'm ready to play whenever
-
ok , im not sure if ill post it here but maybe on the Valkyrie Github ,
under the Drybox folder should be there in the next week or so
https://github.com/RoyBerntsenDesign/Project-Valkyrie -
Hi is there away to right justify the string?
-
@moth4017 I beleive that formatting is coming from your esp code.
A OM Panel in BtnCmd only has prefix text eg
The spacing between the prefix text and the value is set by the size of the panel.
If you look in the object model plugin at your variable does it look the same (without the prefix text of course)?
-
-
@moth4017 You have selected the wrong panel type - you have chosen global variable input panel - which is designed for updating the value of a global variable through user input, and does not apply any formatting.
As per the previous post, the panel you need is "Object Model Panel" which is a display only panel. If you want to add text after the value (EG: KG) then add a "static text/label panel" ontop
-
Hi , i did all the new set up for the DWC layout from a laptop on my LAN, i went to the PC where i have my printer opened up DWC and the new layout isnt there , but its still on the laptop. are these changes not saved to the Duet SD card?
-
@moth4017 they are per browser. you can backup and restore your layouts between PC's. See here https://github.com/MintyTrebor/BtnCmd/wiki/Backup-&-Restore
-
Can this be changed so its local to the Duet card, i use multiple devices , i can live with it at the moment but is it something that could change in the future?
-
@moth4017 one for @MintyTrebor to answer
-
@moth4017 As it states in the wiki, the backup file is saved to the Duet SD card System folder. You can restore the backup on any browser from there.
BtnCmd is a browser plugin ALL data is stored in your browser unless you make a backup or use the export feature.
If you are asking if a layout can be automatically restored when BtnCmd is loaded for the first time - I have already added the code to enable an "Auto Restore" feature which will load a defualt layout/config from the sd card on first access of BtnCmd. This will be in the next release.
-
excellent.. when are you hoping to do the next release? dont get me wrong im very happy to even get this far.
-
i have an issue with my esp at the moment its sending out
[EasyHTTP] POST http://192.168.0.19/rr_gcode?gcode=set global.spoolWeight=1234 500not sure why its adding the 500 at the end
-
@moth4017 said in Looking for someone to write a plugin for DWC:
excellent.. when are you hoping to do the next release? dont get me wrong im very happy to even get this far.
Probably within the next couple of weeks
-
Hi is there any reason why all the layouts disappeared when i took out the sd card and put it back in again?
also when doing a http "post" i get an error message saying see console, but there is nothing there? but the post works correctly .
-
@moth4017 said in Looking for someone to write a plugin for DWC:
Hi is there any reason why all the layouts disappeared when i took out the sd card and put it back in again?
No. BtnCmd only uses the SD card for backup/restore or AutoBackup. Loss of layouts normally are caused by IP address changes, or clearing browser cache.
The error msg is referring to the browser developer console not the gcode console (I need to make that clearer in the error msg). Turn on developer tools in the browser, and see what error msg is generated when you click the button.
-
@mintytrebor
cheers for the reply , it looks like it will be my browser cache as every time my PC starts it clears out the cache..so im playing around with the Global Variable Input Panels (Change/update the value of global variables)
ive set a "Edit Input Panel Settings" and set the global variable name , when i enetr a number then hit return i get this error message "
-
@mintytrebor you don't need to specify "global." in the variable name. Its added automatically as you can only update global variables. Just put the variable name in.