diff --git a/etc/psa_tariff/tariff01.json b/etc/psa_tariff/tariff01.json new file mode 100644 index 0000000..901b49f --- /dev/null +++ b/etc/psa_tariff/tariff01.json @@ -0,0 +1,777 @@ +{ + "Project" : "Stockerau", + "Version" : "1.0.0-2024-06-04T12:55:00+02:00", + "Info" : "", + "Currency": [ + { + "pcu_id": 2, + "pcu_sign": "€", + "pcu_major": "EUR", + "pcu_minor": "", + "pcu_active": true + } + ], + "PaymentMethod": [ + { + "pme_id": 1, + "pme_label": "progressive" + }, + { + "pme_id": 2, + "pme_label": "degressive" + }, + { + "pme_id": 3, + "pme_label": "linear" + }, + { + "pme_id": 4, + "pme_label": "steps" + } + ], + "TimeRange" : [ + { + "time_range_id": 1, + "time_range_from": "18:00:00", + "time_range_to": "08:00:00" + }, + { + "time_range_id": 2, + "time_range_from": "08:00:00", + "time_range_to": "12:00:00" + }, + { + "time_range_id": 3, + "time_range_from": "13:30:00", + "time_range_to": "18:00:00" + }, + { + "time_range_id": 4, + "time_range_from": "00:00:00", + "time_range_to": "08:00:00" + }, + { + "time_range_id": 5, + "time_range_from": "18:00:00", + "time_range_to": "23:59:00" + } + ], + "PaymentOption": [ + { + "pop_id": 1049, + "pop_label": "Zone 1", + "pop_payment_method_id": 4, + "pop_day_end_time": "00:00:00", + "pop_day_night_end_time": "00:00:00", + "pop_price_night": 0, + "pop_min_time": 30, + "comment_pop_min_time": "(30/0,7) * 1 : 30mins are 70 cent", + "pop_max_time": 257, + "comment_pop_max_time": "(30/0,7) * 60: 30mins are 70 cent", + "pop_min_price": 70, + "pop_max_price": 600, + "pop_carry_over": 1, + "pop_carry_over_time_range": 1, + "pop_carry_over_start_time_range": 2, + "pop_carry_over_end_time_range": 3, + "pop_prepay": 1, + "pop_prepay_start_time_range": 4, + "pop_prepay_end_time_range": 5, + "pop_business_hours": 147200, + "comment_1": "147200 = 0x23F00 = 10|0011|1111|0000|0000 -> working days (MON-SAT) with restricted hours" + } + ], + "PaymentRate": [ + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 1, + "pra_price": 10 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 2, + "pra_price": 20 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 3, + "pra_price": 30 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 4, + "pra_price": 40 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 5, + "pra_price": 50 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 6, + "pra_price": 60 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 7, + "pra_price": 70 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 8, + "pra_price": 80 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 9, + "pra_price": 90 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 10, + "pra_price": 100 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 11, + "pra_price": 110 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 12, + "pra_price": 120 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 13, + "pra_price": 130 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 14, + "pra_price": 140 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 15, + "pra_price": 150 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 16, + "pra_price": 160 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 17, + "pra_price": 170 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 18, + "pra_price": 180 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 19, + "pra_price": 190 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 20, + "pra_price": 200 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 21, + "pra_price": 210 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 22, + "pra_price": 220 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 23, + "pra_price": 230 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 24, + "pra_price": 240 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 25, + "pra_price": 250 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 26, + "pra_price": 260 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 27, + "pra_price": 270 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 28, + "pra_price": 280 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 29, + "pra_price": 290 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 30, + "pra_price": 300 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 31, + "pra_price": 310 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 32, + "pra_price": 320 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 33, + "pra_price": 330 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 34, + "pra_price": 340 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 35, + "pra_price": 350 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 36, + "pra_price": 360 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 37, + "pra_price": 370 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 38, + "pra_price": 380 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 39, + "pra_price": 390 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 40, + "pra_price": 400 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 41, + "pra_price": 410 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 42, + "pra_price": 420 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 43, + "pra_price": 430 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 44, + "pra_price": 440 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 45, + "pra_price": 450 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 46, + "pra_price": 460 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 47, + "pra_price": 470 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 48, + "pra_price": 480 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 49, + "pra_price": 490 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 50, + "pra_price": 500 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 51, + "pra_price": 510 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 52, + "pra_price": 520 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 53, + "pra_price": 530 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 54, + "pra_price": 540 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 55, + "pra_price": 550 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 56, + "pra_price": 560 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 57, + "pra_price": 570 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 58, + "pra_price": 580 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 59, + "pra_price": 590 + }, + { + "pra_payment_option_id": 1049, + "pra_payment_unit_id": 60, + "pra_price": 600 + } + ], + "Duration": [ + { + "pun_id": 1, + "pun_label": "4 min", + "pun_duration": 4 + }, + { + "pun_id": 2, + "pun_label": "8 min", + "pun_duration": 8 + }, + { + "pun_id": 3, + "pun_label": "12 min", + "pun_duration": 12 + }, + { + "pun_id": 4, + "pun_label": "17 min", + "pun_duration": 17 + }, + { + "pun_id": 5, + "pun_label": "21 min", + "pun_duration": 21 + }, + { + "pun_id": 6, + "pun_label": "25 min", + "pun_duration": 25 + }, + { + "pun_id": 7, + "pun_label": "30 min", + "pun_duration": 30 + }, + { + "pun_id": 8, + "pun_label": "34 min", + "pun_duration": 34 + }, + { + "pun_id": 9, + "pun_label": "38 min", + "pun_duration": 38 + }, + { + "pun_id": 10, + "pun_label": "42 min", + "pun_duration": 42 + }, + { + "pun_id": 11, + "pun_label": "47 min", + "pun_duration": 47 + }, + { + "pun_id": 12, + "pun_label": "51 min", + "pun_duration": 51 + }, + { + "pun_id": 13, + "pun_label": "55 min", + "pun_duration": 55 + }, + { + "pun_id": 14, + "pun_label": "60 min", + "pun_duration": 60 + }, + { + "pun_id": 15, + "pun_label": "64 min", + "pun_duration": 64 + }, + { + "pun_id": 16, + "pun_label": "68 min", + "pun_duration": 68 + }, + { + "pun_id": 17, + "pun_label": "72 min", + "pun_duration": 72 + }, + { + "pun_id": 18, + "pun_label": "77 min", + "pun_duration": 77 + }, + { + "pun_id": 19, + "pun_label": "81 min", + "pun_duration": 81 + }, + { + "pun_id": 20, + "pun_label": "85 min", + "pun_duration": 85 + }, + { + "pun_id": 21, + "pun_label": "90 min", + "pun_duration": 90 + }, + { + "pun_id": 22, + "pun_label": "94 min", + "pun_duration": 94 + }, + { + "pun_id": 23, + "pun_label": "98 min", + "pun_duration": 98 + }, + { + "pun_id": 24, + "pun_label": "102 min", + "pun_duration": 102 + }, + { + "pun_id": 25, + "pun_label": "107 min", + "pun_duration": 107 + }, + { + "pun_id": 26, + "pun_label": "111 min", + "pun_duration": 111 + }, + { + "pun_id": 27, + "pun_label": "115 min", + "pun_duration": 115 + }, + { + "pun_id": 28, + "pun_label": "120 min", + "pun_duration": 120 + }, + { + "pun_id": 29, + "pun_label": "124 min", + "pun_duration": 124 + }, + { + "pun_id": 30, + "pun_label": "128 min", + "pun_duration": 128 + }, + { + "pun_id": 31, + "pun_label": "132 min", + "pun_duration": 132 + }, + { + "pun_id": 32, + "pun_label": "137 min", + "pun_duration": 137 + }, + { + "pun_id": 33, + "pun_label": "141 min", + "pun_duration": 141 + }, + { + "pun_id": 34, + "pun_label": "145 min", + "pun_duration": 145 + }, + { + "pun_id": 35, + "pun_label": "150 min", + "pun_duration": 150 + }, + { + "pun_id": 36, + "pun_label": "154 min", + "pun_duration": 154 + }, + { + "pun_id": 37, + "pun_label": "158 min", + "pun_duration": 158 + }, + { + "pun_id": 38, + "pun_label": "162 min", + "pun_duration": 162 + }, + { + "pun_id": 39, + "pun_label": "167 min", + "pun_duration": 167 + }, + { + "pun_id": 40, + "pun_label": "171 min", + "pun_duration": 171 + }, + { + "pun_id": 41, + "pun_label": "175 min", + "pun_duration": 175 + }, + { + "pun_id": 42, + "pun_label": "180 min", + "pun_duration": 180 + }, + { + "pun_id": 43, + "pun_label": "184 min", + "pun_duration": 184 + }, + { + "pun_id": 44, + "pun_label": "188 min", + "pun_duration": 188 + }, + { + "pun_id": 45, + "pun_label": "192 min", + "pun_duration": 192 + }, + { + "pun_id": 46, + "pun_label": "197 min", + "pun_duration": 197 + }, + { + "pun_id": 47, + "pun_label": "201 min", + "pun_duration": 201 + }, + { + "pun_id": 48, + "pun_label": "205 min", + "pun_duration": 205 + }, + { + "pun_id": 49, + "pun_label": "210 min", + "pun_duration": 210 + }, + { + "pun_id": 50, + "pun_label": "214 min", + "pun_duration": 214 + }, + { + "pun_id": 51, + "pun_label": "218 min", + "pun_duration": 218 + }, + { + "pun_id": 52, + "pun_label": "222 min", + "pun_duration": 222 + }, + { + "pun_id": 53, + "pun_label": "227 min", + "pun_duration": 227 + }, + { + "pun_id": 54, + "pun_label": "231 min", + "pun_duration": 231 + }, + { + "pun_id": 55, + "pun_label": "235 min", + "pun_duration": 235 + }, + { + "pun_id": 56, + "pun_label": "240 min", + "pun_duration": 240 + }, + { + "pun_id": 57, + "pun_label": "244 min", + "pun_duration": 244 + }, + { + "pun_id": 58, + "pun_label": "248 min", + "pun_duration": 248 + }, + { + "pun_id": 59, + "pun_label": "252 min", + "pun_duration": 252 + }, + { + "pun_id": 60, + "pun_label": "257 min", + "pun_duration": 257 + } + ], + "WeekDaysWorktime": [ + { + "pwd_id": 621, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 1, + "pwd_time_from": "08:00:00", + "pwd_time_to": "12:00:00" + }, + { + "pwd_id": 621, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 1, + "pwd_time_from": "13:30:00", + "pwd_time_to": "18:00:00" + }, + { + "pwd_id": 622, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 2, + "pwd_time_from": "08:00:00", + "pwd_time_to": "12:00:00" + }, + { + "pwd_id": 622, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 2, + "pwd_time_from": "13:30:00", + "pwd_time_to": "18:00:00" + }, + { + "pwd_id": 623, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 3, + "pwd_time_from": "08:00:00", + "pwd_time_to": "12:00:00" + }, + { + "pwd_id": 623, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 3, + "pwd_time_from": "13:30:00", + "pwd_time_to": "18:00:00" + }, + { + "pwd_id": 624, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 4, + "pwd_time_from": "08:00:00", + "pwd_time_to": "12:00:00" + }, + { + "pwd_id": 624, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 4, + "pwd_time_from": "13:30:00", + "pwd_time_to": "18:00:00" + }, + { + "pwd_id": 625, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 5, + "pwd_time_from": "08:00:00", + "pwd_time_to": "12:00:00" + }, + { + "pwd_id": 625, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 5, + "pwd_time_from": "13:30:00", + "pwd_time_to": "18:00:00" + }, + { + "pwd_id": 626, + "pwd_period_week_day_id": 36, + "pwd_period_day_in_week_id": 6, + "pwd_time_from": "08:00:00", + "pwd_time_to": "12:00:00" + } + ], + "PeriodYear": [ + { + "pye_id": 8, + "pye_label": "Whole year", + "pye_start_month": 1, + "pye_start_day": 1, + "pye_end_month": 12, + "pye_end_day": 31 + } + ] +} diff --git a/etc/psa_update/opkg_commands b/etc/psa_update/opkg_commands new file mode 100755 index 0000000..3651cda --- /dev/null +++ b/etc/psa_update/opkg_commands @@ -0,0 +1,11 @@ +############################################################################### +# !!! NOTE !!! +############################################################################### +# opkg-commands added to this file will be executed by ATBUpdateTool. +############################################################################### +# +opkg update +#opkg install --force-downgrade https://firmware.ptu5.atb-comm.de/testing/00700/atb-plugin-calculateprice-mobilisis_1.5.0+git0+034adf9096-r1-00700_cortexa9t2hf-neon.ipk +#opkg install --force-downgrade https://firmware.ptu5.atb-comm.de/testing/00700/libmobilisis-calc2_2.1.99+git0+c7623429d9-r0-00700_cortexa9t2hf-neon.ipk + +