How to send commands to AP7921 with octopi

First of all, i'd like to apologies for all the mistakes i'll make here, I'm french :smile:

I've got a AP7921 which commands outlets for my ender 3 pro and differents other things around it.

Is it possible to create a button which can send commands such like ON 1 after login and "password -c" (I've found that in this doc )

This could help me to switch on/off my printer for exemple.

Thanks you

Best regards,