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

Connect over TCP Address #32

Open
Ti-webdev opened this Issue Jul 13, 2016 · 5 comments

Comments

Projects
None yet
4 participants
@Ti-webdev

Using Espruino Web IDE we can connect to ESP over TCP/IP address.
It will be useful here too.

@gfwilliams

This comment has been minimized.

Show comment
Hide comment
@gfwilliams

gfwilliams Jul 13, 2016

Member

Thanks! Yes, good idea!

Member

gfwilliams commented Jul 13, 2016

Thanks! Yes, good idea!

@arknotts

This comment has been minimized.

Show comment
Hide comment
@arknotts

arknotts Jan 24, 2017

Would be great to have this as an option! This would let one script code updates to several espruinos over wifi, which could save a lot of time when there are a lot of them. I'm not familiar with the code much, but on first glance it seems that another TCP serial module could be added that isn't coupled to the chrome sockets library. I might try my hand at a PR at some point.

Would be great to have this as an option! This would let one script code updates to several espruinos over wifi, which could save a lot of time when there are a lot of them. I'm not familiar with the code much, but on first glance it seems that another TCP serial module could be added that isn't coupled to the chrome sockets library. I might try my hand at a PR at some point.

@gfwilliams

This comment has been minimized.

Show comment
Hide comment
@gfwilliams

gfwilliams Jan 25, 2017

Member

Hi - yes, that'd be great!

Hopefully it wouldn't be too hard to copy serial_socket.js and make it work with Node's API. Then it's just a matter of making the command-line part of it set Espruino.Config.SERIAL_TCPIP and the port to the same IP address and you're sorted.

Out of interest, what boards are you using it with? ESP8266?

Member

gfwilliams commented Jan 25, 2017

Hi - yes, that'd be great!

Hopefully it wouldn't be too hard to copy serial_socket.js and make it work with Node's API. Then it's just a matter of making the command-line part of it set Espruino.Config.SERIAL_TCPIP and the port to the same IP address and you're sorted.

Out of interest, what boards are you using it with? ESP8266?

@arknotts

This comment has been minimized.

Show comment
Hide comment
@arknotts

arknotts Jan 25, 2017

@gfwilliams Yes I'm using pretty much all ESP8266's right now. Only one has espruino flashed on it (the rest have nodemcu/lua) but I'm planning on converting the rest over after trying it. I'd love to have my entire IoT codebase in JavaScript (going to try TypeScript on it as well) and being able to update so easily OTA is a big plus.

@gfwilliams Yes I'm using pretty much all ESP8266's right now. Only one has espruino flashed on it (the rest have nodemcu/lua) but I'm planning on converting the rest over after trying it. I'd love to have my entire IoT codebase in JavaScript (going to try TypeScript on it as well) and being able to update so easily OTA is a big plus.

@gfwilliams gfwilliams referenced this issue Jan 31, 2017

Closed

Docs #322

@planer-pro

This comment has been minimized.

Show comment
Hide comment
@planer-pro

planer-pro Feb 23, 2017

Very useful GREAT IDEA!

planer-pro commented Feb 23, 2017

Very useful GREAT IDEA!

jugglingcats pushed a commit to jugglingcats/EspruinoTools that referenced this issue Mar 12, 2018

gfwilliams added a commit that referenced this issue Mar 14, 2018

Merge pull request #74 from jugglingcats/serial_node_socket
Fix for #32 connect over TCP/IP using CLI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment