Command unknown: 'blynkget'

Moderators: Voyager, BertB, rtenklooster, Stuntteam, Martinus, grovkillen, TD-er

Post Reply
Message
Author
TFD
Normal user
Posts: 5
Joined: 07 Aug 2018, 20:13

Command unknown: 'blynkget'

#1 Post by TFD » 07 Aug 2018, 20:20

Hi!

I downloaded the latest firmware (ESP_Easy_mega-20180804_test_ESP8266_1024.bin) and trying to connect to Blynk.

My Rules:

Code: Select all

On System#Boot do 
BlynkGet update/V30?value=0
timerSet,1,3
endon

On Rules#Timer=1 do 
BlynkGet update/V30?value=7
endif

timerSet,1,3 
endon
It doesn't work.
In logs I see this:

Code: Select all

1408378: ACT : BlynkGet update/V30?value=7
1408386: Command: blynkget
1408386: Command unknown: 'blynkget'
What am I doing wrong? In Controllers I activated Blynk HTTP [TESTING] with blynk-cloud.com and my token.

http://blynk-cloud.com/<MY_TOKEN>/update/V30?value=7 - works fine in browser.

TD-er
Normal user
Posts: 1052
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Command unknown: 'blynkget'

#2 Post by TD-er » 07 Aug 2018, 22:30

Can you test with this latest test build I just made? https://www.dropbox.com/s/nxats6wfgdasj ... 4.zip?dl=0
It outputs a bit more information when you run the command from the Tools page in the webinterface.
Just use the single line from the rules regarding the Blynk

TFD
Normal user
Posts: 5
Joined: 07 Aug 2018, 20:13

Re: Command unknown: 'blynkget'

#3 Post by TFD » 08 Aug 2018, 07:15

Done. Binary filename - ESP_Easy_mega-20180804-11-g7783cf4_test_ESP8266_1024.bin

Command: BlynkGet update/V30?value=0

Command output: Unknown command!

TD-er
Normal user
Posts: 1052
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Command unknown: 'blynkget'

#4 Post by TD-er » 08 Aug 2018, 19:43

TFD wrote:
08 Aug 2018, 07:15
Done. Binary filename - ESP_Easy_mega-20180804-11-g7783cf4_test_ESP8266_1024.bin

Command: BlynkGet update/V30?value=0

Command output: Unknown command!
Found the bug and made a fix for it: https://github.com/letscontrolit/ESPEasy/pull/1634
When the Travis tests are ready, I will merge it.

TFD
Normal user
Posts: 5
Joined: 07 Aug 2018, 20:13

Re: Command unknown: 'blynkget'

#5 Post by TFD » 09 Aug 2018, 20:25

Thank you! Now Blynk works.

Another question:

when I use command

Code: Select all

BlynkGet 10,1,get/V30
I always get in logs

Code: Select all

4205141: Command: blynkget
4206334: Timeout while reading input data!
And I only get the value of the V30 variable from Blynk on every third or fourth attempt. That is, if I have a timer set for 3 seconds to get the V30, then I will get the value only 9-10 seconds after changing it to Blynk. And if you make the same request in the browser, I get the changed value instantly.

TD-er
Normal user
Posts: 1052
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Command unknown: 'blynkget'

#6 Post by TD-er » 09 Aug 2018, 22:08

Does the browser do the update via HTTPS?

Also try in the command line if the DNS hostname resolves to a different hostname, or always the same.
ESPeasy doesn't handle often changing DNS lookups very well.

TFD
Normal user
Posts: 5
Joined: 07 Aug 2018, 20:13

Re: Command unknown: 'blynkget'

#7 Post by TFD » 10 Aug 2018, 06:55

Does the browser do the update via HTTPS?
via HTTP
Also try in the command line if the DNS hostname resolves to a different hostname, or always the same.
Always the same.

TD-er
Normal user
Posts: 1052
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Command unknown: 'blynkget'

#8 Post by TD-er » 10 Aug 2018, 22:00

OK, thanks for checking.
I am currently looking into handling of controllers, so I will also look into these HTTP-like controllers and what may be wrong here.
Other HTTP senders like the Generic and Advanced HTTP controllers have a number of issue reports.

TFD
Normal user
Posts: 5
Joined: 07 Aug 2018, 20:13

Re: Command unknown: 'blynkget'

#9 Post by TFD » 14 Sep 2018, 20:26

Today.

Build 20102 - Mega
Libraries ESP82xx Core 00000000, NONOS SDK 2.2.1(cfd48f3), LWIP: 2.0.3
GIT version mega-20180914
Plugins 72 [Normal] [Testing]
Build Md5 74a3821da965285ae42477c68c3fd9a6
Md5 check passed.
Build time Sep 14 2018 02:21:24
Binary filename ESP_Easy_mega-20180914_test_ESP8266_4096.bin

Code: Select all

65582: Command: blynkget
75611: HTTP : C012 connection failed
75872: ADC : Analog value: 173
75874: EVENT: ADC#Analog=173.00
75899: ADC : Analog value: 173
75902: EVENT: ADC#Analog=173.00
75920: ADC : Analog value: 171
75922: EVENT: ADC#Analog=171.00
75938: Command: timerset
79926: ACT :
79939: ACT : Pulse,15,1,100
80042: SW : GPIO 15 Pulsed for 100 mS
80051: ACT : BlynkGet update/V2?value=171.00
80065: ACT : timerSet,1,3
80087: Command:
80087: Command unknown: ''
80087: Command: blynkget
90113: HTTP : C012 connection failed
90149: ADC : Analog value: 169
90151: EVENT: ADC#Analog=169.00
90175: ADC : Analog value: 176
90178: EVENT: ADC#Analog=176.00
90198: Command: timerset
90738: ADC : Analog value: 168
90741: EVENT: ADC#Analog=168.00
92073: WD : Uptime 2 ConnectFailures 6 FreeMem 18424
94200: SW : GPIO 12 Set to 0
94203: ACT :
94220: ACT : Pulse,15,1,100
94325: SW : GPIO 15 Pulsed for 100 mS
94334: ACT : BlynkGet update/V2?value=168.00
94348: ACT : timerSet,1,3
94369: Command:
94369: Command unknown: ''
94370: Command: blynkget
95572: Timeout while reading input data!
96573: Timeout while reading input data!
97574: Timeout while reading input data!
98575: Timeout while reading input data!
99576: Timeout while reading input data!
100577: Timeout while reading input data!
101578: Timeout while reading input data!
102579: Timeout while reading input data!
103580: Timeout while reading input data!
104581: Timeout while reading input data!
105582: Timeout while reading input data!
106583: Timeout while reading input data!
107584: Timeout while reading input data!
108585: Timeout while reading input data!
109586: Timeout while reading input data!
110587: Timeout while reading input data!
111588: Timeout while reading input data!
112589: Timeout while reading input data!
113590: Timeout while reading input data!
114591: Timeout while reading input data!
115592: Timeout while reading input data!
116593: Timeout while reading input data!
117594: Timeout while reading input data!
118595: Timeout while reading input data!
119596: Timeout while reading input data!
120597: Timeout while reading input data!
121598: Timeout while reading input data!
122599: Timeout while reading input data!
123600: Timeout while reading input data!
124601: Timeout while reading input data!
125602: Timeout while reading input data!
126603: Timeout while reading input data!
127604: Timeout while reading input data!
128605: Timeout while reading input data!
129606: Timeout while reading input data!
130607: Timeout while reading input data!
131608: Timeout while reading input data!
132609: Timeout while reading input data!
133610: Timeout while reading input data!
134611: Timeout while reading input data!
135612: Timeout while reading input data!
136613: Timeout while reading input data!
137614: Timeout while reading input data!
138615: Timeout while reading input data!
139616: Timeout while reading input data!
140617: Timeout while reading input data!
141618: Timeout while reading input data!
142619: Timeout while reading input data!
143620: Timeout while reading input data!
144621: Timeout while reading input data!
145636: Timeout while reading input data!
146637: Timeout while reading input data!
147638: Timeout while reading input data!
148639: Timeout while reading input data!
149640: Timeout while reading input data!
150641: Timeout while reading input data!
151642: Timeout while reading input data!
152643: Timeout while reading input data!
153644: Timeout while reading input data!
154645: Timeout while reading input data!
155646: Timeout while reading input data!
156661: Timeout while reading input data!
157661: Timeout while reading input data!
158662: Timeout while reading input data!
159663: Timeout while reading input data!
160664: Timeout while reading input data!
161665: Timeout while reading input data!
162666: Timeout while reading input data!
163667: Timeout while reading input data!
164668: Timeout while reading input data!
165669: Timeout while reading input data!
166670: Timeout while reading input data!
167671: Timeout while reading input data!
168672: Timeout while reading input data!
169673: Timeout while reading input data!
170674: Timeout while reading input data!
171675: Timeout while reading input data!
172676: Timeout while reading input data!
173677: Timeout while reading input data!
174678: Timeout while reading input data!
175679: Timeout while reading input data!
Command at 94334 passed.


MQTT Import - broken, HTTP requests - broken, Blynk - broken... Sad...

sasso
Normal user
Posts: 9
Joined: 16 Mar 2017, 21:48

Re: Command unknown: 'blynkget'

#10 Post by sasso » 15 Sep 2018, 21:47

The same error is now present also on nextion plugin, rules (unknown command) and http cmd (Unknown or restricted command!) gives error, but on the plugin page all works as it should

TD-er
Normal user
Posts: 1052
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Command unknown: 'blynkget'

#11 Post by TD-er » 16 Sep 2018, 11:06

sasso wrote:
15 Sep 2018, 21:47
The same error is now present also on nextion plugin, rules (unknown command) and http cmd (Unknown or restricted command!) gives error, but on the plugin page all works as it should
I already had prepared some change to how the commands are being handled.
In short: The last few weeks, the commands were sent to a queue to process them asynchronously, but that means the reply will be delayed.
I did not anticipate these issues, so I will revert the command queue.

This will be fixed very soon.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests