Hi,
I am receiving a message on mqtt which I get as variable using a function " var status = msg.payload" but I am not able (i don t know how to do) to get in same function a value from an sql select and compare it to my status. I wasn t able to find such an example...if anyone can help me I would be very gratefull