-
-
Notifications
You must be signed in to change notification settings - Fork 466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP 3D 2.0 Status #179
Comments
If have added support for ILI9341 SPI Display for me , just a test, works fine. with 320x240/2.4 '' Resolution its better for my eyes. ;) At the momemt i only display sprites on it. With the optional Touch these display are multifunctional usable, no more worry about buttons. They are available from china for less than 6 €. |
I am not familiar with MQTT protocole so sorry if my question looks weird: It seems mqtt is a subscribe/puplish protocole so it needs to be implemented with a goal to discuss with specific target, also the mqtt client for browser looks using websocket. Can you explain / share to me what is the gain to use mqtt for ESP3D ? I would like to learn and understand. |
Hi Luc ,
i use ESPs in my Homeautomation , controlling my planthouse, my
heater,my garden pump, my light and everything which has a switch/cable ;)
Some things dont make sense , some are really good.
MQTT is a message broker where messages could be stored in "channels".
Devices can subscribe to this channels and will be notified when new
messages(values,conditions) arrive.
It is not so easy to control all devices via the included WEB-Interface
so i have a general controling instances , in my case OPENHAB on a PI.
There you can define rules what should happen on which event.
In my projects i use MQTT for send/receive values or conditions from the
devices in a bidirektional way. So i can control the devices not only by
WEB-Interface. In Arduino environment i have good results with the
"PubSubClient".
In ESP3D it would be possible to send Status messages ( is printing, is
finished) to the defineable channels to display the Status in the
homeautomation. Also bed/head temp .
Needed entries (in Flash) were :
MQTT Server : IP or FQDN
Channel Root : path/Name of the channel e.g : /MYCHANNELS/ESP3D
List of values to transmit and a interval time
Hope it is understandable what i wrote.
I have a quick and dirty implemention of mqtt running an my ESP32 with a
collido DIY printer. I have had the effect that ESP32 DHCP clients
always gets a new IP-Adresse , not the ESP8266. With a quick look in
MQTT Server i got the IP sended via MQTT after connected.
Now i have static IP for the ESP32´s.
Dont know if any other will need something like that.
Am 02.11.2017 um 09:21 schrieb Luc:
…
I am not familiar with MQTT protocole so sorry if my question looks weird:
It seems mqtt is a subscribe/puplish protocole so it needs to be
implemented with a goal to discuss with specific target, also the mqtt
client for browser looks using websocket.
I understand it is used on home server like Jeedom or Domoticz but
main usage of ESP3D is WebBrowser
So for sending some data to web browser need tcp/ip + websocket + mqtt
- when today ESP3D use http+ JSON also based on query - answer way.
Can you explain / share to me what is the gain to use mqtt for ESP3D ?
I would like to learn and understand.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#179 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AP3mxpgXY9cao1AKE-BOyNJbNNm1S1eGks5syXt-gaJpZM4QIs2Y>.
|
@kafftass thanks, so this confirm this is only in purpose to link to home automation server. I am quite new in home automation but all servers I have tested Jeedom, Domoticz, openhab support different protocol including JSON for event signal |
@khseal m5stack have their github https://github.com/m5stack - I have ordered one to play with |
Suggestion.
|
1 -Add some GPIO control for turn on/off additional LEDs.
and put the according command in UI using macro 2 - Option to Connect / Disconnect to the printer if using both Wireless and USB connection that one will not work when other is connected. 3 [Luc] Yes that is the plan 4 - [Luc]Not sure how to do that , do you mean Macro accept url as command ? what camera has such command ? |
1 -Add some GPIO control for turn on/off additional LEDs. *Get/Set pin value 2 - Option to Connect / Disconnect to the printer if using both Wireless and USB connection that one will not work when other is connected. [shaddow501] - to add a check mark whether it is controlled by USB or Wireless, than if selected USB than the ESP32 do not transmit TX commands only receives RX. 3 [Luc] Yes that is the plan 4 - [Luc]Not sure how to do that , do you mean Macro accept url as command ? what camera has such command ? ---- I have no idea lol |
1- Macro buttons are buttons ^_^ no ? |
1- where can I find it in the web page? |
How do you write there the command to turn on / off the GPIO can you give an example? |
Should be : You can check the code also : https://github.com/luc-github/ESP3D/blob/master/esp3d/command.cpp#L391-L470 |
Thanks |
I have created a ticket for every topic - thank you everyone |
ESP3D 2.X topic are now properly tagged : https://github.com/luc-github/ESP3D/issues?q=is%3Aissue+is%3Aopen+label%3AESP-2.X |
Devt Plan should follow this list: |
Now working on Reprap Native FW support - thanks to @svs072477 and his nice board ruramps4 M115 give : I have already filled the needed info in https://github.com/luc-github/ESP3D/wiki/Firmware--support The support of M408 will be another part as no more specific to reprap/duet3d |
Hi! |
GRBL is on development version for 2.0 branch which as mentioned on read me is : |
Thank you for the quick reply. |
Still in read me : https://github.com/luc-github/ESP3D/tree/asyncwebserver#installation latest webui is in git also : https://github.com/luc-github/ESP3D-WEBUI/blob/asyncUI/index.html.gz |
Great thank you! |
Just pushed latest update for DHT / Oled support / Websocket: Current FW size is now around 415KB for esp8266 - I think for ESP01 need to disable some feature to fit the space if want to keep Web update - disabling DHT/OLED may help but did not checked |
Hi Luc! You doing awesome work! Great project! |
22 is. On esp32, on esp8266 you can use 16 or any free pin you have |
On ESP8266 I got several data lost issue from serial when quantity is more than 10K, several middle parts are missing - I did not test ESP32 as much as ESP8266 so not sure about behavior on ESP32 I am not sure where the issue come from as even using TCP commands, the bridge is loosing data .... |
Ok it is confirmed: using same core but just put webserver sync and reading 24KB text file - got 0 data lost using serial/telnet bridge (which is not related to Webserver) , and 0 data lost with Serial / Webserver bridge. New ESP3D 2.0c is based on ESP3D 2.0b allowing ESP32/ESP8266 and Webserver Sync or Async , actions to be done are:
So test on Async will be postopned until issue root cause is found - to find out I will do a Minimal code to reproduce Async + Serial/TCP bridge , but currently it is not a priority vs the ESP3D 2.0c |
Ok 3 small issues moving to sync webserver :
This will need a small modification of Web UI but all features will be there. One drawback : this need now to forward 3 ports instead of 1port on routers for external access |
Update : actually use 1 additional port is enough :
|
Code pushed on https://github.com/luc-github/ESP3D/tree/2.0 I did not tested all configurations yet, but it is quite stable, feedback are welcome here #238 For open topics I move them to #239 So this topic can be closed as it become to be long |
А экран oled 128*32 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Ok time to prepare 2.0
What is the plan ?
It will definitly use ASync WebServer to have better both way communication between server and client and avoid some unecessary poiling which can disturb printer:
Any suggestion is welcome and can be discussed here
Devt Plan should follow this list:
1 - File upload check with file size (ESP3D + ESP3D-WEBUI) (done Async 👍 / Sync not Available ATM )
2 - ESP3D as library for daughter board (ESP3D) (done 👍 )
3 - Oled support (ESP3D) (done 👍 )
4 - WSocket + terminal like output (ESP3D + ESP3D-WEBUI)(done 👍 )
5 - GRBL support (ESP3D + ESP3D-WEBUI) (done 👍 )
6 - Output to printer configuration (ESP3D + ESP3D-WEBUI)(done 👍 )
7 - Event management (ESP3D + ESP3D-WEBUI)
8 - DHT 11 / 22 support (done 👍 )
9 - Nextion Screen support ((ESP3D + Nextion FW)
10 - M408 support according target FW support
11 - Reprap support
12 - MKS TFT WiFI support (Simulate MKS-WiFi module behavior to use the connector)
14 - ESP3D as Library as part of main board FW (eg Marlin)
15 UI improvement :
16 - Better support for CNC/laser
17 - support of smoothieware config-override file in settings (done 👍 )
18 - add mixed extruder support (done 👍 )
19 - add toshiba flash air support
20 - add ethernet support for ESP32 (like olimex)
21 - add optional translation file on SPIFFS for oled ESP3D message like (connected, update, etc...)
22 - monitor temperatures on Oled in autonomous way (no web browser connected)
The text was updated successfully, but these errors were encountered: