Get data from Multiple Blynk sensors

Moderators: grovkillen, Stuntteam, TD-er

Message
Author
rkgarg20
Normal user
Posts: 12
Joined: 07 Dec 2016, 04:04

Get data from Multiple Blynk sensors

#1 Post by rkgarg20 » 04 Apr 2020, 17:06

Hi All,
By default ESP Easy Mega provide one Blynk HTTP testing controller that can retrieve data from Blynk sensor using Blynkget command. I wanted to retrieve the data from different Blynk sensors. So I modified C12.ino plugin. Removed the password from Blynk Controller. Now Blynk password can be entered in the Rule as below. I display all these values to OLED display connected to this espeasy controller.

on Rules#Timer=1 do
BlynkGet 2,1,KL9urJjJFTsxxxxxxOY0Bxu8nUq8Dy_V/get/D17 //Kitchen Gas
BlynkGet 4,1,KL9urJjJFTsxxxxxxOY0Bxu8nUq8Dy_V/get/V4 //Kitech temp
BlynkGet 1,1,fjdnwuXSbxxxxxxxVlvTYHNy8YeZC_HB8/get/V2 //sump pump
GPIO,12,0

TimerSet,2,5
endon

TD-er
Core team member
Posts: 9921
Joined: 01 Sep 2017, 22:13
Location: the Netherlands

Re: Get data from Multiple Blynk sensors

#2 Post by TD-er » 06 Apr 2020, 15:50

So for this use case we may need an extra Blynk command?
Can you make an issue for it (including the suggested code change) on GitHub?

rkgarg20
Normal user
Posts: 12
Joined: 07 Dec 2016, 04:04

Re: Get data from Multiple Blynk sensors

#3 Post by rkgarg20 » 09 Apr 2020, 16:59

I should post it on GitHub. I don't think we need any extra commands. same command can be used with multiple Blynk sensors. All we need is to put Blynk api_key in rule.
We don't need to enter controller password in Blynk controller.

Who is online

Users browsing this forum: Anthropic Claude Bot [bot], OpenAI GPTBot [bot] and 11 guests