i getting somwere. him print only one time to serial monito and terminal:::::
somting more with the timer?
14:51:27.538 -> ⸮⸮xW⸮⸮,⸮⸮lb8⸮[63] Connecting to telenet-A9B56
14:51:28.139 -> [564] Connected to WiFi
14:51:28.139 -> [565] IP: 192.168.0.182
14:51:28.186 -> [565]
14:51:28.186 -> ___ __ __
14:51:28.240 -> / _ )/ /_ _____ / /__
14:51:28.240 -> / _ / / // / _ / '/
14:51:28.286 -> ///_, /////_
14:51:28.340 -> /__/ v0.6.1 on ESP8266
14:51:28.340 ->
14:51:28.340 -> [638] Connecting to blynk-cloud.com:80
14:51:28.387 -> [773] Ready (ping: 36ms).
14:51:29.390 -> Connecting…{“smr_version”:50,“meter_model”:“Fluvius 253770234_A”,“wifi_ssid”:“telenet-A9B56”,“wifi_strength”:100,“total_power_import_t1_kwh”:276.058,“total_power_import_t2_kwh”:403.367,“total_power_export_t1_kwh”:1235.857,“total_power_export_t2_kwh”:453.123,“active_power_w”:104,“active_power_l1_w”:null,“active_power_l2_w”:null,“active_power_l3_w”:null,“total_gas_m3”:623.29,“gas_timestamp”:210218145006}
14:52:05.135 -> [37533] Connecting to blynk-cloud.com:80
14:52:05.235 -> [37657] Ready (ping: 73ms).
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include <ESP8266HTTPClient.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "MHti-EY********uPejTHye";
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "telen*******B56";
char pass[] = "aK*******ny";
void setup()
{
// Debug console
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
while (WiFi.status() != WL_CONNECTED) ;
delay(1000);
Serial.print("Connecting..");
if (WiFi.status() == WL_CONNECTED) ; //Check WiFi connection status
HTTPClient http; //Declare an object of class HTTPClient
http.begin("http://192.1******47/api/v1/data"); //Specify request destination
int httpCode = http.GET(); //Send the request
if (httpCode > 0) ; //Check the returning code
String payload = http.getString(); //Get the request response payload
Serial.println(payload); //Print the response payload
Blynk.virtualWrite(V6, (payload));
http.end(); //Close connection
delay(30000); //Send a request every 30 seconds
}
void loop()
{
Blynk.run();
}