Hi,
I can’t change the value on Firebase inside a path.
I have a path called “Rele”, inside which there are two values to change: Rele and Rele2 (as shown in the photo).
The problem is that, even if I manually change the value of Rele or Rele2 (from 0 to 1 or vice versa) in the database, in the app it doesn’t change the state from OFF to ON.
Previously I had these values directly in the root of the Realtime database and everything worked correctly. Since I moved them inside the “Rele” path, it seems that the data reading no longer occurs correctly.
May be but this is not actually your solution, since your previous block you doesn’t know where is the mistake. Once you share you proper fb structure we would have suggest you earlier. As oer your post i only pointed out the fault block
Anyhow you found it is working. Keep coding and enjoy