ESPEasy R48/R58 - functions and stability

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Pf@nne
Normal user
Posts: 2
Joined: 02 Jan 2016, 13:53

ESPEasy R48/R58 - functions and stability

#1 Post by Pf@nne » 05 Jan 2016, 15:38

Hi,
since a while I play with my ESP8266.
Now I found the ESPEasy-Sketch for Arduino.
Great work, that is exactly what I´m looking for!

But still I have some problems with functions and stability.

Generally the Sketch works hard with the flash-rom,
so that my own sketches would not run anymore.
Even when I force a rest over the serial console.
(erase flash is shown on the serial console).

Only after a complete reflash of the original firmware (I believe with erasing the flash), my own sketches will run again.
http://www.xess.com/blog/esp8266-reflash/

Also the ESPEasy releases R48 and R58 will run stable.

Right now I use the R48 with PiDome MQTT and everything runs well.


Is it possible to create more than 12 devices?

Edit:
Yes it is...

Code: Select all

#define TASKS_MAX                          64
but the forward button does only work up to 16 devices.
To view the devices > 16 you need to edit the URL manually.

Code: Select all

http://192.168.1.30/devices?setpage=5
Which parameter modifies the number of devices on each page?

With the R58 I´m not able to set the MQTT-Broker IP, afer a submit it resets always to 0.0.0.0 again.


Does anybody got the same problem like me or got a hint to solve my problems?


Greetings from Hamburg
Pf@nne

Martinus

Re: ESPEasy R48/R58 - functions and stability

#2 Post by Martinus » 06 Jan 2016, 08:36

Pf@nne wrote:...
Is it possible to create more than 12 devices?

Edit:
Yes it is...

Code: Select all

#define TASKS_MAX                          64
You are right, but you will very likely run into all sorts of unpredictable behavior and errors if you change this. You need to be aware of all the consequences if you change this parameter. Exceeding first limit will start to wipe other configuration areas in flash and exceeding it further may start to write data into a black hole where no flash exists...

The ESP Easy code is currently not written with protection against these things in mind.
Pf@nne wrote:but the forward button does only work up to 16 devices.
To view the devices > 16 you need to edit the URL manually.

Code: Select all

http://192.168.1.30/devices?setpage=5
The page limit was hardcoded, will be fixed in the next build.
Pf@nne wrote:Which parameter modifies the number of devices on each page?
Currently hardcoded to 4.
Beware that changing this may likely result into low system resources and crash your system.


Question: Why the need for more than 12 tasks?

Pf@nne
Normal user
Posts: 2
Joined: 02 Jan 2016, 13:53

Re: ESPEasy R48/R58 - functions and stability

#3 Post by Pf@nne » 06 Jan 2016, 21:51

Martinus wrote:Question: Why the need for more than 12 tasks?
Hi,

I need this for monitoring my heating installation.
Alone the hot water tank needs 10 DS18B20 each 20 cm.
Additionally I want to view the state of the 8 room valves.
Also the puls of the hot water meter.

Right now I use this Sketch:
https://github.com/Pfannex/AktSen

What about this?

With the R58 I´m not able to set the MQTT-Broker IP, afer a submit it resets always to 0.0.0.0 again.

Greetings
Pf@nne

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 8 guests