Metainformationen zur Seite

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
entwickler:advanced_developers:generaljson [2022/12/14 22:22] – [Settings and mapping] Sven Thierfelderentwickler:advanced_developers:generaljson [2023/04/15 08:23] (aktuell) – ↷ Links angepasst, weil Seiten im Wiki verschoben wurden Michael Schlenstedt
Zeile 1: Zeile 1:
-<do prof.mobilux>Neue Sektiion für apt ergänzen</do> +====== general.json ======
- +
-<do prof.mobilux>Neue Sektiion für backup ergänzen</do> +
- +
-====== general.json  ======+
  
 ====== General ====== ====== General ======
Zeile 33: Zeile 29:
 | n/a  |   | MINISERVERS  | Miniserver widget  | 1-x  | The number of Miniserver entries as [MINISERVERx].\\ Not required in general.json  | | n/a  |   | MINISERVERS  | Miniserver widget  | 1-x  | The number of Miniserver entries as [MINISERVERx].\\ Not required in general.json  |
 | n/a  |   | INSTALLFOLDER  | Image  | <Path>  | LoxBerrys base folder /opt/loxberry\\ Not required anymore, use $ENV{'LBHOMEDIR' | | n/a  |   | INSTALLFOLDER  | Image  | <Path>  | LoxBerrys base folder /opt/loxberry\\ Not required anymore, use $ENV{'LBHOMEDIR' |
 +| ==== Apt ====  | **3.0**  | n/a  | no UI  |     |
 +| Servers  |         | Hash of valid apt servers for Debian Repository (Raspberry only)  |
 +| Servers.1  |       | http/https  | Valid apt-Server for Raspberry's Debian Repository  |
 +| Servers.2  |       | http/https  | Valid apt-Server for Raspberry's Debian Repository  |
 +| Servers.3  |       | http/https  | Valid apt-Server for Raspberry's Debian Repository  |
 +| Servers.4  |       | http/https  | Valid apt-Server for Raspberry's Debian Repository  |
 +| Servers.5  |       | http/https  | Valid apt-Server for Raspberry's Debian Repository  |
 +| ==== Backup ====  | **3.0**  | n/a  | Backup  |     |
 +| Compression  |       | String  | Compression method or none  |
 +| Keep_archives  |       | Num  | Number of archives to keep  |
 +| Storagepath  |       | Path  | Storage path for backup images  |
 +| Schedule  |         | Hash of Backup Schedule  |
 +| Schedule.Active  |       | true/false  | Automatic schedule active?  |
 +| Schedule.Mon  |       | true/false  | Perform backup on this weekday  |
 +| Schedule.Tue  |       | true/false  |   |
 +| Schedule.Wed  |       | true/false  |   |
 +| Schedule.Thu  |       | true/false  |   |
 +| Schedule.Fre  |       | true/false  |   |
 +| Schedule.Sat  |       | true/false  |   |
 +| Schedule.Son  |       | true/false  |   |
 +| Schedule.Time  |       | HH:MM  | Perform backup at this time  |
 +| Schedule.Repeat  |       | Num  | Repeat schedule every x week  |
 | ==== Healthcheck ====  | **2.2+**  | HEALTHCHECK  | no UI  |   | (no UI, read by healthcheck.cgi)  | | ==== Healthcheck ====  | **2.2+**  | HEALTHCHECK  | no UI  |   | (no UI, read by healthcheck.cgi)  |
 | Disable_all  |   | DISABLE_ALL  |     | Disables all healthcheck to not send notifications/emails  | | Disable_all  |   | DISABLE_ALL  |     | Disables all healthcheck to not send notifications/emails  |
Zeile 49: Zeile 67:
 | Brokerpsk  |     | MQTT Gateway  | String  | TLS-PSK Pre-shared key. //Depreciated//. //Dropped with LB3.0.//  | | Brokerpsk  |     | MQTT Gateway  | String  | TLS-PSK Pre-shared key. //Depreciated//. //Dropped with LB3.0.//  |
 | Brokeruser  |     | MQTT Gateway  | String  | Broker User - may be empty if anonymous access is set at the broker  | | Brokeruser  |     | MQTT Gateway  | String  | Broker User - may be empty if anonymous access is set at the broker  |
-| Udpinport  |     | MQTT Gateway  | String  | The UDP port where MQTT Gateway is [[plugins:mqtt_gateway:mqtt_gateway_http_und_udp_interface|listening for incoming UDP messages]]  |+| Udpinport  |     | MQTT Gateway  | String  | The UDP port where MQTT Gateway is [[konfiguration:widget_help:widget_mqtt:mqtt_gateway:mqtt_gateway_http_und_udp_interface|listening for incoming UDP messages]]  |
 | Uselocalbroker  |     | MQTT Gateway  | 0/1  | 1 ... Broker settings are managed by MQTT Gateway plugin\\ 0 ... Broker settings are managed by the user  | | Uselocalbroker  |     | MQTT Gateway  | 0/1  | 1 ... Broker settings are managed by MQTT Gateway plugin\\ 0 ... Broker settings are managed by the user  |
 | Websocketport  |     | MQTT Gateway  | String  | Default Port is "9001", or a specific port set by the user.  | | Websocketport  |     | MQTT Gateway  | String  | Default Port is "9001", or a specific port set by the user.  |
Zeile 69: Zeile 87:
 | Network.Ipv6.Type  |   | TYPE_IPv6  |       | | Network.Ipv6.Type  |   | TYPE_IPv6  |       |
 | ==== Remote ====  | **1.4.0+**  | **n/a**  |       | | ==== Remote ====  | **1.4.0+**  | **n/a**  |       |
-| Remote.Autoconnect  |           +| Remote.Autoconnect  |       true/false  Reconnect after reboot  
-| Remote.Httpport  |           +| Remote.Httpport  |         Obsolete / not in use anymore since LoxBerry 3.0  
-| Remote.Httpproxy  |           |+| Remote.Httpproxy  |         Obsolete / not in use anymore since LoxBerry 3.0  |
 | ==== Ssdp ====  | **2.2+**  | **SSDP**  |       | | ==== Ssdp ====  | **2.2+**  | **SSDP**  |       |
 | Ssdp.Disabled  |   | DISABLED  |       | | Ssdp.Disabled  |   | DISABLED  |       |
Zeile 105: Zeile 123:
 | Webserver.Oldport  |   | OLDPORT  | services.php  |   | During port change, this temporary saves the old port for rollback situations.  | | Webserver.Oldport  |   | OLDPORT  | services.php  |   | During port change, this temporary saves the old port for rollback situations.  |
 | Webserver.Oldsslport  | **3.0+**  | OLDSSLPORT  | services.php  |   | During port change, this temporary saves the old port for rollback situations.  | | Webserver.Oldsslport  | **3.0+**  | OLDSSLPORT  | services.php  |   | During port change, this temporary saves the old port for rollback situations.  |
-| Webserver.Sslenabled | 3.0+ | SSLENABLED | services.php   |+| Webserver.Sslenabled  | 3.0+  | SSLENABLED  | services.php   |   |
 | ==== Miniserver ====  | **2.2+**  | **MINISERVERx**  | Miniserver widget  |     | | ==== Miniserver ====  | **2.2+**  | **MINISERVERx**  | Miniserver widget  |     |
 | "x" is a string label with the number, The "x" object holds the data of each Miniserver  |         | In general.json, each Miniserver is an object, named by the number ("1", "2",...)\\ In general.cfg, each Miniserver has a section [MINISERVERx], where x is starting at 1, maximal count in BASE.MINISERVERS  | | "x" is a string label with the number, The "x" object holds the data of each Miniserver  |         | In general.json, each Miniserver is an object, named by the number ("1", "2",...)\\ In general.cfg, each Miniserver has a section [MINISERVERx], where x is starting at 1, maximal count in BASE.MINISERVERS  |
Zeile 129: Zeile 147:
 | Miniserver.x.Transport  |   | n/a  |   | "http" or "https"  |   | | Miniserver.x.Transport  |   | n/a  |   | "http" or "https"  |   |
 | Miniserver.x.Useclouddns  |   | USECLOUDDNS  |     | Don't use the local //ipaddress//, but ip needs to be requested from Loxone Cloud DNS using the //Cloudurl// (MAC address).\\ To support Cloud DNS, you need to query Loxone Cloud DNS for the ip of this Miniserver.\\ \\ The LoxBerry SDK (Perl, PHP), e.g. get_miniservers() does this automatically, but for other languages, you need to implement this by yourself.  | | Miniserver.x.Useclouddns  |   | USECLOUDDNS  |     | Don't use the local //ipaddress//, but ip needs to be requested from Loxone Cloud DNS using the //Cloudurl// (MAC address).\\ To support Cloud DNS, you need to query Loxone Cloud DNS for the ip of this Miniserver.\\ \\ The LoxBerry SDK (Perl, PHP), e.g. get_miniservers() does this automatically, but for other languages, you need to implement this by yourself.  |
- 
  
 ====== Access json properties from different languages ====== ====== Access json properties from different languages ======