-
Notifications
You must be signed in to change notification settings - Fork 31
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
AC200max no data #72
Comments
Also, if we could get the AC200 max to spit out a number for total_generation other than zero, that would be great. |
Similar to this, I have an AC300, and I had to really chop down the bytes requested per block in the the final section of the DEVICE_AC300.h in order to get all my essential readings: static device_field_data_t bluetti_polling_command[] = {
}; My ESP32 is mere inches from the AC300, my WiFi router is a few yards away, and I'm using the free HiveMQ broker, wherever that is, if this makes any difference. Cheers, |
Thank you! This helped me to get the AC200M values! static device_field_data_t bluetti_polling_command[] = {
// Status
// changed to only one page 0 request (a portion of 7F bytes)
{FIELD_UNDEFINED, 0x00, 0x24, 0x32 ,0 , 0, TYPE_UNDEFINED},
{FIELD_UNDEFINED, 0x00, 0x47, 0x4A ,0 , 0, TYPE_UNDEFINED},
{FIELD_UNDEFINED, 0x00, 0x5c, 0x79 ,0 , 0, TYPE_UNDEFINED},
{FIELD_UNDEFINED, 0x00, 0x30, 0x32 ,0 , 0, TYPE_UNDEFINED},
// {FIELD_UNDEFINED, 0x0B, 0xF5, 0x07 ,0 , 0, TYPE_UNDEFINED},
//Pack Polling
{FIELD_UNDEFINED, 0x00, 0x5B, 0x25 ,0 , 0, TYPE_UNDEFINED}
// {FIELD_UNDEFINED, 0x00, 0xBB9, 0x3D ,0 , 0, TYPE_UNDEFINED}
}; |
I uploaded the code to my ESP32 and received no data. I found a work-around and I thought I'd post it. I separated the polling request into smaller chunks and it started working! Thanks so much for your hard work on this, it's amazing!
You need to modify the DEVICE_AC200M and change the polling to:
static device_field_data_t bluetti_polling_command[] = {
// Status
// changed to only one page 0 request (a portion of 7F bytes)
{FIELD_UNDEFINED, 0x00, 0x24, 0x32 ,0 , 0, TYPE_UNDEFINED},
{FIELD_UNDEFINED, 0x00, 0x47, 0x4A ,0 , 0, TYPE_UNDEFINED},
{FIELD_UNDEFINED, 0x00, 0x5c, 0x79 ,0 , 0, TYPE_UNDEFINED},
{FIELD_UNDEFINED, 0x00, 0x30, 0x32 ,0 , 0, TYPE_UNDEFINED},
// {FIELD_UNDEFINED, 0x0B, 0xF5, 0x07 ,0 , 0, TYPE_UNDEFINED},
//Pack Polling
{FIELD_UNDEFINED, 0x00, 0x5B, 0x25 ,0 , 0, TYPE_UNDEFINED}
// {FIELD_UNDEFINED, 0x00, 0xBB9, 0x3D ,0 , 0, TYPE_UNDEFINED}
I'm not much of a programmer, so I assume there is a more elegant way to do this or separate the polling better.
The text was updated successfully, but these errors were encountered: