Okay, first things first, you need to remove the code that takes the readings and displays the results from your void loop, and put it into a function that you call with a BlynkTimer.
This will allow you to remove the delay command altogether. Delays are not compatible with Blynk.
Read this for more info…
Also, I think that setting the calibration factor is something you do once, in void setup, not every time you want to take a reading from the scale.
Secondly, you have deleted the lines of code from the Blynk Edgent example that said….
// Uncomment your board, or configure a custom board in Settings.h
//#define USE_SPARKFUN_BLYNK_BOARD
//#define USE_NODE_MCU_BOARD
//#define USE_WITTY_CLOUD_BOARD
//#define USE_WEMOS_D1_MINI
What you should have done was to un-comment the line that said:
//#define USE_NODE_MCU_BOARD
Without this, the custom board settings from Settings.h are used, which assigns pin GPIO4 (pin D2) as the LED pin.
As you are already using this pin in your sketch…
this will cause problems.
Read this for more info…
Thirdly, have you been through the Edgent provisioning process in the app.
If so, did this work as expected (I imagine that the onboard LED didn’t flash as described in the instructions) ?
What do you see in your serial monitor when the board is first rebooted? (Copy/paste the text and use triple backticks in the same way that you did when you posted your sketch, rather than posting a screenshot).
Pete.