gysmo38 / mitsubishi2MQTT

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

Sorry for asking about this - programming help:) #52

Closed jascdk closed 4 years ago

jascdk commented 4 years ago

First of all - I know this is way off for this project BUT - I think this project has turned out to be very nice - and with a very cool interface / GUI.

I have a project going on with controlling a Danish branded Nilan Vent system, that is controlled via modbus. the project is here https://github.com/jascdk/Nilan_Homeassistant

I really want to have some kind of same GUI experience like in this project, but the code is massive and I simply don't know where to start (im not much into coding :/)

Does someone of you have a kind of template / thing for this code, so I can get on going. I have tried to pick out parts and so, but it always messes up :(

Thanks in advance and sorry for posting this "issue" as it is not related to this project.

All the best

Jacob

gysmo38 commented 4 years ago

Hello, Sorry for late answer... I use for webserver You can find tutorials to understand how it work. For mitshubishi2mqtt code, all HTML code are in hearder file. For example html_pages.h have body html code, html_common have header and footer html code. In html code we use VARIABLES string to have dynamic content. We replace it in C code. Have a look at the function handleStatus() in mitsubishi2mqtt.ino to have an example.

jascdk commented 4 years ago

@gysmo38 thats alright :D Big thanks - will try checking it out:)

gysmo38 commented 4 years ago

@jascdk I close the issue but feel free to re open or open a new one if needed.