for plant in plantList:
name = plant['plantName']
id = plant['plantId']
print(name, id)
info = api.plant_info(id)
for device in info['deviceList']:
device_sn = device['deviceSn']
device_type = device['deviceType']
print(device_sn, device_type)
mix_info = api.mix_info(device_sn)
print(device_sn, id, mix_info)
mix_totals = api.mix_totals(device_sn, id)
print(device_sn, id, mix_totals)
mix_detail = api.mix_detail(device_sn)
print(mix_detail)
I get back None for the mix info and other mix data.
What could be going wrong?
When performing a simple request like this:
I get back None for the mix info and other mix data.
What could be going wrong?