tessel/t2-vm

Arduino control using Johnny-Five example

Opened this issue · 5 comments

tcr commented

This is blocked by #9 to do a proper write-up. Once that is complete / possible, I'll update this issue with instructions.

Neat! This will be fun :)

Report:

  • Installation successful
  • t2 key generate reported that I had an existing key, which I did.
  • t2-vm create successful
  • t2-vm launch & t2 launch index.js --name Tessel-XXXXXXXXXX (with an empty index.js) successful (ie. it doesn't fail for any obvious reason)
  • t2 launch index.js --name Tessel-XXXXXXXXXX with an index.js containing console.log(process.arch); doesn't fail, but doesn't produce the output shown here:
  • t2-vm shell had errors, but there is a PR for that.
  • t2-vm shell does nothing once the dependencies are updated.

It looks like if you run t2-launch and close the window, the VM is closed so to use t2-shell you have to keep t2 launch process running.

That seems confusing to me. @tcr should t2 shell launch the VM automatically?

I also received an error:

Permissions 0644 for '/Users/Jon/.tessel/id_rsa' are too open.

I'm curious if anyone else gets this? It could be a problem with the CLIs t2 provision command.

Workaround is here, if anyone else needs it.

One more update: the issue referenced in my previous comment will be fixed with tessel/t2-cli#154.