• Administrator
  •  
    Support Ukraine
    If you experience any problems with the forum (it is not visible, there is no way to post messages, or some functionality does not work), please let us know. If you have problems with registration or you did not receive confirmation letter, let us know and we will activate your account manually.
    If you get an "The submitted form was invalid. Try submitting again" error, delete cookies, then try again.
     

Issue showing current temperature

Archive closed topics

Moderators: Internal error, Watchmens

Locked
DenisOliveira1
Posts: 2
Joined: 16 Dec 2020, 23:37
Location: Brazil
Contact:

Issue showing current temperature

Post by 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:

Code: Select all

    "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!
dboro
WF maker
Posts: 11
Joined: 24 Dec 2019, 04:21
Location: Miami
Has thanked: 2 times
Contact:

Post by 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.
DenisOliveira1
Posts: 2
Joined: 16 Dec 2020, 23:37
Location: Brazil
Contact:

Post by 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 ?
dboro
WF maker
Posts: 11
Joined: 24 Dec 2019, 04:21
Location: Miami
Has thanked: 2 times
Contact:

Post by dboro »

I'm using SashaCX75 tool for the GTR
Locked

Return to “Closed topics”

Who is online

Users browsing this forum: No registered users and 1 guest