Skip to content

dashboard: Remove dependency on gpio - #574

Merged
sonnyp merged 3 commits into
masterfrom
remove-node-red-gpio
Apr 17, 2025
Merged

sonnyp merged 3 commits into
masterfrom
remove-node-red-gpio

Conversation

@sonnyp

@sonnyp sonnyp commented Apr 16, 2025 •

Copy link
Copy Markdown
Collaborator

Fixes #322

planktoscopehat

This can be safely removed as documented in #322 (comment)

It also fixes this nodered log spamming every 5s

Apr 17 11:22:22 pkscope-secret-authority-46635 Node-RED[124382]: 17 Apr 11:22:22 - [error] [rpi-gpio out:Fan] nrgpio python command not running

adafruithat

The flows.json file was left untouched.


Besides the removed package, package-lock.json was updated by npm update and staged to remove several unused dependencies.

I used #573 to perform this update.

@sonnyp

sonnyp commented Apr 16, 2025 •

Copy link
Copy Markdown
Collaborator Author

For context, @ethanjli and I agreed that Raspberry Pi 5 is not supported for adafruithat

Since both adafruithat and planktoscopehat share the package.json - I went ahead and removed the nodes in the flows for adafruithat as wel however as I understand they might be needed there? @ethanjli @chevreuill3000 can you confirm?

If that's the case, we could make this depend on #573 which separates package.json for both platforms.

@ethanjli

ethanjli commented Apr 16, 2025 •

Copy link
Copy Markdown
Contributor

For adafruithat, at least some of the functionality deleted from the Node-RED dashboard will need to be reimplemented in the Python backend. For example, adafruithat's LED-toggling functionality is currently implemented completely in the Node-RED flow, so deleting that node without replacing it elsewhere would break adafruithat hardware support. I think you may have also accidentally deleted the GUI element for toggling the LED in adafruithat - that would be a regression.

I'm not sure about what the pump/focus "enable" nodes do - I'll need to check that by testing.

@sonnyp

sonnyp commented Apr 16, 2025 •

Copy link
Copy Markdown
Collaborator Author

We decided in the 2025-04-16 software meeting to merged #573 first and leave adafruithat dashboard as is.

@sonnyp
sonnyp marked this pull request as ready for review April 17, 2025 11:49
@sonnyp
sonnyp merged commit 66191c5 into master Apr 17, 2025
@sonnyp
sonnyp deleted the remove-node-red-gpio branch April 17, 2025 12:03
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.

os/platform: Add software support for Raspberry Pi 5

2 participants