I'm simply sending data every sec from hardware to my Blynk project. Blynk project is showing it good. But, I want to use this pin value with http rest api of blynk-cloud. Requesting [http://blynk-cloud.com/{auth-key}/get/V3] from a browser gives me the correct response. But I can't get changing PIN VALUE on any other client by making a GET request. In python:
import requests
inport time
while(True):
response = requests.get('http://blynk-cloud.com/{auth-key}/get/V3')
print(response.content)
time.sleep(1)
Expected Result
As the arduino sketch sending different values every second, it should have printed new value sent from hardware on console. While requesting from browser gives desired updated response.
Actual Result
But it's printing same value of pin V3 again and again. Until, we send a GET request from browser again (say, we got new_res as response) and now it's printing the new res again and again on python console.
Blynk library version: [ 0.6.0 ] IDE: [Arduino] IDE version: [ 1.8.12 ] Board type: [ nodemcu ]
Scenario, steps to reproduce
I'm simply sending data every sec from hardware to my Blynk project. Blynk project is showing it good. But, I want to use this pin value with http rest api of blynk-cloud. Requesting [http://blynk-cloud.com/{auth-key}/get/V3] from a browser gives me the correct response. But I can't get changing PIN VALUE on any other client by making a GET request. In python:
Expected Result
As the arduino sketch sending different values every second, it should have printed new value sent from hardware on console. While requesting from browser gives desired updated response.
Actual Result
But it's printing same value of pin V3 again and again. Until, we send a GET request from browser again (say, we got new_res as response) and now it's printing the new res again and again on python console.