Using photon as an ethernet passthrough


#1

I’d like to use a photon (and eventually the option of an electron) as a passthrough device to connect to some equipment with a built in UI. Normally this would be done, either directly from a computer, or over a network, but both options require an ethernet connection.

It would be similar to using teamviewer, where the desktop and UI is already built, but since this equipment doesn’t have any way of connecting wirelessly, I was hoping to use particle to do this.

Edit: I should mention, this device has it’s own static ip assigned when set up.


#2

And your question being?
a) can the photon do this?
b) how can the photon do this?
c) what limitations would the photon have in this application?
d) how would the photon interact with the ‘some equipment’?
e) all of the above?


#3

Yea that would probably have helped. Yes I’m wondering if that’s possible, and probably all of the above. My main questions being: how would this work, and would there be any limitations in how it handles the user interface, as it is fairly graphic intensive (at least for the photons available memory).

I don’t know if this will help, but this is the equipment I’m connecting to. http://www.nortekcontrol.com/products/access-control-systems/access-control/en-2a4/?__hstc=121307415.3c2bbd01dab5ff3ff9bd90c76d44c975.1533761974385.1533991411100.1536924490899.3&__hssc=121307415.3.1536924490899&__hsfp=907575904


#4

@Mjones, you mention you don’t have “Ethernet” available so I assume you are considering the Photon because WiFi is available?

So, if I understand correctly, you want a WiFi to Ethernet bridge using a Photon?


#5

Hey @peekay123 yea, that’s what I am looking for. I have searched the forums but either didn’t use the right term or didn’t find anything similar. Customers will have wifi on site but this is an ethernet only device.


#6

The photon is not an ideal solution for this. What you need is a Wi-Fi Bridge. A Wi-Fi bridge will take Ethernet from your client device and give it access to the Wi-Fi network. Here is a cheap alternative: TP-Link N300 Wireless Portable Nano Travel Router - WiFi Bridge/Range Extender/Access Point/Client Modes, Mobile in Pocket(TL-WR802N)


#7

@Mjones, I believe there are some ethernet libraries using various adaptors (eg. W5100) in the web IDE. Using one of these you could write some bridge code between the WiFi TCP or UDP protocol used by the unit to the Ethernet adapter.


#8

Thanks for the input @peekay123, I may come back to that, but if I can use @ninjatill solution off the shelf, that would probably be a better product without reinventing the wheel, so to speak.


#9

@ninjatill, thanks for the advice, I ordered one of these, hopefully it will work out.


#10

I have that TP-Link device and it’s really handy. It can be an access point, repeater, or Wi-Fi-to-Ethernet bridge. You can also use it to provide Wi-Fi to Photons when there’s a captive portal like in a hotel. And it’s really tiny and powered by USB. I also have one for Photon testing at my desk so I can interrupt the network without affecting the rest of my network.


#11

@rickkas7, that’s a great idea for testing. What do you think of this one:


#12

That one looks good too.


#13

That was the simplest task I’ve ever completed. Thanks @ninjatill, worked perfectly.