boneIO 0.9.0.dev15__tar.gz → 0.9.2__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.
- {boneio-0.9.0.dev15 → boneio-0.9.2}/PKG-INFO +1 -1
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/boards/0.7/input.yaml +1 -0
- boneio-0.9.2/boneio/boards/0.8/cover.yaml +137 -0
- boneio-0.9.2/boneio/boards/0.8/cover_mix.yaml +137 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/boards/0.8/input.yaml +1 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/example_config/config.yaml +6 -6
- boneio-0.9.2/boneio/example_config/output32x10A_new.yaml +128 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/yaml_util.py +11 -5
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/modbus/sdm120.json +16 -13
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/modbus/sdm630.json +39 -37
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/schema/schema.yaml +7 -0
- boneio-0.9.2/boneio/version.py +2 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/schema/boneio.schema.json +16 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/schema/config.schema.json +16 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/pyproject.toml +1 -1
- boneio-0.9.0.dev15/boneio/version.py +0 -2
- {boneio-0.9.0.dev15 → boneio-0.9.2}/LICENSE +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/README.md +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/__init__.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/boards/0.7/output_32_10.yaml +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/boards/0.8/output_32_10.yaml +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/bonecli.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/const.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/cover.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/example_config/__init__.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/example_config/adc.yaml +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/example_config/binary_sensor.yaml +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/example_config/binary_sensor_v_0_7.yaml +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/example_config/cover.yaml +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/example_config/event.yaml +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/example_config/event_all.yaml +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/example_config/event_v_0_7.yaml +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/example_config/led32x4A.yaml +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/example_config/output24x16A.yaml +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/example_config/output24x16A_v0.3.yaml +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/example_config/output32x10A.yaml +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/example_config/output32x5A.yaml +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/fonts/danube__.ttf +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/group/__init__.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/group/output.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/__init__.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/async_updater.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/click_timer.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/config.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/events.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/exceptions.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/filter.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/gpio.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/gpiod.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/ha_discovery.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/loader.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/logger.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/message_bus.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/mqtt.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/oled.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/onewire/W1ThermSensor.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/onewire/__init__.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/onewire/ds2482.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/onewire/onewire.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/pcf8575.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/queue.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/schema_converter.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/sensor/ina_219_smbus.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/state_manager.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/stats.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/timeperiod.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/helper/util.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/input/__init__.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/input/gpio.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/input/gpio_new.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/manager.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/modbus/__init__.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/modbus/client.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/modbus/cwt.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/modbus/dts1964_3f.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/modbus/liquid-sensor.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/modbus/modbuscli.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/modbus/orno-or-we-517.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/modbus/pt100.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/modbus/r4dcb08.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/modbus/sensor.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/modbus/sht20.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/modbus/sht30.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/modbus/single_sensor.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/modbus/socomec_e03.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/modbus/socomec_e23.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/modbus/sofar.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/modbus/utils.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/models/__init__.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/models/files.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/models/logs.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/mqtt_client.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/oled.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/relay/__init__.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/relay/basic.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/relay/gpio.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/relay/mcp.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/relay/pca.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/relay/pcf.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/runner.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/schema/actions.yaml +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/schema/actions_sensor.yaml +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/schema/actions_switch.yaml +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/schema/filters.yaml +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/schema/filters_adc.yaml +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/schema/id.yaml +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/schema/temp_unit.yaml +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/schema/update_interval.yaml +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/sensor/__init__.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/sensor/adc.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/sensor/gpio.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/sensor/gpio_new.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/sensor/ina219.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/sensor/serial_number.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/sensor/temp/__init__.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/sensor/temp/dallas.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/sensor/temp/lm75.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/sensor/temp/mcp9808.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/app.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/abap-BrgZPUOV.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/apex-DyP6w7ZV.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/azcli-BaLxmfj-.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/bat-CFOPXBzS.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/bicep-BfEKNvv3.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/cameligo-BFG1Mk7z.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/clojure-DTECt2xU.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/codicon-DCmgc-ay.ttf +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/coffee-CDGzqUPQ.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/cpp-CLLBncYj.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/csharp-dUCx_-0o.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/csp-5Rap-vPy.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/css-D3h14YRZ.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/cssMode-CtnT2jQE.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/cypher-DrQuvNYM.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/dart-CFKIUWau.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/dockerfile-Zznr-cwX.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/ecl-Ce3n6wWz.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/editor.worker-D5ngByhL.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/elixir-deUWdS0T.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/flow9-i9-g7ZhI.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/freemarker2-DGuhXH41.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/fsharp-CzKuDChf.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/go-Cphgjts3.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/graphql-Cg7bfA9N.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/handlebars-DB9ioYEj.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/hcl-0cvrggvQ.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/html-B1N3G2t2.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/htmlMode-Bu4tsIzC.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/index-BLdVcyHp.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/index-CCgG6NMg.css +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/ini-Drc7WvVn.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/java-B_fMsGYe.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/javascript-Bc9neA1Z.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/json.worker-F0ZGA5Zk.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/jsonMode-CKQTb-28.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/julia-Bqgm2twL.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/kotlin-BSkB5QuD.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/less-BsTHnhdd.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/lexon-YWi4-JPR.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/liquid-CTaX0gqb.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/lua-nf6ki56Z.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/m3-Cpb6xl2v.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/markdown-DSZPf7rp.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/mdx-5o2ITl9M.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/mips-B_c3zf-v.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/msdax-rUNN04Wq.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/mysql-DDwshQtU.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/objective-c-B5zXfXm9.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/pascal-CXOwvkN_.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/pascaligo-Bc-ZgV77.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/perl-CwNk8-XU.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/pgsql-tGk8EFnU.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/php-CpIb_Oan.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/pla-B03wrqEc.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/postiats-BKlk5iyT.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/powerquery-Bhzvs7bI.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/powershell-Dd3NCNK9.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/protobuf-COyEY5Pt.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/pug-BaJupSGV.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/python-Db8FWkCf.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/qsharp-DXyYeYxl.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/r-CdQndTaG.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/razor-CLTS28q7.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/redis-CVwtpugi.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/redshift-25W9uPmb.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/restructuredtext-DfzH4Xui.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/ruby-Cp1zYvxS.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/rust-D5C2fndG.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/sb-CDntyWJ8.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/scala-BoFRg7Ot.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/scheme-Bio4gycK.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/scss-4Ik7cdeQ.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/shell-CX-rkNHf.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/solidity-Tw7wswEv.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/sophia-C5WLch3f.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/sparql-DHaeiCBh.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/sql-CCSDG5nI.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/st-pnP8ivHi.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/swift-DwJ7jVG9.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/systemverilog-B9Xyijhd.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/tcl-DnHyzjbg.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/tsMode-CrhZjPZD.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/twig-CPajHgWi.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/typescript-BEFA7MWI.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/typespec-D-MeaMDU.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/vb-DgyLZaXg.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/wgsl-BIv9DU6q.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/xml-z_iSgMVJ.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/yaml-3ScDl3Sa.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/assets/yaml.worker-C2uymlqn.js +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/boneio.svg +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/boneio_fav.svg +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/frontend-dist/index.html +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/schema/adc.schema.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/schema/binary_sensor.schema.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/schema/cover.schema.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/schema/dallas.schema.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/schema/ds2482.schema.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/schema/event.schema.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/schema/ina219.schema.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/schema/lm75.schema.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/schema/logger.schema.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/schema/mcp23017.schema.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/schema/mcp9808.schema.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/schema/modbus.schema.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/schema/modbus_sensors.schema.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/schema/mqtt.schema.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/schema/oled.schema.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/schema/output.schema.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/schema/output_group.schema.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/schema/pca9685.schema.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/schema/pcf8575.schema.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/schema/sensor.schema.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/schema/web.schema.json +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/web_server.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/boneio/webui/websocket_manager.py +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/tests/32_5_config.yaml +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/tests/bandit.yaml +0 -0
- {boneio-0.9.0.dev15 → boneio-0.9.2}/tests/relay_32_5.py +0 -0
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
mcp23017:
|
|
2
|
+
- id: mcp1
|
|
3
|
+
address: 0x23
|
|
4
|
+
- id: mcp2
|
|
5
|
+
address: 0x24
|
|
6
|
+
|
|
7
|
+
output_mapping:
|
|
8
|
+
cover_01_up:
|
|
9
|
+
kind: mcp
|
|
10
|
+
mcp_id: mcp2
|
|
11
|
+
pin: 7
|
|
12
|
+
cover_01_down:
|
|
13
|
+
kind: mcp
|
|
14
|
+
mcp_id: mcp2
|
|
15
|
+
pin: 6
|
|
16
|
+
cover_02_up:
|
|
17
|
+
kind: mcp
|
|
18
|
+
mcp_id: mcp2
|
|
19
|
+
pin: 5
|
|
20
|
+
cover_02_down:
|
|
21
|
+
kind: mcp
|
|
22
|
+
mcp_id: mcp2
|
|
23
|
+
pin: 4
|
|
24
|
+
cover_03_up:
|
|
25
|
+
kind: mcp
|
|
26
|
+
mcp_id: mcp2
|
|
27
|
+
pin: 3
|
|
28
|
+
cover_03_down:
|
|
29
|
+
kind: mcp
|
|
30
|
+
mcp_id: mcp2
|
|
31
|
+
pin: 2
|
|
32
|
+
cover_04_up:
|
|
33
|
+
kind: mcp
|
|
34
|
+
mcp_id: mcp2
|
|
35
|
+
pin: 1
|
|
36
|
+
cover_04_down:
|
|
37
|
+
kind: mcp
|
|
38
|
+
mcp_id: mcp2
|
|
39
|
+
pin: 0
|
|
40
|
+
cover_05_up:
|
|
41
|
+
kind: mcp
|
|
42
|
+
mcp_id: mcp1
|
|
43
|
+
pin: 7
|
|
44
|
+
cover_05_down:
|
|
45
|
+
kind: mcp
|
|
46
|
+
mcp_id: mcp1
|
|
47
|
+
pin: 6
|
|
48
|
+
cover_06_up:
|
|
49
|
+
kind: mcp
|
|
50
|
+
mcp_id: mcp1
|
|
51
|
+
pin: 5
|
|
52
|
+
cover_06_down:
|
|
53
|
+
kind: mcp
|
|
54
|
+
mcp_id: mcp1
|
|
55
|
+
pin: 4
|
|
56
|
+
cover_07_up:
|
|
57
|
+
kind: mcp
|
|
58
|
+
mcp_id: mcp1
|
|
59
|
+
pin: 3
|
|
60
|
+
cover_07_down:
|
|
61
|
+
kind: mcp
|
|
62
|
+
mcp_id: mcp1
|
|
63
|
+
pin: 2
|
|
64
|
+
cover_08_up:
|
|
65
|
+
kind: mcp
|
|
66
|
+
mcp_id: mcp1
|
|
67
|
+
pin: 1
|
|
68
|
+
cover_08_down:
|
|
69
|
+
kind: mcp
|
|
70
|
+
mcp_id: mcp1
|
|
71
|
+
pin: 0
|
|
72
|
+
cover_09_up:
|
|
73
|
+
kind: mcp
|
|
74
|
+
mcp_id: mcp2
|
|
75
|
+
pin: 8
|
|
76
|
+
cover_09_down:
|
|
77
|
+
kind: mcp
|
|
78
|
+
mcp_id: mcp2
|
|
79
|
+
pin: 9
|
|
80
|
+
cover_10_up:
|
|
81
|
+
kind: mcp
|
|
82
|
+
mcp_id: mcp2
|
|
83
|
+
pin: 10
|
|
84
|
+
cover_10_down:
|
|
85
|
+
kind: mcp
|
|
86
|
+
mcp_id: mcp2
|
|
87
|
+
pin: 11
|
|
88
|
+
cover_11_up:
|
|
89
|
+
kind: mcp
|
|
90
|
+
mcp_id: mcp2
|
|
91
|
+
pin: 12
|
|
92
|
+
cover_11_down:
|
|
93
|
+
kind: mcp
|
|
94
|
+
mcp_id: mcp2
|
|
95
|
+
pin: 13
|
|
96
|
+
cover_12_up:
|
|
97
|
+
kind: mcp
|
|
98
|
+
mcp_id: mcp2
|
|
99
|
+
pin: 14
|
|
100
|
+
cover_12_down:
|
|
101
|
+
kind: mcp
|
|
102
|
+
mcp_id: mcp2
|
|
103
|
+
pin: 15
|
|
104
|
+
cover_13_up:
|
|
105
|
+
kind: mcp
|
|
106
|
+
mcp_id: mcp1
|
|
107
|
+
pin: 8
|
|
108
|
+
cover_13_down:
|
|
109
|
+
kind: mcp
|
|
110
|
+
mcp_id: mcp1
|
|
111
|
+
pin: 9
|
|
112
|
+
cover_14_up:
|
|
113
|
+
kind: mcp
|
|
114
|
+
mcp_id: mcp1
|
|
115
|
+
pin: 10
|
|
116
|
+
cover_14_down:
|
|
117
|
+
kind: mcp
|
|
118
|
+
mcp_id: mcp1
|
|
119
|
+
pin: 11
|
|
120
|
+
cover_15_up:
|
|
121
|
+
kind: mcp
|
|
122
|
+
mcp_id: mcp1
|
|
123
|
+
pin: 12
|
|
124
|
+
cover_15_down:
|
|
125
|
+
kind: mcp
|
|
126
|
+
mcp_id: mcp1
|
|
127
|
+
pin: 13
|
|
128
|
+
cover_16_up:
|
|
129
|
+
kind: mcp
|
|
130
|
+
mcp_id: mcp1
|
|
131
|
+
pin: 14
|
|
132
|
+
cover_16_down:
|
|
133
|
+
kind: mcp
|
|
134
|
+
mcp_id: mcp1
|
|
135
|
+
pin: 15
|
|
136
|
+
|
|
137
|
+
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
mcp23017:
|
|
2
|
+
- id: mcp1
|
|
3
|
+
address: 0x23
|
|
4
|
+
- id: mcp2
|
|
5
|
+
address: 0x24
|
|
6
|
+
|
|
7
|
+
output_mapping:
|
|
8
|
+
cover_01_up:
|
|
9
|
+
kind: mcp
|
|
10
|
+
mcp_id: mcp2
|
|
11
|
+
pin: 7
|
|
12
|
+
cover_01_down:
|
|
13
|
+
kind: mcp
|
|
14
|
+
mcp_id: mcp2
|
|
15
|
+
pin: 6
|
|
16
|
+
cover_02_up:
|
|
17
|
+
kind: mcp
|
|
18
|
+
mcp_id: mcp2
|
|
19
|
+
pin: 5
|
|
20
|
+
cover_02_down:
|
|
21
|
+
kind: mcp
|
|
22
|
+
mcp_id: mcp2
|
|
23
|
+
pin: 4
|
|
24
|
+
cover_03_up:
|
|
25
|
+
kind: mcp
|
|
26
|
+
mcp_id: mcp2
|
|
27
|
+
pin: 3
|
|
28
|
+
cover_03_down:
|
|
29
|
+
kind: mcp
|
|
30
|
+
mcp_id: mcp2
|
|
31
|
+
pin: 2
|
|
32
|
+
cover_04_up:
|
|
33
|
+
kind: mcp
|
|
34
|
+
mcp_id: mcp2
|
|
35
|
+
pin: 1
|
|
36
|
+
cover_04_down:
|
|
37
|
+
kind: mcp
|
|
38
|
+
mcp_id: mcp2
|
|
39
|
+
pin: 0
|
|
40
|
+
cover_05_up:
|
|
41
|
+
kind: mcp
|
|
42
|
+
mcp_id: mcp1
|
|
43
|
+
pin: 7
|
|
44
|
+
cover_05_down:
|
|
45
|
+
kind: mcp
|
|
46
|
+
mcp_id: mcp1
|
|
47
|
+
pin: 6
|
|
48
|
+
cover_06_up:
|
|
49
|
+
kind: mcp
|
|
50
|
+
mcp_id: mcp1
|
|
51
|
+
pin: 5
|
|
52
|
+
cover_06_down:
|
|
53
|
+
kind: mcp
|
|
54
|
+
mcp_id: mcp1
|
|
55
|
+
pin: 4
|
|
56
|
+
cover_07_up:
|
|
57
|
+
kind: mcp
|
|
58
|
+
mcp_id: mcp1
|
|
59
|
+
pin: 3
|
|
60
|
+
cover_07_down:
|
|
61
|
+
kind: mcp
|
|
62
|
+
mcp_id: mcp1
|
|
63
|
+
pin: 2
|
|
64
|
+
cover_08_up:
|
|
65
|
+
kind: mcp
|
|
66
|
+
mcp_id: mcp1
|
|
67
|
+
pin: 1
|
|
68
|
+
cover_08_down:
|
|
69
|
+
kind: mcp
|
|
70
|
+
mcp_id: mcp1
|
|
71
|
+
pin: 0
|
|
72
|
+
out_17:
|
|
73
|
+
kind: mcp
|
|
74
|
+
mcp_id: mcp2
|
|
75
|
+
pin: 8
|
|
76
|
+
out_18:
|
|
77
|
+
kind: mcp
|
|
78
|
+
mcp_id: mcp2
|
|
79
|
+
pin: 9
|
|
80
|
+
out_19:
|
|
81
|
+
kind: mcp
|
|
82
|
+
mcp_id: mcp2
|
|
83
|
+
pin: 10
|
|
84
|
+
out_20:
|
|
85
|
+
kind: mcp
|
|
86
|
+
mcp_id: mcp2
|
|
87
|
+
pin: 11
|
|
88
|
+
out_21:
|
|
89
|
+
kind: mcp
|
|
90
|
+
mcp_id: mcp2
|
|
91
|
+
pin: 12
|
|
92
|
+
out_22:
|
|
93
|
+
kind: mcp
|
|
94
|
+
mcp_id: mcp2
|
|
95
|
+
pin: 13
|
|
96
|
+
out_23:
|
|
97
|
+
kind: mcp
|
|
98
|
+
mcp_id: mcp2
|
|
99
|
+
pin: 14
|
|
100
|
+
out_24:
|
|
101
|
+
kind: mcp
|
|
102
|
+
mcp_id: mcp2
|
|
103
|
+
pin: 15
|
|
104
|
+
out_25:
|
|
105
|
+
kind: mcp
|
|
106
|
+
mcp_id: mcp1
|
|
107
|
+
pin: 8
|
|
108
|
+
out_26:
|
|
109
|
+
kind: mcp
|
|
110
|
+
mcp_id: mcp1
|
|
111
|
+
pin: 9
|
|
112
|
+
out_27:
|
|
113
|
+
kind: mcp
|
|
114
|
+
mcp_id: mcp1
|
|
115
|
+
pin: 10
|
|
116
|
+
out_28:
|
|
117
|
+
kind: mcp
|
|
118
|
+
mcp_id: mcp1
|
|
119
|
+
pin: 11
|
|
120
|
+
out_29:
|
|
121
|
+
kind: mcp
|
|
122
|
+
mcp_id: mcp1
|
|
123
|
+
pin: 12
|
|
124
|
+
out_30:
|
|
125
|
+
kind: mcp
|
|
126
|
+
mcp_id: mcp1
|
|
127
|
+
pin: 13
|
|
128
|
+
out_31:
|
|
129
|
+
kind: mcp
|
|
130
|
+
mcp_id: mcp1
|
|
131
|
+
pin: 14
|
|
132
|
+
out_32:
|
|
133
|
+
kind: mcp
|
|
134
|
+
mcp_id: mcp1
|
|
135
|
+
pin: 15
|
|
136
|
+
|
|
137
|
+
|
|
@@ -12,15 +12,15 @@ lm75:
|
|
|
12
12
|
- id: temp
|
|
13
13
|
address: 0x48
|
|
14
14
|
|
|
15
|
-
mcp23017:
|
|
16
|
-
- id: mcp1
|
|
17
|
-
address: 0x20
|
|
18
|
-
- id: mcp2
|
|
19
|
-
address: 0x21
|
|
20
|
-
|
|
21
15
|
event: !include event.yaml
|
|
22
16
|
binary_sensor: !include binary_sensor.yaml
|
|
23
17
|
|
|
24
18
|
output: !include output32x5A.yaml
|
|
25
19
|
|
|
20
|
+
boneio:
|
|
21
|
+
name: "boneIO Black 32x10A"
|
|
22
|
+
version: 0.8
|
|
23
|
+
device_type: "32x10A"
|
|
24
|
+
|
|
25
|
+
|
|
26
26
|
# adc: !include adc.yaml Uncomment only if needed.
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# config to Relay board 32x10 v0.4
|
|
2
|
+
- id: OUT_01
|
|
3
|
+
boneio_output: OUT_01
|
|
4
|
+
output_type: light
|
|
5
|
+
|
|
6
|
+
- id: OUT_02
|
|
7
|
+
boneio_output: OUT_02
|
|
8
|
+
output_type: light
|
|
9
|
+
|
|
10
|
+
- id: OUT_03
|
|
11
|
+
boneio_output: OUT_03
|
|
12
|
+
output_type: light
|
|
13
|
+
|
|
14
|
+
- id: OUT_04
|
|
15
|
+
boneio_output: OUT_04
|
|
16
|
+
output_type: light
|
|
17
|
+
|
|
18
|
+
- id: OUT_05
|
|
19
|
+
boneio_output: OUT_05
|
|
20
|
+
output_type: light
|
|
21
|
+
|
|
22
|
+
- id: OUT_06
|
|
23
|
+
boneio_output: OUT_06
|
|
24
|
+
output_type: light
|
|
25
|
+
|
|
26
|
+
- id: OUT_07
|
|
27
|
+
boneio_output: OUT_07
|
|
28
|
+
output_type: light
|
|
29
|
+
|
|
30
|
+
- id: OUT_08
|
|
31
|
+
boneio_output: OUT_08
|
|
32
|
+
output_type: light
|
|
33
|
+
|
|
34
|
+
- id: OUT_09
|
|
35
|
+
boneio_output: OUT_09
|
|
36
|
+
output_type: light
|
|
37
|
+
|
|
38
|
+
- id: OUT_10
|
|
39
|
+
boneio_output: OUT_10
|
|
40
|
+
output_type: light
|
|
41
|
+
|
|
42
|
+
- id: OUT_11
|
|
43
|
+
boneio_output: OUT_11
|
|
44
|
+
output_type: light
|
|
45
|
+
|
|
46
|
+
- id: OUT_12
|
|
47
|
+
boneio_output: OUT_12
|
|
48
|
+
output_type: light
|
|
49
|
+
|
|
50
|
+
- id: OUT_13
|
|
51
|
+
boneio_output: OUT_13
|
|
52
|
+
output_type: light
|
|
53
|
+
|
|
54
|
+
- id: OUT_14
|
|
55
|
+
boneio_output: OUT_14
|
|
56
|
+
output_type: light
|
|
57
|
+
|
|
58
|
+
- id: OUT_15
|
|
59
|
+
boneio_output: OUT_15
|
|
60
|
+
output_type: light
|
|
61
|
+
|
|
62
|
+
- id: OUT_16
|
|
63
|
+
boneio_output: OUT_16
|
|
64
|
+
output_type: light
|
|
65
|
+
|
|
66
|
+
- id: OUT_17
|
|
67
|
+
boneio_output: OUT_17
|
|
68
|
+
output_type: light
|
|
69
|
+
|
|
70
|
+
- id: OUT_18
|
|
71
|
+
boneio_output: OUT_18
|
|
72
|
+
output_type: light
|
|
73
|
+
|
|
74
|
+
- id: OUT_19
|
|
75
|
+
boneio_output: OUT_19
|
|
76
|
+
output_type: light
|
|
77
|
+
|
|
78
|
+
- id: OUT_20
|
|
79
|
+
boneio_output: OUT_20
|
|
80
|
+
output_type: light
|
|
81
|
+
|
|
82
|
+
- id: OUT_21
|
|
83
|
+
boneio_output: OUT_21
|
|
84
|
+
output_type: light
|
|
85
|
+
|
|
86
|
+
- id: OUT_22
|
|
87
|
+
boneio_output: OUT_22
|
|
88
|
+
output_type: light
|
|
89
|
+
|
|
90
|
+
- id: OUT_23
|
|
91
|
+
boneio_output: OUT_23
|
|
92
|
+
output_type: light
|
|
93
|
+
|
|
94
|
+
- id: OUT_24
|
|
95
|
+
boneio_output: OUT_24
|
|
96
|
+
output_type: light
|
|
97
|
+
|
|
98
|
+
- id: OUT_25
|
|
99
|
+
boneio_output: OUT_25
|
|
100
|
+
output_type: light
|
|
101
|
+
|
|
102
|
+
- id: OUT_26
|
|
103
|
+
boneio_output: OUT_26
|
|
104
|
+
output_type: light
|
|
105
|
+
|
|
106
|
+
- id: OUT_27
|
|
107
|
+
boneio_output: OUT_27
|
|
108
|
+
output_type: light
|
|
109
|
+
|
|
110
|
+
- id: OUT_28
|
|
111
|
+
boneio_output: OUT_28
|
|
112
|
+
output_type: light
|
|
113
|
+
|
|
114
|
+
- id: OUT_29
|
|
115
|
+
boneio_output: OUT_29
|
|
116
|
+
output_type: light
|
|
117
|
+
|
|
118
|
+
- id: OUT_30
|
|
119
|
+
boneio_output: OUT_30
|
|
120
|
+
output_type: light
|
|
121
|
+
|
|
122
|
+
- id: OUT_31
|
|
123
|
+
boneio_output: OUT_31
|
|
124
|
+
output_type: light
|
|
125
|
+
|
|
126
|
+
- id: OUT_32
|
|
127
|
+
boneio_output: OUT_32
|
|
128
|
+
output_type: light
|
|
@@ -262,7 +262,7 @@ def merge_board_config(config: dict) -> dict:
|
|
|
262
262
|
f"Input mapping '{input['boneio_input']}' not found in board configuration"
|
|
263
263
|
)
|
|
264
264
|
# Merge mapped output with user config, preserving user-specified values
|
|
265
|
-
input.update({k: v for k, v in mapped_input.items()
|
|
265
|
+
input.update({k: v for k, v in mapped_input.items()})
|
|
266
266
|
|
|
267
267
|
for input in config.get("binary_sensor", []):
|
|
268
268
|
if "boneio_input" in input:
|
|
@@ -273,7 +273,7 @@ def merge_board_config(config: dict) -> dict:
|
|
|
273
273
|
f"Input mapping '{input['boneio_input']}' not found in board configuration"
|
|
274
274
|
)
|
|
275
275
|
# Merge mapped output with user config, preserving user-specified values
|
|
276
|
-
input.update({k: v for k, v in mapped_input.items()
|
|
276
|
+
input.update({k: v for k, v in mapped_input.items()})
|
|
277
277
|
|
|
278
278
|
|
|
279
279
|
return config
|
|
@@ -492,7 +492,13 @@ def load_config_from_string(config_str: str) -> dict:
|
|
|
492
492
|
schema = load_yaml_file(schema_file)
|
|
493
493
|
v = CustomValidator(schema, purge_unknown=True)
|
|
494
494
|
|
|
495
|
-
|
|
495
|
+
# First normalize the document
|
|
496
|
+
doc = v.normalized(config_str, always_return_document=True)
|
|
497
|
+
# Then merge board config
|
|
498
|
+
merged_doc = merge_board_config(doc)
|
|
499
|
+
|
|
500
|
+
# Finally validate
|
|
501
|
+
if not v.validate(merged_doc):
|
|
496
502
|
error_msg = "Configuration validation failed:\n"
|
|
497
503
|
for field, errors in v.errors.items():
|
|
498
504
|
error_lines = []
|
|
@@ -503,8 +509,8 @@ def load_config_from_string(config_str: str) -> dict:
|
|
|
503
509
|
]
|
|
504
510
|
error_msg += f"\n- {field}: {errors}\n{', '.join(error_lines)}"
|
|
505
511
|
raise ConfigurationException(error_msg)
|
|
506
|
-
|
|
507
|
-
return
|
|
512
|
+
|
|
513
|
+
return merged_doc
|
|
508
514
|
|
|
509
515
|
|
|
510
516
|
def load_config_from_file(config_file: str):
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
{
|
|
5
5
|
"base": 0,
|
|
6
6
|
"length": 34,
|
|
7
|
+
"register_type": "input",
|
|
7
8
|
"registers": [
|
|
8
9
|
{
|
|
9
10
|
"name": "Voltage",
|
|
@@ -11,7 +12,7 @@
|
|
|
11
12
|
"unit_of_measurement": "V",
|
|
12
13
|
"state_class": "measurement",
|
|
13
14
|
"device_class": "voltage",
|
|
14
|
-
"return_type": "
|
|
15
|
+
"return_type": "FP32"
|
|
15
16
|
},
|
|
16
17
|
{
|
|
17
18
|
"name": "Current",
|
|
@@ -19,7 +20,7 @@
|
|
|
19
20
|
"unit_of_measurement": "A",
|
|
20
21
|
"state_class": "measurement",
|
|
21
22
|
"device_class": "current",
|
|
22
|
-
"return_type": "
|
|
23
|
+
"return_type": "FP32"
|
|
23
24
|
},
|
|
24
25
|
{
|
|
25
26
|
"name": "Power",
|
|
@@ -27,28 +28,28 @@
|
|
|
27
28
|
"unit_of_measurement": "W",
|
|
28
29
|
"state_class": "measurement",
|
|
29
30
|
"device_class": "power",
|
|
30
|
-
"return_type": "
|
|
31
|
+
"return_type": "FP32"
|
|
31
32
|
},
|
|
32
33
|
{
|
|
33
34
|
"name": "Power_VA",
|
|
34
35
|
"address": 18,
|
|
35
36
|
"unit_of_measurement": "VA",
|
|
36
37
|
"state_class": "measurement",
|
|
37
|
-
"return_type": "
|
|
38
|
+
"return_type": "FP32"
|
|
38
39
|
},
|
|
39
40
|
{
|
|
40
41
|
"name": "Power_VAr",
|
|
41
42
|
"address": 24,
|
|
42
43
|
"unit_of_measurement": "var",
|
|
43
44
|
"state_class": "measurement",
|
|
44
|
-
"return_type": "
|
|
45
|
+
"return_type": "FP32"
|
|
45
46
|
},
|
|
46
47
|
{
|
|
47
48
|
"name": "Power_Factor",
|
|
48
49
|
"address": 30,
|
|
49
50
|
"unit_of_measurement": "%",
|
|
50
51
|
"state_class": "measurement",
|
|
51
|
-
"return_type": "
|
|
52
|
+
"return_type": "FP32"
|
|
52
53
|
}
|
|
53
54
|
]
|
|
54
55
|
|
|
@@ -56,13 +57,14 @@
|
|
|
56
57
|
{
|
|
57
58
|
"base": 70,
|
|
58
59
|
"length": 12,
|
|
60
|
+
"register_type": "input",
|
|
59
61
|
"registers":[
|
|
60
62
|
{
|
|
61
63
|
"name": "Frequency",
|
|
62
64
|
"address": 70,
|
|
63
65
|
"unit_of_measurement": "Hz",
|
|
64
66
|
"state_class": "measurement",
|
|
65
|
-
"return_type": "
|
|
67
|
+
"return_type": "FP32"
|
|
66
68
|
},
|
|
67
69
|
{
|
|
68
70
|
"name": "Import_Energy_kWh_Total",
|
|
@@ -70,7 +72,7 @@
|
|
|
70
72
|
"unit_of_measurement": "kWh",
|
|
71
73
|
"state_class": "total_increasing",
|
|
72
74
|
"device_class": "energy",
|
|
73
|
-
"return_type": "
|
|
75
|
+
"return_type": "FP32"
|
|
74
76
|
},
|
|
75
77
|
{
|
|
76
78
|
"name": "Export_Energy_kWh_Total",
|
|
@@ -78,27 +80,28 @@
|
|
|
78
80
|
"unit_of_measurement": "kWh",
|
|
79
81
|
"state_class": "total_increasing",
|
|
80
82
|
"device_class": "energy",
|
|
81
|
-
"return_type": "
|
|
83
|
+
"return_type": "FP32"
|
|
82
84
|
},
|
|
83
85
|
{
|
|
84
86
|
"name": "Import_Energy_kVArh_Total",
|
|
85
87
|
"address": 76,
|
|
86
88
|
"unit_of_measurement": "kvArh",
|
|
87
89
|
"state_class": "total_increasing",
|
|
88
|
-
"return_type": "
|
|
90
|
+
"return_type": "FP32"
|
|
89
91
|
},
|
|
90
92
|
{
|
|
91
93
|
"name": "Export_Energy_kVArh_Total",
|
|
92
94
|
"address": 78,
|
|
93
95
|
"unit_of_measurement": "kvArh",
|
|
94
96
|
"state_class": "total_increasing",
|
|
95
|
-
"return_type": "
|
|
97
|
+
"return_type": "FP32"
|
|
96
98
|
}
|
|
97
99
|
]
|
|
98
100
|
},
|
|
99
101
|
{
|
|
100
102
|
"base": 342,
|
|
101
103
|
"length": 4,
|
|
104
|
+
"register_type": "input",
|
|
102
105
|
"registers": [
|
|
103
106
|
{
|
|
104
107
|
"name": "kWh_Total",
|
|
@@ -106,7 +109,7 @@
|
|
|
106
109
|
"unit_of_measurement": "kWh",
|
|
107
110
|
"state_class": "total_increasing",
|
|
108
111
|
"device_class": "energy",
|
|
109
|
-
"return_type": "
|
|
112
|
+
"return_type": "FP32"
|
|
110
113
|
},
|
|
111
114
|
{
|
|
112
115
|
"name": "kvarh_Total",
|
|
@@ -114,7 +117,7 @@
|
|
|
114
117
|
"unit_of_measurement": "kWh",
|
|
115
118
|
"state_class": "total_increasing",
|
|
116
119
|
"device_class": "energy",
|
|
117
|
-
"return_type": "
|
|
120
|
+
"return_type": "FP32"
|
|
118
121
|
}
|
|
119
122
|
]
|
|
120
123
|
}
|