## 4 Results
### Testing Scenario 2: 3D Things' Virtual Environment  
The 3D environment being presented is composed of a coordinator, two lamps, a fan, and a display. Each one of these virtual devices has an attributed random MAC address, as presented in Table 7. \begin{table}
\begin{tabular}{c c c} \hline \hline
**Description** & **Time (s)** & **Request** & **Output** \\ \hline Initialization & 0 & /out/AE-85-48-8D-A8-F3/1/1 Off & \\ Initialization & 0 & /out/9B-F7-F4-42-16-1E/1/1 Off & \\ Turn on lamp B & 5 & /out/AE-85-48-8D-A8-F3/1/1 On & \\ Set fan B rotation to 1 & 10 & /out/9B-F7-F4-42-16-1E/1/1 Low & \\ Set fan B rotation to 2 & 20 & /out/9B-F7-F4-42-16-1E/1/1 Medium & \\ Set fan B rotation to 3 & 25 & /out/9B-F7-F4-42-16-1E/1/1 High & \\ Turn off lamp B & 30 & /out/AE-85-48-8D-A8-F3/1/1 Off & \\ Turn off fan B & 30 & /out/9B-F7-F4-42-16-1E/1/1 Off & \\ \hline \hline \end{tabular}
\end{table} 
Table 6: Two-dimensional virtual environment devices: schedule-oriented control testing scenario. \begin{table}
\begin{tabular}{c c c c} \hline \hline
**Description** & **Request** & **JSON** & **Events** & **Trigger** \\ \hline Temperature Control & /rule/6E-A4-07-13-FE-CD/1/1 & /out/E3-8D-9E-C2-6E-2D/1/1 Medium”) & /rule/6E-A4-07-13-FE-CD/1/1 & /rule/6E-A4-07-13-FE-CD/1/1 & /rule/6E-A4-07-13-FE-CD/1/1 & /rule/6E-A4-07-13-FE-CD/1/1 & /rule/6E-A4-07-13-FE-CD/1/1 & /rule/6E-A4-07-13-FE-CD/1/1 & /rule/6E-A4-07-13-FE-CD/1/1 & /rule/6E-A4-07-13-FE-CD/1/1 & /rule/6E-A4-07-13-FE-CD/1/1 \\ Motion Monitoring & /rule/6E-A4-07-13-FE-CD/1/1 & /rule/6E-A4-07-13-FE-CD/1/1 & /rule/6E-A4-07-13-FE-CD/1/1 & /rule/6E-A4-07-13-FE-CD/1/1 & /rule \begin{table}
\begin{tabular}{c c c} \hline \hline
**Representation** & **Name** & **Identifier** \\ \hline \hline  & Test Room 3D & 6C-D5-1C-76-E3-85 \\  & Lamp A & D6-BB-99-92-99-3A \\  & Lamp B & E1-8C-83-02-28-DD \\  & Fan & 1C-B2-89-0F-20-01 \\  & Display & A9-94-43-C9-EB-8C \\ \hline \hline \end{tabular}
\end{table} 
Table 7: Three-dimensional environment virtual devices, composed of two lamps, a fan, and a display. Figure 9: Two-dimensional actuators and sensors in action: (**a,b**) with regard to Lamp A and B, respectively, turned on and turned off; (**c,d**) represent the pair of fans (Fan A and Fan B) simulating different rotation intensities, from stopped to highest level; (**e**) depicts the temperature sensor with the lower and the higher reading; and, finally, (**f**) shows the motion sensor, performing in idle and active state. The schedule-driven scenario entailed (manual) synchronization of video content with both the virtual fan and the lamp, aiming the simulation of air-flow increase in (observationally perceived) windy scenes, as well as to impact visual perception with induced illumination wobbling. As shown in Table 8, this scenario lasted for 60 s and starts by turning off the fan, display and both lamps. After displaying a DC Comics video, some effects with the _Lamp A_ and virtual fan were coherently set up to match the scenes characterized by an apparently reduced air-flow, as well as to cope with higher or poorer illumination frame sets. After swapping the display content to a Marvel video, the fan was set up for maximum rotation and _Lamp A_ switched state with _Lamp B_. In the end (second 60), all the virtual devices were shutdown. The different devices and respective variation states used in the 3D environment testing scenario are depicted in Figure 10.  
In both 2D and 3D approaches, important real-time visual insights were provided after each event-based or schedule-driven state change associated to a given device, which allowed us to confirm the proper functioning and usefulness of the proposed prototyping software.