03-06-2021, 07:31 PM
Hi everybody
I'm trying to command my Moode Audio RPI with URL requests sent by a an Arduino DIY automation system, which uses Ethernet as HTTP client and HTTP server on port 80.
It can also use DNS to resolve names and contact a server or a website.
This is the MPD reference : https://www.musicpd.org/doc/html/protoco...aylistinfo
With Moode audio, this commands work fine:
http://moode/command/?cmd=next
http://moode/command/?cmd=previous
http://moode/command/?cmd=pause
http://moode/command/?cmd=play
http://moode/command/?cmd=stop
http://moode/command/?cmd=vol.sh%2085 // set volume to 85% - mind '%20' is 'space' char
http://moode/command/?cmd=play%2021 // play song n°22 in the queue ; mind that song n°1 is '0' not '1'
But other commands do not work at all:
http://moode/command/?cmd=playlistinfo
http://moode/command/?cmd=currentsong
...
I want to do a "full command line" if possible.
And if possible, I want to "navigate" in MP3 directory :
- get list of files in current dir
- get list of dir in current dir
- go inside dir
- go back to parent dir
- add files to queue
- clear queue
Also my Arduino system can use other port than 80 to connect to a server.
But Arduino do not have enough power, ROM and RAM to handle complex secure connexions (like HTTPS or SSH)
Best regards.
I'm trying to command my Moode Audio RPI with URL requests sent by a an Arduino DIY automation system, which uses Ethernet as HTTP client and HTTP server on port 80.
It can also use DNS to resolve names and contact a server or a website.
This is the MPD reference : https://www.musicpd.org/doc/html/protoco...aylistinfo
With Moode audio, this commands work fine:
http://moode/command/?cmd=next
http://moode/command/?cmd=previous
http://moode/command/?cmd=pause
http://moode/command/?cmd=play
http://moode/command/?cmd=stop
http://moode/command/?cmd=vol.sh%2085 // set volume to 85% - mind '%20' is 'space' char
http://moode/command/?cmd=play%2021 // play song n°22 in the queue ; mind that song n°1 is '0' not '1'
But other commands do not work at all:
http://moode/command/?cmd=playlistinfo
http://moode/command/?cmd=currentsong
...
I want to do a "full command line" if possible.
And if possible, I want to "navigate" in MP3 directory :
- get list of files in current dir
- get list of dir in current dir
- go inside dir
- go back to parent dir
- add files to queue
- clear queue
Also my Arduino system can use other port than 80 to connect to a server.
But Arduino do not have enough power, ROM and RAM to handle complex secure connexions (like HTTPS or SSH)
Best regards.