iobroker.tibberlink 1.4.3 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -47,24 +47,69 @@ If you're not currently a Tibber user, I would greatly appreciate it if you coul
47
47
  - The Calculator operates using channels, with each channel linked to a selected home.
48
48
  - These channels can be activated or deactivated based on corresponding states.
49
49
  - These states are designed to serve as external, dynamic inputs for TibberLink, allowing you to, for example, adjust the marginal cost ("TriggerPrice") from an external source or disable the calculator channel ("Active").
50
- - The states of a calculator channel are positioned adjacent to the home states and named according to the channel number.
51
- ![Calculator States](admin/calculatorStates.png)
50
+ - The states of a calculator channel are positioned adjacent to the home states and named according to the channel number. Hereby the channelname choosen in admin screen is shown here to better identify your configurations.
51
+ ![Calculator States](docu/calculatorStates.png)
52
52
  - The behavior of each channel is determined by its type: "best cost," "best single hours," or "best hours block".
53
53
  - Each channel populates an external state as output, which has to be selected in the settings tab. For instance, this state might be "0_userdata.0.example_state" or any other writable external state.
54
54
  - The values to be written to the output state can be defined in "value YES" and "value NO," e.g., "true" for boolean states or a number or text to be written.
55
55
  - Outputs:
56
- - "Best cost": Utilizes the "TriggerPrice" state as input, and the output is "YES" every hour when the current Tibber energy cost is below the trigger price.
57
- - "Best single hours": The output is "YES" during the cheapest number of hours, with the number defined in the "AmountHours" state.
58
- - "Best hours block": The output is "YES" during the best block of hours, with the number of hours defined in the "AmountHours" state.
56
+ - "Best cost": Utilizes the "TriggerPrice" state as input, producing a "YES" output every hour when the current Tibber energy cost is below the trigger price.
57
+ - "Best single hours": Generates a "YES" output during the least expensive hours, with the number defined in the "AmountHours" state.
58
+ - "Best hours block": Outputs "YES" during the most cost-effective block of hours, with the number of hours specified in the "AmountHours" state.
59
+ - "Best cost LTF": "Best cost" within a Limited Time Frame (LTF).
60
+ - "Best single hours LTF": "Best single hours" within a Limited Time Frame (LTF).
61
+ - "Best hours block LTF": "Best hours block" within a Limited Time Frame (LTF).
62
+ - LTF channels: Function similarly to standard channels but only operate within a time frame defined by the "StartTime" and "StopTime" state objects. After "StopTime," the channel deactivates itself. "StartTime" and "StopTime" may span over several days. The states must be filled with a date-time string in ISO-8601 format with a timezone offset, such as: "2023-11-17T21:00:00.000+01:00".
63
+
64
+ ### Hint
65
+
66
+ #### Inverse Usage:
67
+
68
+ To obtain, for example, peak hours instead of optimal hours, simply invert the usage and parameters:
69
+ ![Calculator States Inverse](docu/calculatorStatesInverse.png)
70
+ By swapping true <-> false, you will receive a true at a low cost in the first line and a true at a high cost in the second line (Channel names are not triggers and are still free to choose).
71
+
72
+ Attention: For peak single hours, such as in the example, you also need to adjust the number of hours. Original: 5 -> Inverse (24-5) = 19 -> You will obtain a true result during the 5 peak hours.
73
+
74
+ #### LTF channels:
75
+
76
+ The calculation is performed for "multiday" data. As we only have information for "today" and "tomorrow" (available after approximately 13:00), the time scope is effectively limited to a maximum of 35 hours. However, it's crucial to be mindful of this behavior because the calculated result may/will change around 13:00 when new data for tomorrow's prices becomes available.
77
+
78
+ To observe this dynamic change in the time scope for a standard channel, you may opt for a Limited Time Frame (LTF) spanning several years. This is particularly useful for the "Best Single Hours LTF" scenario.
59
79
 
60
80
  ## Notes
61
81
 
62
82
  This adapter employs Sentry libraries to automatically report exceptions and code errors to the developers. For more details and information on how to disable error reporting, please consult the [Sentry-Plugin Documentation](https://github.com/ioBroker/plugin-sentry#plugin-sentry)! Sentry reporting is initiated starting with js-controller 3.0.
63
83
 
84
+ ## Donate
85
+
86
+ <a href="https://www.paypal.com/donate/?hosted_button_id=F7NM9R2E2DUYS"><img src="https://raw.githubusercontent.com/Hombach/ioBroker.tibberlink/main/docu/bluePayPal.svg" height="40"></a>
87
+ If you enjoyed this project — or just feeling generous, consider buying me a beer. Cheers! :beers:
88
+
64
89
  ## Changelog
65
90
 
66
91
  ! Note that missing version entries are typically dependency updates for improved security.
67
92
 
93
+ ### 1.6.0 (2023-11-26)
94
+
95
+ - (HombachC) fixed major bug in 1.5.0, not working calculator channels (#212)
96
+ - (HombachC) implement limit calculations to a time frame (#153)
97
+ - (HombachC) fix error of missing price data upon not working tibber server connect at adapter start (#204)
98
+ - (HombachC) fixed possible error with wrong price date in multi home systems
99
+ - (HombachC) fixed possible type error, notified by Sentry
100
+ - (HombachC) added some documentation for inverse use of channels (#202)
101
+ - (HombachC) added Sentry statistics
102
+ - (HombachC) optimize translation handling
103
+ - (HombachC) bump dependencies
104
+
105
+ ### 1.5.0 (2023-11-13)
106
+
107
+ - (HombachC) implement calculator channel names (#186)
108
+ - (HombachC) fix error in cron jobs (#190)
109
+ - (HombachC) remove not used calculator channel state objects (#188)
110
+ - (HombachC) code optimizations
111
+ - (HombachC) optimize translation handling
112
+
68
113
  ### 1.4.3 (2023-11-08)
69
114
 
70
115
  - (HombachC) fix possible type error in first calculator calls notified by Sentry
@@ -206,7 +251,6 @@ This adapter employs Sentry libraries to automatically report exceptions and cod
206
251
 
207
252
  ### 0.1.10 (2023-08-15)
208
253
 
209
- - (HombachC) bump dependencies, code cleanups
210
254
  - (HombachC) preparations for tibber calculator
211
255
  - (HombachC) mitigate multi homes & pulse problems (#41)
212
256
  - (HombachC) add documentation to config screen (#47)
@@ -250,10 +294,6 @@ This adapter employs Sentry libraries to automatically report exceptions and cod
250
294
  - (HombachC) hide unused checkboxes in config
251
295
  - (HombachC) fix snyc and appveyor
252
296
 
253
- ### 0.1.1 (2023-07-16)
254
-
255
- - (HombachC) remove release script and dev-server
256
-
257
297
  ### 0.1.0 (2023-07-14)
258
298
 
259
299
  - (HombachC) initial version
@@ -0,0 +1,3 @@
1
+ {
2
+ "s_Active": "Aktiv"
3
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "s_Active": "Active"
3
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "s_Active": "Activo"
3
+ }
@@ -1,9 +1,3 @@
1
1
  {
2
- "s_Home": "Maison Tibber",
3
- "s_CalculatorChannels": "Canaux d'automatisation",
4
- "s_UseCalculator": "Utiliser l'automatisation",
5
- "s_ChannelHome": "Canal Maison",
6
- "s_ChannelType": "Type de canal",
7
- "s_Active": "Actif",
8
- "s_TargetState": "État cible"
2
+ "s_Active": "Actif"
9
3
  }
@@ -1,9 +1,3 @@
1
1
  {
2
- "s_Home": "Casa Tibber",
3
- "s_CalculatorChannels": "Canali di automazione",
4
- "s_UseCalculator": "Utilizza l'automazione",
5
- "s_ChannelHome": "Canale Casa",
6
- "s_ChannelType": "Tipo di canale",
7
- "s_Active": "Attivo",
8
- "s_TargetState": "Stato obiettivo"
2
+ "s_Active": "Attivo"
9
3
  }
@@ -1,9 +1,3 @@
1
1
  {
2
- "s_Home": "Tibber Thuis",
3
- "s_CalculatorChannels": "Automatiseringskanalen",
4
- "s_UseCalculator": "Automatisering gebruiken",
5
- "s_ChannelHome": "Kanaal Thuis",
6
- "s_ChannelType": "Kanaaltype",
7
- "s_Active": "Actief",
8
- "s_TargetState": "Doelstaat"
2
+ "s_Active": "Actief"
9
3
  }
@@ -1,9 +1,3 @@
1
1
  {
2
- "s_Home": "Dom Tibber",
3
- "s_CalculatorChannels": "Kanały automatyzacji",
4
- "s_UseCalculator": "Użyj automatyzacji",
5
- "s_ChannelHome": "Kanał domowy",
6
- "s_ChannelType": "Typ kanału",
7
- "s_Active": "Aktywny",
8
- "s_TargetState": "Stan docelowy"
2
+ "s_Active": "Aktywny"
9
3
  }
@@ -1,9 +1,3 @@
1
1
  {
2
- "s_Home": "Casa Tibber",
3
- "s_CalculatorChannels": "Canais de automação",
4
- "s_UseCalculator": "Usar automação",
5
- "s_ChannelHome": "Canal Casa",
6
- "s_ChannelType": "Tipo de canal",
7
- "s_Active": "Ativo",
8
- "s_TargetState": "Estado alvo"
2
+ "s_Active": "Ativo"
9
3
  }
@@ -1,9 +1,3 @@
1
1
  {
2
- "s_Home": "Дом Tibber",
3
- "s_CalculatorChannels": "Каналы автоматизации",
4
- "s_UseCalculator": "Использовать автоматизацию",
5
- "s_ChannelHome": "Канал Дом",
6
- "s_ChannelType": "Тип канала",
7
- "s_Active": "Активен",
8
- "s_TargetState": "Целевое состояние"
2
+ "s_Active": "Активен"
9
3
  }
@@ -1,9 +1,3 @@
1
1
  {
2
- "s_Home": "Tibber Дім",
3
- "s_CalculatorChannels": "Канали автоматизації",
4
- "s_UseCalculator": "Використовувати автоматизацію",
5
- "s_ChannelHome": "Канал Дім",
6
- "s_ChannelType": "Тип каналу",
7
- "s_Active": "Активний",
8
- "s_TargetState": "Цільовий стан"
2
+ "s_Active": "Активний"
9
3
  }
@@ -1,9 +1,3 @@
1
1
  {
2
- "s_Home": "Tibber家",
3
- "s_CalculatorChannels": "自动化通道",
4
- "s_UseCalculator": "使用自动化",
5
- "s_ChannelHome": "家庭通道",
6
- "s_ChannelType": "通道类型",
7
- "s_Active": "活跃",
8
- "s_TargetState": "目标状态"
2
+ "s_Active": "活跃"
9
3
  }