From 8b830d138b7eb8992d4e7d241e44d32cfce1b426 Mon Sep 17 00:00:00 2001 From: Mike Geppert Date: Wed, 7 Jan 2026 21:52:01 -0600 Subject: [PATCH] Add Plug console_set profile without button settings - Created new 'Plug' profile without button-specific settings - Removed SetOption4, SetOption13, SetOption19, SetOption32, SetOption40 - Removed rule1 for button presses (plugs typically don't have buttons) - Updated all plug devices to use 'Plug' instead of 'Traditional' - Applies to: Gosund_WP5_Plug, Gosund_Plug, CloudFree_X10S_Plug, Sonoff_S31_PM_Plug --- network_configuration.json | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/network_configuration.json b/network_configuration.json index 30540e6..0feef28 100644 --- a/network_configuration.json +++ b/network_configuration.json @@ -54,19 +54,19 @@ }, "Gosund_WP5_Plug": { "template": "{\"NAME\":\"Gosund-WP5\",\"GPIO\":[0,0,0,0,17,0,0,0,56,57,21,0,0],\"FLAG\":0,\"BASE\":18}", - "console_set": "Traditional" + "console_set": "Plug" }, "Gosund_Plug": { "template": "{\"NAME\":\"Gosund-WP5\",\"GPIO\":[0,0,0,0,32,0,0,0,320,321,224,0,0,0],\"FLAG\":0,\"BASE\":18}", - "console_set": "Traditional" + "console_set": "Plug" }, "CloudFree_X10S_Plug": { "template": "{\"NAME\":\"Aoycocr X10S\",\"GPIO\":[56,0,57,0,21,134,0,0,131,17,132,0,0],\"FLAG\":0,\"BASE\":45}", - "console_set": "Traditional" + "console_set": "Plug" }, "Sonoff_S31_PM_Plug": { "template": "{\"NAME\":\"Sonoff S31\",\"GPIO\":[17,145,0,146,0,0,0,0,21,56,0,0,0],\"FLAG\":0,\"BASE\":41}", - "console_set": "Traditional" + "console_set": "Plug" }, "Sonoff TX Ultimate 1": { "template": "{\"NAME\":\"Sonoff T5-1C-120\",\"GPIO\":[0,0,7808,0,7840,3872,0,0,0,1376,0,7776,0,0,224,3232,0,480,3200,0,0,0,3840,0,0,0,0,0,0,0,0,0,0,0,0,0],\"FLAG\":0,\"BASE\":1}", @@ -105,6 +105,16 @@ "SetOption40 0", "SetOption53 1", "SetOption73 1" + ], + "Plug": [ + "SwitchRetain Off", + "ButtonRetain Off", + "PowerRetain On", + "PowerOnState 3", + "SetOption1 0", + "SetOption3 1", + "SetOption53 1", + "SetOption73 1" ] } } \ No newline at end of file