-
Hi George,
Thanks for you suggestions. looks like I'll have to put my thinking cap on ....
All my servers have a local domain web server, so I'll have to look at putting something on one of those. I could probably do a simple selection menu, with sub folders for each remote host & dedicated config files so that nothing needs to be entered\saved in the browser....
-
@Dr_Ju_Ju There are lots of ways to skin this cat. Using the methods above, you'd never even see the DueUI settings page.
-
I am trying to use dueui again after a long absence, waiting for it to stabilise. Just installed the latest version 3.2.0 to a Duet2 wifi with latest firmware. As the code has been substantially modified I am going to start from scratch again.
Step 1. I used the default config standalone.json file. A continuous string of 'Cannot read property "all of them " undefined'. Problem with dueui-bundle.js. Not reading the machine state file. This is way above my pay grade being a humble mechanical person who only wrote limited Fortran in anger in 1970 onto punchcards.
Step 2. I replaced it with the simple.json file which did work so at least it appears the software and settings are ok - perhaps
I am curious about the syntax in the json file for comments - my online search says no comments are allowed but clearly you have them /* */ and also single lines with // but there are a few value formulae lines with // and also followed by a line with "value" : 0.
I like the idea of putting the settings in the top of the config file but does that make the settings page/file redundant? The settings file is the dueui.html which loads the config.json. I would like access from more than one computer without having the settings in each browser.
-
@garis said in DueUI Release 3.0.1-beta2 Available:
Step 1. I used the default config standalone.json file. A continuous string of 'Cannot read property "all of them " undefined'. Problem with dueui-bundle.js. Not reading the machine state file
Hmmmm. I'll have to fire up an old Duet2 to test. Sorry about that.
...who only wrote limited Fortran in anger in 1970 onto punchcards.
I also write Fortran onto punchcards for an IBM 1130. I loved the sounds of the 029 keypunch machines and the 1442 card punch/reader. I must be (am) weird.
I am curious about the syntax in the json file for comments - my online search says no comments are allowed
The file extension is .json but the contents are actually full JavaScript. That's why you can embed comments and other constructs like classes and functions in them. For security reasons, web servers and browsers can be very finicky when it comes to serving JavaScript files directly so the .json extension is used.
I like the idea of putting the settings in the top of the config file but does that make the settings page/file redundant?
Yep, that's the point. If you have one printer and one browser, then using the setting page is easier because you only have to do it once.
The settings file is the dueui.html which loads the config.json. I would like access from more than one computer without having the settings in each browser.
Actually, it's dueui.js that loads the config.json and that's exactly the point of putting the settings in the config.json.
There are 3 ways to specify the settings, in increasing priority...
- The "Settings" page.
- In the DueUISettings object in the config.json.
- In the URL as a query parameter.
So if you use
http://yourdueui/dueui.html?duet_host=192.168.0.99
for instance, this would override the duet_host setting in the config.json (which would have overridden the duet_host setting in the "Settings" page).https://github.com/gtjoseph/DueUI/wiki/Configuration
With this capability, you can handle anything from single printer/single browser to a large printer farm.
-
@gtj0 said in DueUI Release 3.0.1-beta2 Available:
Hmmmm. I'll have to fire up an old Duet2 to test. Sorry about that.
A gentle reminder about this. It would be a shame if Dueui is no longer compatible with Duet2.
-
@garis said in DueUI Release 3.0.1-beta2 Available:
@gtj0 said in DueUI Release 3.0.1-beta2 Available:
Hmmmm. I'll have to fire up an old Duet2 to test. Sorry about that.
A gentle reminder about this. It would be a shame if Dueui is no longer compatible with Duet2.
Aw crap. I did forget all about this. OK, I'll get it sorted today or tomorrow. Sorry about that!
-
@garis said in DueUI Release 3.0.1-beta2 Available:
@gtj0 said in DueUI Release 3.0.1-beta2 Available:
Hmmmm. I'll have to fire up an old Duet2 to test. Sorry about that.
A gentle reminder about this. It would be a shame if Dueui is no longer compatible with Duet2.
OK, I found a bunch of issues in the default/sample configs. I should have a new release up tomorrow which will also include a few fixes in the connectivity area as well as some instructions for updating config.g's network settings.
-
@gtj0 said in DueUI Release 3.0.1-beta2 Available:
@garis said in DueUI Release 3.0.1-beta2 Available:
@gtj0 said in DueUI Release 3.0.1-beta2 Available:
Hmmmm. I'll have to fire up an old Duet2 to test. Sorry about that.
A gentle reminder about this. It would be a shame if Dueui is no longer compatible with Duet2.
OK, I found a bunch of issues in the default/sample configs. I should have a new release up tomorrow which will also include a few fixes in the connectivity area as well as some instructions for updating config.g's network settings.
I'm going to hold off on a release for a few days. I'm investigating ways to make things simpler by removing the distinction between standalone and DSF versions.
-
@gtj0 Always in favour of Simpler.
-
@garis said in DueUI Release 3.0.1-beta2 Available:
@gtj0 Always in favour of Simpler.
Me too.
I think I have it working but I need to clean it up and test in a few browsers.