Git Product home page Git Product logo

xreef / mks_wifi_upgrade_with_beeprint_web_interface Goto Github PK

View Code? Open in Web Editor NEW
69.0 8.0 15.0 10.02 MB

Firmware for MKS WiFi module from Makerbase with BeePrint Web Interface, tested with Flying Bear Ghost 4/5/6 Reborn Flsun

License: Other

C 0.37% C++ 37.14% HTML 0.40% Makefile 0.02% JavaScript 0.01% G-code 62.05%
makerbase mks-wifi web stl flying-bear ghost firmware reborn arduino esp8266

mks_wifi_upgrade_with_beeprint_web_interface's Introduction

BeePrint

MKS WiFi MISCHIANTI Web Interface

I am looking for collaborators for the Web interface created in React / Redux, if you are interested write to [email protected]. If we manage to form a small group then I will release that part on GitHub as well.

Version 1.4 Thanks to Aleksandr Shell for the russian language translation. Thanks to reprapy for the polish language translation.

Version 1.6 Thanks to Ronaldo Risso for Portuguese language

Changelog
  • 2023-02-07 BeePrint 1.6.1 MKS WiFi 1.3 Minor fix on Portuguese language and firmware compiled with double MHz (from 80MHz to 160Mhz) for better performance
  • 2023-02-04 BeePrint 1.6 MKS WiFi 1.2 Add Portuguese language (thanks Ronaldo Risso), remaining time and minor fix
  • 2022-02-03 BeePrint 1.5 MKS WiFi 1.2 Better RU translation, fix preload and check the file length
  • 2022-01-08 BeePrint 1.4 MKS WiFi 1.2 Static IP configuration, mDNS, polish translation and minor fix
  • 2022-01-02 BeePrint 1.3 Polish language
  • 2021-12-30 BeePrint 1.2 Add GCode sender widget
  • 2021-12-14 BeePrint 1.1 Add Camera rotation features
  • 2021-12-03 BeePrint 1.0 Fix the mobile menu on WebView

I bought a FlyingBear Ghost 5 with integrated WiFi module, but I discover that there is no web interface. I don’t know why they can’t add a basic user interface. Then I went to see the web interface the high-end Makerbase cards and realized that it was better they didn’t develop it.

My solution was to modify the firmware to support the Web Socket and develop the Web interface. This feature is compatible with all Makerbase cards that have an MKS WiFi module.

Video of the first versione of BeePrint web interface

I also decided to explain all the development phases of the project and in this article here I would like to expose the hardware infrastructure of the MKS WiFi card that interfaces with the Makerbase Robin Nano.

I add a Web Socket protocol to manage the communication via Web interface, and I create a responsive and complete Web Interface

To prevent speculation over my work I realease all in CC BY NC ND Creative Commons License

mks_wifi_upgrade_with_beeprint_web_interface's People

Contributors

1ronman avatar wondercrm avatar xreef avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mks_wifi_upgrade_with_beeprint_web_interface's Issues

Head fan

The work of the cooling fan of the part is not displayed correctly. He works, in the web app displayed 0.

web page

Hello
I downloaded your code and it worked, I want to modify the page, but I don't know the development process of this page modification, it seems to use javascript and webpacket to modify, can you tell me the page modification process?

Flash Feature

Hi Mischanti, i dont know if youre aware, but the example config for AI Thinker flash has been changed to a slider, could you change your code to be a slider too? or provide a link to a cam config with a button? Thanks

I love the work youve done already, and constantly tell the Fokoos members to use your code. Thanks

Add light and/or PSU control

I have been dreaming for a long time to be able to turn on the printer remotely, as well as control the backlight.
Can you please add a couple of buttons to the interface, and I will try to add these functions to the back end??

I see the implementation like this:
connect 2-3 relays to free pins on esp.

  • One relay will turn off the main power supply.
  • The second relay (and the third?) will turn on the backlight (which is powered by the printer's built-in 24v power supply).

It will be great if I can control two lights from the web interface, such as a switch or a slider, since I have a separate one for recording time-lapses, but it is too bright to be on all the time.

In order for the circuit to continue working when the 24v power supply is turned off, I suggest that the main motherboard (together with the ESP) can be connected to a separate 5v power supply, for example from an old phone or tablet, then the ESP will remain online even if the main power supply is turned off and you can will turn it on remotely over the network.

Can't upload MksWifi_WebView.bin

I'm not quite understand if I'm doing everything right.
I have Flyingbear Ghost 5 with Marlin firmware. Trying to upload MksWifi_WebView.bin from web interface, it waits around 30 seconds and then I receive "Connection was reset" message from browser. So it looks like it wasn't applied. Then I tried to flash MksWifi.bin and it was successful, but then I don't have root page /. It displays 404 error. So I have uploaded original wifi firmware and still can't upload MksWifi_WebView.bin.

Web error

Hello, several errors appear in the web application.

Uncaught TypeError: t.refreshChart is not a function

Lb(Mb(t = a.call(this, e)), "refreshData", (function() {
   t.refreshChart()  *
}

warning: logic (L(CRON_START)-2) is still running after 60s, forget to call done()? For non-ending logic, set warnTimeout: 0

pi((function() {
   console.error("warning: logic (".concat(r, ") is still running after ").concat(o / 1e3, "s, forget to call done()? For non-ending logic, set warnTimeout: 0"))
}

uploading some files with specific file name crashes web interface or causes issues

Hello, I recently installed BeePrint 1.6.1 on my FliyngbearGhost 5 with stock firmware 5.91.

I have some gcode files created in the past.

I connect to web interface and uploading files with the File Upload box I pinned to the Home page. I used Firefox, Chromium and Falkon browsers to repeat the test. Also restarted the printer with the power switch.

If I upload files (any file) with the following names the web interface crashes (becomes a gray empty page) and must be refreshed to show interface again. Upload fails.

ramRack05_Desktop_16stick_x2.gcode
ramRack05_Desktop_16stick.gcode
customizable_fan_cover_80.gcode

If I upload a file named "customizable_fan_cover_120.gcode", the file in the SD card is named "customizable_fan_cover_120.gcodeȴ)" in the web interface
so the upload process has appended "ȴ)" to the file name.
If I connect the SDcard to a PC I see that the file name is "customizable_fan_cover_120.gcode却)"
Checking with checksums, the files are the same.

A similar issue (file is uploaded but has symbols appended to the file name) happens also with
hdd_dock_withEnclosure_x2.gcode

webhook log

it would be awesome if you can receive webhook messages on discord or slack at the end of the work!

Drag&drop file on upload widget

Thanks for version 1.4.
I am reporting a minor bug also present in previous one.
Using file drag&drop with upload widget do not enable "Upload" and "Upload and Print" buttons.

Automatic printer shutdown via home automation - http POST to Tasmota device

Thanks for your excellent program, I've installed it on a Artillery Sidewinder X2 and it is working perfect !
I do have a question for enhancement though and I'm not sure if I need to leave a comment on your website or via GITHUB. I choose the latter.
The enhancement I would like to request is to shut down the printer via a home automation wallplug once done printing to shutdown the printer completely. I've had a look at your source files and do see there's an email/SMTP notification included (but not enabled via the UI ?).

ESP3D has a similar function on which one can POST HTTP, encoded into Base64 format via [ESP620]URL=
The Tasmota wallplug accepts web (HTTP) requests, for example:
http:///cm?cmnd=Power%20TOGGLE.
This works great on ESP3D (V3) in combination with Tasmota.

I'm not a programmer but do have a basic understanding of code. It is highly appreciated if you would consider adding such a function. Grazie mille !

Can't flash into FBG5. Update resets wifi settings

Hi, I tried to flash this and there is a problem. After pressing update button (webview or firmware) there is a ~30seconds delay and then error "server reset connection". Then printer is not available by ip and display show its wifi settings gone. After joining wifi network I can see default update web page.

[Feature Request] GCODE execution Output

C'è un modo per recuperare l'output del codice g inviato che non implica funzioni di movimento? Vorrei prendere la configurazione del firmware inviando M501 ma non so dove recuperare l'output.

Compiling the frontend

Hello, I have tried to compile .bin files from the source code and upload them to my printer. I have successfully compiled one of them (firmware) but I can't see an option to compile second .bin (that one with web interface). Could anyone help me with that? Thanks in advance!

Printing from File List box does not work

Hello, I recently installed BeePrint 1.6.1 on my FliyngbearGhost 5 with stock firmware 5.91.

I have some gcode files created in the past that have been uploaded or copied to SD card.

I connect to web interface and I try to launch a print from the File List box I pinned to Home page, clicking on the "printer" icon of the file. I used Firefox, Chromium and Falkon browsers to repeat the test. Also restarted the printer with the power switch.

I see that the status goes to Printing for a few seconds but then returns Idle. I don't see any change on the touchscreen of the printer (when a print is started it will show printing information as most printers do)

If I upload a file using the "Upload and Print" button then it will start printing.

If I go to the printer and select the file to print from the touch screen, it also starts printing.

This does not seem related to file names. I can't print any file by clicking on the "printer" icon.

The buttons in the Printer Status box work fine, I can stop or pause or resume a print job.

Add Baud rate to settings

Marlin comes configured for 250000 baud by default now, and different printers come configured with different values. It appears that it is hard coded to 115200 in your firmware. It would be great to have this as a setting so that folks don't have to re-flash any firmware to update baud rates.

Add mDNS responder

The WiFi printer screen does not display the Printer Number as in the original firmware. Not a bug because it is not used anywhere.

May I suggest to implement the mDNS responder in order to use the name instead of the IP that can change due to DHCP?

Thanks
alf45tar

Printer not connected

I bought a MKS Robin WIFI, installed on my FLSun SR (MKS Nano 3), set my WIFI data and upload your firmware.
When I try to access to web interface I can see your interface and, on start, the messagge "print connected", however the printer is not connected in fact in all the webserver page (for example temparature, print, ...) I see "not connected" label.

How to send M114 - Get Current Position

I'm trying to get the current position using the M114 command via websocket and nothing is returned.
Any tips on how I can change the firmware to allow this?

File upload error

Hi. I tried to update to your firmware from release using web page (previosly there was original firmware). I uploaded webView file first and it was succesfull, but when I tried to upload main firmware I got "File error". And now I can't update both - getting same error. Also I can't downgrade to original firmware
image
image

I'm using MKS Robin nano 1.4 PCB with original wifi module

Marlin support

It would be cool to have Marlin support alongside with RRF support.
I know, this firmware is basically a modded MKS WiFi firmware which only supports RRF as far as I can tell, but having a config parameter to build for Marlin support would be just great.
Any plans on that? Any hints on where to start to get things running on Marlin?

How do I modify the UI of the web?

Hi Renzo Mischianti
I would like to modify it to suit laser engraving use. I am a novice and not very familiar with Arduino. Can I build it using VScode? Any advice and tutorials? Many thanks!

Uploading Files

I am having upload issues. Most of the time the file upload does not complete. I put some debug statments in the wifi-module, and it appears that it never reveived the lastFragment flag. I think this is an issue in wifi firmware, however I am unable to compile it as the esp8266 core can not be downloaded from github as it appears there is a virus in one of the files.

Cant Compile

need to update from and to
char* firmwareVersion = "MISCHIANTI_v1.3"
const char* firmwareVersion = "MISCHIANTI_v1.3";

need to update to have a return value
int package_static_ip_info()
int package_net_para()

im new to coding but assuming its "return 0" at the end

Remove WIFI signal debug print

Hi,
I'm using Repetier-Host to connect with the printer using WiFi.
I always get WIFI: -78 (the signal strength) printed on the log windows. I think that it becomes from the esp and the serial connection emulated with TCP/IP connection. Is it possibile to remove those prints?

Thank you

Error caused by Chinese path in SD card

I am a Chinese user. In the process of using, I noticed that there seems to be no Chinese path in the SD card directory, which will lead to frequent disconnection of printers in the storage interface. Will there be access support for Chinese interface and Chinese path in the future?

The above is using translation machine translation. I'm sorry if the abnormal translation causes offence

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.