You need to set the IP & port of your server via the Particle.function()
You may want to reread the first post to understand the whole setup process and process flow.
Hi, Thank to you, Its working now and I can get the 2 readings from my sensor, As a next step, I want to plot 2 graph lines in different colors from my 2 different reading, any advice on how can i acheive that? Thank you again for you kind help.
I'd look in this file https://github.com/rickkas7/localserver/blob/master/livegraph/public/main.js