secubox-openwrt/package/secubox/luci-app-mqtt-bridge/root/etc/config/mqtt-bridge
CyberMind-FR 31a87c5d7a feat(structure): reorganize luci-app packages into package/secubox/ + appstore migration
Major structural reorganization and feature additions:

## Folder Reorganization
- Move 17 luci-app-* packages to package/secubox/ (except luci-app-secubox core hub)
- Update all tooling to support new structure:
  - secubox-tools/quick-deploy.sh: search both locations
  - secubox-tools/validate-modules.sh: validate both directories
  - secubox-tools/fix-permissions.sh: fix permissions in both locations
  - .github/workflows/test-validate.yml: build from both paths
- Update README.md links to new package/secubox/ paths

## AppStore Migration (Complete)
- Add catalog entries for all remaining luci-app packages:
  - network-tweaks.json: Network optimization tools
  - secubox-bonus.json: Documentation & demos hub
- Total: 24 apps in AppStore catalog (22 existing + 2 new)
- New category: 'documentation' for docs/demos/tutorials

## VHost Manager v2.0 Enhancements
- Add profile activation system for Internal Services and Redirects
- Implement createVHost() API wrapper for template-based deployment
- Fix Virtual Hosts view rendering with proper LuCI patterns
- Fix RPCD backend shell script errors (remove invalid local declarations)
- Extend backend validation for nginx return directives (redirect support)
- Add section_id parameter for named VHost profiles
- Add Remove button to Redirects page for feature parity
- Update README to v2.0 with comprehensive feature documentation

## Network Tweaks Dashboard
- Close button added to component details modal

Files changed: 340+ (336 renames with preserved git history)
Packages affected: 19 luci-app, 2 secubox-app, 1 theme, 4 tools

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-01 14:59:38 +01:00

112 lines
2.6 KiB
Plaintext

config broker 'broker'
option host '127.0.0.1'
option port '1883'
option username 'secubox'
option password 'secubox'
option client_id 'mqtt-bridge-01'
config bridge 'bridge'
option base_topic 'secubox/+/state'
option retention '7'
option auto_discovery '1'
option poll_interval '30'
config monitor 'monitor'
option interval '10'
option usb_scan_enabled '1'
option auto_configure '0'
config adapter 'zigbee_usb2134'
option enabled '1'
option type 'zigbee'
option preset 'zigbee_usb2134'
option title 'SMSC USB2134B'
option vendor '0424'
option product '2134'
option port ''
option baud '115200'
option channel '11'
option pan_id '0x1A62'
option permit_join '0'
option detected '0'
option health 'unknown'
option notes 'Bus 003 Device 002: ID 0424:2134 SMSC USB2134B'
# Z-Wave adapter example (disabled by default)
config adapter 'zwave_aeotec'
option enabled '0'
option type 'zwave'
option title 'Aeotec Z-Stick Gen5'
option vendor '0658'
option product '0200'
option port '/dev/ttyACM0'
option baud '115200'
option detected '0'
option health 'unknown'
# ModBus RTU adapter example (disabled by default)
config adapter 'modbus_ftdi'
option enabled '0'
option type 'modbus'
option title 'FTDI ModBus Adapter'
option vendor '0403'
option product '6001'
option port '/dev/ttyUSB1'
option baud '9600'
option parity 'N'
option databits '8'
option stopbits '1'
option slave_id '1'
option detected '0'
option health 'unknown'
# Generic USB Serial adapter example (disabled by default)
config adapter 'serial_generic'
option enabled '0'
option type 'serial'
option title 'Generic Serial Adapter'
option port '/dev/ttyUSB2'
option baud '9600'
option databits '8'
option parity 'N'
option stopbits '1'
option detected '0'
option health 'unknown'
config template 'zigbee_default'
option device_type 'zigbee'
option topic 'secubox/zigbee/{id}/state'
option qos '1'
option retain '1'
config template 'modbus_default'
option device_type 'modbus'
option topic 'secubox/modbus/{id}/state'
option qos '0'
option retain '0'
config rule 'zigbee_disconnect'
option type 'adapter_status'
option adapter 'zigbee_usb2134'
option when 'missing'
option action 'alert'
option message 'Zigbee USB bridge disconnected'
option topic 'alerts/mqtt/zigbee'
config rule 'zigbee_online'
option type 'adapter_status'
option adapter 'zigbee_usb2134'
option when 'online'
option action 'alert'
option message 'Zigbee USB bridge is online again'
option topic 'alerts/mqtt/zigbee'
config stats 'stats'
option clients '0'
option mps '0'
option retained '0'
option uptime '0s'
config payloads 'payloads'
# push payload sections dynamically