gysmo38 / mitsubishi2MQTT

Mitsubishi to MQTT with ESP8266 module
GNU Lesser General Public License v2.1
371 stars 133 forks source link

Feature request: Flash ESP via Chrome Web Serial API #196

Open renne opened 1 year ago

renne commented 1 year ago

Hi,

currently OS-specific command-line tools or IDEs are necessary to flash mitsubishi2MQTT on the ESP. This makes the use of mitsubishi2MQTT impossible for non IT-savy users.

I suggest flashing the ESP via the Chrome Web Serial API. Tasmota for example uses the Chrome Web Serial API here via the ESP Web Tools.

The Chrome Web Serial API is supported by Google Chrome browsers and Microsoft Edge browsers.

Sprinterfreak commented 1 year ago

Well, someone not able to understand basic simple and well documented tasks like flashing an ESP should probably not mess with high voltage electronic equipment internals.

renne commented 1 year ago

@Sprinterfreak Apart from that connecting an ESP is Safety-Extra-Low Voltage not every electrician has to understand how to set up and configure an IDE. A lot of people don't want to litter up their field devices with special tools for specific purposes but use a more general approach.

The propagation of mitsubishi2MQTT will thrive if people can install it without superfluous complexity for testing, learn the benefits and then install an IDE to add features.

Lin4fun commented 1 year ago

@renne

I promise you that every electricain nowa days is able to program a esp as this is part of the base education of an electrician. I made my excam in 1995 and there it was already a main part to program, solder and create electronic steering.

And even if the connector have just 5 / 3.3 v, you have to take the main power and open up the device which is probihitet in many countries by law for poeple who haven't been schooled to do this.

Actually the way how you try to get this function from a person which is not earning a cent by publishing his nice work is a bit off.

You can buy yourself a working box from melcloud, thats for sure the better solution for you.