Arduino AND Raspberry connected to the same Website?

Hey guys!

I know I can connect arduino to a raspberry, but I have another question.

Can I have an Arduino and a Raspberry working separately in a same website? I mean, I have an Arduino Uno, and a Raspberry 1 and I want to work with webcam + sensors and motors. Both of them can't do all of it, so I want to use both, Arduino to get and send data, and the raspberry only to stream 'real-time' videos. But I am not sure if I can have both of them connected to the same website.

My real problem: I want to make sure if my door is closed, so I will open a website, and watch the online stream(Raspberry), and if it is opened, I will use the same website to send the information to close it(Arduino).

Thanks guys!

Can't you connect dozens of clients to a website? How does Google manage?

I reckon your problem is designing the website server code and that is beyond the scope of the Arduino Forum.

I presume you are NOT trying to host a complex website on an Arduino?

If you want to create the website on the RPi (or on your own PC) I suggest you have a look at the Python Bottle web framework - you can have a very simple server working in 30 minutes or so.

...R