Pagina 1 di 1

Issue showing current temperature

Inviato: 16 dic 2020, 23:44
da DenisOliveira1
Good evening,

I am trying to edit my first WF. I already have the day and night temperature and now I want to add the current one. The problem is that when I keep both of 3 temperatures everything weather realated vasnishes.

Summing up:
Just current temperature: works
Just day and night temperature: works
All 3 of them: Everything weather realated vasnishes

On the WFPreview every thing works just fine.

The code section is presented below:

Codice: Seleziona tutto

    "Temperature": { 
    "Current": {
        "Number": {
          "TopLeftX": 20,
          "TopLeftY": 130,
          "BottomRightX": 0,
          "BottomRightY": 0,
          "Alignment": "TopLeft",
          "SpacingX": 4,
          "SpacingY": 0,
          "ImageIndex": 24,
          "ImagesCount": 10
        },
        "MinusImageIndex": 112,
        "DegreesImageIndex": 113
      },
      "Today": {
        "Separate": {
          "Day": {
            "Number": {
              "TopLeftX": 20,
              "TopLeftY": 109,
              "BottomRightX": 0,
              "BottomRightY": 0,
              "Alignment": "TopLeft",
              "SpacingX": 4,
              "SpacingY": 0,
              "ImageIndex": 24,
              "ImagesCount": 10
            },
            "MinusImageIndex": 112,
            "DegreesImageIndex": 113
          },
          "Night": {
            "Number": {
              "TopLeftX": 20,
              "TopLeftY": 151,
              "BottomRightX": 0,
              "BottomRightY": 0,
              "Alignment": "TopLeft",
              "SpacingX": 4,
              "SpacingY": 0,
              "ImageIndex": 24,
              "ImagesCount": 10
            },
            "MinusImageIndex": 112,
            "DegreesImageIndex": 113
          }
        }
      }
    },
Thanks for your attention!

Re: Issue showing current temperature

Inviato: 18 dic 2020, 00:20
da dboro
I'm having the same issue but just showing the icon for the weather and the current temperature, the icon alone works, if both then the icon disappear and just the temperature is shown.

Re: Issue showing current temperature

Inviato: 18 dic 2020, 00:36
da DenisOliveira1
I am coding for mi band 5, atually the same code I'm using for weather works in another WF. I have no idea about what is going on. Are yours working on the WFPreview ?

Re: Issue showing current temperature

Inviato: 18 dic 2020, 18:56
da dboro
I'm using SashaCX75 tool for the GTR