Skip to content

Commit 155701f

Browse files
# Release 2.0.0 (#4)
# Release 2.0.0 ## New features - Supports FlowConfig feature to provide incoming MQTT messages / push messages to MQTT broker - Provide version of module via 'OnNewStatusModuleVersion' - Check if features of module can be used on device and provide this via 'OnNewStatusModuleIsActive' event / 'getStatusModuleActive' function - New event 'OnNewConnectionStatus' - Function 'getParameters' to provide PersistentData parameters - Function to 'resetModule' to default setup ## Improvements - New UI design available (e.g. selectable via CSK_Module_PersistentData v4.1.0 or higher), see 'OnNewStatusCSKStyle' - 'loadParameters' returns its success - 'sendParameters' can control if sent data should be saved directly by CSK_Module_PersistentData - Changed log level of some messages from 'info' to 'fine' - Added UI icon and browser tab information ## Bugfix - Module tried to reconnect to MQTT broker every 5sec after a disconnection even it already reconnected succesfully - Typo in code regarding password variable for credentials - Typo in code regarding client certificate key path --------- Co-authored-by: Maxim Teplyakov <maxim.teplyakov@sick.de>
1 parent 0ce0c25 commit 155701f

19 files changed

Lines changed: 3103 additions & 1189 deletions

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,28 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## Release 2.0.0
5+
6+
### New features
7+
- Supports FlowConfig feature to provide incoming MQTT messages / push messages to MQTT broker
8+
- Provide version of module via 'OnNewStatusModuleVersion'
9+
- Check if features of module can be used on device and provide this via 'OnNewStatusModuleIsActive' event / 'getStatusModuleActive' function
10+
- New event 'OnNewConnectionStatus'
11+
- Function 'getParameters' to provide PersistentData parameters
12+
- Function to 'resetModule' to default setup
13+
14+
### Improvements
15+
- New UI design available (e.g. selectable via CSK_Module_PersistentData v4.1.0 or higher), see 'OnNewStatusCSKStyle'
16+
- 'loadParameters' returns its success
17+
- 'sendParameters' can control if sent data should be saved directly by CSK_Module_PersistentData
18+
- Changed log level of some messages from 'info' to 'fine'
19+
- Added UI icon and browser tab information
20+
21+
### Bugfix
22+
- Module tried to reconnect to MQTT broker every 5sec after a disconnection even it already reconnected succesfully
23+
- Typo in code regarding password variable for credentials
24+
- Typo in code regarding client certificate key path
25+
426
## Release 1.1.0
527

628
### Improvements
30.4 KB
Loading
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
{
2-
"showLoginButton": false
2+
"canChangeLanguage": true,
3+
"showLoginButton": false,
4+
"defaultLanguage": "en",
5+
"disableEditMode": true,
6+
"showPageHistory": true,
7+
"compactMode": false,
8+
"canChangeCompactMode": false
39
}
Lines changed: 83 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,94 @@
1+
.myCustom20pHeight_CSK_Module_MQTTClient {
2+
min-height: 20%;
3+
}
4+
5+
.myCustom10pxHeight_CSK_Module_MQTTClient {
6+
min-height: 10px;
7+
}
8+
9+
.myCustomSpacerVert10_CSK_Module_MQTTClient {
10+
min-height: 10px;
11+
}
12+
13+
.myCustomSpacerVert20_CSK_Module_MQTTClient {
14+
min-height: 20px;
15+
}
16+
17+
.myCustomFrameNoColor_CSK_Module_MQTTClient {
18+
margin: 6px;
19+
border-radius: 10px;
20+
border-style: solid;
21+
border-width: 0px;
22+
border-color: 007CC1;
23+
background-color: white;
24+
}
25+
126
.myCustomFrame_CSK_Module_MQTTClient {
27+
margin: 6px;
28+
border-radius: 10px;
229
border-style: solid;
330
border-width: 1px;
4-
border-color: grey;
5-
margin: 6px;
31+
border-color: #007CC1;
32+
background-color: white;
633
}
734

8-
.myCustom20pHeight_CSK_Module_MQTTClient {
9-
min-height: 20%;
35+
.myCustomLabel_CSK_Module_MQTTClient {
36+
font-size:30px;
37+
color: grey;
38+
margin-top: 10px;
1039
}
1140

12-
.myCustom10pxHeight_CSK_Module_MQTTClient {
41+
.myCustomFrameLabel_CSK_Module_MQTTClient {
42+
background: white;
43+
position:relative;
44+
top: calc(-1.2rem);
45+
left: calc(1rem);
46+
font-size: medium;
47+
}
48+
49+
.myCustomPersistentDataMargin_CSK_Module_MQTTClient {
50+
margin-top: -53px;
51+
margin-left: 130px;
52+
}
53+
54+
.myCustomPersistentDataMarginBack_CSK_Module_MQTTClient {
55+
margin-left: -127px;
56+
}
57+
58+
.myCustomBorderLeft_CSK_Module_MQTTClient {
59+
border-left: 1px solid lightgray;
60+
}
61+
62+
.myCustomMarginFirstRow_CSK_Module_MQTTClient {
63+
margin-top: -49px;
64+
}
65+
66+
.myCustomMarginLeft7PX_CSK_Module_MQTTClient {
67+
margin-left: -7px;
68+
}
69+
70+
.myCustomMarginLeft15PX_CSK_Module_MQTTClient {
71+
margin-left: 15px;
72+
}
73+
74+
.myCustomMarginInline1Rem_CSK_Module_MQTTClient {
75+
margin-inline: calc(0.5rem);
76+
}
77+
78+
.myCustomBorderBottom_CSK_Module_MQTTClient {
79+
border-bottom: 1px solid lightgray;
80+
margin-inline: calc(1rem);
1381
min-height: 10px;
1482
}
1583

16-
.myCustomCssClass_CSK_Module_MQTTClient {
84+
.myCustomMarginTop7PX_CSK_Module_MQTTClient {
85+
margin-top: 7px;
86+
}
87+
88+
.myCustomBackground_CSK_Module_MQTTClient {
89+
}
90+
91+
.myCustomButton_CSK_Module_MQTTClient {
92+
border-radius: 30px;
93+
padding-right: 0px;
1794
}

0 commit comments

Comments
 (0)