GithubHelp home page GithubHelp logo

Comments (4)

echochenyueyang avatar echochenyueyang commented on June 19, 2024 1

同样的问题,请问有解决么

from midea_ac_lan.

georgezhao2010 avatar georgezhao2010 commented on June 19, 2024

别的型号热水器未报过此问题,你能把你的机器的SN发到我邮箱[email protected]吗,说明一下你是谁,什么问题。

我看看你机器的协议和其它人有何不同。

from midea_ac_lan.

georgezhao2010 avatar georgezhao2010 commented on June 19, 2024

该日志中的消息经用型号51100HX2对应的通用LUA T_0000_E3_11.lua解读如下:

{
  "status": {
    "version": 1,
    "out_water_tem": 40,
    "temperature": 77,
    "water_volume": 0,
    "bathtub_water_level": 0,
    "zero_cold_tem": 0,
    "bath_out_volume": 0,
    "return_water_tem": 40,
    "change_litre": 13,
    "power_level": 0,
    "type_machine": 28,
    "person_tem_one": 80,
    "person_tem_two": 84,
    "person_tem_three": 0,
    "in_water_tem": 20,
    "change_litre_switch": "on",
    "capacity": 1,
    "gas_lift_precent": 0,
    "power": "on",
    "feedback": "off",
    "cold_water": "off",
    "cold_water_master": "off",
    "cold_water_dot": "on",
    "cold_water_ai": "off",
    "cold_water_pressure": "off",
    "bubble": "off",
    "appoint_switch": "on",
    "bathtub": "off",
    "person_mode_one": "off",
    "person_mode_two": "off",
    "person_mode_three": "off",
    "gesture_function": "on",
    "gesture_function_type": 0,
    "safe": "off",
    "mode": "shower",
    "zero_single": 0,
    "zero_timing": 0,
    "zero_dot": 0,
    "error_code": "none"
  }
}

js的plugin中可以找到该型号的定义,

"51100HX2": function() {
	return i({}, d, {
		isHalfTem: !0,
		modeList: [u.kitchen, u.intelTemperature],
		funcList: g(["changeLitre", "gestureFunction"]),
		gestureFunctionList: [{
			name: "关闭",
			value: 5,
			index: 0
		}, {
			name: "厨房洗",
			value: 0,
			index: 1
		}],
		actionNFCName: "开机/关机启动",
		actionNFC: "power",
		configureNFCArr: [{
			name: "开关",
			value: "power",
			index: 0
		}, {
			name: "厨房洗",
			value: "kitchen",
			index: 1
		}]
	})
},

其中 isHalfTem: !0, 该值为真,

在温度设置中,

setTemperature: function() {
    return this.setting.isHalfTem ? parseInt(this.appData.temperature / 2) : this.appData.temperature
},

可见当isHalfTem时应将温度/2处理。

应该通过自定义项解决

from midea_ac_lan.

georgezhao2010 avatar georgezhao2010 commented on June 19, 2024

已于v0.3.21中支持自定义温度项解决

from midea_ac_lan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.