Feedback required: New sets of plugins/controllers

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
TD-er
Core team member
Posts: 1456
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Feedback required: New sets of plugins/controllers

#1 Post by TD-er » 31 Aug 2019, 20:21

See Github:
https://github.com/letscontrolit/ESPEasy/issues/2590

The last few weeks we're running out of the space available for the sketch.
The test and dev builds now approach their max size so something has to change.

I think the sets of normal, test and dev does not really make sense anymore.

We already have some builds specific for some use case, like specific hardware or just a single purpose.
For example the Sonoff POW as a specific build for off the shelf hardware and the IR builds for the IR RX/TX and AC control.

Maybe we can make more logical build sets.

For this we need some user input to get an idea of sensors often used together or so often they must be included in any build.

Other options are to disable some of the webserver parts if they are not needed.

So please let's get some proper lists of used plugins to redefine the build scripts.

Domosapiens
Normal user
Posts: 282
Joined: 06 Nov 2016, 13:45

Re: Feedback required: New sets of plugins/controllers

#2 Post by Domosapiens » 31 Aug 2019, 22:22

As reported on Github,
My applications are:

- Multi DS18B20 / BME280 Temperature measurement
- Energy calculation by DS18B20 delta Temperature measurement and Flow measurement plus PWM pump control
- Thermostat setting&control by Rotary encoder, MLX90614 IR and DS18B20 Temperature measurement and relay control

all supported by generic:
LCD/OLED display, Touch,IR,RCWL detection, Dummy Devices and System measurement
reported to 2# Domoticz controllers via HTTP
30+ ESP units for production and test. Ranging from control of heating equipment, flow sensing, floor temp sensing, energy calculation, floor thermostat, water usage, to an interactive "fun box" for my grandson. Mainly Wemos D1.

Wiki
Normal user
Posts: 137
Joined: 23 Apr 2018, 17:55

Re: Feedback required: New sets of plugins/controllers

#3 Post by Wiki » 01 Sep 2019, 12:30

Plugins used in different devices:

DS18B20 &INA219 - battery monitoring

DHT21 &OLED framed - Temperature &Humidity measurement and display

Single BME/BMP280 - Temperature &Humidity measurement

Single HC-SR04 - Cisterne monitoring

Nextion, Thermocouple MAX6675 & DS18B20 - Display and switch almost all sensors and switches in my home, measuremnet of environmental temperature & exhaust gases of heating

Different Switches & power monitoring, Blitzwolf, currently used with Tasmota due to oversized ESPEasy .bins

Allover 41 devices in my home, more to come. All of them reporting to Domoticz using MQTT protocol, interacting with each other using UDP Inter-ESP and HTTP out of rules, most of them setting GPIOs depnding on different sensor readings out of rules, most of them using Switch plugin and Dummy devices

Wiki
Normal user
Posts: 137
Joined: 23 Apr 2018, 17:55

Re: Feedback required: New sets of plugins/controllers

#4 Post by Wiki » 01 Sep 2019, 12:46

I forgot:

All of the "mobile" devices powered by battery using internal analogue input for monitoring its battery voltage.

User avatar
budman1758
Normal user
Posts: 231
Joined: 15 Apr 2017, 05:13
Location: Riverside CA USA

Re: Feedback required: New sets of plugins/controllers

#5 Post by budman1758 » 01 Sep 2019, 16:22

Copied from https://github.com/letscontrolit/ESPEasy/issues/2590

My 2 cents...
A much more detailed tutorial on setting up the necessary components to self-compile the firmware with just the plugins needed for your specific use case, If it were a bit easier to understand the process to build your own versions that would reduce the need for 20 to 30 plus bin files every release. I don't think you will ever make a set of pre-built bins that will please everyone. While this would not completely solve the issue methinks it would help immensely. This way you could have some very generic builds for most setups and build a few device specific bins for stuff like Sonoffs etc.
"The glass is twice as big as it needs to be".

Patou
Normal user
Posts: 28
Joined: 21 May 2018, 10:33

Re: Feedback required: New sets of plugins/controllers

#6 Post by Patou » 01 Sep 2019, 17:09

Hello,
I fully support Budman in his demand. To be flexible we should be able to compile our bin file. So a good tutorial to do it should be great.
Most used actually and in project :
- Dummy Device ( as long as we cannot use variables )
- I/O on GPIO
- I/O over I2C : digital I/O (PCF 8574), analog in (ADS1115), pwm out(PCA 9685), slow pwm (P218)
- Displays over I2C : OLED simple, OLED framed, LCD
- Temp sensors : 1 wire Temp (DS18B20)
- Sensors over I2C : temp, hum, Pressure (BMx280), Lux (BH1750)
- Energy (INA219), (Eastron)
- Pulse counter and encoder
- Distance (HC-SR 04) ( P133 : VL53 LOX)
- General purpose serial controler
- I2C EEPROM memory

They are a lot of differents plugins for the same physical use ( as temp sensor for example) you should concentrate on most used !
Hope this can help in improving the ESP Easy
Patou

User avatar
iron
Normal user
Posts: 79
Joined: 24 Sep 2016, 08:37
Location: Veria, Greece
Contact:

Re: Feedback required: New sets of plugins/controllers

#7 Post by iron » 01 Sep 2019, 17:13

Hello,

Something similar to this will work the best :

https://nodemcu-build.com/

User can choose their components and system will provide the image.

-D
-D

HomeJCL
Normal user
Posts: 61
Joined: 03 Feb 2018, 10:42

Re: Feedback required: New sets of plugins/controllers

#8 Post by HomeJCL » 01 Sep 2019, 18:25

iron wrote:
01 Sep 2019, 17:13
Hello,

Something similar to this will work the best :

https://nodemcu-build.com/

User can choose their components and system will provide the image.

-D
This would be killer.

But on the other hand, a thorough foolproof self compile tutorial would be my choice.

Even though I am a big lazy guy, I like the idea of "custom" compile ... to paraphrase a big company "ESP Made Easy"
This would suitably be an extension to ... ESP Easy.

Somehow I'm proud of the idea ESP Made Easy.
Belgium and land of ESP ... counting :D

User avatar
dynamicdave
Normal user
Posts: 167
Joined: 30 Jan 2017, 20:25
Location: Hampshire, UK

Re: Feedback required: New sets of plugins/controllers

#9 Post by dynamicdave » 01 Sep 2019, 19:06

I'd give a thumbs-up for @iron suggestion (as I don't think it will be possible to make a set of lists to keep everyone happy).

Shardan
Normal user
Posts: 1112
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: Feedback required: New sets of plugins/controllers

#10 Post by Shardan » 04 Sep 2019, 15:09

iron wrote:
01 Sep 2019, 17:13
Hello,

Something similar to this will work the best :

https://nodemcu-build.com/

User can choose their components and system will provide the image.

-D
This would be my favorite. There are already such webpages compiling a complete set, even for ESP8266 IoT.

A less nice but possible way would be a solution for self-compiling that is usable for people who are not platformio-specialists.
Far too much time and effort to get it up and running for me being a "now and then" user. It takes up a lot of time to get a result
(a working result is on another note ..) and when I need it another time there are a lot of updates, new bugs and such I've to start all over again.
Platformio is nice, but even for me being 30 years in IT and hardware it is completely useless. I just don't have that much spare time.
Regards
Shardan

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

Re: Feedback required: New sets of plugins/controllers

#11 Post by TD-er » 04 Sep 2019, 18:33

@Shardan
Have you looked at this discussion? https://github.com/letscontrolit/ESPEasy/issues/2594

Shardan
Normal user
Posts: 1112
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: Feedback required: New sets of plugins/controllers

#12 Post by Shardan » 04 Sep 2019, 21:32

You really think that is a solution for a normal user?

Sorry, but if ESPeasy should grow into a business or something alike it needs solutions
a normal user can handle. Vagrant in a virtual machine is far away from that.

For a normal user the Arduino IDE incl. adding libs and core is near the limits if not over limits already.
Platformio is far too complex for many users, honestly including me being a IT admin for more then two decades now.
Vagrant adds more complexity like virtual machines etc - I think most users will be overstrained.

I've seen a nice solution for another software long time ago... just a website with some checkboxes to select modules,
a "compile" button started a check first if this combination is possible, then compiled and offered a download...

Anyways, nearly all nowadays projects suffer from similar problems...
There's another ESP firmware... same problem with installing this and doing that before getting any result (if at all...)
Regards
Shardan

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

Re: Feedback required: New sets of plugins/controllers

#13 Post by TD-er » 04 Sep 2019, 22:05

The whole idea of using Vagrant is to have a single command to run and it will be built.
Later I wanted to add a webserver inside the Vagrant to help define the build setup.

It does not need anything other than the script file and the Vagrant file (and Vagrant)
So all the setup of Platformio etc. is already done.

A hosted build environment is a costly one, it does require quite some resources while users often have cycles and resources to spare.
If this is too difficult, someone may use it to run a build environment.
But you have to make sure you trust the build environment.

At least this is for now something easy to make.
Creating a slick webgui to build stuff is taking time and this is just a way to start somewhere.
It may not be useful for all, but at least it will help some and help us getting insights in what is needed and wanted by the users.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 2 guests