I don’t know. I don’t have the library running on a device, I only used the REST-interface. I haven’t found a command to send Blynk.begin() via the REST interface. My usecase is, that I have an Arduino Micro Pro which sends data over an nRF24-connection (so I can’t use the blynk library) to a RaspberryPi which sends the data to Blynk. I use the nRF24-connection to save battery life.
You mean in the iOS app? I’ve selected the PIN, the range for the value field. I don’t know that the sign in between the range display means, and I haven’t entered anything in the value display field of the iOS app.
As written in the first post, I think a command to send Blynk.begin) and in addition a command to send the ping via the REST interface is needed.
As far as I understand, the iOS app only checks for the current value of the register (like V1, V2), when the corresponding device is generally online (via Blynk.begin()) and at the moment, when a ping/keep-alive/heartbeat is received from the corresponding device.
For me this is a bit strange, as the device is actually polling the backend (even when the corresponding device is offline, but not displaying the value. If this is intentional, I understand that the REST interface is only intended for getting information FROM the device, but not sending TO the device.
=> The topic can be closed as I won’t use the REST interface for this use case anymore.
I made a new board in the iOS app and added a value display.
Send new value curl --include --request PUT --header "Content-Type: application/json" --data-binary "[\"15\"]" 'http://cloud.blynk.cc:8080/.../pin/V1'
Value was displayed (no matter which sync timing (push/1sec) and no matter how I labeled the pin-channel (didn’t had to use /pin/ as the name).
Perhaps the backend yesterday had a problem? It even worked with the graph or the history channel (not so reliable on the history graph). Cool. Made an in-app-purchase.
By the way, it would be great if the elements (displays, graphs) could be resized (bigger fonts, larger height) on the iOS app. Another thing is, that I’d like to have multiple elements that show the same information (like value display which shows last value and in addition the history graph on the same page).