Advertisement
Guest User

Untitled

a guest
Nov 14th, 2019
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.36 KB | None | 0 0
  1. [
  2. {
  3. "id": "96a9406d.5e047",
  4. "type": "server-state-changed",
  5. "z": "7419214.90ad1e",
  6. "name": "Pobierz wartość ",
  7. "server": "e0f8519.9002eb",
  8. "version": 1,
  9. "entityidfilter": "input_number.termostat",
  10. "entityidfiltertype": "exact",
  11. "outputinitially": true,
  12. "state_type": "num",
  13. "haltifstate": "",
  14. "halt_if_type": "str",
  15. "halt_if_compare": "is",
  16. "outputs": 1,
  17. "output_only_on_state_change": true,
  18. "x": 760,
  19. "y": 1080,
  20. "wires": [
  21. [
  22. "3fc7ec2c.0a93a4"
  23. ]
  24. ]
  25. },
  26. {
  27. "id": "3fc7ec2c.0a93a4",
  28. "type": "function",
  29. "z": "7419214.90ad1e",
  30. "name": "set var target",
  31. "func": "flow.set('target', msg.payload); \nflow.set('cold_tolerance', 0.4); \nflow.set('hot_tolerance', 0.4); // to store a variable (YourVariable)\nvar x = flow.get('target'); //to retrieve a variable (YourVariable)\nreturn msg;",
  32. "outputs": 1,
  33. "noerr": 0,
  34. "x": 950,
  35. "y": 1080,
  36. "wires": [
  37. [
  38. "b40fcf6f.37b98"
  39. ]
  40. ]
  41. },
  42. {
  43. "id": "b40fcf6f.37b98",
  44. "type": "exec",
  45. "z": "7419214.90ad1e",
  46. "command": "echo 192.168.0.17 --rhset $target",
  47. "addpay": true,
  48. "append": "",
  49. "useSpawn": "false",
  50. "timer": "",
  51. "oldrc": false,
  52. "name": "",
  53. "x": 1180,
  54. "y": 1080,
  55. "wires": [
  56. [
  57. "31638b2.eb9fb74"
  58. ],
  59. [],
  60. []
  61. ]
  62. },
  63. {
  64. "id": "31638b2.eb9fb74",
  65. "type": "debug",
  66. "z": "7419214.90ad1e",
  67. "name": "",
  68. "active": true,
  69. "tosidebar": true,
  70. "console": false,
  71. "tostatus": false,
  72. "complete": "payload",
  73. "targetType": "msg",
  74. "x": 1450,
  75. "y": 1040,
  76. "wires": []
  77. },
  78. {
  79. "id": "e0f8519.9002eb",
  80. "type": "server",
  81. "z": "",
  82. "name": "Home Assistant",
  83. "legacy": false,
  84. "hassio": false,
  85. "rejectUnauthorizedCerts": true,
  86. "ha_boolean": "y|yes|true|on|home|open",
  87. "connectionDelay": true,
  88. "cacheJson": true
  89. }
  90. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement