Paul,
sharing below the fresh logs
<
Sep 8 22:14:23 192.168.1.138 nodemcu ESP-WIF: Checking connection...
Sep 8 22:14:23 192.168.1.138 nodemcu ESP-WIF: Connected
Sep 8 22:14:28 192.168.1.138 nodemcu ESP-SRC: MQTT
Sep 8 22:14:28 192.168.1.138 nodemcu ESP-RSL: Received Topic cmnd/nodemcu/power, Data Size 2, Data ON
Sep 8 22:14:28 192.168.1.138 nodemcu ESP-RSL: Group 0, Index 1, Command POWER, Data ON
Sep 8 22:14:28 192.168.1.138 nodemcu ESP-MQT: stat/nodemcu/RESULT = {"POWER1":"ON"}
Sep 8 22:14:28 192.168.1.138 nodemcu ESP-MQT: stat/nodemcu/POWER1 = ON
Sep 8 22:14:29 192.168.1.138 nodemcu ESP-CFG: Saved to flash at F5, Count 240, Bytes 3584
Sep 8 22:14:29 192.168.1.138 nodemcu ESP-SRC: MQTT
Sep 8 22:14:29 192.168.1.138 nodemcu ESP-RSL: Received Topic cmnd/nodemcu/power, Data Size 3, Data OFF
Sep 8 22:14:29 192.168.1.138 nodemcu ESP-RSL: Group 0, Index 1, Command POWER, Data OFF
Sep 8 22:14:29 192.168.1.138 nodemcu ESP-MQT: stat/nodemcu/RESULT = {"POWER1":"OFF"}
Sep 8 22:14:29 192.168.1.138 nodemcu ESP-MQT: stat/nodemcu/POWER1 = OFF
Sep 8 22:14:30 192.168.1.138 nodemcu ESP-CFG: Saved to flash at F4, Count 241, Bytes 3584
Sep 8 22:14:30 192.168.1.138 nodemcu ESP-SRC: MQTT
Sep 8 22:14:30 192.168.1.138 nodemcu ESP-RSL: Received Topic cmnd/nodemcu/power, Data Size 2, Data ON
Sep 8 22:14:30 192.168.1.138 nodemcu ESP-RSL: Group 0, Index 1, Command POWER, Data ON
Sep 8 22:14:30 192.168.1.138 nodemcu ESP-MQT: stat/nodemcu/RESULT = {"POWER1":"ON"}
Sep 8 22:14:30 192.168.1.138 nodemcu ESP-MQT: stat/nodemcu/POWER1 = ON
Sep 8 22:14:31 192.168.1.138 nodemcu ESP-CFG: Saved to flash at FB, Count 242, Bytes 3584
Sep 8 22:14:31 192.168.1.138 nodemcu ESP-SRC: MQTT
Sep 8 22:14:31 192.168.1.138 nodemcu ESP-RSL: Received Topic cmnd/nodemcu/power, Data Size 3, Data OFF
Sep 8 22:14:31 192.168.1.138 nodemcu ESP-RSL: Group 0, Index 1, Command POWER, Data OFF
Sep 8 22:14:31 192.168.1.138 nodemcu ESP-MQT: stat/nodemcu/RESULT = {"POWER1":"OFF"}
Sep 8 22:14:31 192.168.1.138 nodemcu ESP-MQT: stat/nodemcu/POWER1 = OFF
Sep 8 22:14:32 192.168.1.138 nodemcu ESP-CFG: Saved to flash at FA, Count 243, Bytes 3584
Sep 8 22:14:43 192.168.1.138 nodemcu ESP-WIF: Checking connection...
Sep 8 22:14:43 192.168.1.138 nodemcu ESP-WIF: Connected
^C
/>
Below is my current flow, no matter what switch i press it sends cmnd/nodemcu/power always...and turns on relay 1
[{"id":"f087d4d8.c328d8","type":"tab","label":"8RELAY-FLOW","disabled":false,"info":""},{"id":"883b65c0.5679c","type":"ui_switch","z":"f087d4d8.c328d8","name":"","label":"ONE","tooltip":"","group":"bd562bdd.0a98e","order":0,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"ON","onvalueType":"str","onicon":"","oncolor":"","offvalue":"OFF","offvalueType":"str","officon":"","offcolor":"","x":180,"y":140,"wires":[["9df69021.59b658"]]},{"id":"9df69021.59b658","type":"Sonoff device","z":"f087d4d8.c328d8","mode":"0","broker":"b650332e.d12ee","device":"nodemcu","name":"","onValue":"ON","offValue":"OFF","cmdPrefix":"cmnd","statPrefix":"stat","telePrefix":"tele","x":350,"y":140,"wires":[]},{"id":"cc97bdff.914f9","type":"ui_switch","z":"f087d4d8.c328d8","name":"","label":"TWO","tooltip":"","group":"bd562bdd.0a98e","order":0,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"ON","onvalueType":"str","onicon":"","oncolor":"","offvalue":"OFF","offvalueType":"str","officon":"","offcolor":"","x":190,"y":240,"wires":[["b16c9847.2625f"]]},{"id":"b16c9847.2625f","type":"Sonoff device","z":"f087d4d8.c328d8","mode":"0","broker":"b650332e.d12ee","device":"nodemcu","name":"","onValue":"ON","offValue":"OFF","cmdPrefix":"cmnd","statPrefix":"stat","telePrefix":"tele","x":360,"y":240,"wires":[]},{"id":"bd562bdd.0a98e","type":"ui_group","z":"","name":"8Relay","tab":"6e3d9ae8.7efe4c","disp":true,"width":"6","collapse":false},{"id":"b650332e.d12ee","type":"mqtt-broker","z":"","name":"pi","broker":"192.168.1.9","port":"1883","clientid":"","usetls":false,"compatmode":false,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"6e3d9ae8.7efe4c","type":"ui_tab","z":"","name":"8Relay","icon":"dashboard","disabled":false,"hidden":false}]