Advertisement
dyndna

sample /etc/groundcontrol.json file for Raspberry PI

Mar 31st, 2014
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement