-->
Page 1 of 3

NodeMCU LUA freezes IPTV

PostPosted: Wed Oct 28, 2015 5:20 pm
by wolverine88pt
Hello, why my IPTV freezes when running this code?

print(wifi.sta.getip())
--nil
wifi.setmode(wifi.STATION)
wifi.sta.config("SSID","password")
print(wifi.sta.getip())

Best Regards,
Ricardo

Re: NodeMCU LUA freezes IPTV

PostPosted: Thu Dec 10, 2015 5:40 am
by bacf
Hi
Do you solved this issue? I'm having the same problem with a MEO box....

Re: NodeMCU LUA freezes IPTV

PostPosted: Sat Jan 16, 2016 6:25 am
by muralha
Same here.
I have a dev kit 1.0 and every time I power it up, the IPTVs stop streaming after 30-75 sec.
Then after 30-60 sec, the IPTVs streams comes back on.
Then after 30 sec, it freezes again.
Then after 10-20 sec, the steam comes back and it's looking stable for a few minutes now.

I've tested with master and dev (today's) builds and both make the same problem.
btw, dev build with debug, doesn't show anything.

Does anyone knows what's going on?

Re: NodeMCU LUA freezes IPTV

PostPosted: Sun Jan 17, 2016 11:51 am
by devsaurus
There are reports that the default DHCP name that's being generated by Espressif's SDK can cause trouble for certain services in the local network: DHCP Device name contains illegal underscore in development build. Maybe that's the root cause of your issue.

You could try with the new wifi.sta.sethostname() to set a better DHCP name for your ESP. Do this before the wifi.sta.config() and wifi.sta.connect() commands. Also do not use the autoconnect feature of wifi.sta.config() and set it to 0.