Page 1 of 1

P212 Dashboard plugin

Posted: 31 Dec 2020, 12:26
by enesbcs
A new plugin is added in the end of the year. With Dash plugin the locally added Tasks can be visualised in a table.
Plugin interval defines the page refresh rate, page can be accessed by IP/dash or can be setted to force itself as startpage.

Re: P212 Dashboard plugin

Posted: 31 Dec 2020, 17:18
by TD-er
Hmm that run button is also a good idea to have in ESPeasy.

Re: P212 Dashboard plugin

Posted: 31 Dec 2020, 18:32
by enesbcs
TD-er wrote: 31 Dec 2020, 17:18 Hmm that run button is also a good idea to have in ESPeasy.
Yep, it simply executes taskrun command. :)

And the next button Toggle is for binary outputs only, changes state between 0 and 1.

Re: P212 Dashboard plugin

Posted: 05 Jan 2021, 16:54
by budman1758
Thats a great idea! I just updated on of my units but can't seem to be able to access it. How do you enable this?

EDIT: Nevermind... Found it.

Re: P212 Dashboard plugin

Posted: 05 Jan 2021, 17:15
by enesbcs
budman1758 wrote: 05 Jan 2021, 16:54 Thats a great idea! I just updated on of my units but can't seem to be able to access it. How do you enable this?
Add some tasks that generates data, than add a P212 Dash plugin and setup:
- Size (table)
- Data type [ Text, Binary input/read only, Switch output/changeable, Meter, Gauge, Slider output (dimmer), Select output (has to fill displayed and send values) ]
- Data source (select task+value name)
If the type supports, you can also add "unit" or min/max values.

The result can be accessed at http://ip_addres/dash

Re: P212 Dashboard plugin

Posted: 24 Jan 2021, 19:39
by ndull
Hej,
I don´t find the P212 Dash plugin in the Release mega-20201227 and Release mega-20210114.
I always take the compiled *.bin for flashing.
Thanks greetings from Sverige
ndull

Re: P212 Dashboard plugin

Posted: 24 Jan 2021, 19:55
by Ath
ndull wrote: 24 Jan 2021, 19:39 Hej,
I don´t find the P212 Dash plugin in the Release mega-20201227 and Release mega-20210114.
I always take the compiled *.bin for flashing.
Thanks greetings from Sverige
ndull
P212 is a plugin for RPiEasy, not for ESPEasy...

Re: P212 Dashboard plugin

Posted: 24 Jan 2021, 20:35
by ndull
Hej Ath,
Sorry. Thanks, who can read has a clear advantage.
:-)

Re: P212 Dashboard plugin

Posted: 14 Feb 2021, 15:59
by enesbcs
Ath wrote: 24 Jan 2021, 19:55
ndull wrote: 24 Jan 2021, 19:39 Hej,
I don´t find the P212 Dash plugin in the Release mega-20201227 and Release mega-20210114.
I always take the compiled *.bin for flashing.
Thanks greetings from Sverige
ndull
P212 is a plugin for RPiEasy, not for ESPEasy...
Yes! Although i've backported Dashboard plugin to mPyEasy for ESP32:

https://github.com/enesbcs/mpyeasy/releases

Re: P212 Dashboard plugin

Posted: 16 Mar 2021, 15:23
by ndull
Hej enesbcs,
Thank you. I tried it yesterday. Is there a plug-in to compile yourself for espeasy?
I'm building an old MB608D into a motorhome. I use Espeasy with I2C and various sensors and an I2C OLED display. I would also like to have the Dash for an Android car radio or smartphone. A display for temperatures, water, sewage, battery, etc.
Only 12 devices can be used in mpyEasy and many sensors are missing, for example SGP30, MPU 6050 or PCF8574.
But a good job from you. :-)

Re: P212 Dashboard plugin

Posted: 16 Mar 2021, 15:42
by enesbcs
ndull wrote: 16 Mar 2021, 15:23 Thank you. I tried it yesterday. Is there a plug-in to compile yourself for espeasy?
I do not understand the question, it's in micropython. How do you want to compile it for espeasy?
ndull wrote: 16 Mar 2021, 15:23 Only 12 devices can be used in mpyEasy and many sensors are missing, for example SGP30, MPU 6050 or PCF8574.
I've added only the basic sensors, because the max sketch size for OTA is 1,9MB (for 4MB flash) and now its almost full. Of course a NoOTA-binary can be done with more plugins.
I've PCF8574 and MPU6050 somewhere, so it can be implemented in time.