Hope never dies.
@feraltek in cases like this, you cannot just send along things like that and expect the other side to know what to do.
In fact, by the time the code is running, all those nice names you used have been discarded, as they are no longer necessary.
You must design and exploit a system of communication where a message is sent, and code on the other side interprets that code and does something
was that an 'A' : ring the bell
was that a 'B' : spin the cat feeder auger for 0.6 seconds
There are details, see
and do not code any more until you can say that you get the idea.
HTH
a7