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-viewporttrue
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-htmlfalse
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmlfalse
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,
          "content": {
  "label"            : "type": "separator_widgetMON TITRE",
            "layout": {
              "information_to_display": {
        "text_color"       : "left_area": {
 black",
                 "displayed": true,
                  "widthtext_percentalign": 20
                }: "default",
                "title_area": {
                    "labelfont_zoom_percent": "MON SEPARATEURdefault",
                     "font_zoom_percent": "default",
          }
        "text_color": "black",
                  "text_align": "center" }
                },        }
                "right_area": {
   }
               "displayed": true},
                  "width_percent": 20{
                }
    "position_x": 0,
         }
            }"position_y": 3,
          }
        },
  "width"     : {"all",
          "position_x": 0,
          "position_y"height"    : 52,
          "width": 15,
          "heightcontent"   : 5,{
           "content": {
            "type"  : "weatherseparator_widget",
             "item           "layout": {
                "item_uuid": "00000000000000000000000000000001",
              "iteminformation_to_namedisplay": "Le{
 nom de mon hote",
              "item_type": "host"
            },
  "left_area" : {
        "layout": {
              "background": "default",
            "displayed"  "information_to_display"  : {true,
                 "left_area": {
                  "iconwidth_typepercent": "default"20
                },
                "top_right_area": {
      },
             "displayed": "default",
                  "icontitle_typearea": "default"{
                },
                    "sla_area": {
 label"            : "MON SEPARATEUR",
                 "displayed": "default",
                  "showfont_zoom_iconpercent": "default",
                    },
                "nametext_areacolor":  {
     : "black",
            "property_used_as_name": "default",
                  "nb_lines_max": "default",
      "text_align"            "vertical_align": "defaultcenter",
                  "font_zoom_percent": "default"
                },
              }
            }
      "right_area": {
    }
              },
        {
          "position_x"displayed"    : 15true,
             "position_y": 5,
            "width": 15,
          "heightwidth_percent": 5,20
          "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": "default"
width"     : 15,
                 },
   "height"    : 5,
        "top_right_area": {
            "content"   : {
     "displayed": "default",
                  "icon_type": "defaultweather_widget",
                },
        "item": {
       "sla_area": {
                     "displayeditem_uuid": "default10000000000000100000000000000001",
                  "show_icon": "default"
              "item_name": "Le nom de mon hote",
            },
                "nameitem_areatype": {"host"
                  "property_used_as_name": "default",
      }
              "nb_lines_max": "default",
     }
             "vertical_align": "default"   },
                {
  "font_zoom_percent": "default"
                }
   "position_x": 15,
            }
          "position_y": 5,
  }
          }
        }
"width"     : ]15,
       "layouts": {
        "weather_widget_layout": {
      "height"    "width": "default"5,
          "height": "default",
          "content"   : {
            "layout": {
              "backgroundtype": "defaultweather_widget",
               "information_to_display         "item": {
                "left_area": {
                   "icon_type"item_uuid": "default10000000000000100000000000000002",
                },
                "topitem_right_areaname": {
"Le nom de      mon cluster",
          "displayed": "default",
                  "iconitem_type": "defaultcluster"
                },
        }
        "sla_area": {
            }
        "displayed": "default",
       }
           "show_icon": "default" ]
        }
    ],
    },
"external_links": {
        "links": [
           "name_area": {
                  "propertylink_used_as_name"             : "defaultLien 01",
                  "nblink_lines_max"uuid"             : "default49872e4e-ffee-7084-fb91-b52346c3dcca",
                  "verticallink_align"protocol"         : "default",
                  "fontlink_zoombase_percent"url"         : "default",
                }
"link_external_part_url": "default",
               }
 "authentication_needed" : "default",
             }
   "info_bar"       }
       : },{
           "separator_widget_layout": {
          "widthbackground_color": "default",
          "height": "default",
          "contentlogo_displayed"  : {"default",
            "layout": {
       "position"        : "information_to_display": {default",
                "left_area": {
   "refresh"         : {
     "displayed": "default",
                  "widthchrono_percentdisplayed":  "default"
       : "default",
        },
                "titlegeneration_time_areadisplayed": {"default"
                   "font_zoom_percent": "default", }
                  "text_color": "default"},
                  "text_alignnotifications": "default"
        :    {
    },
                "right_areasound" : {
                  "displayed      "enabled": "default",
                   "width_percent": "default"
 },
                    "visual": }{
              }
            }"blink": {
          }
        },
        "title_widget_layout": {
          "width": "default",
          "height""enabled": "default",
          "content": {
            "layout": {}
              "information_to_display": {
                "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