mndrj

Sitemaps and binding files

Dec 25th, 2018
84
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None
  1. rrd4j.persist file
  2.  
  3. Items {
  4. Temp_Chart* : strategy = everyMinute, restoreOnStartup
  5. Temp_Chart_Period : strategy = everyChange, restoreOnStartup
  6.  
  7.  
  8. home.items file
  9.  
  10. Group Temp_Chart(all)
  11. Number Temp_Chart_period "Temp Chart Period"
  12. //Group Temp_Chart_2 (all)
  13. //Number Temp_Chart_Period_2 "Temp Chart Second Floor Period"
  14. Group Hum_Chart (all)
  15. Number Hum_Chart_period "Hum Chart Period"
  16.  
  17. Number Temperature_kube "kube Temp [%.1f °C]" <temperature> (FF_kube,Temp_Chart) {mqtt="<[broker:home/kube/temperature:state:default]"}
  18. Number Humidity_kube "kube Hum [%.1f %%]" <humidity> (FF_kube,Hum_Chart) {mqtt="<[broker:home/kube/humidity:state:default]"}
  19.  
  20.  
  21.  
  22.  
  23. home.sitemaps file:-
  24.  
  25. Text item=Temperature_kube
  26. Text item=Humidity_kube
  27.  
  28.  
  29. Text label="Temperature Chart" icon="line"
  30. {
  31. Switch item=Temp_Chart_Period label="Temp Chart Period" mappings=[0="Hour", 1="Day", 2="Week", 3="Off"] icon="line"
  32. Chart item=Temp_Chart period=h refresh=6000 visibility=[Temp_Chart_Period==0,Temp_Chart_Period=="Uninitialized"]
  33. Chart item=Temp_Chart period=D refresh=30000 visibility=[Temp_Chart_Period==1]
  34. Chart item=Temp_Chart period=W refresh=30000 visibility=[Temp_Chart_Period==2]
  35. }
  36.  
  37.  
  38.  
  39. Text label="Humidity Chart" icon="line"
  40. {
  41. Switch item=Hum_Chart_Period label="Hum Chart Period" mappings=[0="Hour", 1="Day", 2="Week", 3="Off"] icon="line"
  42. Chart item=Hum_Chart period=h refresh=6000 visibility=[Hum_Chart_Period==0, Hum_Chart_Period=="Uninitialized"]
  43. Chart item=Hum_Chart period=D refresh=30000 visibility=[Hum_Chart_Period==1]
  44. Chart item=Hum_Chart period=W refresh=30000 visibility=[Hum_Chart_Period==2]
  45.  
  46. }
RAW Paste Data Copied