airgradienthq/arduino

PCB 4.3: Wrong model name

Closed this issue · 3 comments

measures/current from local server returns model:

"model": "I-8PSL"

Should be:

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

See also:
airgradienthq/python-airgradient#107

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?

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?

it's send the firmware mode not model name.