This commit is contained in:
Gerhard Hoffmann 2024-03-07 08:15:45 +01:00
commit 8cd700173a
2 changed files with 88 additions and 2 deletions

85
etc/atb/SystemControl.ini Normal file
View File

@ -0,0 +1,85 @@
[AT_TASKS]
1\arguments=restart, atbapp
1\envs=
1\hourOfDay=4
1\id=ATBAPP_RESTART
1\program=/bin/systemctl
2\arguments=restart, apism
2\envs=
2\hourOfDay=4
2\id=APISM_RESTART
2\program=/bin/systemctl
3\arguments=start, atbupdatetool
3\envs=
3\hourOfDay=1
3\id=PTU5UPDATE
3\program=/bin/systemctl
#4\arguments=
#4\envs=
#4\hourOfDay=0
#4\id=REBOOT_0
#4\program=/sbin/reboot
#5\arguments=
#5\envs=
#5\hourOfDay=7
#5\id=REBOOT_7
#5\program=/sbin/reboot
#6\arguments=
#6\envs=
#6\hourOfDay=13
#6\id=REBOOT_13
#6\program=/sbin/reboot
size=3
[BACKLIGHT]
SensorMax=3500
SensorMin=0
curve=1
dimLowValue=499
dimMax=100
dimMin=20
inputBrightness=499
[COMMON]
startBacklightController=true
startMQTTController=true
startMonitoringController=true
startSuspendController=false
[MONITORING]
http_dataFormat=HTTP
http_host=127.0.0.1
http_ignoreSslErrors=on
http_port=5000
http_protocol=http
http_service=
monitoring_heartbeatInterval=60
protocol=mqtt
useDeviceId=on
useRingbuffer=on
[MQTT]
mqtt_QoS=0
mqtt_TopicDeviceType=MP
mqtt_TopicPrefix=ATB
mqtt_TopicScheme=ATB_ISMAS
mqtt_debug=on
mqtt_host=mqtt2.atb-comm.de
mqtt_password=xyz123
mqtt_port=8883
mqtt_useSsl=on
mqtt_username=testuser
[NETWORKCHECK]
PingHost=google.com
networkRestart=/sbin/ifup -a
setOOO=off
useNetworkCheck=on
[SUSPEND]
program=/home/root/system_powerdown_wakeup.sh
suspendLoopTimerValue=8

View File

@ -8,10 +8,11 @@ opkg update
opkg install prepare-update
opkg install atbupdatetool
opkg install mxt-touch-reset
opkg install atb-dc-libraries
# opkg remove atb-accountingtool
# opkg install atb-accountingtool
opkg --cache /var/cache/opkg --download-only upgrade
opkg --cache /var/cache/opkg upgrade
#opkg --cache /var/cache/opkg --download-only upgrade
#opkg --cache /var/cache/opkg upgrade
# opkg remove apism
# opkg install apism
opkg info apism