As the title says... Chat on...

User avatar
By Asterion
#50184 I was trying to get enduser_setup running on my WeMOS. It appears in the module list:

NodeMCU custom build by frightanic.com
branch: master
commit: c8037568571edb5c568c2f8231e4f8ce0683b883
SSL: true
modules: adc,bit,bmp085,cjson,coap,crypto,dht,enduser_setup,file,gpio,hx711,i2c,mqtt,net,node,ow,pwm,rc,rtcfifo,rtcmem,rtctime,sntp,spi,tmr,u8g,uart,wifi
build built on: 2016-02-25 14:44
powered by Lua 5.1.4 on SDK 1.4.0


enduser_setup.start and enduser_setup.stop seem to work but enduser_setup.manual returns nil?

So, using the example at docs at nodemcu http://nodemcu.readthedocs.io/en/master/en/modules/enduser-setup/#enduser_setupmanual I don't get a network show up.

Any suggestions? Has "manual" been deprecated?

Cheers,
A
User avatar
By marcelstoer
#50189
Asterion wrote:...powered by Lua 5.1.4 on SDK 1.4.0

enduser_setup.start and enduser_setup.stop seem to work but enduser_setup.manual returns nil?

So, using the example at docs at nodemcu http://nodemcu.readthedocs.io/en/master/en/modules/enduser-setup/#enduser_setupmanual ...


Master and dev branch are at version 1.5.1 but your firmware is still on 1.4 -> upgrade your firmware. A lot of EUS fixes landed in between.
User avatar
By Asterion
#50228
marcelstoer wrote:
Asterion wrote:...powered by Lua 5.1.4 on SDK 1.4.0

enduser_setup.start and enduser_setup.stop seem to work but enduser_setup.manual returns nil?

So, using the example at docs at nodemcu http://nodemcu.readthedocs.io/en/master/en/modules/enduser-setup/#enduser_setupmanual ...


Master and dev branch are at version 1.5.1 but your firmware is still on 1.4 -> upgrade your firmware. A lot of EUS fixes landed in between.


Sounds like fun but the question was why a supplied command, used in the examples pages, is turning up "nil"? That doesn't sound like a bug fix, it sounds like either the software has changed, and the examples need updating, or there are problems with configuration control, which doesn't guarantee that the command is in 1.5.1 either.

Specifically then, has "enduser_setup.manual" snuck back into 1.5.1 after absconding from 1.4? Will the documentation be in sync with the 1.5.1 drop?

Cheers,
A
User avatar
By marcelstoer
#50229 All I'm saying is that you shouldn't be surprised that running a 1.5.1 example on a 1.4 firmware doesn't produce 1.5.1 results - or so. If you find out that the example in the docs (or the EUS code) is faulty please report that as an issue at https://github.com/nodemcu/nodemcu-firmware/issues.