-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPrinterConfig.json
More file actions
51 lines (51 loc) · 1.47 KB
/
PrinterConfig.json
File metadata and controls
51 lines (51 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"thermometer_config": {
"inner_top_thermo_name": "28-2ca0a72153ff",
"inner_bottom_thermo_name": "28-3c290457da46",
"outer_thermo_name": "28-baa0a72915ff"
},
"general_config": {
"screen_alive_time_ms": 20000,
"max_inactive_time_ms": 3000
},
"light_config": {
"bridge_ip": "",
"bridge_username": "",
"printer_light_id": 0
},
"display_config": {
"height": 64,
"width": 128,
"file_name": "/dev/i2c-3",
"font_size": 5,
"font_name": "/usr/share/fonts/truetype/freefont/FreeMono.ttf"
},
"http_server_config": {
"port": 1933
},
"fan_controller_config": {
"pwm_pin": 12,
"tick_pin": 7,
"relay_pin": 11,
"led_pin": 23,
"min_rpm": 750.0,
"max_rpm": 3000.0,
"speed_meas_period_ms": 3000,
"temp_meas_period_s": 1.0,
"min_integral": -5000.0,
"max_integral": 5000.0,
"max_temp_deviation": 1.0,
"proportional_factor": 10.0,
"integral_factor": 10.0,
"blink_interval_ms": 500
},
"camera_config": {
"start_command": "nohup mjpg_streamer -o \"output_http.so -w ./www -p 8000\" -i \"input_uvc.so -r 1280x720 -f 20 -softfps 20\" > /dev/null 2>&1 &",
"stop_command": "kill $(pidof mjpg_streamer)"
},
"mqtt_config": {
"client_id": "printer",
"broker_ip": "192.168.178.150",
"broker_port": 1883
}
}