So far, we have only exchanged data between different devices within our local network (our own WLAN ). Now we want to make it possible to access the dollhouse from anywhere in the world. Now work together with the group that has been working with the MIT App Inventor. Try together to control the light in the doll's house with the smartphone app.
With a smartphone, you should be able to switch the light (or another actuator) on or off in the dollhouse. This endeavor could be simplified via MQTT as follows:
Your partners have been working on a smartphone app that you can use to control your light in the doll's house. Talk to them and find out how the app works.
Connect the output of the purple node to the input of the lighting in the 1st floor.
Also, draw a connection to a debug node to check later if data is coming from the MQTT Broker.
Now, the remote control with the smartphone should work. Discuss with your neighbor:
What path do the data take from the smartphone to the dollhouse?
Do the data stay within the same room?
Are the data transmitted securely?
Who else has control over your lighting?
Tip: You can locate the MQTT Broker by entering the broker's URL 'schnupperkurs-mqtt-broker.s2.eu.hivemq.cloud' here:
https://www.handy-sofort-orten.de/ip-adresse-orten/ip-adresse-und-standort-von-webservern-zeigen/
Publish the current temperature via MQTT so that you can retrieve the data later using your smartphone. Work together and find out how you can do this.