Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Make by tools (01.00.01) - action=clean_macro_parameter
Scroll Ignore
scroll-html
scroll-viewporttrue
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-htmlfalse
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtruefalse
Panel
titleSommaire

Table of Contents
stylenone

Présentation

Voici un exemple de la structure JSON de la configuration de la météo.


Note

Certains copier-coller peuvent ne pas fonctionner correctement ( problème de format d'origine, encodage des espaces et des retours à la ligne, etc. )

Pour coller sur le formulaire du navigateur, il est conseillé d'utiliser le "Copier en texte brut" du navigateur ( raccourci = Ctrl+Maj+V )

Code Block
languagebash
themeRDark
{
    "grids"         : [
        {
            "nb_tiles_in_width"              : 60,
            "nb_tiles_in_height"             : 120,
        "    "separation_grid_element_min"    : 3,
            "separation_grid_element_max"    : 10,
            "separation_grid_element_percent": 0.5,
            "type": "grid",
         "grid_elements": [
        {
         : "position_x": 0grid",
            "positiongrid_yelements":  0,
          "width": "all",
     : [
    "height": 3,
          "content": {
            "type": "title_widget",
       "position_x": 0,
     "layout": {
              "informationposition_to_displayy": {0,
                "title_area": {
   "width"               "label": "MON TITREall",
                    "text_color"height"    : "black"3,
                    "text_align"content"   : "default",
{
                        "font_zoom_percent"type"  : "defaulttitle_widget",
                }
         "layout": {
    }
            }
          }
  "information_to_display": {
     },
        {
          "position_x": 0,
          "positiontitle_yarea": 3,{
          "width": "all",
               "height": 2,
          "contentlabel": {
           : "type": "separator_widgetMON TITRE",
            "layout": {
              "information_to_display": {
        "text_color"       : "left_area": {black",
                  "displayed": true,
                  "widthtext_percent": 20
align"       : "default",
                  },
                "title_area  "font_zoom_percent": {"default"
                  "label": "MON SEPARATEUR",
              }
        "font_zoom_percent": "default",
                  "text_color": "black",
 }
                   "text_align": "center"
    }
            },
        }
        "right_area": {
        },
               "displayed": true, {
                    "widthposition_percentx": 200,
                   } "position_y": 3,
              }
      "width"     : }"all",
          }
        },
  "height"    :  {2,
          "position_x": 0,
          "position_y"content"   : 5,{
          "width": 15,
              "heighttype"  : 5"separator_widget",
          "content": {
              "typelayout": "weather_widget",{
            "item": {
                "iteminformation_to_uuiddisplay": "00000000000000000000000000000001",{
              "item_name": "Le nom de mon hote",
              "itemleft_typearea" : "host"{
             },
            "layout": {
          "displayed"    "background": "default"true,
              "information_to_display": {
                "left_area": {
    "width_percent": 20
               "icon_type": "default"
                },
                "top_right_                "title_area": {
                  "displayed": "default",
                  "icon_typelabel": "default"
           : "MON SEPARATEUR",
    },
                "sla_area": {
                  "displayedfont_zoom_percent": "default",
                  "show_icon": "default"
                },
  "text_color"       : "black",
       "name_area": {
                  "property_used_as_name": "default",
         "text_align"         "nb_lines_max": "defaultcenter",
                  "vertical_align": "default",
             },
     "font_zoom_percent": "default"
                }
          "right_area": {
   }
            }
          }
        },
   "displayed"    : {true,
             "position_x": 15,
            "position_y": 5,
          "width_percent": 15,20
          "height": 5,
            "content": {
         }
   "type": "weather_widget",
            "item": {
           }
   "item_uuid": "00000000000000000000000000000002",
              "item_name": "Le nom de mon cluster",
      }
                "item_type": "cluster"
   }
         },
       },
     "layout": {
           {
     "background": "default",
              "informationposition_to_displayx": {
0,
                    "leftposition_areay": {5,
                  "icon_type":  "defaultwidth"
     : 15,
          },
          "height"    :  "top_right_area": {
5,
                    "displayedcontent"   : "default",
{
                        "icon_type": "defaultweather_widget",
                },
        "item": {
       "sla_area": {
                     "displayeditem_uuid": "default10000000000000100000000000000001",
                  "show_icon": "default"
         "item_name": "Le nom de mon   }hote",
                "name_area": {
                  "property_used_as_nameitem_type": "defaulthost",
                  "nb_lines_max": "default",
     }
             "vertical_align": "default",
      }
            "font_zoom_percent": "default"
   },
             }
   {
           }
            }"position_x": 15,
          }
        }
      ]"position_y": 5,
      "layouts": {
        "weather_widget_layout": {
     "width"     "width": "default"15,
          "height": "default",
          "contentheight": {
   : 5,
        "layout": {
           "content"   "background": "default",{
              "information_to_display": {
         "type": "weather_widget",
      "left_area": {
                  "icon_typeitem": "default"{
                },
                "topitem_right_areauuid": {"10000000000000100000000000000002",
                  "displayed": "default",
                  "icon_type"item_name": "default"
Le nom de mon cluster",
            },
                "slaitem_areatype": {"cluster"
                   "displayed": "default",
     }
                   "show_icon": "default" }
                },
            ]
    "name_area": {
   }
    ],
    "external_links": {
        "property_used_as_namelinks": "default",
[
            {
          "nb_lines_max": "default",
     "link_name"             "vertical_align": "defaultLien 01",
                  "fontlink_zoom_percentuuid": "default"
                }: "49872e4e-ffee-7084-fb91-b52346c3dcca",
              }
  "link_protocol"         : }"default",
          }
        },
        "separator_widget_layout": {
 "link_base_url"          "width": "default",
           "height": "     "link_external_part_url": "default",
            "content": {
    "authentication_needed" : "default",
                "layoutinfo_bar": {
              "information_to_display": {
                    "leftbackground_areacolor": {
"default",
                    "logo_displayed"  : "default",
                    "width_percent"position"        : "default",
                },
    "refresh"            "title_area": {
                  "font_zoom_percent": "default",
         "chrono_displayed"         "text_color": "default",
                  "text_align      "generation_time_displayed": "default"
                    },
                },
     "right_area": {
           "notifications"         "displayed": "default",
{
                    "width_percentsound" : "default"{
                }
        "enabled": "default"
     }
            }
   },
       }
        },
        "title_widget_layoutvisual": {
          "width": "default",
          "height": "default",
          "content"blink": {
             "layout": {
              "information_to_displayenabled": {"default"
                "title_area": {
                  "text_color": "default",
                  "text_align": "default",
                  "font_zoom_percent": "default"
                }
              }
            }
          }
        }
      }
    }
  ],
  "external_links": {
    "default_link": {
      "link_protocol": "default",
      "link_base_url": "default",
      "link_external_part_url": "default",
      "authentication_needed": "default",
      "info_bar": {
        "background_color": "default",
        "logo_displayed": "default",
        "position": "default",
        "refresh": {
          "chrono_displayed": "default",
          "generation_time_displayed": "default"
        }
      }
    },
    "links": [
      {
        "link_name": "Lien 01",
        "link_uuid": "default",
        "link_protocol": "default",
        "link_base_url": "default",
        "link_external_part_url": "default",
        "authentication_needed": true,
        "info_bar": {
          "background_color": "default",
          "logo_displayed": "default",
          "position": "default",
          "refresh": {
            "chrono_displayed": "default",
            "generation_time_displayed": "default"
          }
        }
      }
    ]
  },
  "users": {
    "owner_user": {
      "user_name": "Le nom du propriétaire actuel",
      "user_uuid": ""
    },
    "previous_owner_user": {
      "user_name": "Le nom du précédent propriétaire",
      "user_uuid": "default"
    },
    "creator_user": {
      "user_name": "Le nom du créateur de la météo",
      "user_uuid": "default"
    }
  },
  "notifications": {
    "sound": {
      "enabled": "default"
    },
     "visual": {
      "blink": {
   }
     "enabled": "default"
      }
     }
   ]
    }
}

Le JSON d'exemple comporte :


Panel

Image Removed Image Added