-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added slightly expanded AC180 support #109
base: main
Are you sure you want to change the base?
Conversation
Added support for AC & DC input and output power
@alexnathanson I incorporated your changes into my fork: https://github.com/ftrueck/bluetti_mqtt/ |
Thanks for hunting these registers down. |
Hope you dont mind me putting it in this way. I have no inclination to create a fork, maybe a spoon :) AC180.py
.................................................................................... |
Just want to add I tested this code on AC180P and can confirm it works great:
Thanks! |
Glad it help. I know I was so relieved when it all started to work as intended. I've been able to automate switch on and switch off, and it ticks along nicely. I do wonder if I could get away from having to have the bluetti-mqtt running on the PC, maybe in HA, or trying to get the esp versions working, and I did try them, but without success. So just sticking with what works for now. |
I identified the following registers:
device type: 1101
serial_number: 1107
battery type: 6101
battery serial number: 6107
bcu version: 6175
battery percent: 102
output mode: 123 (returns 32 when both loads off, 40 when AC is on, 48 when DC is on, 56 when both on. This is accurate, but may not be exhaustive if there are other additional modes)
dc output power: 140
ac output power: 142
dc input power: 144 (this is an educated guess and not tested, because I didn't have a PV module handy)
ac input power: 146
power generation might be 1202 or 154, but I can figure it out once I connect a module.