wirestudio 0.48.0__tar.gz → 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (441) hide show
  1. {wirestudio-0.48.0/wirestudio.egg-info → wirestudio-1.0.0}/PKG-INFO +17 -12
  2. {wirestudio-0.48.0 → wirestudio-1.0.0}/README.md +13 -11
  3. {wirestudio-0.48.0 → wirestudio-1.0.0}/pyproject.toml +9 -0
  4. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_compile.py +25 -0
  5. wirestudio-1.0.0/tests/test_enclosure.py +220 -0
  6. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_hardware_gate.py +250 -1
  7. wirestudio-1.0.0/tests/test_lorawan_gate.py +182 -0
  8. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/__init__.py +1 -1
  9. wirestudio-1.0.0/wirestudio/enclosure/openscad.py +779 -0
  10. wirestudio-1.0.0/wirestudio/examples/wall-panel.json +310 -0
  11. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/__init__.py +82 -1
  12. wirestudio-1.0.0/wirestudio/library/boards/yd-esp32-23.yaml +150 -0
  13. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/dht.yaml +17 -0
  14. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/hc-sr501.yaml +20 -0
  15. wirestudio-1.0.0/wirestudio/library/modules/oled-knob-13.yaml +60 -0
  16. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/model.py +10 -0
  17. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/schema/design.schema.json +10 -0
  18. wirestudio-1.0.0/wirestudio/workbench/functional.py +141 -0
  19. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/workbench/gate.py +91 -6
  20. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/workbench/images.py +26 -17
  21. wirestudio-1.0.0/wirestudio/workbench/lorawan_gate.py +137 -0
  22. {wirestudio-0.48.0 → wirestudio-1.0.0/wirestudio.egg-info}/PKG-INFO +17 -12
  23. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio.egg-info/SOURCES.txt +5 -0
  24. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio.egg-info/requires.txt +4 -0
  25. wirestudio-0.48.0/tests/test_enclosure.py +0 -116
  26. wirestudio-0.48.0/wirestudio/enclosure/openscad.py +0 -200
  27. wirestudio-0.48.0/wirestudio/library/modules/oled-knob-13.yaml +0 -27
  28. {wirestudio-0.48.0 → wirestudio-1.0.0}/LICENSE +0 -0
  29. {wirestudio-0.48.0 → wirestudio-1.0.0}/LICENSES.md +0 -0
  30. {wirestudio-0.48.0 → wirestudio-1.0.0}/setup.cfg +0 -0
  31. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_active_design.py +0 -0
  32. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_agent.py +0 -0
  33. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_agent_eval.py +0 -0
  34. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_agent_stream.py +0 -0
  35. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_api.py +0 -0
  36. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_api_auth.py +0 -0
  37. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_api_route.py +0 -0
  38. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_ascii_gen.py +0 -0
  39. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_board_check.py +0 -0
  40. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_build_backend.py +0 -0
  41. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_check_upgrade.py +0 -0
  42. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_chirpstack.py +0 -0
  43. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_circuitpython.py +0 -0
  44. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_codec.py +0 -0
  45. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_community.py +0 -0
  46. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_compatibility.py +0 -0
  47. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_component_corpus.py +0 -0
  48. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_connectors.py +0 -0
  49. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_coverage_baseline.py +0 -0
  50. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_design_events.py +0 -0
  51. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_designs.py +0 -0
  52. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_designs_seed.py +0 -0
  53. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_display_intent.py +0 -0
  54. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_electrical.py +0 -0
  55. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_enclosure_gate.py +0 -0
  56. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_enclosure_search.py +0 -0
  57. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_errors.py +0 -0
  58. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_esphome_dashboard.py +0 -0
  59. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_esphome_support.py +0 -0
  60. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_firmware_gen.py +0 -0
  61. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_fleet.py +0 -0
  62. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_footprints.py +0 -0
  63. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_framework_baseline.py +0 -0
  64. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_intent.py +0 -0
  65. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_inventory.py +0 -0
  66. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_jlcpcb.py +0 -0
  67. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_kicad.py +0 -0
  68. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_kicad_drc.py +0 -0
  69. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_kicad_erc.py +0 -0
  70. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_kicad_fab.py +0 -0
  71. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_kicad_import.py +0 -0
  72. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_kicad_pcb.py +0 -0
  73. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_kicad_render.py +0 -0
  74. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_kicad_route.py +0 -0
  75. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_kicad_sch.py +0 -0
  76. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_library_check.py +0 -0
  77. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_library_hbridge.py +0 -0
  78. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_library_rtttl.py +0 -0
  79. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_lorawan.py +0 -0
  80. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_lorawan_api.py +0 -0
  81. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_lorawan_fragments.py +0 -0
  82. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_lorawan_sugar_migration.py +0 -0
  83. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_mcp_auth.py +0 -0
  84. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_mcp_client.py +0 -0
  85. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_mcp_hardware.py +0 -0
  86. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_mcp_jobs.py +0 -0
  87. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_mcp_resources.py +0 -0
  88. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_mcp_server.py +0 -0
  89. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_meshtastic.py +0 -0
  90. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_micropython.py +0 -0
  91. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_micropython_registers.py +0 -0
  92. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_migrate.py +0 -0
  93. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_modules.py +0 -0
  94. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_pin_protocols.py +0 -0
  95. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_pin_solver.py +0 -0
  96. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_printwarden.py +0 -0
  97. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_promote_library.py +0 -0
  98. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_python_blocks.py +0 -0
  99. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_recommend.py +0 -0
  100. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_register_code.py +0 -0
  101. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_rf_ook.py +0 -0
  102. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_schema.py +0 -0
  103. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_schema_doc.py +0 -0
  104. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_schematics_gate.py +0 -0
  105. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_security_cors.py +0 -0
  106. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_seed_onboard.py +0 -0
  107. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_serve.py +0 -0
  108. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_sqlite_store.py +0 -0
  109. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_sqlite_stores.py +0 -0
  110. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_strict.py +0 -0
  111. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_targets.py +0 -0
  112. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_tasmota.py +0 -0
  113. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_tbeam_lorawan_example.py +0 -0
  114. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_tools_add_bus.py +0 -0
  115. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_tools_add_component.py +0 -0
  116. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_tools_solve_pins.py +0 -0
  117. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_uart_frames.py +0 -0
  118. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_validate.py +0 -0
  119. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_wled.py +0 -0
  120. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_workbench.py +0 -0
  121. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_workbench_boot.py +0 -0
  122. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_workbench_images.py +0 -0
  123. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_workbench_provision.py +0 -0
  124. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_workbench_serial.py +0 -0
  125. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_ws2812_method.py +0 -0
  126. {wirestudio-0.48.0 → wirestudio-1.0.0}/tests/test_yaml_gen.py +0 -0
  127. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/agent/__init__.py +0 -0
  128. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/agent/agent.py +0 -0
  129. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/agent/eval.py +0 -0
  130. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/agent/eval_tasks.yaml +0 -0
  131. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/agent/session.py +0 -0
  132. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/agent/tools.py +0 -0
  133. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/api/__init__.py +0 -0
  134. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/api/__main__.py +0 -0
  135. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/api/app.py +0 -0
  136. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/api/auth.py +0 -0
  137. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/api/circuitpython.py +0 -0
  138. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/api/community.py +0 -0
  139. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/api/design_input.py +0 -0
  140. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/api/meshtastic.py +0 -0
  141. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/api/micropython.py +0 -0
  142. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/api/schemas.py +0 -0
  143. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/api/serve.py +0 -0
  144. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/api/workbench.py +0 -0
  145. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/csp/__init__.py +0 -0
  146. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/csp/compatibility.py +0 -0
  147. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/csp/pin_solver.py +0 -0
  148. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/designs/__init__.py +0 -0
  149. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/designs/active.py +0 -0
  150. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/designs/events.py +0 -0
  151. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/designs/seed.py +0 -0
  152. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/designs/store.py +0 -0
  153. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/enclosure/__init__.py +0 -0
  154. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/enclosure/search.py +0 -0
  155. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/enclosure/yapp/LICENSE +0 -0
  156. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/enclosure/yapp/YAPPgenerator_v3.scad +0 -0
  157. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/errors.py +0 -0
  158. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/esphome_dashboard/__init__.py +0 -0
  159. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/__init__.py +0 -0
  160. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/access-panel.json +0 -0
  161. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/actuator-harness.json +0 -0
  162. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/air-quality-station.json +0 -0
  163. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/analog-node.json +0 -0
  164. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/atom-echo.json +0 -0
  165. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/atom-lite.json +0 -0
  166. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/atom-matrix.json +0 -0
  167. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/atoms3-lcd.json +0 -0
  168. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/atoms3-lite.json +0 -0
  169. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/atoms3-onboard.json +0 -0
  170. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/atomu-onboard.json +0 -0
  171. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/atomu.json +0 -0
  172. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/attic-logger.json +0 -0
  173. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/awning-control.json +0 -0
  174. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/bench-io.json +0 -0
  175. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/bl0906-mainmeter.json +0 -0
  176. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/blind-stepper.json +0 -0
  177. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/bluemotion.json +0 -0
  178. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/bluesonoff.json +0 -0
  179. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/button-toggles-light.json +0 -0
  180. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/c3-supermini.json +0 -0
  181. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/c6-supermini.json +0 -0
  182. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/co2-display.json +0 -0
  183. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/desk-climate.json +0 -0
  184. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/desk-matrix.json +0 -0
  185. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/distance-sensor.json +0 -0
  186. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/encoder-drives-stepper.json +0 -0
  187. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/energy-monitor.json +0 -0
  188. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/esp32-audio.json +0 -0
  189. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/esp32cam-wrover.json +0 -0
  190. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/esp32cam.json +0 -0
  191. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/flow-meter.json +0 -0
  192. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/garage-motion.json +0 -0
  193. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/grill-probe.json +0 -0
  194. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/guarded-button-light.json +0 -0
  195. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/heltec-v4-gnss-tracker.json +0 -0
  196. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/keypad.json +0 -0
  197. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/kitchen-scale.json +0 -0
  198. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/led-display.json +0 -0
  199. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/lorawan-battery-uplink.json +0 -0
  200. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/motion-turns-on-light.json +0 -0
  201. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/motor-position.json +0 -0
  202. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/multi-temp.json +0 -0
  203. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/nextion-thermostat.json +0 -0
  204. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/oled-knob.json +0 -0
  205. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/oled.json +0 -0
  206. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/output-hub.json +0 -0
  207. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/parking-distance.json +0 -0
  208. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/presence-media-node.json +0 -0
  209. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/presence-rf.json +0 -0
  210. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/rc522.json +0 -0
  211. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/room-climate.json +0 -0
  212. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/rs485-energy.json +0 -0
  213. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/s3-devkitc.json +0 -0
  214. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/s3-supermini.json +0 -0
  215. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/securitypanel.json +0 -0
  216. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/smart-plug-v1.json +0 -0
  217. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/smart-plug.json +0 -0
  218. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/solder-fan.json +0 -0
  219. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/spi-io-node.json +0 -0
  220. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/subghz-rfid.json +0 -0
  221. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/t-beam-lorawan.json +0 -0
  222. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/t-beam.json +0 -0
  223. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/temp-above-turns-on-fan.json +0 -0
  224. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/temp-turns-on-fan.json +0 -0
  225. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/tft-touch.json +0 -0
  226. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/ttgo-lora32.json +0 -0
  227. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/tuya-smart-plug.json +0 -0
  228. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/usbc-led-strip.json +0 -0
  229. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/vent-damper.json +0 -0
  230. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/wasserpir.json +0 -0
  231. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/weather-station.json +0 -0
  232. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/wemosgps.json +0 -0
  233. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/wled-sensor-strip.json +0 -0
  234. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/examples/xiao-grove-climate.json +0 -0
  235. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/fleet/__init__.py +0 -0
  236. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/fleet/client.py +0 -0
  237. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/generate/__init__.py +0 -0
  238. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/generate/__main__.py +0 -0
  239. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/generate/ascii_gen.py +0 -0
  240. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/generate/circuitpython_gen.py +0 -0
  241. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/generate/display_intent.py +0 -0
  242. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/generate/esphome_integrations.txt +0 -0
  243. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/generate/micropython_gen.py +0 -0
  244. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/generate/yaml_gen.py +0 -0
  245. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/intent.py +0 -0
  246. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/inventory/__init__.py +0 -0
  247. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/inventory/buy.py +0 -0
  248. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/inventory/check.py +0 -0
  249. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/inventory/csv_io.py +0 -0
  250. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/inventory/match.py +0 -0
  251. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/inventory/store.py +0 -0
  252. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/jlcpcb/__init__.py +0 -0
  253. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/jlcpcb/__main__.py +0 -0
  254. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/jlcpcb/check.py +0 -0
  255. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/jlcpcb/client.py +0 -0
  256. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/kicad/__init__.py +0 -0
  257. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/kicad/drc.py +0 -0
  258. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/kicad/erc.py +0 -0
  259. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/kicad/fab.py +0 -0
  260. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/kicad/generator.py +0 -0
  261. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/kicad/import.py +0 -0
  262. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/kicad/importer.py +0 -0
  263. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/kicad/netlist.py +0 -0
  264. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/kicad/pcb.py +0 -0
  265. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/kicad/pcbnew_bridge.py +0 -0
  266. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/kicad/render.py +0 -0
  267. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/kicad/route.py +0 -0
  268. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/kicad/schematic.py +0 -0
  269. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/kicad/symbol_parser.py +0 -0
  270. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/board_check.py +0 -0
  271. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/boards/esp01_1m.yaml +0 -0
  272. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/boards/esp32-c3-devkitm-1.yaml +0 -0
  273. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/boards/esp32-c3-supermini.yaml +0 -0
  274. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/boards/esp32-c6-supermini.yaml +0 -0
  275. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/boards/esp32-devkitc-v4.yaml +0 -0
  276. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/boards/esp32-s3-devkitc-1.yaml +0 -0
  277. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/boards/esp32-s3-supermini.yaml +0 -0
  278. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/boards/esp32-wrover-cam.yaml +0 -0
  279. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/boards/esp32cam-ai-thinker.yaml +0 -0
  280. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/boards/esp8285-1m.yaml +0 -0
  281. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/boards/heltec-wifi-lora32-v2.yaml +0 -0
  282. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/boards/heltec-wifi-lora32-v3.yaml +0 -0
  283. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/boards/heltec-wifi-lora32-v4.yaml +0 -0
  284. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/boards/m5stack-atom-echo.yaml +0 -0
  285. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/boards/m5stack-atom-matrix.yaml +0 -0
  286. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/boards/m5stack-atom.yaml +0 -0
  287. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/boards/m5stack-atoms3-lite.yaml +0 -0
  288. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/boards/m5stack-atoms3.yaml +0 -0
  289. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/boards/m5stack-atomu.yaml +0 -0
  290. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/boards/nodemcu-32s.yaml +0 -0
  291. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/boards/nodemcu-v2.yaml +0 -0
  292. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/boards/seeed-xiao-esp32c3.yaml +0 -0
  293. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/boards/ttgo-lora32-v1.yaml +0 -0
  294. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/boards/ttgo-lora32-v2.yaml +0 -0
  295. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/boards/ttgo-t-beam.yaml +0 -0
  296. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/boards/wemos-d1-mini.yaml +0 -0
  297. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/check.py +0 -0
  298. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/adc.yaml +0 -0
  299. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/ads1115.yaml +0 -0
  300. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/ads1115_channel.yaml +0 -0
  301. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/aht10.yaml +0 -0
  302. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/apa102.yaml +0 -0
  303. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/axp192.yaml +0 -0
  304. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/battery_adc.yaml +0 -0
  305. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/bh1750.yaml +0 -0
  306. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/bl0906.yaml +0 -0
  307. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/bme280.yaml +0 -0
  308. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/bme680.yaml +0 -0
  309. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/bmp180.yaml +0 -0
  310. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/bmp280.yaml +0 -0
  311. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/cc1101.yaml +0 -0
  312. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/connector_1x02.yaml +0 -0
  313. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/connector_1x03.yaml +0 -0
  314. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/connector_1x04.yaml +0 -0
  315. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/connector_1x05.yaml +0 -0
  316. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/connector_1x06.yaml +0 -0
  317. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/connector_1x07.yaml +0 -0
  318. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/connector_1x08.yaml +0 -0
  319. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/connector_2x05_idc.yaml +0 -0
  320. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/cse7766.yaml +0 -0
  321. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/ct_clamp.yaml +0 -0
  322. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/ds18b20.yaml +0 -0
  323. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/esp32_camera.yaml +0 -0
  324. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/esp32_rmt_led_strip.yaml +0 -0
  325. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/gpio_input.yaml +0 -0
  326. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/gpio_output.yaml +0 -0
  327. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/grove-aht20.yaml +0 -0
  328. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/hbridge.yaml +0 -0
  329. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/hbridge_mosfet.yaml +0 -0
  330. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/hc-sr04.yaml +0 -0
  331. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/hlw8012.yaml +0 -0
  332. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/htu21d.yaml +0 -0
  333. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/hx711.yaml +0 -0
  334. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/i2s_microphone.yaml +0 -0
  335. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/ili9xxx.yaml +0 -0
  336. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/ina219.yaml +0 -0
  337. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/lcd_pcf8574.yaml +0 -0
  338. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/ld2410.yaml +0 -0
  339. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/ld2420.yaml +0 -0
  340. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/led_indicator.yaml +0 -0
  341. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/level_shifter.yaml +0 -0
  342. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/max31855.yaml +0 -0
  343. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/max7219.yaml +0 -0
  344. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/max98357a.yaml +0 -0
  345. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/mcp23008.yaml +0 -0
  346. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/mcp23017.yaml +0 -0
  347. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/mcp23s17.yaml +0 -0
  348. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/mcp3008.yaml +0 -0
  349. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/mcp3008_channel.yaml +0 -0
  350. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/mhz19.yaml +0 -0
  351. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/modbus.yaml +0 -0
  352. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/mosfet_low_side_driver.yaml +0 -0
  353. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/mpu6050.yaml +0 -0
  354. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/mpu6886.yaml +0 -0
  355. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/nextion.yaml +0 -0
  356. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/npn_low_side_driver.yaml +0 -0
  357. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/pca9685.yaml +0 -0
  358. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/pcf8574.yaml +0 -0
  359. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/pmsx003.yaml +0 -0
  360. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/pn532.yaml +0 -0
  361. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/potentiometer.yaml +0 -0
  362. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/pulse_counter.yaml +0 -0
  363. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/pwm_fan.yaml +0 -0
  364. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/pzemac.yaml +0 -0
  365. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/rc522.yaml +0 -0
  366. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/rcwl-0516.yaml +0 -0
  367. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/rdm6300.yaml +0 -0
  368. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/remote_receiver.yaml +0 -0
  369. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/remote_transmitter.yaml +0 -0
  370. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/rf_bridge.yaml +0 -0
  371. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/rotary_encoder.yaml +0 -0
  372. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/rtttl.yaml +0 -0
  373. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/scd4x.yaml +0 -0
  374. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/sdm_meter.yaml +0 -0
  375. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/servo.yaml +0 -0
  376. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/sgp4x.yaml +0 -0
  377. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/sht3xd.yaml +0 -0
  378. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/sht4x.yaml +0 -0
  379. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/sn74hc595.yaml +0 -0
  380. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/ssd1306.yaml +0 -0
  381. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/st7789.yaml +0 -0
  382. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/sx127x.yaml +0 -0
  383. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/tm1637.yaml +0 -0
  384. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/tm1638.yaml +0 -0
  385. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/tsl2561.yaml +0 -0
  386. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/tuya.yaml +0 -0
  387. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/tuya_sensor.yaml +0 -0
  388. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/tuya_switch.yaml +0 -0
  389. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/uart_gps.yaml +0 -0
  390. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/uln2003.yaml +0 -0
  391. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/usb_c_power_in.yaml +0 -0
  392. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/veml7700.yaml +0 -0
  393. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/vl53l0x.yaml +0 -0
  394. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/voltage_divider.yaml +0 -0
  395. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/wiegand.yaml +0 -0
  396. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/ws2812b.yaml +0 -0
  397. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/components/xpt2046.yaml +0 -0
  398. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/electrical.py +0 -0
  399. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/modules/env-display.yaml +0 -0
  400. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/modules/fan-controller.yaml +0 -0
  401. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/modules/motion-light.yaml +0 -0
  402. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/library/modules/relay-4ch.yaml +0 -0
  403. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/mcp/__init__.py +0 -0
  404. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/mcp/auth.py +0 -0
  405. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/mcp/hardware.py +0 -0
  406. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/mcp/jobs.py +0 -0
  407. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/mcp/server.py +0 -0
  408. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/migrate.py +0 -0
  409. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/printwarden/__init__.py +0 -0
  410. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/printwarden/client.py +0 -0
  411. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/recommend/__init__.py +0 -0
  412. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/recommend/recommender.py +0 -0
  413. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/schema/__init__.py +0 -0
  414. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/seed.py +0 -0
  415. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/sqlite_store.py +0 -0
  416. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/targets/__init__.py +0 -0
  417. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/targets/base.py +0 -0
  418. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/targets/build_backend.py +0 -0
  419. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/targets/esphome.py +0 -0
  420. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/targets/lorawan/__init__.py +0 -0
  421. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/targets/lorawan/__main__.py +0 -0
  422. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/targets/lorawan/api.py +0 -0
  423. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/targets/lorawan/build_local.py +0 -0
  424. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/targets/lorawan/chirpstack.py +0 -0
  425. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/targets/lorawan/codec.py +0 -0
  426. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/targets/lorawan/compile.py +0 -0
  427. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/targets/lorawan/firmware_gen.py +0 -0
  428. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/targets/lorawan/templates/main.cpp.j2 +0 -0
  429. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/targets/lorawan/templates/platformio.ini.j2 +0 -0
  430. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/targets/lorawan/workbench_provision.py +0 -0
  431. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/targets/tasmota.py +0 -0
  432. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/targets/wled.py +0 -0
  433. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/targets/wled_build.py +0 -0
  434. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/validate.py +0 -0
  435. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/workbench/__init__.py +0 -0
  436. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/workbench/boot.py +0 -0
  437. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/workbench/client.py +0 -0
  438. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio/workbench/serial.py +0 -0
  439. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio.egg-info/dependency_links.txt +0 -0
  440. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio.egg-info/entry_points.txt +0 -0
  441. {wirestudio-0.48.0 → wirestudio-1.0.0}/wirestudio.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wirestudio
3
- Version: 0.48.0
3
+ Version: 1.0.0
4
4
  Summary: Agent-driven IoT device design tool that produces ESPHome YAML.
5
5
  Author: wirestudio contributors
6
6
  License: MIT
@@ -28,6 +28,9 @@ Requires-Dist: grpcio>=1.60; extra == "lorawan"
28
28
  Requires-Dist: chirpstack-api<5,>=4.7; extra == "lorawan"
29
29
  Requires-Dist: paho-mqtt>=1.6; extra == "lorawan"
30
30
  Requires-Dist: pyserial>=3.5; extra == "lorawan"
31
+ Requires-Dist: esptool>=5; extra == "lorawan"
32
+ Provides-Extra: bench
33
+ Requires-Dist: aioesphomeapi>=46; extra == "bench"
31
34
  Provides-Extra: pcb
32
35
  Requires-Dist: skidl>=1.2; extra == "pcb"
33
36
  Requires-Dist: cairosvg>=2.7; extra == "pcb"
@@ -114,7 +117,8 @@ compile to its own workers.
114
117
  Detailed docs live in [`docs/`](docs/):
115
118
 
116
119
  - [Documentation index](docs/index.md) — architecture, repo layout, per-area status.
117
- - [Roadmap to 1.0](docs/roadmap.md) — what 1.0 promises and what has to land.
120
+ - [1.0 release notes](docs/release-notes-1.0.md) — what 1.0 promises, upgrading, tier changes.
121
+ - [Roadmap to 1.0](docs/roadmap.md) — the closed record of what 1.0 took and what it left out.
118
122
  - [User guide](docs/user_guide.md) — Web UI, inspector, header actions, HTTP API, examples.
119
123
  - [Deployment](docs/deployment.md) — self-host with Docker or Kubernetes.
120
124
  - [Integrations](docs/integrations.md) — agent, fleet handoff, enclosure search, KiCad.
@@ -125,7 +129,8 @@ Detailed docs live in [`docs/`](docs/):
125
129
 
126
130
  ## Status
127
131
 
128
- `v0.46.0` — on PyPI (`pip install wirestudio`). The studio has wide
132
+ `v1.0.0` — on PyPI (`pip install wirestudio`). What 1.0 promises, and
133
+ how to upgrade, is in the [release notes](docs/release-notes-1.0.md). The studio has wide
129
134
  surface area (YAML, schematic, PCB + fab outputs, enclosure,
130
135
  subcircuits with electrical rules, inventory matching, component
131
136
  authoring, agent, MCP server, two ESPHome build paths, remote
@@ -151,21 +156,21 @@ Tiers, in priority order:
151
156
  | **Verified** | Fab outputs | JLCPCB upload bundle — BOM, CPL, Gerber + drill (`/design/fab/*`) | CPL positions match the `.kicad_pcb` placement; the DRC tier smoke-tests the Gerber export. `?route=true` routes the board first; without it Gerbers carry pads but no tracks or pour (`is_routed` flags it). The routed gate checks a routed board's B.Cu Gerber carries the GND pour ([gate](.github/workflows/pcb-route.yml)) |
152
157
  | **Verified** | Subcircuits + building blocks | a component built from discrete parts (five bundled blocks, two H-bridges) expands into the schematic, PCB, BOM, CPL and inventory check; part values are parametric; each block's `verify.checks` rule runs at `validate` with the real params and rails | goldens for every subcircuit example pin YAML + BOM; `component_check` fails a block whose defaults break its own rule (`tests/test_electrical.py`); the schematic and PCB gates cover the expanded parts like any other |
153
158
  | **Verified** | Inventory check | cross-check a design's BOM against the drawer (library modules + discrete parts), propose same-package substitutes ranked by pinout, package, rating headroom and stock, accept one or all of them as `part_overrides` that every fab output honours, pick list by location, buy list priced on JLCPCB | matching, substitution and coverage tests in `tests/test_inventory.py` against the real drawer CSV; JLCPCB pricing is mocked and degrades to an unpriced list when the parts API is down |
154
- | **Verified** | Parametric enclosure | OpenSCAD `.scad` from board mount-hole metadata, built on [YAPP_Box](https://github.com/mrWheel/YAPP_Box): base and lid with standoffs, port cutouts, a ridge and snap joins | every enclosure-capable board renders through real OpenSCAD to a non-empty, manifold (closed, printable) solid, every PR ([gate](.github/workflows/enclosure-render.yml)) |
159
+ | **Verified** | Parametric enclosure | OpenSCAD `.scad` from the board's and the parts' enclosure metadata, built on [YAPP_Box](https://github.com/mrWheel/YAPP_Box): base and lid with standoffs, port cutouts, a ridge and snap joins; panel parts on lid posts with their windows, knob and lens holes and flexure keys cut through the lid; a face-down board cradle and wall keyholes on request | every enclosure-capable board and every example with panel parts renders through real OpenSCAD to a non-empty, manifold (closed, printable) solid, every PR ([gate](.github/workflows/enclosure-render.yml)); the `wall-panel` example was printed in PETG through print-warden and fitted to its board and parts over three rounds (2026-11-12 to 11-13) |
155
160
  | **Verified** | LoRaWAN target | build RadioLib + LoRaWAN_ESP32 firmware for US915 radio boards, flash over WebSerial, provision against ChirpStack | every radio board's firmware, and designs carrying every component's LoRaWAN block, build on every PR that touches the target and daily ([gate](.github/workflows/lorawan-firmware.yml)); nightly, the hardware gate asserts a TTGO T-Beam running this firmware is on the bench, logging and seen by ChirpStack within the hour ([gate](docs/workbench.md#the-gate)). Validated end-to-end on a T-Beam and Heltec WiFi LoRa 32 V2 and V3 against live ChirpStack 4.17. The nightly gate does not reflash: each reflash costs a rejoin and a DevNonce |
156
161
  | **Verified** | LoRaWAN external-component path | emit ESPHome YAML referencing `lorawan-for-esphome`, provision keys into `secrets.yaml`, build through fleet | the bundled examples that use it pass `esphome config` with the component fetched, every PR ([gate](.github/workflows/esphome-config.yml)); nightly, the hardware gate asserts three boards running it (Heltec WiFi LoRa 32 V4 and V2, TTGO T3) are on the bench, logging and seen by ChirpStack within the hour ([gate](docs/workbench.md#the-gate)). Validated end-to-end on the V4 (SX1262 + external PA): joined, uplinked and decoded against live ChirpStack. Payloads over 11 bytes need the data rate asserted per uplink — US915 DR0 caps at 11 and ADR drives to DR0 on a strong link |
157
- | **Works (hardware-validated)** | Remote workbench | flash a board on a bench slot, and run the whole LoRaWAN bring-up (flash → register → key push → verify) headlessly | wire format verified against a reference bench; flashing and LoRaWAN bring-up exercised repeatedly on a live Pi bench with an ESP32-S3. Transport tests in `tests/test_workbench.py` use wire-level fakes; no automated live-bench gate |
162
+ | **Verified** | Remote workbench | flash a board on a bench slot, and run the whole LoRaWAN bring-up (flash → register → key push → verify) headlessly | nightly, the hardware gate drives a live bench through the studio's workbench client: slot health, a full-erase flash of four frameworks onto two dedicated boards, a reset with the recorder attached, and a boot verdict from the slot's serial output; any failure fails the night ([gate](docs/workbench.md#the-reference-deployment-two-benches)). Green every night 2026-10-28 on. Transport tests in `tests/test_workbench.py` use wire-level fakes, every PR. The headless LoRaWAN bring-up is the same client plus ChirpStack, exercised on a live bench during bring-up; its gate stage exists but is not in the nightly roster yet |
158
163
  | **Verified** | Tasmota target | emit a Tasmota device template (`/tasmota/template`) mapping solved pins to Tasmota GPIO function ids | function ids + per-chip layouts sourced from `tasmota_template.h`; unit tests pin the Sonoff S31 template convention for the smart-plug example |
159
164
  | **Verified** | WLED target | emit WLED's `cfg.json` (`/wled/cfg`): LED outputs, buttons, the IR receiver, the relay and the bus pins, the runtime tier a stock release image reads at boot; sensors are usermods, compiled into the pinned release through a generated `platformio_override.ini` (`/wled/compile`, streamed) with their settings in `cfg.json`'s `um` section | keys and type codes sourced from `wled00/const.h` and `cfg.cpp`; goldens pin four examples in `tests/test_wled.py`; the usermod example builds against WLED v0.15.2 on every PR that touches the target and nightly ([gate](.github/workflows/wled-firmware.yml)) |
160
- | **Works (lighter checks)** | Meshtastic flashing + config | proxy the official release factory image (`/meshtastic/firmware`) for the radio boards, flash it via the unified WebSerial dialog, then push region, modem preset, owner and primary channel as protobufs over the same port | endpoint tests with mocked upstream; board-to-variant map checked against `meshtastic/firmware` variants; config push tested against a fake device; no live-flash gate |
161
- | **Works (lighter checks)** | MicroPython flashing + main.py | proxy the official release image for the board's chip (`/micropython/firmware`; every library board maps to a generic port image, ESP8266 included), flash via the unified dialog, generate `main.py` from the design over the `machine` API (`/micropython/code`) and push it through the raw REPL over the same serial port | endpoint tests with a captured download page; every board's starter and every example's main.py parse as Python; the raw-REPL push is tested against a fake board; the micropython.org page format could not be fetched from the build session, so the first live flash validates it; no live-flash gate |
165
+ | **Verified** | Meshtastic flashing + config | proxy the official release factory image (`/meshtastic/firmware`) for the radio boards, flash it via the unified WebSerial dialog, then push region, modem preset, owner and primary channel as protobufs over the same port | nightly, the hardware gate writes the current release image to a TTGO T3 with a full erase and asserts its "Booted, wake cause" banner ([gate](docs/workbench.md#the-reference-deployment-two-benches)); endpoint tests with mocked upstream, the board-to-variant map checked against `meshtastic/firmware` variants, and the config push tested against a fake device, every PR. The config push is not exercised on hardware nightly |
166
+ | **Verified** | MicroPython flashing + main.py | proxy the official release image for the board's chip (`/micropython/firmware`; every library board maps to a generic port image, ESP8266 included), flash via the unified dialog, generate `main.py` from the design over the `machine` API (`/micropython/code`) and push it through the raw REPL over the same serial port | nightly, the hardware gate writes the current release image to an ESP32 dev board with a full erase and asserts the REPL banner ([gate](docs/workbench.md#the-reference-deployment-two-benches)), which also proves the release-page parsing against the live micropython.org; every board's starter and every example's `main.py` parse as Python, and the raw-REPL push is tested against a fake board, every PR. The `main.py` push is not exercised on hardware nightly |
162
167
  | **Verified** | Component authoring | write a component YAML in the studio or through `component_create`; the same gate as `component_check` (schema, subcircuit nets, template render, KiCad symbols / pins / footprint) before it lands in the user library | a user-authored component goes through the gate and its synthetic design through upstream `esphome config`, every PR ([gate](.github/workflows/esphome-config.yml)); the gate rejects every file in a corpus of bad components for the named reason (`tests/test_component_corpus.py`); KiCad resolution runs only where the toolchain is present |
163
168
  | **Verified** | Board authoring | write a board YAML in the studio or through `board_create`; the same gate as `board_check` (schema, every bus / onboard / radio pin against `gpio_capabilities`, KiCad symbol pins and footprint, enclosure geometry, ESPHome's board table, an ESPHome render with the onboard peripherals) before it lands in the user library | every bundled board passes the gate (`tests/test_board_check.py`); a user-authored board with its onboard peripherals goes through upstream `esphome config`, every PR ([gate](.github/workflows/esphome-config.yml)); the pinout is not checked against the datasheet |
164
169
  | **Verified** | ESPHome dashboard compile | push the rendered YAML to a running ESPHome Device Builder (`/esphome/push`), start a compile there, stream the log and serve the firmware, with the same job shapes as the fleet path | nightly, against a live Device Builder (ESPHome 2026.10.0) open and password-protected: push, compile over the WebSocket API, fetch the image, with the client's wire assumptions asserted ([dashboard](.github/workflows/esphome-compile.yml)); client + route tests against a fake of the same in `tests/test_esphome_dashboard.py` |
165
- | **Works (lighter checks)** | CircuitPython flashing | proxy the official release image (`/circuitpython/firmware`) for ESP32/S3/C3/C6 boards, flash via the unified dialog, serve a generated starter `code.py` (`/circuitpython/code`) | endpoint tests with mocked upstream; every board-id mapping verified against downloads.circuitpython.org; generated starters parse as valid Python; no live-flash gate |
166
- | **Verified** | MCP server | 53 tools over the Model Context Protocol: 31 design / library / inventory / fab, plus 22 that reach hardware — workbench flash and boot verification, LoRaWAN compile / provision / activation, fleet and dashboard push + build status, and job polling for the long ones | the `mcp` package's own client connects to the mounted server over Streamable HTTP with the bearer token, lists the tools, drives a design from `create_design` to `render` and reads a resource, every PR (`tests/test_mcp_client.py`); tool / auth / resource tests in `tests/test_mcp_*.py`; the hardware tools drive the real clients against wire-level fakes, and were exercised against a live bench, ChirpStack and fleet during bring-up |
170
+ | **Verified** | CircuitPython flashing | proxy the official release image (`/circuitpython/firmware`) for ESP32/S3/C3/C6 boards, flash via the unified dialog, serve a generated starter `code.py` (`/circuitpython/code`) | nightly, the hardware gate writes the current release image to an ESP32 dev board with a full erase and asserts the CircuitPython banner ([gate](docs/workbench.md#the-reference-deployment-two-benches)); endpoint tests with mocked upstream, every board-id mapping verified against downloads.circuitpython.org, and the generated starters parse as Python, every PR. The starter `code.py` is not run on hardware nightly |
171
+ | **Verified** | MCP server | 62 tools over the Model Context Protocol: 37 design / library / inventory / fab, plus 25 that reach hardware — workbench flash and boot verification, LoRaWAN compile / provision / activation, fleet and dashboard push + build status, enclosure printing through print-warden, and job polling for the long ones | the `mcp` package's own client connects to the mounted server over Streamable HTTP with the bearer token, lists the tools, drives a design from `create_design` to `render` and reads a resource, every PR (`tests/test_mcp_client.py`); tool / auth / resource tests in `tests/test_mcp_*.py`; the hardware tools drive the real clients against wire-level fakes, and were exercised against a live bench, ChirpStack and fleet during bring-up |
167
172
  | **Experimental** | Thingiverse search relay | rank community models for a board | smoke-tested; depends on a third-party search API that ranks unevenly |
168
- | **Verified** | Agent (Claude tool-using) | natural-language design driving | scored nightly against the 28-task list in `wirestudio/agent/eval_tasks.yaml`: the design it hands back passes `esphome config`, carries the asked-for change, and the turn stayed within its tool-call budget ([gate](.github/workflows/agent-eval.yml)); every task's reference solution passes the same scorer on every PR (`tests/test_agent_eval.py`). The nightly run drives the studio through Claude Code over MCP with the `CLAUDE_CODE_OAUTH_TOKEN` secret (a subscription); the embedded agent is scored too when `ANTHROPIC_API_KEY` is set. Both gates are 25 of 28 (`gate.min_pass`, `gate.claude_code_min_pass`), one below the lower of two runs on one commit |
173
+ | **Verified** | Agent (Claude tool-using) | natural-language design driving | scored nightly against the 28-task list in `wirestudio/agent/eval_tasks.yaml`: the design it hands back passes `esphome config`, carries the asked-for change, and the turn stayed within its tool-call budget ([gate](.github/workflows/agent-eval.yml)); every task's reference solution passes the same scorer on every PR (`tests/test_agent_eval.py`). The nightly run drives the studio through Claude Code over MCP with the `CLAUDE_CODE_OAUTH_TOKEN` secret (a subscription), so the schedule bills nothing else; the embedded agent, which calls the API on `ANTHROPIC_API_KEY`, is scored on a dispatched run with `embedded` ticked. Both gates are 25 of 28 (`gate.min_pass`, `gate.claude_code_min_pass`), one below the lower of two runs on one commit |
169
174
  | **Verified** | PCB autorouting | Freerouting roundtrip — board → Specctra DSN → routed → SES import, GND pour filled; via cost and keepout rectangles as parameters; KiCad's DRC of the routed board reported back; SSE route endpoint, `route_pcb` MCP/agent tool, web-UI Route button, `?route=true` fab exports, `-pcb` image variant | representative examples route with zero unconnected items, a filled pour and a clean routed DRC; a high via cost must remove vias and a keepout must clear the track under it ([gate](.github/workflows/pcb-route.yml)) |
170
175
 
171
176
  The **Verified** tier is the bar the project is asking to be judged
@@ -191,7 +196,7 @@ built from the weekly `esphome-matrix` sweep.
191
196
  docker run --rm -p 8765:8765 \
192
197
  -e ANTHROPIC_API_KEY=sk-ant-... \
193
198
  -v wirestudio-data:/data \
194
- ghcr.io/moellere/wirestudio:0.35.0
199
+ ghcr.io/moellere/wirestudio:1.0.0
195
200
  ```
196
201
 
197
202
  Open <http://localhost:8765>. The image bundles the FastAPI server +
@@ -237,7 +242,7 @@ The [User guide](docs/user_guide.md) walks the panes and header actions.
237
242
  ## Tests
238
243
 
239
244
  ```sh
240
- python -m pytest # ~1220 cases
245
+ python -m pytest # ~2200 cases
241
246
  python -m ruff check . # lint
242
247
  cd web && npx vitest run # vitest + jsdom
243
248
  pip install 'esphome==2026.6.5'
@@ -80,7 +80,8 @@ compile to its own workers.
80
80
  Detailed docs live in [`docs/`](docs/):
81
81
 
82
82
  - [Documentation index](docs/index.md) — architecture, repo layout, per-area status.
83
- - [Roadmap to 1.0](docs/roadmap.md) — what 1.0 promises and what has to land.
83
+ - [1.0 release notes](docs/release-notes-1.0.md) — what 1.0 promises, upgrading, tier changes.
84
+ - [Roadmap to 1.0](docs/roadmap.md) — the closed record of what 1.0 took and what it left out.
84
85
  - [User guide](docs/user_guide.md) — Web UI, inspector, header actions, HTTP API, examples.
85
86
  - [Deployment](docs/deployment.md) — self-host with Docker or Kubernetes.
86
87
  - [Integrations](docs/integrations.md) — agent, fleet handoff, enclosure search, KiCad.
@@ -91,7 +92,8 @@ Detailed docs live in [`docs/`](docs/):
91
92
 
92
93
  ## Status
93
94
 
94
- `v0.46.0` — on PyPI (`pip install wirestudio`). The studio has wide
95
+ `v1.0.0` — on PyPI (`pip install wirestudio`). What 1.0 promises, and
96
+ how to upgrade, is in the [release notes](docs/release-notes-1.0.md). The studio has wide
95
97
  surface area (YAML, schematic, PCB + fab outputs, enclosure,
96
98
  subcircuits with electrical rules, inventory matching, component
97
99
  authoring, agent, MCP server, two ESPHome build paths, remote
@@ -117,21 +119,21 @@ Tiers, in priority order:
117
119
  | **Verified** | Fab outputs | JLCPCB upload bundle — BOM, CPL, Gerber + drill (`/design/fab/*`) | CPL positions match the `.kicad_pcb` placement; the DRC tier smoke-tests the Gerber export. `?route=true` routes the board first; without it Gerbers carry pads but no tracks or pour (`is_routed` flags it). The routed gate checks a routed board's B.Cu Gerber carries the GND pour ([gate](.github/workflows/pcb-route.yml)) |
118
120
  | **Verified** | Subcircuits + building blocks | a component built from discrete parts (five bundled blocks, two H-bridges) expands into the schematic, PCB, BOM, CPL and inventory check; part values are parametric; each block's `verify.checks` rule runs at `validate` with the real params and rails | goldens for every subcircuit example pin YAML + BOM; `component_check` fails a block whose defaults break its own rule (`tests/test_electrical.py`); the schematic and PCB gates cover the expanded parts like any other |
119
121
  | **Verified** | Inventory check | cross-check a design's BOM against the drawer (library modules + discrete parts), propose same-package substitutes ranked by pinout, package, rating headroom and stock, accept one or all of them as `part_overrides` that every fab output honours, pick list by location, buy list priced on JLCPCB | matching, substitution and coverage tests in `tests/test_inventory.py` against the real drawer CSV; JLCPCB pricing is mocked and degrades to an unpriced list when the parts API is down |
120
- | **Verified** | Parametric enclosure | OpenSCAD `.scad` from board mount-hole metadata, built on [YAPP_Box](https://github.com/mrWheel/YAPP_Box): base and lid with standoffs, port cutouts, a ridge and snap joins | every enclosure-capable board renders through real OpenSCAD to a non-empty, manifold (closed, printable) solid, every PR ([gate](.github/workflows/enclosure-render.yml)) |
122
+ | **Verified** | Parametric enclosure | OpenSCAD `.scad` from the board's and the parts' enclosure metadata, built on [YAPP_Box](https://github.com/mrWheel/YAPP_Box): base and lid with standoffs, port cutouts, a ridge and snap joins; panel parts on lid posts with their windows, knob and lens holes and flexure keys cut through the lid; a face-down board cradle and wall keyholes on request | every enclosure-capable board and every example with panel parts renders through real OpenSCAD to a non-empty, manifold (closed, printable) solid, every PR ([gate](.github/workflows/enclosure-render.yml)); the `wall-panel` example was printed in PETG through print-warden and fitted to its board and parts over three rounds (2026-11-12 to 11-13) |
121
123
  | **Verified** | LoRaWAN target | build RadioLib + LoRaWAN_ESP32 firmware for US915 radio boards, flash over WebSerial, provision against ChirpStack | every radio board's firmware, and designs carrying every component's LoRaWAN block, build on every PR that touches the target and daily ([gate](.github/workflows/lorawan-firmware.yml)); nightly, the hardware gate asserts a TTGO T-Beam running this firmware is on the bench, logging and seen by ChirpStack within the hour ([gate](docs/workbench.md#the-gate)). Validated end-to-end on a T-Beam and Heltec WiFi LoRa 32 V2 and V3 against live ChirpStack 4.17. The nightly gate does not reflash: each reflash costs a rejoin and a DevNonce |
122
124
  | **Verified** | LoRaWAN external-component path | emit ESPHome YAML referencing `lorawan-for-esphome`, provision keys into `secrets.yaml`, build through fleet | the bundled examples that use it pass `esphome config` with the component fetched, every PR ([gate](.github/workflows/esphome-config.yml)); nightly, the hardware gate asserts three boards running it (Heltec WiFi LoRa 32 V4 and V2, TTGO T3) are on the bench, logging and seen by ChirpStack within the hour ([gate](docs/workbench.md#the-gate)). Validated end-to-end on the V4 (SX1262 + external PA): joined, uplinked and decoded against live ChirpStack. Payloads over 11 bytes need the data rate asserted per uplink — US915 DR0 caps at 11 and ADR drives to DR0 on a strong link |
123
- | **Works (hardware-validated)** | Remote workbench | flash a board on a bench slot, and run the whole LoRaWAN bring-up (flash → register → key push → verify) headlessly | wire format verified against a reference bench; flashing and LoRaWAN bring-up exercised repeatedly on a live Pi bench with an ESP32-S3. Transport tests in `tests/test_workbench.py` use wire-level fakes; no automated live-bench gate |
125
+ | **Verified** | Remote workbench | flash a board on a bench slot, and run the whole LoRaWAN bring-up (flash → register → key push → verify) headlessly | nightly, the hardware gate drives a live bench through the studio's workbench client: slot health, a full-erase flash of four frameworks onto two dedicated boards, a reset with the recorder attached, and a boot verdict from the slot's serial output; any failure fails the night ([gate](docs/workbench.md#the-reference-deployment-two-benches)). Green every night 2026-10-28 on. Transport tests in `tests/test_workbench.py` use wire-level fakes, every PR. The headless LoRaWAN bring-up is the same client plus ChirpStack, exercised on a live bench during bring-up; its gate stage exists but is not in the nightly roster yet |
124
126
  | **Verified** | Tasmota target | emit a Tasmota device template (`/tasmota/template`) mapping solved pins to Tasmota GPIO function ids | function ids + per-chip layouts sourced from `tasmota_template.h`; unit tests pin the Sonoff S31 template convention for the smart-plug example |
125
127
  | **Verified** | WLED target | emit WLED's `cfg.json` (`/wled/cfg`): LED outputs, buttons, the IR receiver, the relay and the bus pins, the runtime tier a stock release image reads at boot; sensors are usermods, compiled into the pinned release through a generated `platformio_override.ini` (`/wled/compile`, streamed) with their settings in `cfg.json`'s `um` section | keys and type codes sourced from `wled00/const.h` and `cfg.cpp`; goldens pin four examples in `tests/test_wled.py`; the usermod example builds against WLED v0.15.2 on every PR that touches the target and nightly ([gate](.github/workflows/wled-firmware.yml)) |
126
- | **Works (lighter checks)** | Meshtastic flashing + config | proxy the official release factory image (`/meshtastic/firmware`) for the radio boards, flash it via the unified WebSerial dialog, then push region, modem preset, owner and primary channel as protobufs over the same port | endpoint tests with mocked upstream; board-to-variant map checked against `meshtastic/firmware` variants; config push tested against a fake device; no live-flash gate |
127
- | **Works (lighter checks)** | MicroPython flashing + main.py | proxy the official release image for the board's chip (`/micropython/firmware`; every library board maps to a generic port image, ESP8266 included), flash via the unified dialog, generate `main.py` from the design over the `machine` API (`/micropython/code`) and push it through the raw REPL over the same serial port | endpoint tests with a captured download page; every board's starter and every example's main.py parse as Python; the raw-REPL push is tested against a fake board; the micropython.org page format could not be fetched from the build session, so the first live flash validates it; no live-flash gate |
128
+ | **Verified** | Meshtastic flashing + config | proxy the official release factory image (`/meshtastic/firmware`) for the radio boards, flash it via the unified WebSerial dialog, then push region, modem preset, owner and primary channel as protobufs over the same port | nightly, the hardware gate writes the current release image to a TTGO T3 with a full erase and asserts its "Booted, wake cause" banner ([gate](docs/workbench.md#the-reference-deployment-two-benches)); endpoint tests with mocked upstream, the board-to-variant map checked against `meshtastic/firmware` variants, and the config push tested against a fake device, every PR. The config push is not exercised on hardware nightly |
129
+ | **Verified** | MicroPython flashing + main.py | proxy the official release image for the board's chip (`/micropython/firmware`; every library board maps to a generic port image, ESP8266 included), flash via the unified dialog, generate `main.py` from the design over the `machine` API (`/micropython/code`) and push it through the raw REPL over the same serial port | nightly, the hardware gate writes the current release image to an ESP32 dev board with a full erase and asserts the REPL banner ([gate](docs/workbench.md#the-reference-deployment-two-benches)), which also proves the release-page parsing against the live micropython.org; every board's starter and every example's `main.py` parse as Python, and the raw-REPL push is tested against a fake board, every PR. The `main.py` push is not exercised on hardware nightly |
128
130
  | **Verified** | Component authoring | write a component YAML in the studio or through `component_create`; the same gate as `component_check` (schema, subcircuit nets, template render, KiCad symbols / pins / footprint) before it lands in the user library | a user-authored component goes through the gate and its synthetic design through upstream `esphome config`, every PR ([gate](.github/workflows/esphome-config.yml)); the gate rejects every file in a corpus of bad components for the named reason (`tests/test_component_corpus.py`); KiCad resolution runs only where the toolchain is present |
129
131
  | **Verified** | Board authoring | write a board YAML in the studio or through `board_create`; the same gate as `board_check` (schema, every bus / onboard / radio pin against `gpio_capabilities`, KiCad symbol pins and footprint, enclosure geometry, ESPHome's board table, an ESPHome render with the onboard peripherals) before it lands in the user library | every bundled board passes the gate (`tests/test_board_check.py`); a user-authored board with its onboard peripherals goes through upstream `esphome config`, every PR ([gate](.github/workflows/esphome-config.yml)); the pinout is not checked against the datasheet |
130
132
  | **Verified** | ESPHome dashboard compile | push the rendered YAML to a running ESPHome Device Builder (`/esphome/push`), start a compile there, stream the log and serve the firmware, with the same job shapes as the fleet path | nightly, against a live Device Builder (ESPHome 2026.10.0) open and password-protected: push, compile over the WebSocket API, fetch the image, with the client's wire assumptions asserted ([dashboard](.github/workflows/esphome-compile.yml)); client + route tests against a fake of the same in `tests/test_esphome_dashboard.py` |
131
- | **Works (lighter checks)** | CircuitPython flashing | proxy the official release image (`/circuitpython/firmware`) for ESP32/S3/C3/C6 boards, flash via the unified dialog, serve a generated starter `code.py` (`/circuitpython/code`) | endpoint tests with mocked upstream; every board-id mapping verified against downloads.circuitpython.org; generated starters parse as valid Python; no live-flash gate |
132
- | **Verified** | MCP server | 53 tools over the Model Context Protocol: 31 design / library / inventory / fab, plus 22 that reach hardware — workbench flash and boot verification, LoRaWAN compile / provision / activation, fleet and dashboard push + build status, and job polling for the long ones | the `mcp` package's own client connects to the mounted server over Streamable HTTP with the bearer token, lists the tools, drives a design from `create_design` to `render` and reads a resource, every PR (`tests/test_mcp_client.py`); tool / auth / resource tests in `tests/test_mcp_*.py`; the hardware tools drive the real clients against wire-level fakes, and were exercised against a live bench, ChirpStack and fleet during bring-up |
133
+ | **Verified** | CircuitPython flashing | proxy the official release image (`/circuitpython/firmware`) for ESP32/S3/C3/C6 boards, flash via the unified dialog, serve a generated starter `code.py` (`/circuitpython/code`) | nightly, the hardware gate writes the current release image to an ESP32 dev board with a full erase and asserts the CircuitPython banner ([gate](docs/workbench.md#the-reference-deployment-two-benches)); endpoint tests with mocked upstream, every board-id mapping verified against downloads.circuitpython.org, and the generated starters parse as Python, every PR. The starter `code.py` is not run on hardware nightly |
134
+ | **Verified** | MCP server | 62 tools over the Model Context Protocol: 37 design / library / inventory / fab, plus 25 that reach hardware — workbench flash and boot verification, LoRaWAN compile / provision / activation, fleet and dashboard push + build status, enclosure printing through print-warden, and job polling for the long ones | the `mcp` package's own client connects to the mounted server over Streamable HTTP with the bearer token, lists the tools, drives a design from `create_design` to `render` and reads a resource, every PR (`tests/test_mcp_client.py`); tool / auth / resource tests in `tests/test_mcp_*.py`; the hardware tools drive the real clients against wire-level fakes, and were exercised against a live bench, ChirpStack and fleet during bring-up |
133
135
  | **Experimental** | Thingiverse search relay | rank community models for a board | smoke-tested; depends on a third-party search API that ranks unevenly |
134
- | **Verified** | Agent (Claude tool-using) | natural-language design driving | scored nightly against the 28-task list in `wirestudio/agent/eval_tasks.yaml`: the design it hands back passes `esphome config`, carries the asked-for change, and the turn stayed within its tool-call budget ([gate](.github/workflows/agent-eval.yml)); every task's reference solution passes the same scorer on every PR (`tests/test_agent_eval.py`). The nightly run drives the studio through Claude Code over MCP with the `CLAUDE_CODE_OAUTH_TOKEN` secret (a subscription); the embedded agent is scored too when `ANTHROPIC_API_KEY` is set. Both gates are 25 of 28 (`gate.min_pass`, `gate.claude_code_min_pass`), one below the lower of two runs on one commit |
136
+ | **Verified** | Agent (Claude tool-using) | natural-language design driving | scored nightly against the 28-task list in `wirestudio/agent/eval_tasks.yaml`: the design it hands back passes `esphome config`, carries the asked-for change, and the turn stayed within its tool-call budget ([gate](.github/workflows/agent-eval.yml)); every task's reference solution passes the same scorer on every PR (`tests/test_agent_eval.py`). The nightly run drives the studio through Claude Code over MCP with the `CLAUDE_CODE_OAUTH_TOKEN` secret (a subscription), so the schedule bills nothing else; the embedded agent, which calls the API on `ANTHROPIC_API_KEY`, is scored on a dispatched run with `embedded` ticked. Both gates are 25 of 28 (`gate.min_pass`, `gate.claude_code_min_pass`), one below the lower of two runs on one commit |
135
137
  | **Verified** | PCB autorouting | Freerouting roundtrip — board → Specctra DSN → routed → SES import, GND pour filled; via cost and keepout rectangles as parameters; KiCad's DRC of the routed board reported back; SSE route endpoint, `route_pcb` MCP/agent tool, web-UI Route button, `?route=true` fab exports, `-pcb` image variant | representative examples route with zero unconnected items, a filled pour and a clean routed DRC; a high via cost must remove vias and a keepout must clear the track under it ([gate](.github/workflows/pcb-route.yml)) |
136
138
 
137
139
  The **Verified** tier is the bar the project is asking to be judged
@@ -157,7 +159,7 @@ built from the weekly `esphome-matrix` sweep.
157
159
  docker run --rm -p 8765:8765 \
158
160
  -e ANTHROPIC_API_KEY=sk-ant-... \
159
161
  -v wirestudio-data:/data \
160
- ghcr.io/moellere/wirestudio:0.35.0
162
+ ghcr.io/moellere/wirestudio:1.0.0
161
163
  ```
162
164
 
163
165
  Open <http://localhost:8765>. The image bundles the FastAPI server +
@@ -203,7 +205,7 @@ The [User guide](docs/user_guide.md) walks the panes and header actions.
203
205
  ## Tests
204
206
 
205
207
  ```sh
206
- python -m pytest # ~1220 cases
208
+ python -m pytest # ~2200 cases
207
209
  python -m ruff check . # lint
208
210
  cd web && npx vitest run # vitest + jsdom
209
211
  pip install 'esphome==2026.6.5'
@@ -43,6 +43,15 @@ lorawan = [
43
43
  "chirpstack-api>=4.7,<5",
44
44
  "paho-mqtt>=1.6",
45
45
  "pyserial>=3.5",
46
+ # merge_bin for the blank-board factory image a full-erase flash needs.
47
+ # PlatformIO only fetches its own esptool on an upload, which the
48
+ # compile worker never does.
49
+ "esptool>=5",
50
+ ]
51
+ # Workbench phase 4: the nightly gate talks to the flashed device's native
52
+ # API. Only the hardware gate imports it, lazily.
53
+ bench = [
54
+ "aioesphomeapi>=46",
46
55
  ]
47
56
  # Pip-installable half of the KiCad pipeline (schematic generation +
48
57
  # PNG rasterize). kicad-cli, pcbnew, and the footprint/symbol libraries
@@ -72,3 +72,28 @@ def test_cache_hit_short_circuits_without_pio(monkeypatch, tmp_path, lib):
72
72
  assert result.bin_path == slot / "firmware.bin"
73
73
  assert result.log == "cached log"
74
74
  assert result.env == "ttgo-lora32-v1"
75
+
76
+
77
+ def test_esptool_comes_from_the_lorawan_extra_when_platformio_has_none(monkeypatch, tmp_path):
78
+ """The -full image's PlatformIO never fetched tool-esptoolpy (that happens
79
+ on an upload, which the compile worker never does), so merge_bin found no
80
+ esptool and every LoRaWAN build shipped without a factory image. The
81
+ extra now installs esptool, and the module is the fallback."""
82
+ import sys
83
+
84
+ monkeypatch.setattr(cw, "_pio_packages_dir", lambda: tmp_path)
85
+ monkeypatch.setattr(cw.shutil, "which", lambda name: None)
86
+ assert cw._esptool_cmd() == [sys.executable, "-m", "esptool"]
87
+
88
+
89
+ def test_the_factory_merge_runs_on_the_module_esptool(monkeypatch, tmp_path):
90
+
91
+ monkeypatch.setattr(cw, "_pio_packages_dir", lambda: tmp_path / "none")
92
+ monkeypatch.setattr(cw.shutil, "which", lambda name: None)
93
+ build = tmp_path / "build"
94
+ build.mkdir()
95
+ for name, size in (("bootloader.bin", 4096), ("partitions.bin", 3072), ("firmware.bin", 8192)):
96
+ (build / name).write_bytes(b"\xe9" + b"\x00" * (size - 1))
97
+ out = tmp_path / "factory.bin"
98
+ assert cw._merge_factory(build, "esp32", out), "merge_bin failed"
99
+ assert out.stat().st_size > 0x10000
@@ -0,0 +1,220 @@
1
+ """Tests for the YAPP_Box enclosure generator.
2
+
3
+ The generator emits text; `scripts/check_enclosures.py` renders it
4
+ through OpenSCAD. These pin the invariants in the text:
5
+
6
+ - the tunables block lives at the top with the documented names
7
+ - PCB length / width / thickness from the board YAML appear verbatim
8
+ - every mount hole lands in `pcbStands`
9
+ - every port lands in the YAPP cutout list for its wall (short_a ->
10
+ back, short_b -> front, long_a -> left, long_b -> right)
11
+ - the pinned generator is inlined, so the file needs no library
12
+ - boards without enclosure metadata raise EnclosureUnavailable
13
+ """
14
+ from __future__ import annotations
15
+
16
+ import json
17
+ from pathlib import Path
18
+
19
+ import pytest
20
+
21
+ from wirestudio.enclosure import EnclosureUnavailable, generate_scad
22
+ from wirestudio.enclosure.openscad import YAPP_REF, yapp_generator
23
+ from wirestudio.library import default_library
24
+ from wirestudio.model import Design
25
+
26
+ REPO_ROOT = Path(__file__).resolve().parent.parent
27
+ EXAMPLES_DIR = REPO_ROOT / "wirestudio" / "examples"
28
+
29
+
30
+ @pytest.fixture
31
+ def lib():
32
+ return default_library()
33
+
34
+
35
+ def _design(name: str) -> Design:
36
+ return Design.model_validate(json.loads((EXAMPLES_DIR / f"{name}.json").read_text()))
37
+
38
+
39
+ def _block(scad: str, name: str) -> str:
40
+ start = scad.index(f"\n{name} = [")
41
+ return scad[start:scad.index("\n];", start)]
42
+
43
+
44
+ def test_emits_tunables_block_at_top(lib):
45
+ scad = generate_scad(_design("access-panel"), lib)
46
+ head = scad[: scad.find("// === YAPP_Box generator ===")]
47
+ for tunable in ("wall = ", "floor = ", "lid_t = ", "clearance = ", "standoff_h = ",
48
+ "standoff_d = ", "standoff_hole = ", "port_clearance = ",
49
+ "component_h = ", "ridge_h = "):
50
+ assert tunable in head, f"missing tunable {tunable!r} in header"
51
+
52
+
53
+ def test_pcb_dimensions_appear_verbatim(lib):
54
+ scad = generate_scad(_design("access-panel"), lib) # esp32-devkitc-v4
55
+ assert "board_l = 54.4;" in scad
56
+ assert "board_w = 28.6;" in scad
57
+ assert "board_t = 1.6;" in scad
58
+ assert "pcbLength = board_l;" in scad
59
+
60
+
61
+ def test_mount_holes_become_base_standoffs(lib):
62
+ stands = _block(generate_scad(_design("access-panel"), lib), "pcbStands")
63
+ # esp32-devkitc-v4 has two holes at (3.0, 14.3) and (51.4, 14.3).
64
+ assert "[3.0, 14.3, yappBaseOnly, yappHole, yappNoFillet]" in stands
65
+ assert "[51.4, 14.3, yappBaseOnly, yappHole, yappNoFillet]" in stands
66
+
67
+
68
+ def test_ports_land_on_their_walls_centred_in_pcb_coordinates(lib):
69
+ scad = generate_scad(_design("ttgo-lora32"), lib)
70
+ back = _block(scad, "cutoutsBack")
71
+ front = _block(scad, "cutoutsFront")
72
+ assert "// usb_micro" in back and "// sma" in front
73
+ assert ("[12.75 + 7.0/2, 0.0, 7.0 + 2*port_clearance, 7.0 + 2*port_clearance, 0, "
74
+ "yappRectangle, yappCenter, yappCoordPCB]") in front
75
+ assert "// none" in _block(scad, "cutoutsLeft")
76
+
77
+
78
+ def test_d1_mini_has_four_standoffs(lib):
79
+ stands = _block(generate_scad(_design("multi-temp"), lib), "pcbStands")
80
+ assert stands.count("yappBaseOnly") == 4
81
+
82
+
83
+ def test_unknown_board_raises_enclosure_unavailable(lib):
84
+ """ESP-01S doesn't carry enclosure metadata (it plugs into a host
85
+ PCB) -- the generator should raise cleanly, not crash."""
86
+ design = Design.model_validate(json.loads((EXAMPLES_DIR / "bluesonoff.json").read_text()))
87
+ with pytest.raises(EnclosureUnavailable) as exc:
88
+ generate_scad(design, lib)
89
+ assert "esp01_1m" in str(exc.value)
90
+
91
+
92
+ def test_design_id_and_board_name_appear_in_header(lib):
93
+ scad = generate_scad(_design("access-panel"), lib)
94
+ assert "design: access-panel\n" in scad
95
+ assert "Board: ESP32-DevKitC-V4" in scad
96
+
97
+
98
+ def test_output_inlines_the_pinned_generator(lib):
99
+ """No include<>/use<>: the file renders on a machine without YAPP,
100
+ which is what print-warden and a plain download need. The YAPP
101
+ parameters follow the generator so their assignments win."""
102
+ scad = generate_scad(_design("access-panel"), lib)
103
+ assert "include <" not in scad
104
+ assert "use <" not in scad
105
+ assert yapp_generator() in scad
106
+ assert YAPP_REF[:12] in scad
107
+ assert scad.index("module YAPPgenerate()") < scad.index("wallThickness = wall;")
108
+ assert scad.rstrip().endswith("YAPPgenerate();")
109
+
110
+
111
+ def test_base_and_lid_heights_clear_the_tallest_part(lib):
112
+ scad = generate_scad(_design("access-panel"), lib)
113
+ assert "base_wall_h = max(ridge, standoff_h + board_t + component_h + 1 - lid_wall_h);" in scad
114
+ assert "ridge = max(ridge_h, 1.8 * wall);" in scad
115
+ assert "printLidShell = true;" in scad
116
+ assert "[shell_l/2, 5, yappLeft, yappRight, yappCenter]" in _block(scad, "snapJoins")
117
+
118
+
119
+ # --- Panel layout: parts with `enclosure:` metadata --------------------
120
+
121
+ def test_designs_without_panel_parts_keep_the_board_only_shell(lib):
122
+ scad = generate_scad(_design("access-panel"), lib)
123
+ assert '"Main", board_l, board_w' in scad
124
+ assert "cavity_l" not in scad
125
+
126
+
127
+ def test_wall_panel_places_every_part(lib):
128
+ scad = generate_scad(_design("wall-panel"), lib)
129
+ pcbs = _block(scad, "pcb")
130
+ assert '["Main", cavity_l, cavity_w' in pcbs
131
+ for name in ('"board"', '"pir"', '"climate"', '"oled-knob-13-1"'):
132
+ assert name in pcbs
133
+ # Lid parts hang from the lid: negative standoff.
134
+ assert '"pir", 24.3, 32.3' in pcbs and ", -3.5, " in pcbs
135
+ assert "(face down), wall mount" in scad
136
+
137
+
138
+ def test_lid_features_cut_the_lid(lib):
139
+ lid = _block(generate_scad(_design("wall-panel"), lib), "cutoutsLid")
140
+ # PIR dome, encoder shaft, and the OLED bezel's taper: four steps
141
+ # from the 17.6 x 32.6 window (turned: its width runs along Y) out to
142
+ # 2.0 more each side at the face, shallowest widest.
143
+ assert "11.8, yappCircle" in lid and '"pir"' in lid
144
+ assert "4.5, yappCircle" in lid
145
+ assert "18.6, 33.6, 0, yappRectangle, lid_t*0.8," in lid
146
+ assert "21.6, 36.6, 0, yappRectangle, lid_t*0.2," in lid
147
+ # Two flexure keys: three slots and a thinned hinge each.
148
+ assert lid.count("lid_t/2") == 2
149
+
150
+
151
+ def test_lid_posts_hang_from_the_lid(lib):
152
+ stands = _block(generate_scad(_design("wall-panel"), lib), "pcbStands")
153
+ # Module posts, PIR posts, and a 0.6 nub under each key.
154
+ assert stands.count("yappLidOnly") == 4 + 2 + 2
155
+ assert stands.count("yappBaseOnly") == 1 # the DHT post
156
+ assert "base_wall_h + lid_wall_h - 4.7 - 1.5" in stands
157
+ nubs = [ln for ln in stands.splitlines() if ", -1, 3, 0.1, " in ln]
158
+ assert len(nubs) == 2 and all("- 0.6 - 1.5" in ln for ln in nubs)
159
+
160
+
161
+ def test_a_key_too_close_to_its_switch_gets_no_nub(lib):
162
+ data = json.loads((EXAMPLES_DIR / "wall-panel.json").read_text())
163
+ design = Design.model_validate(data)
164
+ module = lib.module("oled-knob-13")
165
+ shallow = module.enclosure.model_copy(update={"lid_gap_mm": 4.2})
166
+ lib._modules["oled-knob-13"] = module.model_copy(update={"enclosure": shallow})
167
+ try:
168
+ stands = _block(generate_scad(design, lib), "pcbStands")
169
+ finally:
170
+ lib._modules["oled-knob-13"] = module
171
+ assert ", -1, 3, 0.1, " not in stands
172
+
173
+
174
+ def test_face_down_board_turns_its_ports_and_gets_a_cradle(lib):
175
+ scad = generate_scad(_design("wall-panel"), lib)
176
+ back = _block(scad, "cutoutsBack")
177
+ assert back.count("// usb_c") == 2
178
+ assert "-(board_t + 1.65)" in back
179
+ assert "module hookBaseInside()" in scad
180
+ assert "standoffHeight = 0;" in scad
181
+
182
+
183
+ def test_wall_mount_adds_keyholes_and_vents_the_dht(lib):
184
+ scad = generate_scad(_design("wall-panel"), lib)
185
+ base = _block(scad, "cutoutsBase")
186
+ assert base.count("4.25, yappCircle") == 2
187
+ assert base.count("10, 4.2, 0, yappRectangle") == 2
188
+ # DHT against the bottom (port) wall and the right wall: slots in both.
189
+ assert "yappCoordBoxInside" in _block(scad, "cutoutsBack")
190
+ assert _block(scad, "cutoutsRight").count("yappCoordBoxInside") > 3
191
+
192
+
193
+ def test_cavity_height_stacks_what_overlaps(lib):
194
+ scad = generate_scad(_design("wall-panel"), lib)
195
+ line = next(ln for ln in scad.splitlines() if ln.startswith("cavity_h = "))
196
+ # The face-down board as wired under the PIR's body; the PIR's and
197
+ # the module's headers hang where the board is not.
198
+ assert "component_h + board_t + underside_h + 3.5 + 1.6 + 6" in line
199
+ assert "component_h + board_t + underside_h + 3.5 + 1.6 + 17" not in line
200
+ assert "component_h + board_t + underside_h + 4.7 + 1.5 + 12" not in line
201
+
202
+
203
+ def test_lid_walls_hold_only_the_lid_parts(lib):
204
+ scad = generate_scad(_design("wall-panel"), lib)
205
+ assert "lid_wall_h = min(max([ridge + 2, 3.5 + 1.6 + 6, 4.7 + 1.5 + 2]), cavity_h - ridge);" in scad
206
+
207
+
208
+ def test_enclosure_options_alone_switch_to_the_panel_layout(lib):
209
+ data = json.loads((EXAMPLES_DIR / "access-panel.json").read_text())
210
+ design = Design.model_validate({**data, "enclosure": {"mount": "wall"}})
211
+ scad = generate_scad(design, lib)
212
+ assert "(face up), wall mount" in scad
213
+ assert _block(scad, "cutoutsBase").count("yappCircle") == 2
214
+
215
+
216
+ def test_oled_bezel_frame_drops_to_the_glass(lib):
217
+ tubes = _block(generate_scad(_design("wall-panel"), lib), "lightTubes")
218
+ # 32.6 along Y (a light tube's length), 1.2 wall, bottom 0.1 over the
219
+ # 3.6 glass, measured from the module PCB 4.7 under the lid.
220
+ assert "32.6, 17.6, 1.2, 3.7, yappRectangle, 0, base_wall_h + lid_wall_h - 4.7" in tubes