NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

fisics's avatar
fisics
Aspirant
Jan 12, 2014

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.

4 Replies

Replies have been turned off for this discussion
  • Can anyone help with this? I've tried searching everywhere but can't find anything.

    Thanks!
  • 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!
  • scp seems a bit heavy. Maybe a symlink to that file from https accessible location, then wget/curl off the NAS?

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More