Script hangs?
See original GitHub issueSorry for probably really stupid question, I tried to create basic script based on your example, but it hangs on object creation. If I leave this part in the code (192.168.1.24 is IP of my bridge):
var light = new Milight({
ip: "192.168.1.24",
delayBetweenCommands: 75,
commandRepeat: 2
});
it simple hangs, no errors, but it doesn’t proceed any further. I am probably missing something basic, but any idea what it can be?
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Bash script hangs - unix - Stack Overflow
The code is working fine but sometimes it will hang. I have no idea why it hangs. Anyone know what is the problem...
Read more >The mystery of hanging batch script until keypress - Davici
Since Windows 10 and Windows Server 2016 I noticed that sometimes a batch or powershell script is hanging or freezing in the middle...
Read more >Bash Script getting stuck during execution
Problem : Sometime while execution of script, it get stuck at some point and then I have to press Ctrl+C to kill that...
Read more >Why Does this Shell Script Hang? - The UNIX and Linux Forums
I have this short and simple shell script that processes a log file with the following format: [function address in hex notation] [timestamp...
Read more >19c preupgrade.jar script hangs & do not return any output
Oracle Database - Enterprise Edition - Version 12.2.0.1 and later: 19c preupgrade.jar script hangs & do not return any output.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks again for your help, it’s working beautifully. I’ve blogged about how it helps with Amazon Echo voice commands, perhaps might be useful as usecase showcase: http://codecorner.galanter.net/2017/02/24/full-control-of-your-limitless-ledmilight-v6-bulbs-from-amazon-echo/ Thanks!
Yuriy, excellent! Thanks for the pointer. I’ll definitely add a link to your article to the README with the next release as I think it is very useful for other users.