homieiot / homie-esp8266

💡 ESP8266 framework for Homie, a lightweight MQTT convention for the IoT
http://homieiot.github.io/homie-esp8266
MIT License
1.36k stars 308 forks source link

Stable Release 2.0 #454

Closed timpur closed 5 years ago

timpur commented 6 years ago

How do we feel about current Dev being released as stable, in the near future?

Anyone have bugs but havent reported it ?

timpur commented 6 years ago

Who wants to help write up some release notes?

Im ready for this to happen.

@marvinroger @tripflex @euphi and anyone else?

euphi commented 6 years ago

The documentation is in a very good state so there is no need for long release notes.

So I would just write that the beta has been proven as stable and there is more exciting stuff to come with releases 2.1 and 3.0.

The most important new features have already been summarized in the release notes for beta.1, so they can be used as base for the release notes.

What do you think about some small "press release", so Homie-ESP8266 may get some advertisement? Such a release could be send to some maker magezine / technical news portals!?

bodiroga commented 6 years ago

Hi @timpur!

Great to see that you are going to release Homie-ESP8266 2.0 as a stable version!

One question though, is this (https://github.com/marvinroger/homie-esp8266/issues/485) problem fixed in the 2.0 branch? I know that you have fixed it in your 2.1 branch, but is there any option to backport it to the 2.0 branch?

For new and inexperienced users using the web ui to configure the device is a much more pleasant experiencience and we should offer it as an option. Every documentation page talks about this method and was the prefered one, so please, keep it in the 2.0 stable version :pray:

Thanks you so much for your work!

timpur commented 6 years ago

I think you have a good point there actually, I think I will merge the bug fixes (that make sense) back to 2.0

timpur commented 6 years ago

I shall do these things over the week and, we should be ready this weekend.

bodiroga commented 6 years ago

Awesome! Thanks for taking my comment into account :+1:

I will help debugging before the final release, keep up with the good job!

timpur commented 6 years ago

merged some issues #501 back to 2.0 from 2.1

@bodiroga can you check the CORS issue #446 @Gulaschcowboy can you test #477

Thanks guys.

bodiroga commented 6 years ago

Hi @timpur!

I have deleted the previously installed homie-esp-2.1 library, downloaded the "develop" branch as a .zip file, imported it to my Arduino IDE, reflashed the NodeMCU and... it works! The configuration page make its job, so I can confirm that the CORS issue is resolved :+1:

Thank you so much for the effort!

timpur commented 6 years ago

Thank you for testing :)

bodiroga commented 6 years ago

Good morning again @timpur!

This is not very important, but I'm not sure if you could clean the different warning messages that appear in the compilation stage before the final version. It is just an aesthetic thing, nothing serious :wink:

Here you have what I get when compiling a Homie sketch:

/home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie.cpp: In constructor 'HomieInternals::HomieClass::HomieClass()': /home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie.cpp:13:30: warning: 'BUILTIN_LED' is deprecated (declared at /home/aitor/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/variants/nodemcu/../generic/common.h:78) [-Wdeprecated-declarations] Interface::get().led.pin = BUILTIN_LED; ^ /home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Logger.cpp: In member function 'virtual size_t HomieInternals::Logger::write(uint8_t)': /home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Logger.cpp:20:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ /home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Logger.cpp: In member function 'virtual size_t HomieInternals::Logger::write(const uint8_t, size_t)': /home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Logger.cpp:24:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ /home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Timer.cpp: In member function 'uint32_t HomieInternals::Timer::getInterval()': /home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Timer.cpp:20:12: warning: statement has no effect [-Wunused-value] _interval; ^ /home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Timer.cpp:21:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ /home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Boot/BootConfig.cpp: In member function 'void HomieInternals::BootConfig::_proxyHttpRequest(AsyncWebServerRequest)': /home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Boot/BootConfig.cpp:285:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < request->headers(); i++) { ^ /home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Boot/BootConfig.cpp: In member function 'void HomieInternals::BootConfig::_onDeviceInfoRequest(AsyncWebServerRequest)': /home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Boot/BootConfig.cpp:339:32: warning: comparison with string literal results in unspecified behaviour [-Waddress] if (iSetting->getType() != "unknown") { ^ /home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Boot/BootConfig.cpp: In static member function 'static void HomieInternals::BootConfig::__parsePost(AsyncWebServerRequest, uint8_t, size_t, size_t, size_t)': /home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Boot/BootConfig.cpp:425:41: warning: pointer of type 'void ' used in arithmetic [-Wpointer-arith] void buff = request->_tempObject + index; ^ /home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Boot/BootConfig.cpp:428:43: warning: pointer of type 'void ' used in arithmetic [-Wpointer-arith] void* buff = request->_tempObject + total; ^ /home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Boot/BootConfig.cpp: At global scope: /home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Boot/BootConfig.cpp:433:21: warning: 'const String ConfigJSONError(String)' defined but not used [-Wunused-function] static const String ConfigJSONError(const String error) {

Low priority feature request, take your time! Thank you!

timpur commented 6 years ago

@bodiroga can you test my dev branch for warnings ? https://github.com/timpur/homie-esp8266/tree/develop

bodiroga commented 6 years ago

Perfect @timpur, no more warning messages! You are really fast!

timpur commented 6 years ago

Again thanks for testing.

stritti commented 5 years ago

@bodiroga could we close this issue?