alfrix
fc0f153023
reorder imports
2022-11-20 07:28:05 -03:00
alfrix
cebd371734
websocket: fix for when websockets-client doesnt pass the class object #796
2022-11-20 00:23:19 -03:00
alfrix
7ca37c56b6
websocket: refactor how the connection is handled
2022-11-18 12:56:05 -03:00
alfrix
675f28b318
Use GLib.idle_add instead of Gdk.threads_add_idle
2022-11-18 02:51:41 -03:00
alfrix
9b1b9593e8
ws: add 7130 as default for wss close #786
2022-11-18 00:53:53 -03:00
alfrix
18d8f835a9
always reinit printer on state changes
2022-11-18 00:53:53 -03:00
alfrix
b68cfa40fd
refactor ws reconnect/retry
2022-11-18 00:53:53 -03:00
alfrix
4272109a27
use screen printer_initializing method instead of direct calls
2022-11-18 00:53:53 -03:00
alfrix
fdf13102fe
screen: remove shutdown variable and change on_close to disconnect
2022-11-18 00:53:53 -03:00
alfrix
8b55d2f2b1
splash_screen: limit reconnections, clear log, add reconnect button
2022-11-11 10:25:55 -03:00
alfrix
d3d7104ec4
languages: refactor
...
- No full restart requirement just reload
- Fix some systems not loading the language
- Fix RTL not applied if the lang was not set by the system
2022-10-26 22:36:52 -03:00
Nick Douma
89e89ae1b2
Change URL protocol to HTTPS and WSS when connecting to port 443
2022-09-02 19:58:53 -03:00
alfrix
aa5f91a548
Wait more time to initialize
2022-08-01 12:23:40 -03:00
alfrix
6510b2ec6b
Refactor
...
Use f-strings
Avoid unnecessary casts to str()bool()int()
Ensure file closure
Merge nested ifs
Simplify for-assigns-appends with comprehensions and internal functions
Avoid shadowing internal function names
Initialize variables
Return value directly instead of assign then return
Make some methods static
2022-08-01 12:23:40 -03:00
alfrix
5a36729b76
PEP8, typos and warnings fixes
2022-05-31 11:14:42 -03:00
alfrix
562e49b8d2
logging: exceptions can log more info
2022-05-31 11:14:42 -03:00
alfrix
6f86448405
Fix issues while Moonraker is connected but klipper is disconnected
...
fixes #548
2022-03-28 16:47:52 -03:00
alfrix
b83f12265d
Splash_screen: fix return and duplicated power devices
...
fix forcefully returning the user from menu to splash when there is no connection to moonraker/klipper
fix a case where the power device was added multiple times to the list
2022-03-24 10:34:27 -03:00
Alfredo Monclus
046e03b883
Improve error messages ( #549 )
...
Shows if the issue is with moonraker or klipper
if the issue is with klipper and there is info about it then show it
Reconnect now has a counter and it's visible to the user
2022-03-18 20:18:53 -03:00
alfrix
5899c8feab
Optimize imports
2022-03-15 12:41:21 -03:00
alfrix
1b7f908d6b
Websocket: wait at least 3 seconds until reconnect, 1 second was too low even locally
2022-03-01 16:17:27 -03:00
alfrix
320b7a8836
Update websocket-client to 1.3.1
2022-02-28 19:57:50 -03:00
alfrix
be3c24198d
Websocket: fix issue when trying to connect to an offline printer
...
Fix : #401
2022-02-23 23:24:01 -03:00
Alfredo Monclus
d24f3d6f5c
Fix close Websocket ( #434 )
2022-01-13 11:04:02 -05:00
Julian Schill
51d26a3a29
Add temperature fans to heaters ( #325 )
...
* Add temperature fans to heaters
* Make code prettier
* Indentation
2021-11-16 21:03:14 -05:00
Jordan
2f6149c5b7
Fix connect issues with moonraker. Addresses #328
2021-11-16 20:59:06 -05:00
Jordan
70d8315539
Update code style
2021-09-11 17:25:38 -04:00
Jordan
000f30327b
files: Handle case for create_dir notifications
2021-06-12 15:26:01 -04:00
Jordan
e49c19e2d9
websocket: Fixes due to issues with recent websocket-client update
2021-06-01 07:56:09 -04:00
Jordan
236fb0c4ff
websocket: Change connect and logging statements to be more accurate
2021-05-08 21:38:51 -04:00
Jordan Ruthe
7b6efa0521
logs: hide certain logging statements
2021-05-02 17:46:51 -04:00
jordanruthe
5e31e3cfa6
Multiple printers ( #85 )
...
* screen/printer_select/splash_screen: Updates to allow changing between moonraker instances
* Updates to multiple printers
* settings: Display printer endpoints
* Update macros to be on a per-printer basis
* files: Changes to clear out file cache on printer switch
* job_status: Redo page for action bar
* splash_screen: Change icon
* websocket: Actually close the websocket
* printer: Fix error case
* splash_screen: show buttons update
* readme update
2021-03-05 18:30:59 -05:00
Jordan Ruthe
c0b4b464bd
Changes to logging implementation
2021-02-21 12:19:30 -05:00
Jordan Ruthe
0c73b3831b
preheat: add heater_generic
2021-02-19 15:21:50 -05:00
Jordan Ruthe
b251a2ebbb
Websocket: changes to include closing websocket
2021-02-15 14:20:39 -05:00
Jordan
9aa4389eaf
websocket: remove token debug
2020-12-28 11:53:00 -05:00
Jordan
37c043b3f9
KlippyWebsocket: changes to allow for moonraker api key
2020-12-20 15:43:42 -05:00
Jordan Ruthe
c3f96418ea
screen: allow custom moonraker url/port
2020-12-16 23:02:33 -05:00
Jordan Ruthe
cc59ec68d0
Add power panel
2020-11-28 14:00:26 -05:00
jordanruthe
3b62439939
Move files to ks_includes and update references
2020-11-18 17:15:05 -05:00
Jordan Ruthe
c2be717fa9
Move support files to ks_includes folder.
...
Fix job_status panel submenu
2020-11-17 00:03:02 -05:00