Advertisement
Guest User

Currentcost.ini

a guest
Aug 19th, 2012
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.58 KB | None | 0 0
  1. # change to current cost com port e.g. 'COM5'
  2. # use 'auto' to let the service choose the port
  3.  
  4. port=COM4
  5.  
  6. # current cost (ENVI-R) default baud rate
  7. # the classic ENVI rate is 9600
  8.  
  9. rate57600
  10.  
  11.  
  12. # Sensor to read, the default is 0 (whole house)
  13. # Separate multiple sensors with a comma
  14. # Ensure there is an equal number of values for 'sensors', 'direction', 'channels' and 'calibration'
  15.  
  16. sensors=1,2
  17.  
  18.  
  19. # Define the power direction(s)
  20. #
  21. # 'in' - Consumption
  22. # 'out' - Solar Generation
  23.  
  24. direction=in
  25.  
  26.  
  27. # uncomment to use specific channels within the sensor
  28. # when not defined all channel readings are summed
  29. # use '+' to add specific channels
  30. #
  31. # See Example 5 below
  32. #
  33.  
  34. # channels=1+2
  35.  
  36.  
  37. # uncomment to adjust power readings before saving
  38. # 0.95 = power reading is multipled by 95%
  39. # 1.10 = power reading is multipled by 110%
  40. # default is '1'
  41.  
  42. # calibration=0.9
  43.  
  44.  
  45. # Define a rule to update the power value
  46. # The following variables are available
  47. #
  48. # 'power' - power value
  49. # 'hour' - current hour of the day (0-23)
  50. # 'minute' - current minute of the hour (0-59)
  51. # 'in' - consumption flag (true or false)
  52. # 'out' - generation flag (true or false)
  53. #
  54. # See examples 6 and 7 below
  55.  
  56. rule=
  57.  
  58.  
  59. # The temperature readings are in
  60. #
  61. # C - Celsius
  62. # F - Fahrenheit
  63. #
  64. # Fahrenheit will be converted to Celsius
  65. #
  66. # Comment out to disable temperature uploading
  67. #
  68.  
  69. #temperature-unit=C
  70.  
  71.  
  72. #
  73. # Auto port detection - time to wait (secs) for valid data to be received before giving up and trying the next available port
  74. #
  75. # Valid range [10 to 60]
  76. #
  77.  
  78. port-detect-wait=15
  79.  
  80.  
  81. #
  82. # Automatically close and reopen the port after this period of inactivity (secs)
  83. #
  84. # Valid range [30 or greater]
  85. #
  86.  
  87. port-idle-recycle=60
  88.  
  89.  
  90.  
  91. # Example 1 - monitor pv output on sensor 1
  92. #
  93. # sensors=1
  94. # direction=out
  95.  
  96.  
  97. # Example 2 - monitor house consumption on sensor 0 and pv output on sensor 1
  98. #
  99. # sensors=0,1
  100. # direction=in,out
  101.  
  102.  
  103. # Example 3 - combine sensors 2 and 3 as consumption and pv output on sensor 1
  104. #
  105. # sensors=1,2,3
  106. # direction=out,in,in
  107.  
  108.  
  109. # Example 4 - use channel 1 as solar and channel 2 as consumption on sensor 0
  110. #
  111. # sensors=0,0
  112. # channels=1,2
  113. # direction=out,in
  114.  
  115.  
  116. # Example 5 - use channel 1 as solar and channels 2-5 as consumption on sensor 0
  117. #
  118. # sensors=0,0
  119. # channels=1,2+3+4+5
  120. # direction=out,in
  121.  
  122.  
  123. # Example 6 - when power is less than 100W set it to 0W otherwise increase it by 2%
  124. #
  125. # rule=if(power < 100) power = 0; else power = power*1.02;
  126.  
  127.  
  128. # Example 7 - increase solar output by 2%
  129. #
  130. # rule=if(out) power = power*1.02;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement