What do you see in the log when you re-deploy (I did ask for that)?
I don't see anything really that pops out - I have posted the output below
When you do node-red-stop (before attempting deploy) does it stop immediately?
Yes it stops immediately and restarts immediately
Start Node-RED
Once Node-RED has started, point a browser at http://10.10.1.205:1880
On Pi Node-RED works better with the Firefox or Chrome browser
Use sudo systemctl enable nodered.service to autostart Node-RED at every boot
Use sudo systemctl disable nodered.service to disable autostart on boot
To find more nodes and example flows - go to http://flows.nodered.org
Starting as root systemd service.
15 Nov 13:11:21 - [info]
Welcome to Node-RED
===================
15 Nov 13:11:21 - [info] Node-RED version: v2.0.1
15 Nov 13:11:21 - [info] Node.js version: v12.22.7
15 Nov 13:11:21 - [info] Linux 5.10.63-v7l+ arm LE
15 Nov 13:11:21 - [info] Loading palette nodes
15 Nov 13:11:24 - [info] Dashboard version 3.1.1 started at /ui
15 Nov 13:11:24 - [warn] ------------------------------------------------------
15 Nov 13:11:24 - [warn] [node-red-contrib-speedtest-updated/speedtest] 'speedtest' already registered by module node-red-contrib-speedtest
15 Nov 13:11:24 - [warn] ------------------------------------------------------
15 Nov 13:11:24 - [info] Settings file : /home/pi/.node-red/settings.js
15 Nov 13:11:24 - [info] Context store : 'default' [module=memory]
15 Nov 13:11:24 - [info] User directory : /home/pi/.node-red
15 Nov 13:11:24 - [warn] Projects disabled : editorTheme.projects.enabled=false
15 Nov 13:11:24 - [warn] Flows file name not set. Generating name using hostname.
15 Nov 13:11:24 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi.json
15 Nov 13:11:24 - [info] Server now running at http://127.0.0.1:1880/
15 Nov 13:11:24 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
15 Nov 13:11:24 - [info] Starting flows
client.startDiscovery({"discoveryInterval":60000,"offlineTolerance":1,"breakoutChildren":false})
client.getDevice({"deviceOptions":{"host":"10.10.1.53"}})
client.getSysInfo({"host":"10.10.1.53","port":9999})
TplinkConnection(TCP 10.10.1.53:9999).send({"payload":"{\"system\":{\"get_sysinfo\":{}}}","timeout":15000})
Rel.120821","hw_ver":"1.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"70:4F:57:45:E1:0E","deviceId":"80067DD0A29DEB30E12BAD1F5F85C71C19058B05","hwId":"45E29DA8382494D2E82688B52A0B2EB5","fwId":"00000000000000000000000000000000","oemId":"3D341ECE302C0642C99E31CE2430544B","alias":"Garage Freezer","dev_name":"Wi-Fi Smart Plug With Energy Monitoring","icon_hash":"","relay_state":1,"on_time":331505,"active_mode":"schedule","feature":"TIM:ENE","updating":0,"rssi":-80,"led_off":0,"latitude":-26.280593,"longitude":28.123454}}}
device.constructor({"client":"not shown","_sysInfo":{"err_code":0,"sw_ver":"1.2.6 Build 200727 Rel.120821","hw_ver":"1.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"70:4F:57:45:E1:0E","deviceId":"80067DD0A29DEB30E12BAD1F5F85C71C19058B05","hwId":"45E29DA8382494D2E82688B52A0B2EB5","fwId":"00000000000000000000000000000000","oemId":"3D341ECE302C0642C99E31CE2430544B","alias":"Garage Freezer","dev_name":"Wi-Fi Smart Plug With Energy Monitoring","icon_hash":"","relay_state":1,"on_time":331505,"active_mode":"schedule","feature":"TIM:ENE","updating":0,"rssi":-80,"led_off":0,"latitude":-26.280593,"longitude":28.123454},"host":"10.10.1.233","port":9999,"defaultSendOptions":{"timeout":15000,"transport":"tcp","useSharedSocket":false,"sharedSocketTimeout":20000}})
plug.constructor()
[Garage Freezer] device sysInfo set
[Garage Freezer] plug sysInfo set
[Garage Freezer] plug.emitEvents() inUse: true relayState: true lastState: {"inUse":false,"relayState":false}
client.startDiscovery(): socket:message From: 10.10.1.53 9999 Message: {"system":{"get_sysinfo":{"err_code":0,"sw_ver":"1.2.6 Build 200727 Rel.120821","hw_ver":"1.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"70:4F:57:45:E3:BE","deviceId":"80060534F20939734EA57641FBA0BFAC1905B0B5","hwId":"45E29DA8382494D2E82688B52A0B2EB5","fwId":"00000000000000000000000000000000","oemId":"3D341ECE302C0642C99E31CE2430544B","alias":"Red Bar Fridge","dev_name":"Wi-Fi Smart Plug With Energy Monitoring","icon_hash":"","relay_state":1,"on_time":1299607,"active_mode":"schedule","feature":"TIM:ENE","updating":0,"rssi":-80,"led_off":0,"latitude":-26.280593,"longitude":28.123454}}}
device.constructor({"client":"not shown","_sysInfo":{"err_code":0,"sw_ver":"1.2.6 Build 200727 Rel.120821","hw_ver":"1.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"70:4F:57:45:E3:BE","deviceId":"80060534F20939734EA57641FBA0BFAC1905B0B5","hwId":"45E29DA8382494D2E82688B52A0B2EB5","fwId":"00000000000000000000000000000000","oemId":"3D341ECE302C0642C99E31CE2430544B","alias":"Red Bar Fridge","dev_name":"Wi-Fi Smart Plug With Energy Monitoring","icon_hash":"","relay_state":1,"on_time":1299607,"active_mode":"schedule","feature":"TIM:ENE","updating":0,"rssi":-80,"led_off":0,"latitude":-26.280593,"longitude":28.123454},"host":"10.10.1.53","port":9999,"defaultSendOptions":{"timeout":15000,"transport":"tcp","useSharedSocket":false,"sharedSocketTimeout":20000}})
plug.constructor()
[Red Bar Fridge] device sysInfo set
[Red Bar Fridge] plug sysInfo set
[Red Bar Fridge] plug.emitEvents() inUse: true relayState: true lastState: {"inUse":false,"relayState":false}
[3] TcpSocket: socket:data: segment:1 1013/1013 [{"emeter":{"get_realtime":{"current":0.326319,"voltage":228.488021,"power":51.423724,"total":9.151000,"err_code":0}},"schedule":{"get_next_action":{"type":-1,"err_code":0}},"system":{"get_sysinfo":{"err_code":0,"sw_ver":"1.2.6 Build 200727 Rel.120821","hw_ver":"1.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"70:4F:57:45:E3:BE","deviceId":"80060534F20939734EA57641FBA0BFAC1905B0B5","hwId":"45E29DA8382494D2E82688B52A0B2EB5","fwId":"00000000000000000000000000000000","oemId":"3D341ECE302C0642C99E31CE2430544B","alias":"Red Bar Fridge","dev_name":"Wi-Fi Smart Plug With Energy Monitoring","icon_hash":"","relay_state":1,"on_time":1299607,"active_mode":"schedule","feature":"TIM:ENE","updating":0,"rssi":-81,"led_off":0,"latitude":-26.280593,"longitude":28.123454}},"cnCloud":{"get_info":{"username":"carlos.magalhaes@outlook.com","server":"n-devs.tplinkcloud.com","binded":1,"cld_connection":1,"illegalType":0,"stopConnect":0,"tcspStatus":1,"fwDlPage":"","tcspInfo":"","fwNotifyType":0,"err_code":0}}}]
[3] TcpSocket: socket:close, hadError:false
[3] TplinkSocket(TCP).close()
[Red Bar Fridge] device sysInfo set
[Red Bar Fridge] plug sysInfo set
[Red Bar Fridge] plug.emitEvents() inUse: true relayState: true lastState: {"inUse":true,"relayState":true}
[3] TcpSocket: socket:data: segment:1 1004/1004 [{"emeter":{"get_realtime":{"current":0.014454,"voltage":228.673203,"power":0,"total":3.873000,"err_code":0}},"schedule":{"get_next_action":{"type":-1,"err_code":0}},"system":{"get_sysinfo":{"err_code":0,"sw_ver":"1.2.6 Build 200727 Rel.120821","hw_ver":"1.0","type":"IOT.SMARTPLUGSWITCH","model":"HS110(EU)","mac":"70:4F:57:45:E1:0E","deviceId":"80067DD0A29DEB30E12BAD1F5F85C71C19058B05","hwId":"45E29DA8382494D2E82688B52A0B2EB5","fwId":"00000000000000000000000000000000","oemId":"3D341ECE302C0642C99E31CE2430544B","alias":"Garage Freezer","dev_name":"Wi-Fi Smart Plug With Energy Monitoring","icon_hash":"","relay_state":1,"on_time":331505,"active_mode":"schedule","feature":"TIM:ENE","updating":0,"rssi":-80,"led_off":0,"latitude":-26.280593,"longitude":28.123454}},"cnCloud":{"get_info":{"username":"carlos.magalhaes@outlook.com","server":"n-devs.tplinkcloud.com","binded":1,"cld_connection":1,"illegalType":0,"stopConnect":0,"tcspStatus":1,"fwDlPage":"","tcspInfo":"","fwNotifyType":0,"err_code":0}}}]
[3] TcpSocket: socket:close, hadError:false
[3] TplinkSocket(TCP).close()
[Garage Freezer] device sysInfo set
[Garage Freezer] plug sysInfo set
[Garage Freezer] plug.emitEvents() inUse: false relayState: true lastState: {"inUse":true,"relayState":true}
15 Nov 13:12:01 - [error] [kasa:Main Bedroom Heater] Error connecting to device 10.10.1.173: Error: connect EHOSTUNREACH 10.10.1.173:9999
[1] TcpSocket: socket:close, hadError:true
[1] TcpSocket: socket:close error