|
5228 | 5228 | # ConstConv("action", mi="7.e.15", value="overcharging_off"), |
5229 | 5229 | # ConstConv("action", mi="7.e.16", value="mixed_mode"), |
5230 | 5230 | ], |
| 5231 | +}, { |
| 5232 | + # https://home.miot-spec.com/spec/sixwgh.plug.v8icm1 |
| 5233 | + 26435: ["SIXWGH", "Wenguanghui Smart Socket (Mesh Power Meter)", "sixwgh.plug.v8icm1"], |
| 5234 | + "spec": [ |
| 5235 | + BaseConv("switch", "switch", mi="2.p.1"), |
| 5236 | + MathConv("energy", "sensor", mi="4.p.1", multiply=0.0001, round=3), |
| 5237 | + MathConv("power", "sensor", mi="4.p.2", round=3), |
| 5238 | + MathConv("voltage", "sensor", mi="4.p.3"), |
| 5239 | + MathConv("current", "sensor", mi="4.p.4", multiply=0.001, round=3), |
| 5240 | + # BaseConv("auxiliary_switch", "switch", mi="7.p.1"), |
| 5241 | + # BaseConv("voice_disable", "switch", mi="7.p.2"), |
| 5242 | + # BaseConv("button_type", "sensor", mi="8.p.1"), |
| 5243 | + # BaseConv("action", "sensor"), |
| 5244 | + # ConstConv("action", mi="7.e.1", value="normal_mode"), |
| 5245 | + # ConstConv("action", mi="7.e.2", value="wireless_mode"), |
| 5246 | + # ConstConv("action", mi="7.e.3", value="jog_mode"), |
| 5247 | + # ConstConv("action", mi="7.e.4", value="follow_led"), |
| 5248 | + # ConstConv("action", mi="7.e.5", value="opposition_led"), |
| 5249 | + # ConstConv("action", mi="7.e.6", value="on_led"), |
| 5250 | + # ConstConv("action", mi="7.e.7", value="off_led"), |
| 5251 | + # ConstConv("action", mi="7.e.8", value="local_timing_on"), |
| 5252 | + # ConstConv("action", mi="7.e.9", value="local_timing_off"), |
| 5253 | + # ConstConv("action", mi="7.e.10", value="cycle_timing_on"), |
| 5254 | + # ConstConv("action", mi="7.e.11", value="cycle_timing_off"), |
| 5255 | + # ConstConv("action", mi="7.e.12", value="led_config_on"), |
| 5256 | + # ConstConv("action", mi="7.e.13", value="led_config_off"), |
| 5257 | + # ConstConv("action", mi="7.e.14", value="overcharging_on"), |
| 5258 | + # ConstConv("action", mi="7.e.15", value="overcharging_off"), |
| 5259 | + # ConstConv("action", mi="7.e.16", value="mixed_mode"), |
| 5260 | + ], |
5231 | 5261 | }, { |
5232 | 5262 | 21145: ["PTX", "AK4 Pro Mesh2.0", "090615.switch.akpro4"], |
5233 | 5263 | "spec": [ |
|
0 commit comments