OLED¶
/post.cgi?oled_save¶
Available since SW 1.44
Configure the OLED settings.
POST /post.cgi?oled_save
enabled: 0
displayTime: 5
frequency: 100
screen1: 1
line11: Up=!06100
line12: Up=!06110
line13: Up=!06120
line14: Up=!06130
screen2: 1
line21: 2 Uptime=!06110
line22: V=!00620 T=!1320
line23: line3
line24: line4
screen3: 1
line31: 3 Uptime=!06110
line32: V=!00620 T=!1320
line33: line3
line34: line4
screen4: 1
line41: 4 Uptime=!06110
line42: V=!00620 T=!1320
line43: line3
line44: line4
The data should be application/x-www-form-urlencoded.
enabled
- włączenie OLED, liczba całkowita0-1
displayTime
- display time, integerfrequency
- frequency in kHz, integer50-400
screen1
- activate 1 screen for display, integer0-1
line11
,line12
,line13
,line14
- texts of lines on 1 screen, stringsscreen2
- activate 2 screen for display, integer0-1
line21
,line22
,line23
,line24
- texts of lines on 2 screen, stringsscreen3
- activate 3 screen for display, integer0-1
line31
,line32
,line33
,line34
- texts of lines on 3 screen, stringsscreen4
- activate 4 screen for display, integer0-1
line41
,line42
,line43
,line44
- texts of lines on 4 screen, strings
Important
It is required to replace the characters %
with !
in the texts of the lines before sending the data.
/stm.cgi?oled¶
Not available since SW 1.44
Configure the OLED settings.
GET /stm.cgi?oled=A*B*C*D*E
A
determines whether the function is enabled, integer0-1
B
is text of 1st line, stringC
is text of 2nd line, stringD
is text of 3rd line, stringE
is text of 4th line, string
Important
It is required to replace the characters %
with !
in the texts of the lines before sending the data.
Example:
http://192.168.1.100/stm.cgi?oled=0*%20%20%20%20Uptime=!6110*V=!0620%20T=!1320*line3*line4
/stm.cgi?i2cofreq¶
Set the communication frequency with the OLED display.
GET /stm.cgi?i2cofreq=A
A
is the frequency in kHz, integer50-400
Example:
http://192.168.1.100/stm.cgi?i2cofreq=100