File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ lon=0.0
10
10
#skymax_mode_change_script=/some/scripts/ups.sh %mode%
11
11
#influxdb_url=http://192.168.0.3:8086
12
12
#lcdproc=192.168.0.4:13666
13
- #remeha_device=/sys/bus/usb/devices/1-1.3.4:1.0/tty
13
+ #remeha_device=192.168.0.6:4001
14
14
#remeha_state_change_script=/some/scripts/remeha.sh %state%
15
15
16
16
[postgres]
Original file line number Diff line number Diff line change @@ -327,11 +327,11 @@ async fn main() {
327
327
328
328
//remeha async task
329
329
match get_config_string ( "remeha_device" , None ) {
330
- Some ( path ) => {
330
+ Some ( host ) => {
331
331
let worker_cancel_flag = cancel_flag. clone ( ) ;
332
332
let mut remeha = remeha:: Remeha {
333
333
display_name : "<i><black>remeha:</>" . to_string ( ) ,
334
- device_path : path ,
334
+ device_host_port : host ,
335
335
poll_ok : 0 ,
336
336
poll_errors : 0 ,
337
337
influxdb_url : influxdb_url. clone ( ) ,
Original file line number Diff line number Diff line change @@ -417,7 +417,7 @@ impl RemehaState {
417
417
418
418
pub struct Remeha {
419
419
pub display_name : String ,
420
- pub device_path : String ,
420
+ pub device_host_port : String ,
421
421
pub poll_ok : u64 ,
422
422
pub poll_errors : u64 ,
423
423
pub influxdb_url : Option < String > ,
You can’t perform that action at this time.
0 commit comments