maybe easier to use Dashboard replacement

Moderators: grovkillen, Stuntteam, TD-er

Message
Author
User avatar
chromo23
Normal user
Posts: 1004
Joined: 10 Sep 2020, 16:02
Location: germany

Re: maybe easier to use Dashboard replacement

#201 Post by chromo23 » 20 Nov 2024, 10:58

TD-er wrote: 20 Nov 2024, 10:34 Ah never mind, I need more coffee :)

I did 'save as' on the GH page, but then it doesn't save the file, it saves the web page from Github....
That happens to the best of us. :) Which reminds me of making the file maybe a bit more accessible.
TD-er wrote: 20 Nov 2024, 10:29 Hmm I uploaded the index.htm.gz (also the different versions of the fetch) to a 16M ESP32S3 due to the flash size.


Since the index.htm.gz is so small (about 11k) you can basically use any esp. In my house my "main" unit that hosts the file is an esp8266 with 4mb, but in other places it also runs on an esp8285 with 1mb of flash (but these are custom builds with only the stuff I need on the unit).

TD-er
Core team member
Posts: 9882
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: maybe easier to use Dashboard replacement

#202 Post by TD-er » 20 Nov 2024, 11:22

Yep, but when right-click save the file from your GH page, you get a file of 200 - 400 kB.
That should have triggered some idea of "hmm I must be doing something wrong here"...

User avatar
ThomasB
Normal user
Posts: 1361
Joined: 17 Jun 2018, 20:41
Location: USA

Re: maybe easier to use Dashboard replacement

#203 Post by ThomasB » 12 Feb 2025, 02:46

It's been three years since I tried this add-on. I just loaded it onto one of my projects. The interface is very nice, even without any customization.

I cannot figure out the meaning to the changing negative number on the right side of the web page title. What does it mean?

Is there a way to hide plugin values via HTML edits instead of changing their names in ESPEasy?

- Thomas

TD-er
Core team member
Posts: 9882
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: maybe easier to use Dashboard replacement

#204 Post by TD-er » 12 Feb 2025, 08:41

Or maybe we should just add some extra options to alter specific layout terms per task and store it in a separate file on the file system.

User avatar
chromo23
Normal user
Posts: 1004
Joined: 10 Sep 2020, 16:02
Location: germany

Re: maybe easier to use Dashboard replacement

#205 Post by chromo23 » 12 Feb 2025, 09:35

ThomasB wrote: 12 Feb 2025, 02:46 I cannot figure out the meaning to the changing negative number on the right side of the web page title. What does it mean?
I am not quite sure what you mean? Do you mean the unit number in the url? e.g.: "?unit=2"
If so, that is to bookmark a specific unit...
ThomasB wrote: 12 Feb 2025, 02:46 Is there a way to hide plugin values via HTML edits instead of changing their names in ESPEasy?
Unfortunately not... yet...
TD-er wrote: 12 Feb 2025, 08:41 Or maybe we should just add some extra options to alter specific layout terms per task and store it in a separate file on the file system.
Which is why i made this PR: https://github.com/letscontrolit/ESPEasy/pull/5231
(but it is more an idea than a working PR)

User avatar
chromo23
Normal user
Posts: 1004
Joined: 10 Sep 2020, 16:02
Location: germany

Re: maybe easier to use Dashboard replacement

#206 Post by chromo23 » 12 Feb 2025, 09:38

ThomasB wrote: 12 Feb 2025, 02:46 The interface is very nice, even without any customization.
I updated easyfetch (PWA app ability, auto colored sensortiles, thermostatslider) but didn`t release it yet
Could you test this for me? (Not necessarily for the new functions just to see if the layout still works as expected :) )
index.htm.gz
(11.86 KiB) Downloaded 87 times

User avatar
chromo23
Normal user
Posts: 1004
Joined: 10 Sep 2020, 16:02
Location: germany

Re: maybe easier to use Dashboard replacement

#207 Post by chromo23 » 12 Feb 2025, 16:22

TD-er wrote: 12 Feb 2025, 08:41 Or maybe we should just add some extra options to alter specific layout terms per task and store it in a separate file on the file system.
ThomasB wrote: 12 Feb 2025, 02:46 Is there a way to hide plugin values via HTML edits instead of changing their names in ESPEasy?
I might have an idea... ;)

Teaser:
efc_test.gif
efc_test.gif (285.91 KiB) Viewed 15251 times

TD-er
Core team member
Posts: 9882
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: maybe easier to use Dashboard replacement

#208 Post by TD-er » 12 Feb 2025, 16:42

And then fetch/save JSON?

User avatar
ThomasB
Normal user
Posts: 1361
Joined: 17 Jun 2018, 20:41
Location: USA

Re: maybe easier to use Dashboard replacement

#209 Post by ThomasB » 12 Feb 2025, 17:21

I am not quite sure what you mean? Do you mean the unit number in the url? e.g.: "?unit=2"
I mean the negative number at the page title, which constantly changes. See image.

Screenshot showing numeric value at title.
Screenshot showing numeric value at title.
Screenshot1.jpg (81.1 KiB) Viewed 15236 times
Could you test this for me? (Not necessarily for the new functions just to see if the layout still works as expected
Works the same as before, but now is in color rather than gray. The image above was captured with your test release.

- Thomas

TD-er
Core team member
Posts: 9882
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: maybe easier to use Dashboard replacement

#210 Post by TD-er » 12 Feb 2025, 17:28

Maybe the negative number is the RSSI?

Smotek7
Normal user
Posts: 222
Joined: 01 Aug 2020, 16:18
Location: SK

Re: maybe easier to use Dashboard replacement

#211 Post by Smotek7 » 12 Feb 2025, 17:44

github ..
unit-name: the unit-name of the unit that is actual selected. next to it is the signalstrength in dBm of this unit.

User avatar
chromo23
Normal user
Posts: 1004
Joined: 10 Sep 2020, 16:02
Location: germany

Re: maybe easier to use Dashboard replacement

#212 Post by chromo23 » 12 Feb 2025, 18:24

TD-er wrote: 12 Feb 2025, 16:42 And then fetch/save JSON?
Yes, it will (hopefully) save a small json file on each device where you hit the save button. But i will keep the "old" functionality as well
ThomasB wrote: 12 Feb 2025, 17:21 Works the same as before, but now is in color rather than gray. The image above was captured with your test release.
Great! Next version you will be able to change/choose the colours yourself again :)
TD-er wrote: 12 Feb 2025, 17:28 Maybe the negative number is the RSSI?
ThomasB wrote: 12 Feb 2025, 17:21 I mean the negative number at the page title, which constantly changes. See image.

maybe i should change this to a more human readable/understandable number/icon

User avatar
ThomasB
Normal user
Posts: 1361
Joined: 17 Jun 2018, 20:41
Location: USA

Re: maybe easier to use Dashboard replacement

#213 Post by ThomasB » 12 Feb 2025, 18:29

Cool. Would never have guessed it was the device's RSSI. Apparently I missed the github info that said it was signal strength, so my bad.
maybe i should change this to a more human readable/understandable number/icon
Good idea. Maybe make it configurable so it can be turned on/off. And/or allow the user to add "dBm" to it.

- Thomas

Smotek7
Normal user
Posts: 222
Joined: 01 Aug 2020, 16:18
Location: SK

Re: maybe easier to use Dashboard replacement

#214 Post by Smotek7 » 12 Feb 2025, 18:56

When a discussion started here after a while and I wanted to try it two years ago, I started doing it.
@chromo23 it's perfect and simple.

I have a question, if I put a standard website on port e.g. 88
Is it possible to set the fetch to be on 80?

User avatar
chromo23
Normal user
Posts: 1004
Joined: 10 Sep 2020, 16:02
Location: germany

Re: maybe easier to use Dashboard replacement

#215 Post by chromo23 » 13 Feb 2025, 11:57

Smotek7 wrote: 12 Feb 2025, 18:56 Is it possible to set the fetch to be on 80?
No, the web server port that is set in the settings is the one where easyfetch can be reached...

User avatar
chromo23
Normal user
Posts: 1004
Joined: 10 Sep 2020, 16:02
Location: germany

Re: maybe easier to use Dashboard replacement

#216 Post by chromo23 » 14 Feb 2025, 12:34

TD-er wrote: 12 Feb 2025, 16:42 And then fetch/save JSON?
I need some help. My idea was to save the config.json on each esp. But since easyfetch uses one esp as the main unit and sends everything through that device I get CORS errors when trying to save a file to another esp.
Any idea how to solve this apart from storing all config data on one device?

User avatar
chromo23
Normal user
Posts: 1004
Joined: 10 Sep 2020, 16:02
Location: germany

Re: maybe easier to use Dashboard replacement

#217 Post by chromo23 » 14 Feb 2025, 17:32

I still need help with saving the json files. Any info/idea is welcome.

Easyfetch is progressing and most things are working as intended. It got a lot easier to customize. :)
efc2.gif
efc2.gif (2.03 MiB) Viewed 14874 times

User avatar
ThomasB
Normal user
Posts: 1361
Joined: 17 Jun 2018, 20:41
Location: USA

Re: maybe easier to use Dashboard replacement

#218 Post by ThomasB » 14 Feb 2025, 18:13

That is nice!

- Thomas

TD-er
Core team member
Posts: 9882
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: maybe easier to use Dashboard replacement

#219 Post by TD-er » 14 Feb 2025, 18:41

We could also add some extras for the easyfetch.
For example we already have SettingsArchive, where you can select what is allowed to download from somewhere.
I guess we could add some extra features to define what is allowed.
And then add some p2p command to get/set the ESPEasyFetch preferences.
This way you can just call a command via one node to set some settings on the other one.

Or we can open Pandora's box to try and fix it using CORS.

User avatar
chromo23
Normal user
Posts: 1004
Joined: 10 Sep 2020, 16:02
Location: germany

Re: maybe easier to use Dashboard replacement

#220 Post by chromo23 » 14 Feb 2025, 21:22

TD-er wrote: 14 Feb 2025, 18:41 And then add some p2p command to get/set the ESPEasyFetch preferences.
This way you can just call a command via one node to set some settings on the other one.

Or we can open Pandora's box to try and fix it using CORS.
Whatever it will be, i think it is important that every device keeps its own settings.
Implementing pandora seems to be the fastest option 😛
More elegant could be a p2p command for adding settings.
Advantage of the file version right now is, that i can easily gzip the json file for saving space.

Anyhow, my biggest problem right now is, that no matter the solution, it will take time that i don’t have. From the middle of march on i will not be able to take care of easyfetch for quite some time, so i was hoping to finish it before. So anyone’s help is appreciated 🙂

Edit: Full file control would also mean that i could add some snippets for additional features right into the rules files. But i am aware, that this would be security wise a tiny bit controversial 😉

User avatar
ThomasB
Normal user
Posts: 1361
Joined: 17 Jun 2018, 20:41
Location: USA

Re: maybe easier to use Dashboard replacement

#221 Post by ThomasB » 18 Feb 2025, 03:46

The latest changes (that allow custom layouts) looks amazing. Hopefully you will be able to finish it before your March deadline. I can help test, but that is all.

- Thomas

User avatar
chromo23
Normal user
Posts: 1004
Joined: 10 Sep 2020, 16:02
Location: germany

Re: maybe easier to use Dashboard replacement

#222 Post by chromo23 » 18 Feb 2025, 16:13

ThomasB wrote: 18 Feb 2025, 03:46 The latest changes (that allow custom layouts) looks amazing. Hopefully you will be able to finish it before your March deadline. I can help test, but that is all.

- Thomas
Hey Thomas, i really appreciate your offer. I am almost finished but my code is usually like a rusty water pipe. Everytime i sealed a leak, it starts to leak somwhere else :)
Testing is very important as I cannot try every possible layout myself. So please feel free to play around with easyfetch.

My solution to store the settings for now:

On the "main" unit, easyfetch creates a file called "main_efc.json.gz" which contains all the information for each node.
In parallel, easyfetch stores an individual file called "efc.json.gz" on the remote node that has been customized. (So one can customize a node and deploy it as a standalone somewhere else.
The JS for the customization is loaded via CDN to keep easyfetch as small as possible. So internet is required for customizing the nodes

Now the thing
TD-er wrote: 14 Feb 2025, 18:41Pandora's box
Pandora's box has already been opened without anyone noticing. :o
I was so happy that my files were stored on the remote nodes, even with a CORS error. But so does a rules.txt. I don't think I need to explain what that means. :(

Edit: Unfortunately the fix to this issue will again take the easy out of easyfetch :roll:

User avatar
ThomasB
Normal user
Posts: 1361
Joined: 17 Jun 2018, 20:41
Location: USA

Re: maybe easier to use Dashboard replacement

#223 Post by ThomasB » 18 Feb 2025, 18:53

Please post the code when you are ready to release it. I will test.

I currently don't have a need for multiple node support. It's just one device that monitors my home's HVAC (heating/cooling) system.

- Thomas

User avatar
chromo23
Normal user
Posts: 1004
Joined: 10 Sep 2020, 16:02
Location: germany

Re: maybe easier to use Dashboard replacement

#224 Post by chromo23 » 18 Feb 2025, 20:00

ThomasB wrote: 18 Feb 2025, 18:53 I currently don't have a need for multiple node support.
That's fine. Maybe other people like to test and report that :)


Get your easyfetch: https://github.com/chromoxdor/easyfetch/tree/FS

short manual:

desktop:
  • right click on any tile: opens the context menu.
  • right click outside the tiles: undo not yet saved changes
  • left click outside the tiles: applies changes without saving
smartphone:
  • two finger short click outside the tiles: activates/deactivates the customization
  • longer touch on tile: opens context menu
  • touch somewhere else: applies changes without saving
Better highlighting (now all values of a task are highlighted for easier orientation) and a nicer context menu:
ef2.gif
ef2.gif (720.21 KiB) Viewed 13898 times

User avatar
ThomasB
Normal user
Posts: 1361
Joined: 17 Jun 2018, 20:41
Location: USA

Re: maybe easier to use Dashboard replacement

#225 Post by ThomasB » 19 Feb 2025, 01:48

Testing was a success. I created a layout that works well for my application. No issues, was intuitive.

Two things I couldn't figure out: (1) How to restore a fully hidden tile. (2) How to colorize switch-input tiles (off state) and empty tiles.

BEFORE:

BEFORE (earlier easyfetch)
BEFORE (earlier easyfetch)
before.jpg (69.19 KiB) Viewed 13846 times

AFTER:

AFTER (latest easyfetcy)
AFTER (latest easyfetcy)
after.jpg (64.36 KiB) Viewed 13840 times


Thanks for the new features. This thing rocks!

- Thomas

User avatar
chromo23
Normal user
Posts: 1004
Joined: 10 Sep 2020, 16:02
Location: germany

Re: maybe easier to use Dashboard replacement

#226 Post by chromo23 » 19 Feb 2025, 08:48

ThomasB wrote: 19 Feb 2025, 01:48 (1) How to restore a fully hidden tile.
There is the show button and the you could use the restore button of the tile or uncheck the hide option and
ThomasB wrote: 19 Feb 2025, 01:48 (2) How to colorize switch-input tiles (off state) and empty tiles.
Actually not on my list because i want them to be visually distinguishable from the other tiles. Maybe later...


Here a gif of unhiding a device:
efc_hide.gif
efc_hide.gif (311.77 KiB) Viewed 13792 times

User avatar
ThomasB
Normal user
Posts: 1361
Joined: 17 Jun 2018, 20:41
Location: USA

Re: maybe easier to use Dashboard replacement

#227 Post by ThomasB » 19 Feb 2025, 18:20

Thanks for tip to restore a hidden tile.

From a fresh start, I have to temporarily modify an existing tile in order to see the "Show" control button. Not an obvious thing to do (at least to me). So it would be a good idea to mention this when you update the user instructions on GitHub.

Thanks again for creating this fantastic ESPEasy GUI.

- Thomas

User avatar
chromo23
Normal user
Posts: 1004
Joined: 10 Sep 2020, 16:02
Location: germany

Re: maybe easier to use Dashboard replacement

#228 Post by chromo23 » 19 Feb 2025, 23:06

ThomasB wrote: 19 Feb 2025, 18:20 From a fresh start, I have to temporarily modify an existing tile in order to see the "Show" control button. Not an obvious thing to do (at least to me). So it would be a good idea to mention this when you update the user instructions on GitHub.
Fixed!
"Save" and "Reset" now appear as soon as you right click a tile. The "hide/show" button now only appears when something is hidden.
You don't need to do something since the config script is served via CDN but i also did a bit of fixing to easyfech itself (20250219/efc6).
If you encounter issues try to download the new index.htm.gz first...
ThomasB wrote: 19 Feb 2025, 18:20 Thanks again for creating this fantastic ESPEasy GUI.
Thanks :)

User avatar
ThomasB
Normal user
Posts: 1361
Joined: 17 Jun 2018, 20:41
Location: USA

Re: maybe easier to use Dashboard replacement

#229 Post by ThomasB » 20 Feb 2025, 02:10

Thank You. Existing code has your new changes for the Show control. No need to download anything.

- Thomas

User avatar
chromo23
Normal user
Posts: 1004
Joined: 10 Sep 2020, 16:02
Location: germany

Re: maybe easier to use Dashboard replacement

#230 Post by chromo23 » 21 Feb 2025, 12:26

I made some updates:
(minimum easyfetch version 20250221/efc6 is needed)
  • order everything :)
    order style: 1,2,3,4,...,0,0,0,-1,-2,-3,... (default value is "0" for all tiles)
  • choose single values and group them to "bigSingles"
  • address single tiles of "big values" by right clicking a second time on the tile
efc_updates1.gif
efc_updates1.gif (895.71 KiB) Viewed 12898 times

User avatar
ThomasB
Normal user
Posts: 1361
Joined: 17 Jun 2018, 20:41
Location: USA

Re: maybe easier to use Dashboard replacement

#231 Post by ThomasB » 21 Feb 2025, 23:32

Big Values is something I can use. Thanks for adding it.
- Thomas

User avatar
ThomasB
Normal user
Posts: 1361
Joined: 17 Jun 2018, 20:41
Location: USA

Re: maybe easier to use Dashboard replacement

#232 Post by ThomasB » 22 Feb 2025, 18:29

I've installed version 20250221/efc6 and I don't see the new features. Do I have to do something extra to enable them?

- Thomas

User avatar
chromo23
Normal user
Posts: 1004
Joined: 10 Sep 2020, 16:02
Location: germany

Re: maybe easier to use Dashboard replacement

#233 Post by chromo23 » 22 Feb 2025, 18:45

ThomasB wrote: 22 Feb 2025, 18:29 I've installed version 20250221/efc6 and I don't see the new features. Do I have to do something extra to enable them?

- Thomas

Hey Thomas,
have you tried hard reloading the page? Because the config component is loaded from a cdn, it gets cached in your browser. To force the browser to get the new version, you need to do the hard reload.

User avatar
ThomasB
Normal user
Posts: 1361
Joined: 17 Jun 2018, 20:41
Location: USA

Re: maybe easier to use Dashboard replacement

#234 Post by ThomasB » 22 Feb 2025, 18:52

I've tried F5 reload and also manually clearing cache. Also switched browsers. No joy.
Here is what I see when I try to edit Delta-T:

Delta-T
Delta-T
delta.jpg (56.52 KiB) Viewed 12250 times

- Thomas

User avatar
chromo23
Normal user
Posts: 1004
Joined: 10 Sep 2020, 16:02
Location: germany

Re: maybe easier to use Dashboard replacement

#235 Post by chromo23 » 22 Feb 2025, 19:38

Can you show what are your options in the dropdown menu?

User avatar
ThomasB
Normal user
Posts: 1361
Joined: 17 Jun 2018, 20:41
Location: USA

Re: maybe easier to use Dashboard replacement

#236 Post by ThomasB » 22 Feb 2025, 20:41

Apologies, but I don't know which menu you need. Here is what I see when I right-click SYSTEM:

screenshot.jpg
screenshot.jpg (43.18 KiB) Viewed 12207 times

I also experience random ESPEasy reboots while editing. Not a big problem, just wanted to note that.

- Thomas

TD-er
Core team member
Posts: 9882
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: maybe easier to use Dashboard replacement

#237 Post by TD-er » 22 Feb 2025, 22:51

Reboots on what kind of ESP board?
If ESP8266, Could you try to use a 'normal' build of the 2nd heap build from this GH Actions build?
https://github.com/letscontrolit/ESPEas ... 3460676096

User avatar
chromo23
Normal user
Posts: 1004
Joined: 10 Sep 2020, 16:02
Location: germany

Re: maybe easier to use Dashboard replacement

#238 Post by chromo23 » 22 Feb 2025, 23:35

ThomasB wrote: 22 Feb 2025, 20:41 Apologies, but I don't know which menu you need. Here is what I see when I right-click SYSTEM:
I need to see the content of the list of this dropdownmenu:
dropdown.png
dropdown.png (99.24 KiB) Viewed 12145 times
ThomasB wrote: 22 Feb 2025, 20:41 I also experience random ESPEasy reboots while editing. Not a big problem, just wanted to note that.
Thats odd because the interaction with ESPEasy didn't change. It is still only fetching json every 2 seconds.
Reasons for reboots can be:
- running out of flash
-running out of ram
- issues with rules

User avatar
ThomasB
Normal user
Posts: 1361
Joined: 17 Jun 2018, 20:41
Location: USA

Re: maybe easier to use Dashboard replacement

#239 Post by ThomasB » 22 Feb 2025, 23:40

I need to see the content of the list of this dropdownmenu:
Dooh! I didn't look in there. And that is where it is. Works great too.

I use a ESP32-DevKit-C with 20241221_climate_ESP32_4M316k. I'm not worried about the reboots because they are seldom/random. Only happen when I am busy making changes to the easyfetch GUI.

- Thomas

User avatar
chromo23
Normal user
Posts: 1004
Joined: 10 Sep 2020, 16:02
Location: germany

Re: maybe easier to use Dashboard replacement

#240 Post by chromo23 » 22 Feb 2025, 23:55

ThomasB wrote: 22 Feb 2025, 23:40 Only happen when I am busy making changes to the easyfetch GUI.
Word of advice: When you customize, try to finish customization first before saving the settings. Every time you click the green "save" button, the settings file gets written onto the device.
But I also remember having problems with older ESPEasy versions of this time that randomly rebooted. (But not because of easyfetch)

User avatar
ThomasB
Normal user
Posts: 1361
Joined: 17 Jun 2018, 20:41
Location: USA

Re: maybe easier to use Dashboard replacement

#241 Post by ThomasB » 23 Feb 2025, 02:42

Advice noted. Thanks.

- Thomas

User avatar
chromo23
Normal user
Posts: 1004
Joined: 10 Sep 2020, 16:02
Location: germany

Re: maybe easier to use Dashboard replacement

#242 Post by chromo23 » 04 Mar 2025, 18:40

Last feature before i leave the country for a while:
charts (and the option to hide value names)

charts can only be displayed when "stats" are enabled in ESPEasy.
I would appreciate some testing....
Get you copy from this branch: https://github.com/chromoxdor/easyfetch/tree/FS_chart
efc_chart.gif
efc_chart.gif (426.91 KiB) Viewed 11026 times
efc_chart2.gif
efc_chart2.gif (414.07 KiB) Viewed 11026 times

TD-er
Core team member
Posts: 9882
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: maybe easier to use Dashboard replacement

#243 Post by TD-er » 04 Mar 2025, 21:42

Looks nice :)

User avatar
ThomasB
Normal user
Posts: 1361
Joined: 17 Jun 2018, 20:41
Location: USA

Re: maybe easier to use Dashboard replacement

#244 Post by ThomasB » 05 Mar 2025, 03:31

Very nice.

I loaded the new release and I could not get the charting to work. I can see the graph in the plugin's stats, but the chart box in the GUI remains blank.

Also, reloading the page or saving changes causes the ESP32 to become non-responsive. Requires a reboot. Reverted back to release 20250221 and this behavior is gone.

The demo videos are very helpful, but a bit too fast for me. Is there a way to slow them down (for us old guys)? :)

- Thomas

User avatar
chromo23
Normal user
Posts: 1004
Joined: 10 Sep 2020, 16:02
Location: germany

Re: maybe easier to use Dashboard replacement

#245 Post by chromo23 » 05 Mar 2025, 09:29

ThomasB wrote: 05 Mar 2025, 03:31 I loaded the new release and I could not get the charting to work. I can see the graph in the plugin's stats, but the chart box in the GUI remains blank.
Thanks for trying it out. Can you tell me which version of ESPEasy you are using? Older builds (like mine from ESP_Easy_mega_20241017) have a bug where the Json is not generated correctly so easyfetch falls back to the version without the chart data in it. Thats why the chart fields are blank even when "stats" are enabled.
ThomasB wrote: 05 Mar 2025, 03:31 Also, reloading the page or saving changes causes the ESP32 to become non-responsive.
What do you mean by that? ESPEasy shouldn't become non-responsive at any point.
With easyfetch, there may be conditions that I have not taken into account which could cause it to stop working.
Can you show me the console output in the developer tools of your browser? I would like to see what error message is coming up...
ThomasB wrote: 05 Mar 2025, 03:31 The demo videos are very helpful, but a bit too fast for me. Is there a way to slow them down (for us old guys)?
I understand. I thought the repetitions make up for the speed :)

User avatar
chromo23
Normal user
Posts: 1004
Joined: 10 Sep 2020, 16:02
Location: germany

Re: maybe easier to use Dashboard replacement

#246 Post by chromo23 » 05 Mar 2025, 10:32

ThomasB wrote: 05 Mar 2025, 03:31 Reverted back to release 20250221 and this behavior is gone.
I updated the code for better error handling
You need to download a new index.htm.gz (20250305/efc_chart1)
https://github.com/chromoxdor/easyfetch/tree/FS_chart

But I am pretty sure you need to update ESPEasy as well, since the fix for the broken JSON was merged by TD-er on the 17th of January.(https://github.com/letscontrolit/ESPEasy/pull/5227)

EDIT: There is still an issue with easyfetch, so don't donwload yet!

User avatar
chromo23
Normal user
Posts: 1004
Joined: 10 Sep 2020, 16:02
Location: germany

Re: maybe easier to use Dashboard replacement

#247 Post by chromo23 » 05 Mar 2025, 11:06

Fixed.
Should be all good in: 20250305/efc_chart2

User avatar
ThomasB
Normal user
Posts: 1361
Joined: 17 Jun 2018, 20:41
Location: USA

Re: maybe easier to use Dashboard replacement

#248 Post by ThomasB » 05 Mar 2025, 19:36

[1] Upgraded ESPEasy
Was: mega_20241221_climate_ESP32_4M316k
Now: mega_20250224_climate_ESP32_4M316k

[2] Installed 20250305/efc_chart2

Success! Charting is working. Thanks!

- Thomas

User avatar
ThomasB
Normal user
Posts: 1361
Joined: 17 Jun 2018, 20:41
Location: USA

Re: maybe easier to use Dashboard replacement

#249 Post by ThomasB » 05 Mar 2025, 21:18

I see you made another update a few minutes ago. :)

Warning Message
Warning Message
Screenshot 2025-03-05 121253.jpg (23.76 KiB) Viewed 10751 times

Installed it, no problems encountered.

Thomas

User avatar
chromo23
Normal user
Posts: 1004
Joined: 10 Sep 2020, 16:02
Location: germany

Re: maybe easier to use Dashboard replacement

#250 Post by chromo23 » 05 Mar 2025, 21:26

ThomasB wrote: 05 Mar 2025, 21:18 I see you made another update a few minutes ago.
Yes... since there are now two parts for easyfetch it makes sense to have a version check instead of telling people the whole time to update via the forum :)

Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests