dyndna

sample /etc/groundcontrol.json file for Raspberry PI

Mar 31st, 2014
46
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.  
  3. "temperature" : "/sys/class/thermal/thermal_zone0/temp",
  4.  
  5. "port": 4571,
  6.  
  7. "host": "0.0.0.0",
  8.  
  9. "stdout" : false,
  10.  
  11. "interval" : 60,
  12.  
  13. "history_interval": 120,
  14. "history_backlog": 20,
  15.  
  16. "controls" : {
  17. "XBMC": {
  18. "ON" : "sudo /etc/init.d/xbmc start",
  19. "OFF" : "sudo /etc/init.d/xbmc stop",
  20. "RESTART" : "sudo /etc/init.d/xbmc restart"
  21. },
  22.  
  23. "AirPlay": {
  24. "RESTART" : "sudo /etc/init.d/avahi-daemon restart"
  25. },
  26.  
  27. "Load_Disks": {
  28. "HardDrive" : "sudo mount /media/HD1",
  29. "NFS-ON" : "sudo mount /media/PC",
  30. "NFS-OFF" : "sudo umount /media/PC"
  31. },
  32.  
  33. "Pi": {
  34. "POWEROFF" : "sudo poweroff",
  35. "RESTART" : "sudo poweroff"
  36. },
  37.  
  38. "DLNA": {
  39. "START" : "sudo service minidlna start",
  40. "REFRESH" : "sudo service minidlna force-reload",
  41. "STOP" : "sudo service minidlna stop"
  42. }
  43. }
  44.  
  45. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×