Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Duo V2 Remote Temperature Script
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-01-12
04:25 AM
2014-01-12
04:25 AM
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.
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
Labels:
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-01-28
01:32 AM
2014-01-28
01:32 AM
Re: Duo V2 Remote Temperature Script
Can anyone help with this? I've tried searching everywhere but can't find anything.
Thanks!
Thanks!
Message 2 of 5
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-01-28
06:50 PM
2014-01-28
06:50 PM
Re: Duo V2 Remote Temperature Script
Maybe try viewtopic.php?p=157069#p157069
Message 3 of 5
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-01-29
06:56 AM
2014-01-29
06:56 AM
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!
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-01-29
07:23 PM
2014-01-29
07:23 PM
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