Voice activated Baby swing

The first problem is normal I suspect - voice recognition is notoriously unreliable - just look at Alexa :wink:

For the second, have you got the high and low bytes the right way round? What does your serial output show you?