| Scroll Ignore | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
|
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 de votre du navigateur, on vous conseille il est conseillé d'utiliser le "Copier en texte brut" de votre du navigateur => ( raccourci = Ctrl+Maj+V) |
| Code Block | ||||
|---|---|---|---|---|
| ||||
{
"usersgrids" : [
{
"owner_user": {}
nb_tiles_in_width" },
"grids" : [60,
{
"nb_tiles_in_widthheight" : 60120,
"nbseparation_tilesgrid_inelement_height" min" : 1203,
"separation_grid_element_max" : 10,
"separation_grid_element_minpercent" : 30.5,
"separation_grid_element_percent": 0.5,
type" "type" : "grid",
"grid_elements" : [
{
"position_x": 0,
"position_y": 0,
"width" : "all",
"height" : 23,
"content" : {
"type" : "title_widget",
"titlelayout": "MON TITRE"
{
}
"information_to_display": {
}, {
"positiontitle_xarea": 0,{
"position_y": 2,
"label" "width" : "allMON TITRE",
"height" : 2,
"text_color" : "content" : {black",
"type" "text_align" : "separator_widget"default",
"title" "font_zoom_percent": "default"
: "MON SEPARATEUR",
}
"text_color" : "black",
}
"start_zone_text_percent": "20",
}
"end_zone_text_percent" : "20",
}
},
"text_align" : "center"{
}
}, {"position_x": 0,
"position_xy": 03,
"position_y": 4width" : "all",
"widthheight" : 152,
"heightcontent" : 5,{
"contenttype" : {"separator_widget",
"itemlayout": {
"iteminformation_to_namedisplay": "Le{
nom de mon hote",
"itemleft_typearea" : "host"{
},
"displayed" "type": "weather_widget"true,
}
}, {"width_percent": 20
"position_x": 15,
},
"position_y": 4,
"widthtitle_area": {
: 15,
"height" : 5, "content": {
"label" : "MON SEPARATEUR",
"item" : {
"itemfont_zoom_typepercent": "clusterdefault",
"item_uuid": "00000000000000000000000000000001"
"text_color" : "black",
}, "type": "weather_widget"
}
"text_align" }: "center"
],
"layouts" },
: {
"weatherright_widget_layoutarea" : {
"content": {
"displayed" "property_used_as_name": "visualization_name"true,
"state_icon" : "status_then_context", "backgroundwidth_percent": "context_and_status",20
"display_sla" }
: true
}
}
},
}
"title_widget_layout" : {
}
"content": {
},
"text_color": "black"
{
}"position_x": 0,
},
"separator_widget_layout"position_y": {5,
"contentwidth": {
: 15,
"text_color": "blackheight"
: 5,
}
"content" : {
}
}
}
"type": "weather_widget",
],
"external_links": {
"links__default_external_part_url" : "external_default_json",item": {
"links__default_authentication_needed": true,
"links__default_info_bar" "item_uuid": {"10000000000000100000000000000001",
"refresh" : {
"item_name": "Le nom de mon hote",
"chrono_displayed" : true,
"generationitem_time_displayedtype": true"host"
},
"position"}
: "top",
"background_color": "#343434",
}
"logo_displayed" : true},
},
"links"{
"position_x": 15,
: [
"position_y": 5,
{
"authentication_needed"width" : true15,
"link_name" "height" : 5,
: "Lien 1",
"link_uuidcontent" : {
: "e214ce6ac1580cef86ddf7479ba9bf1d",
"link_external_part_url""type": "externalweather_link_jsonwidget",
"info_bar" "item": {
: {
"refreshitem_uuid": "10000000000000100000000000000002",
: {
"item_name": "Le nom de mon "chrono_displayed"cluster",
: true,
"generationitem_time_displayedtype": false"cluster"
},
}
"position" }
: "top",
}
"background_color": "#343434",
]
}
],
"logoexternal_displayed"links": {
"links": true[
{
}
}
"link_name" ]
}
}: "Lien 01",
"link_uuid" : "49872e4e-ffee-7084-fb91-b52346c3dcca",
"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"
}
},
"notifications" : {
"sound" : {
"enabled": "default"
},
"visual": {
"blink": {
"enabled": "default"
}
}
}
}
]
}
} |
Le JSON d'exemple comporte :
- 4 widgets :
- 1 widget Titre "MON TITRE"
( voir la page Widget Titre - Édition JSON - Météo ) - 1
- 1 widget Titre "MON TITRE"
Le Json d'exemple comporte :
- 4 widgets :
- Un widget Titre "MON TITRE"
( pour plus d'information vous référez à la page HIDDEN - V02.08.02 - Widget Titre - Edition - Météo )
Un widget Séparateur "MON SEPARATEUR"
( p our plus d'information vous référez à la page HIDDEN - V02.08.02 - voir la pageWidget Séparateur - Edition Édition JSON - Météo ) - Deux 2 widgets Météos qui ont bien sûr un problème, car vous il n'avez existe pas d'hôte hôte qui se nomme "Le nom de mon hôte" ou un cluster qui se nomme "Le nom de mon hote" ou un cluster avec un identifiant = "00000000000000000000000000000001"
( p our plus d'information vous référez à la page HIDDEN - V02.08.02 - voir la pageWidget Météo - Edition Édition JSON - Météo )
- Un widget Titre "MON TITRE"
- 1 lien :
- Lien 1 01, qui nécessite d'être authentifier authentifié pour y accéder
( p our plus d'information vous référez à la page HIDDEN - V02.08.02 - Edition voir la pageÉdition des liens externes - Edition Édition JSON - Météo )
- Lien 1 01, qui nécessite d'être authentifier authentifié pour y accéder
| Panel |
|---|
