Sorry - yes, that sentence got a bit short.
Each phone is run by an arduino - the rest is as explained (I hope)
The issue it the arduino r4 wifi can only use one software serial instance at a time and I need to connect to two devices (the dfplayer and the other arduino)
As can any Arduino board
Why not use one SoftwareSerial instance (if it works on the R4 boards) and Serial1 on pins 0 and 1 ?
Sorry, I'm not super up on the Serial1 thing - but is that not what is being used on the code above?
I borrowed the code from the DFplayer example
#if (defined(ARDUINO_AVR_UNO) || defined(ESP8266)) // Using a soft serial port
#include <SoftwareSerial.h>
SoftwareSerial softSerial(/*rx =*/4, /*tx =*/5);
#define FPSerial softSerial
#else
#define FPSerial Serial1
#endif
if (!myDFPlayer.begin(FPSerial, /*isACK = */true, /*doReset = */true)) {
Update!
So I've resoldered the DF player into the circuit and it seems to be working - so it must have had some wiring issue that couldn't find testing for shorts etc. Perhaps a loose connection on the power or serial.
So it seems the logic is working - I can tell by the behaviour of the hook and the LED indicator on the DF player that it's doing what it is meant to be doing.
Sadly never a door opens but another closes - while it's playing I'm not hearing anything.
I've put a scope on the speaker output and there's definitely an audio signal - maybe the voltage is a bit low - perhaps I somehow blew the amp with all my messing about.
Unless the speaker is now broken - and so I'll try another one first.
Thanks

If I were you I would dispense with the "if defined" tests which are not necessary because you know which board you are using. Instead, hard code for your board. It will be less confusing
aye. I just wasn't too sure which way to code it.
took a speaker out of an old headphone and still no sound. So I guess the amplifier is somewhat broken. The signal seems pretty clean - but I guess maybe that's not enough voltage.
On the Uno 4 WiFi Serial1 uses pins 0 and 1 so you could just use
#define FPSerial Serial1
and connect the player to pins 0 and 1
Any idea what sort of voltage I should be gertting to drive the speaker
What is the resistance of that speaker? Hopefully around 8 ohms. The alternative ‘headphone’ you mention will almost certainly have too high a resistance to be audible.
And I assume the volume command is appropriately set?