Page 1 of 4

New release 1.44.2 for ESP8266

Posted: Wed May 11, 2022 5:48 pm
by cicciocb
Hi all,
after a long time I was finally able to release another version for the ESP8266.

The main improvements are :
Support for TELEGRAM messenger
Improved the MQTT driver (hoping ... :shock: )
Improved the websocket link for the editor page (should be stable now)
Implemented the support for the TM1637 displays with 6 digits and modules with decimal points
Fixed Autorefresh command
Updated online Help
Many other changes / additions / improvements have been included.
Look at the change log below for more details

Version Full 1.44.2
annex.bin


Offline Help (must be unzipped)
Annex_Help_1.44.chm.zip


The complete change log can be found here :

Code: [Local Link Removed for Guests]

Annex Change Log
Version 1.44.2
General change
	- Update to the SDK version 2.7.4
	- Use of BEAR-SSL instead of ATXLS; improvement in terms of performance and memory usage but
		Known regressions
		- The WGETASYNC does not work anymore with SSL protocol
		- The EMAILASYNC does not work anymore with the SSL protocol
Editor Page
	- Improved the connection with the module using a ping / pong mechanism to hold the connection
MQTT
	- Implemented several changes in the MQTT driver
	- Implemented the auto reconnection in case of connection lost
Telegram direct support implemented
	- commands TELEGRAM.xxx
Online Help updated
Fixed Autorefresh command
Fixed an error on a badly placed ELSE not generating the right error
JSON$ function
	- Little improvement that enables to match also the arguments
Command SPI.READ_IOBUFF
	- Fixed
TM1637 display
	- Implemented the support for the 4 and 6 digits Display with decimal points

Re: New release 1.44.2 for ESP8266

Posted: Thu May 19, 2022 1:30 pm
by JosefDuisberg
Improved the MQTT driver (hoping ... :shock: ) ....... ????

Hello Cicciocb, I'm very sorry - the new mqtt driver unfortunately does not work (the ESP system gets extremely slow, occasionally loses the W-Lan connection - re-connect is required)

Josef Duisberg

Re: New release 1.44.2 for ESP8266

Posted: Thu May 19, 2022 4:03 pm
by efalken
hi, just testet mqtt with 8266.
Seems to work as expected but one has to change the mqtt.setup command as described in the help file
old: ret = mqtt.setup("xxx.xxx.xxx.xxx", 1883)
new: ret = mqtt.setup("mqtt://xxx.xxx.xxx.xxx:1883")
hope this helps
greets Erhard

Re: New release 1.44.2 for ESP8266

Posted: Thu May 19, 2022 4:09 pm
by efalken
but sadly there is still no way to declare "last will and testament" as i kindly asked for ...
But great job - thanks so much ciccio

Re: New release 1.44.2 for ESP8266

Posted: Thu May 19, 2022 6:02 pm
by JosefDuisberg
efalken's advice is good - with that I withdraw my "no go" to the driver

Josef Duisberg

Re: New release 1.44.2 for ESP8266

Posted: Fri May 20, 2022 7:59 am
by cicciocb
[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Thu May 19, 2022 4:03 pm hi, just testet mqtt with 8266.
Seems to work as expected but one has to change the mqtt.setup command as described in the help file
old: ret = mqtt.setup("xxx.xxx.xxx.xxx", 1883)
new: ret = mqtt.setup("mqtt://xxx.xxx.xxx.xxx:1883")
hope this helps
greets Erhard
Yes, the syntax of this command is much similar to the ESP32.
For info, by default the port is 1883 for mqtt and 8883 for the mqtts so the new syntax can simply be

Code: [Local Link Removed for Guests]

new: ret = mqtt.setup("mqtt://xxx.xxx.xxx.xxx")

Re: New release 1.44.2 for ESP8266

Posted: Fri May 20, 2022 8:03 am
by cicciocb
[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Thu May 19, 2022 4:09 pm but sadly there is still no way to declare "last will and testament" as i kindly asked for ...
But great job - thanks so much ciccio
Yes, It was my intention but I forgot to include in this release.
It will probably be in the next one.

Re: New release 1.44.2 for ESP8266

Posted: Fri May 20, 2022 8:31 am
by cicciocb
[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Thu May 19, 2022 6:02 pm efalken's advice is good - with that I withdraw my "no go" to the driver

Josef Duisberg
Good news.
Let me know if this version is stable now.

Re: New release 1.44.2 for ESP8266

Posted: Sat May 21, 2022 1:06 pm
by Electroguard
Just checking in case support for hardware wake-up from sleep might be included but not documented ?

Re: New release 1.44.2 for ESP8266

Posted: Mon May 23, 2022 1:18 am
by Zim
thanks cicciocb! autorefresh works great!
Zim