Azure IoT Speaker play_cloud command broken
-
This Azure handler won't play cloud based wav files. The play_local works fine though. The error message shown when trying to play a WAV URL is below:

Unhandled exception in thread started by <bound_method> Traceback (most recent call last): File "libs/m5mqtt.py", line 101, in _msg_deal_task File "libs/m5mqtt.py", line 88, in update File "umqtt/robust.py", line 80, in check_msg File "umqtt/simple.py", line 271, in check_msg File "umqtt/simple.py", line 259, in wait_msg File "libs/m5mqtt.py", line 50, in _on_data File "IoTcloud/Azure.py", line 333, in direct_method_cb File "<string>", line 33, in azure_direct_Speaker_play_cloud File "hardware/speaker.py", line 135, in playCloudWAV File "hardware/speaker.py", line 82, in playWAV ValueError: Data Format is not valid
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login