Skip to content
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

PCB 4.3: Wrong model name #185

Closed
airgradienthq opened this issue Jun 19, 2024 · 3 comments
Closed

PCB 4.3: Wrong model name #185

airgradienthq opened this issue Jun 19, 2024 · 3 comments

Comments

@airgradienthq
Copy link
Owner

measures/current from local server returns model:

"model": "I-8PSL"

Should be:

"model": "DIY-PRO-I-4.3PS"

See also:
airgradienthq/python-airgradient#107

@pnt325
Copy link
Contributor

pnt325 commented Jun 20, 2024

Firmware mode is updated:

case FW_MODE_I_43PS:
return "DIY-PRO-I-4.3PS";
case FW_MODE_I_37PS:
return "DIY-PRO-I-3.7PS";
case FW_MODE_I_BASIC_40PS:
return "DIY-BASIC-I-4.0PS";

The model name get from cloud is 8PSL?

@airgradienthq
Copy link
Owner Author

Ok, I will check on our backend. So you send model name that you get from cloud in local server?
What happens if no cloud connection? What model name is then used?

@pnt325
Copy link
Contributor

pnt325 commented Jun 20, 2024

it's send the firmware mode not model name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants