question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Sorry 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:closed
  • Created 7 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ygalantercommented, Feb 25, 2017

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!

0reactions
mwittigcommented, Feb 25, 2017

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found