S&B Volcano vaporizer remote control with Pi Pico W
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

workflows.py 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. #!/usr/bin/env python3
  2. # ----------------------------------------------------------------------------
  3. # Copyright (c) 2023 Thomas Buck (thomas@xythobuz.de)
  4. #
  5. # This program is free software: you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation, either version 3 of the License, or
  8. # (at your option) any later version.
  9. #
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. # GNU General Public License for more details.
  14. #
  15. # See <http://www.gnu.org/licenses/>.
  16. # ----------------------------------------------------------------------------
  17. workflows = [
  18. {
  19. "name": "Default",
  20. "author": "xythobuz",
  21. "steps": [
  22. (185.0, 15.0, 5.0),
  23. (195.0, 10.0, 20.0),
  24. (205.0, 10.0, 20.0),
  25. ],
  26. "notify": (4, 1.0),
  27. "reset_temperature": 190.0,
  28. },
  29. {
  30. "name": "Relaxo",
  31. "author": "xythobuz",
  32. "steps": [
  33. (175.0, 15.0, 5.0),
  34. (185.0, 10.0, 20.0),
  35. (195.0, 10.0, 20.0),
  36. ],
  37. "notify": (4, 1.0),
  38. "reset_temperature": 190.0,
  39. },
  40. {
  41. "name": "Hardcore",
  42. "author": "xythobuz",
  43. "steps": [
  44. (190.0, 15.0, 5.0),
  45. (205.0, 10.0, 20.0),
  46. (220.0, 10.0, 20.0),
  47. ],
  48. "notify": (4, 1.0),
  49. "reset_temperature": 190.0,
  50. },
  51. {
  52. "name": "Vorbi",
  53. "author": "Rinor",
  54. "steps": [
  55. (176.0, 10.0, 6.0),
  56. (187.0, 5.0, 10.0),
  57. (204.0, 3.0, 10.0),
  58. (217.0, 5.0, 10.0),
  59. ],
  60. "notify": None,
  61. "reset_temperature": None,
  62. },
  63. ]