Light monitoring for plants

Please provide code for the light monitoring for plants using LDR.

plotChart('time_stamp','your_variable_name');

Select language(extension) as js(javascript).
Also don’t forget to declare your variable in hardware tab (click on A0 and then give the name to variable)

2 Likes

In addition to the previous reply:

" plotChart(‘time_stamp’,‘your_variable_name’);

Select language(extension) as js(javascript).
Also don’t forget to declare your variable in hardware tab (click on A0 and then give the name to variable) "

the your_variable_name in the plotChart should be same as the one given under the A0 in hardware tab

1 Like

Hey @singh0312muskan !
Also, select the time period after which the readings are automatically deployed.
It is under the ‘Hardware’ section, Step 3 i.e. Data Collection Rate.

plotChart(‘time_stamp’,‘your_variable_name’);

extension-javascript