Values do not update on Blynk APP

Hi All,

this project used to work. Since I reinstall Raspbian it has stopped working. My project is currently available at:

I have no clue why it is not working anymore! Can someone give me a light here?

I have installed the following libraries:

sudo apt-get install mosquitto
sudo apt-get install mosquitto-clients
sudo apt-get install python3-dev python3-pip
sudo python3 -m pip install --upgrade pip setuptools wheel
sudo pip3 install Adafruit_DHT
sudo pip install blynklib
sudo pip3 install paho-mqtt

I can receive all the data from my sensors. But I can not see them on Blynk APP. I have tried different programs and none seems to work ( I understand it might not even be the code but something with my Raspberry. But I can’t find any issues.

I have a guess. I am also using my Raspberry as a NAS Server. Could that be the issue?

import time
import paho.mqtt.client as mqtt
import blynklib

# Don't forget to change the variables for the MQTT broker!
mqtt_broker_ip = "MYIP"
client = mqtt.Client()

blynk = blynklib.Blynk(BLYNK_AUTH)

#Setup callback functions that are called when MQTT events happen linke connecting to the server or receiving data from a subscribed feed.
def on_connect(client, userdata, flags, rc):
    print("Connected with result code" + str(rc))

#The callback for when a PUBLISH message is recieved from the server
def on_message(client, userdata, msg):
    msg.payload = msg.payload.decode("utf-8") #to decode message, remove b and ''
    #Print humidity and temperature values     
    if msg.topic == "/livingroom/temperature":
        print ("Topic: ", msg.topic + "\nMessage: " + str(msg.payload) + "C")
        Blynk.virtual_Write(10, str(msg.payload)) #to send data to blynk virtual pin V10   
    if msg.topic == "/livingroom/humidity":
        print ("Topic: ", msg.topic + "\nMessage: " + str(msg.payload) + "%")
        Blynk.virtual_Write(11, str(msg.payload)) #to send data to blynk virtual pin V11   

# Here, we are telling the client which functions are to be run
# on connecting, and on receiving a message
client.on_connect = on_connect
client.on_message = on_message

# Once everything has been set up, we can (finally) connect to the broker
# 1883 is the listener port that the MQTT broker is using
client.connect(mqtt_broker_ip, 1883)

# Once we have told the client to connect, let the client object run itself