Comments (33)
Good news Artem, now your integration works like a charm in my three AC devices!!! Even better than other two Midea AC devices because AUX AC send temperature values with more precission. I had to delete devices from AC Freedom app, and then add again, but only until they connect to wifi, then cancel. The problem is that I've lost AC Freedom connection, and now I can't change some configurations of AUX AC, like Anti Fungus and Health functions. Is possible add theese functions? For example led switch works fine.
from broadlinkac2mqtt.
Hello!
I'm trying to connect the air conditioner Ballu BSUI-09HN8
MQTT broker does not receive data
Logs below:
2023-06-08T10:49:17Z 2023-06-08T10:49:17Z ERR 2023-06-08T10:49:17Z 2023-06-08T10:49:17Z ERR service/service.go:344 > 2023-06-08T10:49:17Z 2023-06-08T10:49:17Z ERR 2023-06-08T10:49:17Z 2023-06-08T10:49:17Z ERR service/service.go:344 > Checksum is incorrect | 2023-06-08T10:49:17Z 2023-06-08T10:49:17Z ERR 2023-06-08T10:49:17Z 2023-06-08T10:49:17Z ERR service/service.go:344 > 2023-06-08T10:49:17Z 2023-06-08T10:49:17Z ERR 2023-06-08T10:49:17Z 2023-06-08T10:49:17Z ERR service/service.go:344 > Checksum is incorrect | input=[object Object] 2023-06-08T10:49:17Z 2023-06-08T10:49:17Z ERR 2023-06-08T10:49:17Z 2023-06-08T10:49:17Z ERR service/service.go:1142 > 2023-06-08T10:49:17Z 2023-06-08T10:49:17Z ERR 2023-06-08T10:49:17Z 2023-06-08T10:49:17Z ERR service/service.go:1142 > Failed to get AC States | 2023-06-08T10:49:17Z 2023-06-08T10:49:17Z ERR 2023-06-08T10:49:17Z 2023-06-08T10:49:17Z ERR service/service.go:1142 > 2023-06-08T10:49:17Z 2023-06-08T10:49:17Z ERR 2023-06-08T10:49:17Z 2023-06-08T10:49:17Z ERR service/service.go:1142 > Failed to get AC States | error=ErrorInvalidResultPacket 2023-06-08T10:49:17Z 2023-06-08T10:49:17Z ERR 2023-06-08T10:49:17Z 2023-06-08T10:49:17Z ERR service/service.go:1142 > 2023-06-08T10:49:17Z 2023-06-08T10:49:17Z ERR 2023-06-08T10:49:17Z 2023-06-08T10:49:17Z ERR service/service.go:1142 > Failed to get AC States | 2023-06-08T10:49:17Z 2023-06-08T10:49:17Z ERR 2023-06-08T10:49:17Z 2023-06-08T10:49:17Z ERR service/service.go:1142 > 2023-06-08T10:49:17Z 2023-06-08T10:49:17Z ERR 2023-06-08T10:49:17Z 2023-06-08T10:49:17Z ERR service/service.go:1142 > Failed to get AC States | error=ErrorInvalidResultPacket device=a043b008f23f
from broadlinkac2mqtt.
I get the same error, have you solved?
from broadlinkac2mqtt.
Have you encountered this problem in a similar project?
If not, then it looks like I'll have to check the checksum verification function.
from broadlinkac2mqtt.
Hmm.. Could you test this version?
Binaries:
https://github.com/ArtemVladimirov/broadlinkac2mqtt/releases/tag/v1.3.2-beta2
Or dev plagin for hassio:
https://github.com/ArtemVladimirov/hassio-add-ons
from broadlinkac2mqtt.
from broadlinkac2mqtt.
from broadlinkac2mqtt.
from broadlinkac2mqtt.
from broadlinkac2mqtt.
I still have checksum error with 1.4.0 version
{"level":"info","time":"2023-07-25T10:45:32Z","caller":"/github/workspace/app/mqtt/mqtt.go:42","message":"Connected to MQTT"}
{"level":"error","error":"ErrorInvalidResultPacket","input":{"Command":106,"Payload":"Fs0Rbe/ji/q6hXD8QcD7vg==","Mac":"a043b08dfea3"},"time":"2023-07-25T10:45:32Z","caller":"/github/workspace/app/service/service.go:233","message":"Checksum is incorrect"}
{"level":"error","device":"a043b08dfea3","time":"2023-07-25T10:45:32Z","caller":"/github/workspace/app/service/service.go:1137","message":"failed to get ambient temperature"}
from broadlinkac2mqtt.
Have you encountered this problem in a similar project?
from broadlinkac2mqtt.
from broadlinkac2mqtt.
from broadlinkac2mqtt.
You can use the device here and there. The AC Freedom app only helps you connect your device to Wi-Fi. I used another application to connect it, since AC Freedom didn't want to work for me. Moreover, these air conditioners have serious security problems, since anyone who has access to your Wi-Fi network can essentially control the air conditioner. It is enough to know only the Mac and IP of the air conditioner to connect to it via Wi-Fi
from broadlinkac2mqtt.
X
You can use the device here and there. The AC Freedom app only helps you connect your device to Wi-Fi. I used another application to connect it, since AC Freedom didn't want to work for me. Moreover, these air conditioners have serious security problems, since anyone who has access to your Wi-Fi network can essentially control the air conditioner. It is enough to know only the Mac and IP of the air conditioner to connect to it via Wi-Fi
I think that this could be the problem, may be the last versions of ac freedom uses a password to communícate with ac. If you make a beta with detailed log I Will send you this log to analize the problem.
from broadlinkac2mqtt.
Hey Artem
Im also struggling with checksum issue on two devices :
"level":"error","error":"ErrorInvalidResultPacket","input":{"Command":106,"Payload":"Fs0Rbe/ji/q6hXD8QcD7vg==","Mac":"ec08aebf871d"},"time":"2023-08-13T14:43:28Z","caller":"/app/broadlinkac2mqtt/app/service/service.go:233","message":"Checksum is incorrect"}
{"level":"error","device":"ec08aebf871d","time":"2023-08-13T14:43:28Z","caller":"/app/broadlinkac2mqtt/app/service/service.go:1137","message":"failed to get ambient temperature"}
{"level":"error","error":"ErrorInvalidResultPacket","input":{"Command":106,"Payload":"Fs0Rbe/ji/q6hXD8QcD7vg==","Mac":"a043b0dffc72"},"time":"2023-08-13T14:43:28Z","caller":"/app/broadlinkac2mqtt/app/service/service.go:233","message":"Checksum is incorrect"}
{"level":"error","device":"a043b0dffc72","time":"2023-08-13T14:43:28Z","caller":"/app/broadlinkac2mqtt/app/service/service.go:1137","message":"failed to get ambient temperature"}
from broadlinkac2mqtt.
Same boat.
{"level":"error","error":"ErrorInvalidResultPacket","input":{"Command":106,"Payload":"XSE/YHMTk8G1tM6szySc2w==","Mac":"a043b031bc9a"},"time":"2023-08-21T06:01:12Z","caller":"/app/broadlinkac2mqtt/app/service/service.go:233","message":"Checksum is incorrect"}
{"level":"error","device":"a043b031bc9a","time":"2023-08-21T06:01:12Z","caller":"/app/broadlinkac2mqtt/app/service/service.go:1137","message":"failed to get ambient temperature"}
{"level":"error","error":"ErrorInvalidResultPacket","input":{"Command":106,"Payload":"qGZrMt6vMJh1YDxAzwbRvA==","Mac":"a043b0b914c6"},"time":"2023-08-21T06:01:12Z","caller":"/app/broadlinkac2mqtt/app/service/service.go:233","message":"Checksum is incorrect"}
{"level":"error","device":"a043b0b914c6","time":"2023-08-21T06:01:12Z","caller":"/app/broadlinkac2mqtt/app/service/service.go:1137","message":"failed to get ambient temperature"}
from broadlinkac2mqtt.
Nobody have solved it?
from broadlinkac2mqtt.
I've never has mqtt issues for other projects.
Would it be possible to disable the checksum function in a dev branch to test?
from broadlinkac2mqtt.
from broadlinkac2mqtt.
What platform do you use? I can build version without checksum for you?
from broadlinkac2mqtt.
What platform do you use? I can build version without checksum for you?
Im not sure that I understand well - term - platform... but in my case its on pi
also really interested to test this integration without checksum
regards
from broadlinkac2mqtt.
from broadlinkac2mqtt.
What platform do you use? I can build version without checksum for you?
Aarch64, thanks Artem
from broadlinkac2mqtt.
I builded it without the checsum function. You can try.
https://github.com/ArtemVladimirov/broadlinkac2mqtt/releases/tag/v1.4.1-beta
Or hassio beta branch
https://github.com/ArtemVladimirov/broadlinkac2mqtt
If this does not help, then most likely the device uses a different message format that is not supported by this application.
from broadlinkac2mqtt.
Hey Artem
This is my logs after beta instalation
{"Command":106,"Payload":"FLucRpm5EV2o+VxYVGBZjg==","Mac":"ec08aebf871d"},"time":"2023-08-31T06:11:49Z","caller":"/github/workspace/app/service/service.go:348","message":"Checksum is incorrect"}
{"level":"error","error":"ErrorInvalidResultPacket","device":"ec08aebf871d","time":"2023-08-31T06:11:49Z","caller":"/github/workspace/app/service/service.go:1194","message":"Failed to get AC States"}
{"level":"error","error":"ErrorInvalidResultPacket","input":{"Command":106,"Payload":"FLucRpm5EV2o+VxYVGBZjg==","Mac":"a043b0dffc72"},"time":"2023-08-31T06:11:49Z","caller":"/github/workspace/app/service/service.go:348","message":"Checksum is incorrect"}
{"level":"error","error":"ErrorInvalidResultPacket","device":"a043b0dffc72","time":"2023-08-31T06:11:49Z","caller":"/github/workspace/app/service/service.go:1194","message":"Failed to get AC States"}
from broadlinkac2mqtt.
And i leave here one more "input" what I found on HA forums... maybe this make all things more clear
" bad news is that none of the current methods work with the new Aircons. It appears that only one TCP port is active; the previous UDP methods are no longer available. Maybe someone can figure out what the communication is or what this port is used for in order to obtain some statistics."
nmap -p 12416 10.10.1.100
Host is up (0.071s latency).
PORT STATE SERVICE
12416/tcp open unknown
from broadlinkac2mqtt.
from broadlinkac2mqtt.
I've observed that my mac and one laborek's mac, single01 mac and arunas-g mac starts with "a043". How your mac starts, Artem?
from broadlinkac2mqtt.
@marcoahp @ArtemVladimirov
JFYI - I have 4 air conditioners at home, all produced by AUX (the two that can't connect are 1-1.5 years younger than my other two that can be connected via Artem integration
above i put info from HA forums about closed ports in "new broadlink based devices" and based on that I checked and this is what i got from my devices (these are the two that can't connect) :
Starting Nmap 7.80 ( https://nmap.org ) at 2023-08-31 15:57 CEST
Nmap scan report for x.x.x.x
Host is up (0.048s latency).
Not shown: 65531 closed ports
PORT STATE SERVICE
80/udp open|filtered http
16386/udp open|filtered unknown
16407/udp open|filtered unknown
16442/udp open|filtered unknown
16491/udp open|filtered unknown
and second one
sudo nmap -sU -p0-65535 192.168.1.62
Starting Nmap 7.80 ( https://nmap.org ) at 2023-08-31 16:10 CEST
RTTVAR has grown to over 2.3 seconds, decreasing to 2.0
RTTVAR has grown to over 2.3 seconds, decreasing to 2.0
Nmap scan report for 192.168.1.62
Host is up (0.071s latency).
Not shown: 65533 closed ports
PORT STATE SERVICE
80/udp open|filtered http
12414/udp open|filtered unknown
58953/udp open|filtered unknown
from broadlinkac2mqtt.
I've observed that my mac and one laborek's mac, single01 mac and arunas-g mac starts with "a043". How your mac starts, Artem?
34:ea:34
from broadlinkac2mqtt.
It is possible, please, create separate issue for this function. I will think how to add this. The main difficulty is that not all devices support this functionality. I'll have to think about optionally setting this parameter.
from broadlinkac2mqtt.
Hey, what's the situation with this issue? I updated to the latest 1.5.5, but I'm still getting:
{"time":"2024-04-12T12:36:52.230029896Z","level":"ERROR","source":{"function":"github.com/ArtemVladimirov/broadlinkac2mqtt/app/service.(*service).GetDeviceAmbientTemperature","file":"/app/broadlinkac2mqtt/app/service/service.go","line":228},"msg":"Checksum is incorrect","input":{"Command":106,"Payload":"Fs0Rbe/ji/q6hXD8QcD7vg==","Mac":"24dfa7f61a98"}}
Are there any plans to fix that issue? Thanks!
from broadlinkac2mqtt.
Related Issues (20)
- AUX-09J2O/I can't connect HOT 1
- New AUX airco, no local connection possible HOT 1
- Issues with AUX AC swing modes HOT 4
- If it's in `mute` mode and i try to set swing mode to `swing`
- 1.4.0 HAOS add-on doesn't start HOT 3
- Discovered MQTT entities with a name that is equal to the device name HOT 2
- Not work with Royal Clima HOT 1
- Error On Install HOT 1
- 2022 Vortex AC HOT 6
- Unable to build container on Raspberry 4 - docker: no matching manifest for linux/arm64/v8 in the manifest list entries. HOT 1
- Change, define or convert temperature_unit HOT 6
- Anti-Fungal and Health functions
- Update to latest version not available in Add-on store in HA
- Mac is incorrect even though it is correct HOT 14
- Could not fetch changelog for 97e9acfb_broadlinkac2mqtt: HOT 1
- Сentek CT-65K09 WIFI, not work?
- i/o timeout on the AC device
- AUX Delta 2 supported? HOT 2
- Allow ambient temperature measure over 32 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from broadlinkac2mqtt.