Appreciate that
I have tried it but it doesnt work for me
It shows one device and I dont know which one is it and when try to control it all devices doesnt reapone for it
I think I missing something here
@be_adamant the underlying driver does not support multiple devices. It is hardcoded to pick the first device only. Which one that is you would need to figure out experimentally!
Please file an issue against: https://github.com/nicholasrobinson/homebridge-smartcielo or https://github.com/nicholasrobinson/node-smartcielo
to start a conversation about adding multi device support.
It is interesting that you arenāt seeing any responses on your devices. It is possible that the smartcielo payloads are slightly different to the MRCOOL device. To investigate further you may want to run homebridge in debug mode or file an issue on my github.
I just post it
I made a python script to just pull the device status. Iām not concerned with remote control, but I was hoping to do datalogging so I could plot it and see how frequently the AC is running, etc.
Here is my code: https://gist.github.com/lukecyca/9f88aad1b6473047ec7a0d5a8afd37fe
Unfortunately there is almost no useful telemetry data provided. How is there so little useful data is such a large json blob?
Here is what I get:
{
"isTurboDisplay": 1,
"deviceName": "Upstairs",
"deviceTypeVersion": "BI03",
"blockMessage": "Unblocked",
"latEnv": {
"temp": "25.0",
"humidity": "0.0"
},
"macAddress": "2CF4323E87FE",
"isOnceSyncedState": 0,
"userId": "<redacted>",
"deviceStatus": "1",
"turboFailureAttempts": "0",
"broadcastName": "SmartHVAC_BI03_3E87FE",
"createdAt": "1595173640",
"deviceImageUrl": null,
"isFaren": 0,
"latestAction": {
"turbo": "off",
"uirules": "default:default:vanish",
"ontimestamp": "1595173723",
"temp": "24",
"timestamp": "1595182402",
"startTurboTimestamp": "1595173640",
"light": null,
"swing": "pos3",
"deviceStatus": "on",
"statustimestamp": 1595173643,
"endTurboTimestamp": "1595173640",
"power": "on",
"mode": "auto",
"moderules": "default:default:auto",
"fanspeed": "auto"
},
"fwVersion": "2.4.2,2.4.1",
"deviceType": "BREEZ-I",
"deviceSettings": {
"defaultImage": null,
"downtbpower": null,
"screenDisplayValue": null,
"tbenabled": null,
"tbsensitivity": null,
"transmitterValue": null,
"brightnessValue": null
},
"applianceID": 1664,
"turbo": "off:on",
"latestBucketError": "0",
"fpFailureAttempts": "0",
"isEnergyDevice": 0,
"applianceType": "AC",
"wifiName": "<redacted>",
"deviceId": "o34fPD",
"groupId": "-1",
"deviceFilterDuration": "0",
"isBlocked": 0,
"deviceFilterFlag": 1,
"isScreenLess": 0,
"isFreezePointDisplay": 1,
"lastAction": null,
"turboConfig": "default,default:Turbo:heat,cool,auto:temp,swing,light:0:1",
"myRules": [],
"applianceSubtype": 1,
"freezePointConfig": "heat,FP,10,FP:FP:heat:swing,light:1",
"deviceTimeZone": "-7:0"
}
I was really hoping to observe the duty cycle and power level. Since this is an inverter-style heat pump air conditioner, the compressor should be able to ramp up or down rather than traditional compressor systems that are either fully on or fully off. Unfortunately there is no indication of current compressor power level, or even whether it is running at all!
Thats great
I managed to make a python code to connect to websocket ,send commands and get devices list.
but I am totally beginner in Pyhton (in fact this is my first code after Hello World in Python ) so I am trying hard to use ASYNCIO to change my code from regular request to Asyncio but find it hard and need more time to do it
That is really awesome work. I have no clue in python or Iād love to help. Iām just really interested in getting this working for Home Assistant also.
I just installed my AC and would LOVE to see it on my dashboard!
Thank you very much for working on this! Being new to HA has been a HUGE learning curve but Iām hoping to get it figured out soon
Again, Thank you!
I would also love to see this! Mr Cool is great. Pretty new to HA, but Iāve managed to get just about everything I could ever want running, besides my HVAC. Anything I can do to help keep this ball rolling!
Iām also new to HA and just trying to learn but this is just about the only big thing that I donāt have running through HA Iām still hoping someone has done it or will figure it out. I know itās not cool just sitting here waiting for someone else to do the work but until I understand this all better I know it wonāt be me LOL.
Well I just came across if you have a MR Cool unit and you use Smartthings you can in fact integrate it in HA! I have it in smartthings working and now HA sees itā¦but what to do with it now is another mystery Iāll have to solve LOL
I have installed nicholasrobinson/node-smartcielo-http but homebridge is giving me this error below.
Any ideas?
[SmartCielo] TypeError: Cannot read property 'getAttribute' of null
at getAppUserAndSessionId (/homebridge/node_modules/homebridge-smartcielo/node_modules/node-smartcielo/SmartCielo.js:127:64)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Promise.all (index 0)
So all the integrations here are using an IR remote controlling thermostat adapter, yeah?
For the Mitsubishi Mr Slim series, an enterprising person managed to reverse engineer the communication protocol of the hardwire port where their wireless module plugs in, and there is now local control for them via about $10 of wires and a wemos mini wifi -> serial adapter.
Has anyone tried to do something similar for the Mr Cool units?
Vilord, this integration is for the wifi-connected lcd smart thermostat. I have been unable to get get it to work with my Mr Cool, however.
The Mr Slimās hardware port is a rs485/modbus and I have yet to find rs485 or other hardware serial port on my Mr Cool yet.
I hooked up the wifi device in my Mr Cool a few days ago, now I see that it uses the Cielo Smart platform through wifi.
I might poke around at Muhammedās code to see if I can use it for an integration.
Another option would be to combine nicholasrobinsonās code with a node mqtt library to create a mrcool2mqtt addon
I installed a wemos d1 clone in one of my Mr Slims, and I noticed that both the Mr Slim and the Mr Cool showed up on my router as ESP-xxxxxx (where the xās are the last 6 of the MAC address).
So apparently the wifi usb thing that comes with the Mr Cool also runs on an ESP chip. Not necessarily useful, but it might be an interesting project to crack open that wifi USB dongle and see whatās in it and capture the signal thatās running over the RX/TX pins of the ESP chipā¦ see if it can be reverse engineeredā¦
Did a little more digging, and it appears that the Mr. Cool units are rebranded Midea ACs (there are a half dozen brands that all use Mideaā¦ this is true for microwave ovens as well).
Iām going to give this project a try, since I already have a bag of spare ESPs.
But the short version is that apparently (if the above and linked information is accurate) the USB dongle doesnāt actually talk USBā¦ it talks 9600 baud 5v serial over the USB pins.
wellā¦to be specific, usb is a universal serial busā¦but this dongle uses RS-232 over an usb connector
Yes, what you said
Following up, this ^^ works great with the Mr. Coolās.
Has anyone worked on getting this working? I have two units and would like to get them integrated.
Willing to help out in any way.
yesā¦confirmed by vilord in message above yours:
but also here:
I was hoping via their api. Might have to go the esp route.