twocolors / node-red-contrib-midea-hvac Goto Github PK
View Code? Open in Web Editor NEWNodes for controlling Midea HVAC in Node-RED
License: MIT License
Nodes for controlling Midea HVAC in Node-RED
License: MIT License
I am trying to setup this node but cannot seem to get the connection working. I have migrated my account and devices to the MSmartHome app but whenever I hit the discover button I get the error "No Midea HVAC Devices Found". I'm honestly not sure how to tell if my Midea AC uses the OSK103/SK103 dongle. My model is MAP14HS1TBL. I've also tried pre-filling in the IP address but that still does not help.
Hi,
I have an issue - when I reboot tha AC or unplug and plug again my ESP-12F stick to AC, then I need to completely restart node-red to make it work again. Node says "Error set status (No response received)".
This node was working fine for a while then has stopped. I get the error "Error getting status (An internal error occurred)" when injecting a time stamp.
if i move the node in the lay out and re-deploy it it comes back to life.
Hello,
I have my air conditioning in a different subnet.
Nothing is found with the search button (not even when I enter the IP or try the broadcast address)
With the dicovery tool I find the attachment but during authentication I get "An unknown error occurred"
Model: OSK103
``Found 1 appliances:
Appliance 1:
What can i try?
Hi,
I recently migrated my devices over from the midea air app to the msmarthome app. I then updated to v1.2.3 of your node and went about loading my 3 AC units into the new version using my migrated account. The first AC integrates fine using the OSK103 method. I then create a new hvac-config setup on a new block and constantly get a "failed to communicate" error. How do I resolve this please?
Hello, I discovered hvac but I got Failed to authenticate.
ID, key and token got retrived from account.
Hello, i'm able to get all device values when I inject a timestamp. But if I inject a json payload, like this:
{
"powerState": true,
"targetTemperature": 25,
"operationalMode": 4,
"fanSpeed": 80,
"swingMode": 0,
"ecoMode": false,
"turboMode": false
}
I always got the error: "Midea: 3176:The asyn reply does not exist "
What am I doing wrong?
On picture, "Accendi" stands for turn on, "Spegni" stands for turn off.
Many thanks in advance.
Giuseppe
20 Jul 13:11:51 - [info] Starting modified nodes
TypeError: Cannot read properties of undefined (reading 'padEnd')
at Flow.start (/home/node-red/node_modules/@node-red/runtime/lib/flows/Flow.js:254:62)
at start (/home/node-red/node_modules/@node-red/runtime/lib/flows/index.js:394:33)
20 Jul 13:11:51 - [info] Started modified nodes
https://github.com/twocolors/node-red-contrib-midea-hvac/blob/master/nodes/hvac.js#L9
Hi,
I use version 1.2.4 with esp-link.
I am receiving the status of my ac.
{"inError":false,"byte1bit6":0,"fastCheck":false,"timerMode":{"value":0,"description":"relative"},"resume":false,"byte1bit2":0,"byte1bit1":0,"powerOn":false,"temperatureSetpoint":22,"mode":{"value":4,"description":"heat"},"byte3bit7":0,"fanSpeed":{"value":102,"description":"auto"},"onTimer":false,"offTimer":false,"onTimerHours":0,"onTimerMinutes":0,"offTimerHours":0,"offTimerMinutes":0,"byte7bit47":0,"leftrightFan":false,"updownFan":false,"feelOwn":false,"smartEye":false,"lowFrequencyFan":false,"save":false,"byte8bit2":0,"cosySleep":{"value":0,"description":"no sleep"},"selfFeelOwn":false,"selfCosySleep":false,"purify":false,"ecoMode":false,"ptcHeater":false,"dryClean":false,"naturalFan":false,"childSleep":false,"coolFan":false,"peakValleyElectricitySaving":false,"catchCold":false,"nightLight":false,"ventilation":false,"temperatureUnit":{"value":0,"description":"celsius"},"turboMode":false,"sleepMode":false,"indoorTemperature":19.5,"outdoorTemperature":7,"byte13bit7":0,"byte13bit6":0,"dustFull":false,"byte14bit7":0,"light":0,"pmv":{"value":99,"description":"off"},"statusCode":{"value":0,"description":"ok"},"ecoSleepRunningMinutes":0,"ecoSleepRunningSeconds":0,"ecoSleepRunningHours":0}
But I am unable to set any value.
If I send a command, like { powerOn: true, temperatureSetpoint: 24 }
, I only get a "beep" from my ac.
I have already tried different variations but without success.
Can anybody help me?
First of all great job 👍
When httpAdminRoot
is configured, the devices
request fails, because it uses absolute path
The fix could be very simple, as for documentation, by placing RED.settings.httpAdminRoot
before the path at this line:
Anyway it seems to be undefined on my instance, even if it is configured in settings.js
I fixed it in my installation hard-working the path, but I'm wandering if there is a way to fix it getting this setting somewhere else
Hello!
I use it: node-red-contrib-midea-hvac (1.1.3)
Node - Red version: 0.20.8
My problem is that I want to query the status, the machine turns off.
To query status, I send an empty JSON string.
I tried to send a timestamp, but then I got an error: "Error getting status (An internal error occurred)"
When I send an empty JSON string using "inject node", I get back the status, but the device turns off.
Please help me to solve the problem.
Thank you very much!
Hi.
Usually after pushing node-red Deploy button more often, or after some random time, serial bridge connection stops working.
There is invoking message and after that an error:
[serialbridge:Midea Aircon] Error getting status (No response received)
I'm also sometimes getting:
[error] [serialbridge:Midea Aircon] Error getting status (Invalid response)
and after that
[serialbridge:Midea Aircon] Error getting status (No response received)
Sometimes also Invoking process stuck.
Then when I check netstat (after it stays in this state for a while), it turns out that there are manny Telnet connections ESTABLISHED, but none of them is working.
Then I need to restart whole node-red, which clears all connections and establishes just two working properly for some time:
netstat | grep telnet
tcp 0 0 192.168.1.127:48774 192.168.1.147:telnet ESTABLISHED
tcp 0 0 192.168.1.127:48776 192.168.1.147:telnet ESTABLISHED
until next failure.
I've not been able to keep it running for more than an hour or two.
I've also grabbed TCP dump, and while problem is active there are plenty of tcp retransmissions.
For me the scenario is, that from time to time malformed message arrives from the telnet connection, and that exception is not handled properly, which causes connection stuck without closing session. New sessions are triggered, but they are not able to run as this first one is stuck.
That is my high level thinking, but it could be totally wrong. :
I'm using:
Midea Air - airconditioner
serial adapter based on ESP8266
node-red - 2.2
esp-link - v3.2.47-g9c6530d (tried also 3.014 but no change)
node - v14.19.0
node-red-contrib-midea-hvac - v1.1.7
Thanks in advance
Hey,
Previously this plugin worked for me in node-red but now it says after I input the account details: "Failed to retrieve devices An unknown error occurred". And the device does not show up in the settings of node.
Could you help in this?
Thanks,
David
Could you please add EU-SK105 USB dongle support.
Hey there,
is it possible to set the Token / Key / Device ID manually in the flow?
As it seems not to be possible anymore to retrieve this info through the Cloud
Thanks
Solong
B
Hallo,
könnte man die Unterstützung zu dem Comfee Luftentfeuchter, 20 L/24 h, Raumgröße ca.100 m³(40 m²), MDDF-20DEN7-WF, APP-fähig
bekommen?
https://www.amazon.de/gp/product/B07MSL8YN7/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1
er wird mir in red matic zwar als Gerät angezeigt, es kommt aber immer folgender Fehler
Midea: Command wrong or device (xxxxxxxxxxxxxxxx) not reachable
xxxx steht die Gerätenummer drinnen
`
Hersteller | Comfee |
---|---|
MDDF-20DEN7-WF | |
35 x 24.5 x 51 cm; 15.1 Kilogramm | |
MDDF-20DEN7-WF | |
20L-40m²-DEN7-WF |
`
Hier gefunden für Homeassistant
https://www.techlover.de/2020/11/01/lufentfeuchter-comfee-in-home-assistant-und-homekit/
lg Jörn
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.