Mobile dashboards

this is not about the device side, this is about the mobile app side

so I have a water tank monitoring system
it needs some parameters to be configured at the firmware side on power on
and I synchronize those at startup, which should call their appropriate BYLNK_WRITE() functions

but how do I set them in the app at the device location, another ‘dashboard’
with a pushbutton to sync somehow? I can hard code them , but don’t want to
particularly the alert settings…

then display is a different dashboard to visualize the values posted…??

on my prior instance of this,(in 2018!) I created a web based graph and displayed this realtime on a wall , so I didn’t use the blynk web UI at all and never looked at the mobile side… the alerts were enough

this is for a blind user who cannot ‘see’ the screen, but wants alerts and critical notices if the tank gets low…

I have added events for those…

I created a dashboard on the web ui, how do I see it at the mobile?
I don’t want to teach each user how to create their own dashboard,
to get A dashboard

I really don’t understand your question. Maybe is you asked a specific question about one parameter, rather than talking in general terms, then it would be easier to understand your questions.

You don’t. There is no link between the web dashboard and mobile app dashboard - other than the values of the datastreams.
If you want a mobile app dashboard then you create that in the mobile app.

Pete.

ok, thx…

I found where to create the mobile dashboard.
I don’t see any data altho I have a couple hundred reports

You’ll need to be much more specific if you want assistance.

Pete.

finally see some data… couple questions on templates

i have a numeric virtual pin, set at 0-20, default 10
attach a device on that

now, it turns out I need to change the config of that pin.
edit template, change to 10-50, default 25. save
the device doesn’t get any update

if I delete the device and add it again in the mobile app it gets the new values.

so this solution has two parts

configuration

   set tank height/width, range for sensor to full state water level,   
   maybe the esp32 pins the sensor is attached to.
   important water levels for alerts

reporting

    water levels over time,  and events
    base on the above config

I don’t see a way centrally manage the config info the hardware will need
and I don’t want to…
but I don’t see a way to push the config screen to them, they shouldn’t have control of the format of this page… only the data on it. most importantly the alert level settings…

I want to

ship the box, and sensors and instructions
mount box, mount water level sensor,
plug sensor and power into  controller box

customer

open blynk app, find device, add to local wifi
fill out config page, info above
add email address for alerts.

they should be able to get back to config somehow to change the settings.
and they should be pulled by my code, which does Blynk.syncAll();
on every sensor reading cycle (every 5 minutes)… but I don’t see any callbacks…
to the BLYNK_WRITE methods

then they can see output/charts… on some other page, not config

if there are firmware updates, I can add that and it works.

I have esp8266 and esp32 devices, looks like I need to duplicate the template and change the device… AND that means different template ID/name… in the source…

also, If the template says esp8266, why was the ESP32 device allowed to onboard there??

I’m afraid your writing style is a little to random, and vague for me, but I’ll try to make as much sense as I can of what you’ve written and address some issues you’ve raised…

Easy one first…

The hardware type in the template is a memo field only. It has no functionality.

You shouldn’t need to do that.

First of all, using Blynk.syncAll() is a bit of a sledgehammer to crack a nut. It ONLY works for datastreams where you’ve enabled the “Sync with latest server value every time device connects to the cloud” option.

Instead of using Blynk.syncAll() you should use Blynk.syncVirtual(vPin).

But, the ONLY place where you should be using these sync commands is in the BLYNK_CONNECTED() function. This function is called automatically when the device connects or re-connects to the Blynk server. You use the sync commands to force the server to send the device the latest values for each virtual pin. This triggers the corresponding BLYNK_WRITE (vPin) callback functions.
The purpose for the sync commands is to obtain the current values of data input widgets on your dashboards. Say for example you gave a switch widget attached to pin V1. While the device is offline, the user could change the status of that switch widget. When the device starts up and you call the sync command, the server will tell your device what that widget’s current status is - you are synchronising your device with your dashboard’s control widget.

Any subsequent changes to the widget when the device is online will automatically trigger the relevant BLYNK_WRITE(vPin) callback.

If you want to regularly sent sensor values from your hardware device to your dashboard (via the server of course) then your device code should be using a BlynkTimer to facilitate this.

Pete.