The sequence of events:
+ my finger pushes the „Led Zeppelin on/off“ switch on the HABDroid app on my smartphone
+ HABDroid sends the event over my WLAN to the openHAB runtime running on the Raspberry Pi
+ my openHAB binding receives the event, connects to the XBee USB dongle and sends „1“ (0x31)
+ my Arduino UNO receives the „1“ over the XBee receiver item on the Wireless Shield
+ my Arduino UNO sends „full speed“ to the connected electronic motor
+ the electronic motor starts and drives the barrel organ
All details and videos:
<a href="https://www.torres.at/openhab-raspberry-pi-arduino-xbee-led-zeppelin-music-machine/" target="_blank">https://www.torres.at/openhab-raspberry-pi-arduino-xbee-led-zeppelin-music-machine/</a>