Hi, super cool tool. I can get the names of devices and load them in an accessible dictionary, but I am having a very hard time passing a variable for the device name to access functions and variables.
for example:
all_variables = particle_cloud.greenhouse_photon.variables
gives me a nice set that I can use to print the names
if I do something like:
device_name = "greenhouse_photon"
all_variables = particle_cloud.device_name.variables
I get an AttributeError(). I've tried all sorts of things based on the way Hammock works, but to no avail. How can one pass a variable name or deviceID to the particle_cloud function to get back the names of variables or functions on the device
Hi, super cool tool. I can get the names of devices and load them in an accessible dictionary, but I am having a very hard time passing a variable for the device name to access functions and variables.
for example: all_variables = particle_cloud.greenhouse_photon.variables gives me a nice set that I can use to print the names
if I do something like: device_name = "greenhouse_photon" all_variables = particle_cloud.device_name.variables
I get an AttributeError(). I've tried all sorts of things based on the way Hammock works, but to no avail. How can one pass a variable name or deviceID to the particle_cloud function to get back the names of variables or functions on the device