first commit

This commit is contained in:
Souti
2025-03-06 11:09:58 +01:00
commit 11f7d440ff
330 changed files with 38306 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
commandArray = {}
print("Debut pingVolumio2")
ping_success=os.execute('ping -c1 volumio')
if ping_success then
if ( otherdevices['Volumio2'] == 'Off') then
print("pingVolumio2 success")
commandArray['Volumio2']='On'
end
else
if (otherdevices['Volumio2'] == 'On') then
print("pingVolumio2 fail")
commandArray['Volumio2']='Off'
end
end
print("fin pingVolumio2")
return commandArray