My dotfiles
Contact information
- Federated network: @[email protected]
- Keybase: @yitsushi
- Matrix: @efertone:matrix.org
- Email: [email protected] [GPG Key]
- Blog (with extra contact info): efertone.me
License: MIT License
My dotfiles
Contact information
Just found your project here on GitHub.
Is this implementation using the cloud?
Is there anyway to not use the cloud (using it locally only)?
Hi!
Thank you very much for this api, it works very well.
Do you know how to change it to use on local network (connect to device directly) instead of using cloud?
Best regards,
Jacek
Its not possible turn on AC in mode Heat. I possible add command like this:
command.mode heat
command.mode cool
Thanks, for good joob done
First off, kudos! This library is awesome and is working well with Mr Cool DIY 12k mini-split (whitelabel midea). However, any set command changes the temperature unit from F to C.
Is it possible to retain the current setting or at least for me to hard code it somewhere (in the data I presume)?
i don't know if it's just me or ruby version, but i'm getting (i've just added printing args and results in send_api_request to your example code from readme):
# ./midea.rb
{"appId":1017,"format":2,"clientType":1,"language":"en_US","src":17,"stamp":"20180828180446","loginAccount":"[email protected]","sign":"xxx"}
{"msg":"","result":{"loginId":"416aab29-3160-4ea9-a478-2684d6802c8e"},"errorCode":"0"}
{"loginId"=>"416aab29-3160-4ea9-a478-2684d6802c8e"}
{"appId":1017,"format":2,"clientType":1,"language":"en_US","src":17,"stamp":"20180828180447","loginAccount":"[email protected]","password":"xxx","sign":"xxx"}
{"msg":"","result":{"originPrivateVersion":"","nickname":"[email protected]","sessionId":"xxx","accessToken":"xxx","userId":"703005","versionCode":"","leftCount":""},"errorCode":"0"}
{"originPrivateVersion"=>"", "nickname"=>"[email protected]", "sessionId"=>"xxx", "accessToken"=>"xxx", "userId"=>"703005", "versionCode"=>"", "leftCount"=>""}
{"appId":1017,"format":2,"clientType":1,"language":"en_US","src":17,"stamp":"20180828180448","sessionId":"xxx","sign":"xxx"}
{"msg":"","result":{"list":[{"number":"703005","isDefault":"1","createUserId":"703005","des":"","address":"","coordinate":"","createTime":"2018-08-27 17:56:59","roleId":"1001","name":"","nickname":"","id":"703005"}]},"errorCode":"0"}
{"list"=>[{"number"=>"703005", "isDefault"=>"1", "createUserId"=>"703005", "des"=>"", "address"=>"", "coordinate"=>"", "createTime"=>"2018-08-27 17:56:59", "roleId"=>"1001", "name"=>"", "nickname"=>"", "id"=>"703005"}]}
{"appId":1017,"format":2,"clientType":1,"language":"en_US","src":17,"stamp":"20180828180450","homegroupId":"703005","sessionId":"xxx","sign":"xxx"}
{"msg":"","result":{"list":[{"des":"","activeStatus":"1","onlineStatus":"1","name":"Kondycjoner","modelNumber":"0","id":"17592186059380","sn":"4438b04aa5eb780f2fafb2e2eba48474ec4eb27af92cfe4d580953370fb8a137fa04a2251c9b08b7f85672154b3391be","type":"0xAC"}]},"errorCode":"0"}
{"list"=>[{"des"=>"", "activeStatus"=>"1", "onlineStatus"=>"1", "name"=>"Kondycjoner", "modelNumber"=>"0", "id"=>"17592186059380", "sn"=>"4438b04aa5eb780f2fafb2e2eba48474ec4eb27af92cfe4d580953370fb8a137fa04a2251c9b08b7f85672154b3391be", "type"=>"0xAC"}]}
[id=17592186059380 type=0xAC] Kondycjoner is online and active.
{"appId":1017,"format":2,"clientType":1,"language":"en_US","src":17,"stamp":"20180828180450","order":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000","funId":"0000","applianceId":"17592186059380","sessionId":"xxx","sign":"xxx"}
{"msg":"system error","errorCode":"9999"}
/root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/midea-air-condition-0.0.2/lib/client.rb:103:in `block in send_api_request': system error (RuntimeError)
from /root/.rbenv/versions/2.4.0/lib/ruby/2.4.0/net/http.rb:877:in `start'
from /root/.rbenv/versions/2.4.0/lib/ruby/2.4.0/net/http.rb:608:in `start'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/midea-air-condition-0.0.2/lib/client.rb:96:in `send_api_request'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/midea-air-condition-0.0.2/lib/client.rb:90:in `api_request'
from /root/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/midea-air-condition-0.0.2/lib/client.rb:52:in `appliance_transparent_send'
from ./midea.rb:33:in `<main>'
ruby 2.4.0p0 (2016-12-24 revision 57164) [armv7l-linux-eabihf]
running on Raspbian GNU/Linux 9.4 (stretch)
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.