Skip to content

Can't get chartdata #33

@philwareublox

Description

@philwareublox

When performing a simple request like this:

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions