8. Work together with an app inventor group

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.  

8.1 Overview

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:

8.2 Implementation on the Smartphone (MQTT Client 1)

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.

8.3 Implementation on the Raspberry Pi (MQTT Client 2)

8.4 Testing and Reflecting!

Now, the remote control with the smartphone should work. Discuss with your neighbor:

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/

 

8.5 Develop the app further

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.