Skip to content

luci-app-photonicat: add support for Ariaboard Photonicat 2#8483

Open
th3cavalry wants to merge 1 commit intoopenwrt:masterfrom
th3cavalry:add-luci-app-photonicat
Open

luci-app-photonicat: add support for Ariaboard Photonicat 2#8483
th3cavalry wants to merge 1 commit intoopenwrt:masterfrom
th3cavalry:add-luci-app-photonicat

Conversation

@th3cavalry
Copy link
Copy Markdown

@th3cavalry th3cavalry commented Mar 29, 2026

Add support for the Ariaboard Photonicat 2 system dashboard and fan control.

This application provides:

  • A real-time status page using JavaScript/ucode
  • Smart fan control daemon (photonicat-fan) with auto/manual modes
  • Hardware monitoring integration with pcat2-mcu ubus API

NOTE: This package depends on pcat2-mcu, which is part of the core device support PR: openwrt/openwrt#22246.

@github-actions

This comment has been minimized.

LUCI_PKGARCH:=all

PKG_LICENSE:=GPL-2.0
PKG_MAINTAINER:=Brandon Cleary <cleary.brandon@gmail.com>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use this for the commit SoB and commit author.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The init and sbin should go in the other repo.

'require poll';
'require dom';

var callGetStatus = rpc.declare({
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use ES2016 - const and let throughout.

@th3cavalry th3cavalry force-pushed the add-luci-app-photonicat branch 2 times, most recently from 8f55ae4 to e933e13 Compare March 29, 2026 23:22
Address review feedback from systemcrash:
- Modernize JavaScript to ES2016 (use const/let instead of var).
- Remove hardware-specific fan control scripts (moved to core repo).

Signed-off-by: Brandon Cleary <cleary.brandon@gmail.com>
@th3cavalry th3cavalry force-pushed the add-luci-app-photonicat branch from e933e13 to 3950b54 Compare April 2, 2026 01:28
@th3cavalry
Copy link
Copy Markdown
Author

Thank you for the review! I have addressed your suggestions:

The LuCI PR is now focused strictly on the web interface components.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants