Updated Home (markdown)
parent
ef21b907c0
commit
f931e9a80f
7
Home.md
7
Home.md
@ -5,11 +5,11 @@ Welcome to the PVE-mods wiki!
|
||||
## Debug external sensor -j out,
|
||||
In /usr/share/perl5/PVE/API2/Nodes.pm
|
||||
Replace
|
||||
`
|
||||
|
||||
$res->{sensorsOutput}
|
||||
`
|
||||
|
||||
with
|
||||
`
|
||||
|
||||
my $json_file_path = '/tmp/sensordata.json'; # Ensure this path is correct and file has chmod 777`
|
||||
|
||||
`# Read JSON data from the file`
|
||||
@ -18,4 +18,3 @@ with
|
||||
`close $fh;`
|
||||
|
||||
`$res->{sensorsOutput} = $json_text;
|
||||
`
|
||||
|
||||
Loading…
Reference in New Issue
Block a user