Using Pico with BME280 and Blynk, when running, in Thonny, mobile no longer says off line, and PC console prints data every minute, however although I havre created gauge widgets on mobile, no data ever appears, Got the feeling I need to turn domething else on for the datastream to display, any ideas.Using BlynkLib.py and bme280.py
Difficult to say without more information such as your code, datastream setup, widget setup etc etc.
Pete.
Pete I just copied the project and code on Raspberry Pi Pico W send BME280 Sensor Data to Blynk 2.0 To get it to run on Thonny I had to change I2C to SoftI2C, otherwise just added my wifi details and Blynk authorisation token. The widgets are gauges I chose from Blynk both on my PC console and Mobile. Blynk seems to see my device OK, because when I run the software , my mobile device no longer displays Off Line, so assume data is being sent, as the previous statement to send to Blynk i.e print , prints data regularly to the Thonny Console , yet no temperature or pressure values appear on the gauges. on my mobile or the web dashboard I am not using Humidity. The three gauges on the widget are set as V0, V1, and V2
Thanks
John
How are your datastreams configured?
Pete.
Pete
Main.py contains
blynk.virtual_write(1,temperature/100), ditto 2,pressure,assume that writes the data to Blynk (using BlynkLib.py) but this may well be where I am missing something in my Blynk dashboard, getting the datastream to actually display to my Gauges V0, V1,and V2
John
Go to the web console > Templates > Datastreams and either explain in detail the datastream types you’ve chosen and the settings for the V0, V1 and V2 datastreams, or post screenshots of the edit screen for each of these datastreams.
Pete.
Pete
many thanks for your continued help
Datastream details
the web dashboard shows 3 gauges with strange values 26C 83%hPa and i am not reading humidity and 1059hPa all different from the print out and the readings on my adjacent weather station
my mobile app shows the guages with units and min/max but just default data
printed data in thonny 26.1C 0.0% 1013.4hPa which ties in with my weather station
hope this helps
thanks
John
That sounds like you are viewing the template preview of the dashboard, not the actual device dashboard.
Pete.
Pete
many thanks for all your comments, they led me to the right place, which was to sort out my datastream, so now working fine on web dashboard and mobile
many thanks
John