Skip to content

Add Navi blue colored Toniebox to tonieboxes.json #247

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
henryk86 opened this issue Nov 8, 2024 · 6 comments
Closed

Add Navi blue colored Toniebox to tonieboxes.json #247

henryk86 opened this issue Nov 8, 2024 · 6 comments
Labels
enhancement New feature or request fixed in develop

Comments

@henryk86
Copy link
Collaborator

henryk86 commented Nov 8, 2024

@henryk86 henryk86 added the enhancement New feature or request label Nov 8, 2024
@marco79cgn
Copy link
Contributor

I have exactly this box. Don't really know how the cropping works or what's the target size.

{
    "id": "11001754",
    "name": "Navy Blue",
    "img_src": "https://cdn.tonies.de/thumbnails/Box_blau_limitedEdition_Cam02_uc_sRGB.png"
}

There is also a new creative tonie which comes bundled with this navy blue box.
Kreativ-Tonie Superheld in der Sonderfarbe hellblau-gold
http://cdn.tonies.de/thumbnails/Tonie_limitedEdition_Standalone_uc_sRGB.png

Box with Tonie:
https://images.cdn.europe-west1.gcp.commercetools.com/cffb5678-47af-495c-9f19-1c2ccfc5910c/BOX11001754_1_a-78sEYbTs.png

@henryk86
Copy link
Collaborator Author

{
    "id": "11001754",
    "name": "Navy Blue",
    "img_src": "https://images.cdn.europe-west1.gcp.commercetools.com/cffb5678-47af-495c-9f19-1c2ccfc5910c/BOX11001754_5_a-kXLCXBb4.png",
    "crop": [
        6,
        37,
        1.27
    ]
},

thats the right entry (the image has the same view angle as the default boxes)

henryk86 added a commit to henryk86/teddycloud that referenced this issue Nov 10, 2024
@henryk86
Copy link
Collaborator Author

@marco79cgn : the crop thing is trial and error till it fits ^^

https://tonies-wiki.revvox.de/docs/tools/teddycloud/tecdoc/toniesboxes-custom-json/#specification

Can you provide the same image shown here https://images.cdn.europe-west1.gcp.commercetools.com/cffb5678-47af-495c-9f19-1c2ccfc5910c/BOX11001754_5_a-kXLCXBb4.png located at tonies.de? I think only "owner" of the box are seeing that.

@marco79cgn
Copy link
Contributor

marco79cgn commented Nov 10, 2024

@henryk86
I always get this image/url which has a different viewing angle.
https://cdn.tonies.de/thumbnails/Box_blau_limitedEdition_Cam02_uc_sRGB.png

On my account overview, there is even a box with wrong aspect ratio. Maybe they don't have this angle by themselves.

Bildschirmfoto 2024-11-10 um 11 18 58 toniebox-navy toniebox-navy-02

When I set up my Toniebox for the very first time (before Teddycloud), I also sniffed the communication with Proxyman (mitmproxy alternative) and also there, I found the same image-url.

{
  "data": {
    "households": [
      {
        "id": "8e******-****-****-****-******43",
        "name": "****",
        "ownerName": "Marco",
        "access": "owner",
        "tonieboxes": [
          {
            "accelerometerEnabled": true,
            "household": "8e******-****-****-****-******43",
            "householdId": "8e******-****-****-****-******43",
            "id": "********",
            "imageUrl": "https://cdn.tonies.de/thumbnails/Box_blau_limitedEdition_Cam02_uc_sRGB.png",
            "itemId": "11001754-51*****0",
            "ledLevel": "on",
            "maxHeadphoneVolume": 100,
            "maxVolume": 100,
            "name": "Marcos Navybox",
            "tapDirection": "left",
            "timezone": null,
            "features": [],
            "settingsApplied": true,
            "onlineState": "unsupported",
            "battery": {
              "percent": null,
              "status": "unknown",
              "__typename": "TonieboxBattery"
            },
            "__typename": "TonieboxQuery"
          }
        ],
        "__typename": "HouseholdQuery"
      }
    ]
  }
}

Any other idea where I might get the correct image from?

@henryk86
Copy link
Collaborator Author

then we will use the other image for now
thanks for your search :)

SciLor added a commit that referenced this issue Nov 12, 2024
@henryk86
Copy link
Collaborator Author

Just a reminder: right place for this is the tonieboxes.json in the tonies-json repository

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fixed in develop
Projects
None yet
Development

No branches or pull requests

2 participants