Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nodemcu is restarting after configuring device #3

Open
ugljanin opened this issue Nov 27, 2017 · 0 comments
Open

Nodemcu is restarting after configuring device #3

ugljanin opened this issue Nov 27, 2017 · 0 comments

Comments

@ugljanin
Copy link

Hi,

I really appreciate your work, this script looks amazing and I was very excited to try it. Unfortunately, I am not able to run the script. I have configured all, and tried with different nodemcu firmware, and each of them showed me a different error message like below

New firmware, buit from official firmware builder few days ago

lua: client.lua:46: unexpected symbol near '<eof>' stack traceback: [C]: in function 'dofile' init.lua:72: in main chunk [C]: ?

аgain
ip: 192.168.0.10 initialized length: 0 PANIC: unprotected error in call to Lua API (client.lua:101: attempt to concatenate global 'v' (a nil value))

and when I commented that part

ip: 192.168.0.10
initialized
length: 0
PANIC: unprotected error in call to Lua API (client.lua:104: bad argument #1 to 'remove' (string expected, got nil))

then with old firmware

lua: not enough memory

Please tell me what firmware to use and what should be included. Is there something special to be configured. I am successfully rinning it at first and config page appears. This happens after I submit config and restart node. I have fleshed it number of times.

I even find out that this wifi.sta.config(s.ssid, s.pwd) is changed in new firmware and should be different https://nodemcu.readthedocs.io/en/latest/en/modules/wifi/#wifistaconfig

Server is runing, but nodemcu is restarting all the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant