× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Duo V2 Remote Temperature Script

fisics
Aspirant

Duo V2 Remote Temperature Script

Hi there,

I have a Duo V2 RAIDiator 5.3.10-T3

I want to remotely view the temperature and log it.

Does anyone know how to access this data?

I have enabled SSH access on the NAS.

Thanks in advance.
Message 1 of 5
fisics
Aspirant

Re: Duo V2 Remote Temperature Script

Can anyone help with this? I've tried searching everywhere but can't find anything.

Thanks!
Message 2 of 5
chirpa
Luminary

Re: Duo V2 Remote Temperature Script

Message 3 of 5
fisics
Aspirant

Re: Duo V2 Remote Temperature Script

Thanks for the help! Especially too Skywalker and mdgm!

The temperature and fan speed among others get written to /var/log/frontview/enclosure.log every minute automatically.

To get the temperature back to my Raspberry Pi running Domoticz I've setup a SSH key and using SCP to copy the file.

scp root@10.0.1.200:/var/log/frontview/enclosure.log /home/pi/readynas/log.txt

I'll get this running every minute using Cron on the Raspberry Pi.

Then to extract the temperature it's:

awk -F'!!' '/^temp/ { split($3, a, "[=C]"); print a[3]; }' log.txt > temperature.txt

Then I can open temperature.txt and submit that via Curl to Domoticz.

Hope that helps someone else out there!
Message 4 of 5
chirpa
Luminary

Re: Duo V2 Remote Temperature Script

scp seems a bit heavy. Maybe a symlink to that file from https accessible location, then wget/curl off the NAS?
Message 5 of 5
Top Contributors
Discussion stats
  • 4 replies
  • 3950 views
  • 0 kudos
  • 2 in conversation
Announcements