myServer 6 has a Tasmota driver that allows easy connection to devices that have the Tasmota firmware installed.
Relay Devices from Sonoff and Shelley have been tested to work well.
Flash the device to the Tasmota firmware (if not already)
Using a PC, find the Tasmota device in the list of Wifi Access Points. Connect to it.
A webpage should then open to configure the Tasmota devices Wifi credentials for your Wifi network.
Once the Wifi settings are set the Tasmota device will reboot in Wifi Client mode and connect to the Access Point you defined.
If no connection is possible (wrong AP info), Tasmota will revert to it's Access Point mode to try again.
If successful in connecting to the Wifi network, you should see it's new IP address (DHCP).
Connect to the new IP address from a PC on the same network.
Go to the devices webpage (it's IP address) in a browser
Click on Configuration button, then MQTT
Set the system up like:
name the device in the Topic ie: tasmota/name_of_your_device
Click Save. Device will reboot.
The myServer 6 Tasmota driver should auto discover the new device. It will name the device as per your topic name (demopro4 in the above example).
Device type should be "Lighting".
Tasmota Rules examples
Tasmota Watchdog with Relay1 being connected to RPI reset pin. Every xx minutes have myServer set a countdown timer in the ESP32 that when expired will trigger relay to reset RPI:
Rule1 ON Rules#timer=1 DO Backlog power 1; delay 10; power 0 ENDON