gpstar81 / GPStar-proton-pack

GPStar Proton Pack and Neutrona Wand
https://www.gpstartechnologies.com
GNU General Public License v3.0
38 stars 8 forks source link

[Feature]: Stock wand power triggering fine-tuning #364

Open DustinGrau opened 3 months ago

DustinGrau commented 3 months ago

What would you like to add in terms of software changes?

We should offer an ability to fine-tune the power values returned by a stock wand so the user can adjust to their needs. This is more important for those who may "soft mod" their wand, replacing some stock components but not upgrading to a full GPStar controller which offers serial communications. This would let users get a power reading from their wand while performing an action, and use that to set a threshold for an event: namely when to consider the wand as powered on (and thus turns on the pack), and when to consider a proton stream is being fired.

Would this request involve any specific hardware?

Only requirement is the Frutto Current Sensor with a stock Haslab wand

Homework Completed

DustinGrau commented 3 months ago

First working on the ability to send/display the latest power reading from the wand on the web UI as this will be the only means of making these adjustments.

DustinGrau commented 3 months ago

Data can be sent and displayed on the web UI now. Just need to work on a way to send back some custom values and use those as the thresholds for "power on" and state-change triggers.