Мысли о WB и HA

Добрый день всем. В недавнее время появилась необходимость в компактном Linux ПЛК на DIN рейку с чистым Linux на борту. К сожалению на рынке присутствует только Jethome D1, но данное устройство имеет 2 недостатка:

  1. Отсутствует охлаждение ЦП, при выполнении сложных задач ПЛК виснет от перегрева. Радиатор не установить, т.к. ЦП находится между платой и корпусом почти вплотную.
  2. Замороченный механизм заливки, к сожалению через USB не получилось залить образ по инструкции.

В то же время данный ПЛК имеет такие плюсы как:

  1. Компактный корпус на DIN рейку
  2. Широкий диапазон питания
  3. Встроенная периферия - реле, входы, 2 RS485, Wifi, bluetooth, zigbee!!!, 1-wire
  4. Linux на борту, ведется создание сборки HassOS
  5. 1Гб ОЗУ и 32Гб ПЗУ (не на SD карте, а распаяно на плате)
  6. Дополнение в HA для управления периферией (реле, входы, светодиод, кнопка)

Указанные выше минусы не позволяют использовать данный ПЛК в процессах автоматизации, как домашней, так и промышленной, ПЛК WB6 тоже слабоват под связку в теме, но WB7 это то что надо. Поэтому хотелось бы сформировать следующие ТТ для WB7:

  1. Возможность установки чистого Linux, разработка HassOS для установки на WB7
  2. Разработка интеграции для HA для доступа к устанавливаемой периферии и проброс напрямую в HA

Что думаете на данную тему?

На контроллере и так чистый Linux Debian 9.13 с некоторыми патчами в ядро. Причем патчи относятся именно (и только) к периферии.
Все ПО разработки wirenboard - добавляется пакетами и их список невелик:

apt search wb-
Sorting... Done
Full Text Search... Done
libopencore-amrwb-dev/oldoldstable 0.1.3-2.1+b2 armhf
  Adaptive Multi-Rate - Wideband speech codec - development files

python-wb-common/testing,now 1.4.0 all [installed,automatic]
  Wiren Board Python common library and helpers

python-wb-io/testing,now 1.2.3 armhf [installed]
  A module to control WB IO channels.

python-wb-io-dbgsym/testing 1.2.2 armhf
  Debug symbols for python-wb-io

python-wb-mcu-fw-updater/testing 1.1.1 all
  Wiren Board modbus devices firmware update and modbus bindings python libraries (python 2)

python3-wb-common/testing 1.4.0 all
  Wiren Board Python common library and helpers

python3-wb-diag-collect/testing,now 1.2.0 all [installed,automatic]
  python3 library for one-click diagnostic data

python3-wb-mcu-fw-updater/testing,now 1.1.1 all [installed,automatic]
  Wiren Board modbus devices firmware update and modbus bindings python libraries (python 3)

python3-wb-mqtt-metrics/testing,now 0.1.1 all [installed,automatic]
  python3 library for sending metrics to mqtt-channels

python3-wb-update-manager/testing,now 1.2.5 all [installed,automatic]
  Wirenboard software updates and release management tool - python3 library

wb-configs/testing,now 2.3.2 all [installed,automatic]
  Default common config files for Wiren Board

wb-configs-stretch/testing,now 2.3.2 all [installed,automatic]
  Default stretch-specific config files for Wiren Board

wb-configs-wheezy/testing 2.0~~transitional all
  Default wheezy-specific config files for Wiren Board

wb-daemon-watchdogs/testing 1.1 all
  Wiren Board services watchdog scripts

wb-demo-kit-configs/testing 1.3.2 all
  Default common config files for Wiren Board demo kit

wb-diag-collect/testing,now 1.2.0 all [installed,automatic]
  one-click diagnostic data collector for Wiren Board,

wb-dt-overlays/testing,now 1.4.0 all [installed,automatic]
  Device tree overlays for Wiren Board devices

wb-essential/testing,now 1.8.0 all [installed]
  Wirenboard essential packages

wb-homa-adc/testing 2.4.2 armhf
  transitional dummy package

wb-homa-adc-dbgsym/testing 1.14.3 armhf
  Debug symbols for wb-homa-adc

wb-homa-gpio/testing 2.8.3 armhf
  transitional dummy package

wb-homa-gpio-dbgsym/testing 1.19 armhf
  Debug symbols for wb-homa-gpio

wb-homa-ism-radio/testing 1.17.3 all
  MQTT driver for WB HomA for RFM69 ISM radio

wb-homa-modbus/testing 2.15.5 all
  transitional dummy package

wb-homa-ninja-bridge/testing 1.9.1 armhf
  Wiren Board Smart Home MQTT bridge to Ninja Blocks cloud platform

wb-homa-ninja-bridge-dbgsym/testing 1.9.1 armhf
  Debug symbols for wb-homa-ninja-bridge

wb-homa-rfsniffer/testing 1.0.9 armhf
  Wiren Board RFM69 driver

wb-homa-rfsniffer-dbgsym/testing 1.0.8 armhf
  Debug symbols for wb-homa-rfsniffer

wb-homa-w1/testing 2.2.1 all
  transitional dummy package

wb-homa-w1-dbgsym/testing 1.10.1 armhf
  Debug symbols for wb-homa-w1

wb-homa-zway/testing 1.0.3+wb2 all
  transitional dummy package

wb-hwconf-manager/testing,now 1.47.0 all [installed,automatic]
  Provides infrastructure for hardware re-configuration via Device Tree overlays

wb-knxd-config/testing,now 1.1.1 all [installed,automatic]
  knxd configurator for Wiren Board

wb-mb-explorer/testing 1.2.4 all
  wb-mb-explorer is a tool for diagnostics and configuring Modbus devices by Wirenboard

wb-mcu-fw-flasher/now 1.0.8~exp~bugfix+wb7+updater+reveive+quickfix~4~gd6852d5 armhf [installed,local]
  Firmware update tool for Wiren Board Modbus devices (WB-M*)

wb-mcu-fw-flasher-dbgsym/testing 1.0.7 armhf
  Debug symbols for wb-mcu-fw-flasher

wb-mcu-fw-updater/testing,now 1.1.1 all [installed,automatic]
  Wiren Board modbus devices firmware update tool (python 3)

wb-mqtt-adc/testing,now 2.4.2 armhf [installed,automatic]
  Wiren Board Smart Home MQTT ADC driver compatible with HomA conventions

wb-mqtt-adc-dbgsym/testing 2.4.2 armhf
  Debug symbols for wb-mqtt-adc

wb-mqtt-apcsnmp/testing 0.2 armhf
  APC UPS SNMP support

wb-mqtt-bmp085/testing 1.2 all
  MQTT driver for BMP085 and BMP180 pressure sensors

wb-mqtt-co2mon/testing 1.1.1 armhf
  WB MQTT driver for MasterKit MT8057 CO2 sensor

wb-mqtt-co2mon-dbgsym/testing 1.1.1 armhf
  Debug symbols for wb-mqtt-co2mon

wb-mqtt-confed/testing,now 1.8.0 armhf [installed]
  Wiren Board Configuration Editor Backend

wb-mqtt-dac/testing,now 1.1.4 all [installed,automatic]
  wb-rules-based IIO DAC driver for WB MQTT

wb-mqtt-db/testing,now 2.5.3 armhf [installed,automatic]
  Wiren Board database logger

wb-mqtt-db-cli/testing,now 1.2.1 all [installed,automatic]
  CLI for wb-mqtt-db

wb-mqtt-db-dbgsym/testing 2.5.3 armhf
  Debug symbols for wb-mqtt-db

wb-mqtt-gpio/testing,now 2.8.3 armhf [installed,automatic]
  Wiren Board Smart Home MQTT generic sysfs GPIO driver compatible with HomA conventions

wb-mqtt-gpio-dbgsym/testing 2.8.3 armhf
  Debug symbols for wb-mqtt-gpio

wb-mqtt-homeui/testing,now 2.32.0 all [installed,automatic]
  Wiren Board Web UI web interface

wb-mqtt-homeui-build-deps/testing 1.6.5 all
  build-dependencies for wb-mqtt-homeui

wb-mqtt-iec104/testing 1.0.1 armhf
  Wiren Board MQTT to IEC 60870-5-104 gateway

wb-mqtt-iec104-dbgsym/testing 1.0.1 armhf
  Debug symbols for wb-mqtt-iec104

wb-mqtt-knx/testing,now 1.4.2 armhf [installed,automatic]
  Wiren Board MQTT to KNX gateway

wb-mqtt-knx-dbgsym/testing 1.4.2 armhf
  Debug symbols for wb-mqtt-knx

wb-mqtt-lirc/testing 1.1.4 armhf
  WB LIRC driver for infrared remote control

wb-mqtt-lirc-dbgsym/testing 1.1.4 armhf
  Debug symbols for wb-mqtt-lirc

wb-mqtt-logs/testing,now 1.2.0 armhf [installed,automatic]
  Wiren Board journald to MQTT gateway

wb-mqtt-logs-dbgsym/testing 1.2.0 armhf
  Debug symbols for wb-mqtt-logs

wb-mqtt-mbgate/testing,now 1.1.2 armhf [installed,automatic]
  Wiren Board MQTT to Modbus gateway

wb-mqtt-mbgate-dbgsym/testing 1.1.2 armhf
  Debug symbols for wb-mqtt-mbgate

wb-mqtt-metrics/testing,now 0.1.1 all [installed,automatic]
  Wirenboard tool for sending metrics to mqtt-channels

wb-mqtt-mhz19/testing 1.0 all
  MQTT driver for mhz19

wb-mqtt-opcua/testing,now 1.0.4 armhf [installed,automatic]
  Wiren Board MQTT to OPC UA gateway

wb-mqtt-opcua-dbgsym/testing 1.0.4 armhf
  Debug symbols for wb-mqtt-opcua

wb-mqtt-serial/testing,now 2.53.0 armhf [installed,automatic]
  Wiren Board Smart Home MQTT serial protocol driver

wb-mqtt-serial-dbgsym/testing 2.53.0 armhf
  Debug symbols for wb-mqtt-serial

wb-mqtt-sht1x/testing 1.0 all
  MQTT driver for SHT1x sensors

wb-mqtt-smartbus/testing 1.2 armhf
  Smart-Bus support

wb-mqtt-smartweb/testing 1.1.1 armhf
  Wiren Board MQTT SmartWeb driver.

wb-mqtt-smartweb-dbgsym/testing 1.1.1 armhf
  Debug symbols for wb-mqtt-smartweb

wb-mqtt-snmp/testing 1.2.0 armhf
  Wiren Board MQTT to SNMP gateway

wb-mqtt-spl-meter/testing 1.1.1 armhf
  WB MQTT driver for sound level meter using microphone

wb-mqtt-spl-meter-dbgsym/testing 1.1.1 armhf
  Debug symbols for wb-mqtt-spl-meter

wb-mqtt-timestamper/testing 1.10.1 armhf
  mqtt timestamper for mqtt-messages

wb-mqtt-timestamper-dbgsym/testing 1.10.1 armhf
  Debug symbols for wb-mqtt-timestamper

wb-mqtt-w1/testing,now 2.2.1 armhf [installed,automatic]
  Wiren Board Smart Home MQTT generic 1-Wire (w1) driver compatible with HomA conventions

wb-mqtt-w1-dbgsym/testing 2.2.1 armhf
  Debug symbols for wb-mqtt-w1

wb-mqtt-zabbix/testing 0.2 armhf
  WB MQTT Zabbix Bridge

wb-mqtt-zway/testing 1.0.3+wb2 armhf
  Wiren Board MQTT bridge for Z-Way stack compatible with WB conventions

wb-mqtt-zway-dbgsym/testing 1.0.3+wb2 armhf
  Debug symbols for wb-mqtt-zway

wb-release-info/testing,now 1.0-testing~wb7+stretch~20220223170003 all [installed,automatic]
  release information package for Wirenboard

wb-rules/testing,now 2.11.1 armhf [installed,automatic]
  Wiren Board Rule Engine

wb-rules-dbgsym/testing 2.11.1 armhf
  Debug symbols for wb-rules

wb-rules-system/testing,now 1.8.0 all [installed,automatic]
  Default system rules for Wiren Board

wb-suite/testing,now 1.8.0 all [installed]
  Wirenboard vendor software set

wb-test-suite/testing,now 1.24 all [installed]
  Wiren Board functional testing suite

wb-test-suite-deps/testing,now 1.8.0 all [installed,automatic]
  Wiren Board test-suite dependencies

wb-update-manager/testing,now 1.2.5 all [installed,automatic]
  Wirenboard software updates and release management tool

wb-utils/testing,now 3.4.1 all [installed,automatic]
  Wiren Board command-line utils

wb-zigbee2mqtt/testing 1.0.0 all
  zigbee2mqtt to Wiren Board MQTT Conventions bridge

Мы приветствуем разработку своих образов, с любым набором ПО, блекджеком и сервисами.
Вот тут инструкция: Сборка образов прошивки — Wiren Board

Так оно (интеграция) и сейчас работает. Если напишете, например, что-то удобное, например автогенератор конфигов - только за.