Updated Home (markdown)

Meliox 2024-05-27 21:54:29 +02:00
parent ef21b907c0
commit f931e9a80f

@ -5,11 +5,11 @@ Welcome to the PVE-mods wiki!
## Debug external sensor -j out, ## Debug external sensor -j out,
In /usr/share/perl5/PVE/API2/Nodes.pm In /usr/share/perl5/PVE/API2/Nodes.pm
Replace Replace
`
$res->{sensorsOutput} $res->{sensorsOutput}
`
with with
`
my $json_file_path = '/tmp/sensordata.json'; # Ensure this path is correct and file has chmod 777` my $json_file_path = '/tmp/sensordata.json'; # Ensure this path is correct and file has chmod 777`
`# Read JSON data from the file` `# Read JSON data from the file`
@ -18,4 +18,3 @@ with
`close $fh;` `close $fh;`
`$res->{sensorsOutput} = $json_text; `$res->{sensorsOutput} = $json_text;
`