How to switch GPIO pins via Android?

Hi all,

how can i switch a GPIO pin via the Android app?

I see how to configure the remote hardware module, all fine and done. But where is the switch for setting 0 or 1?

The gpio channel is activated and i can successfully switch a LED (on a RAK4631) over the mesh via CLI, which proves that the configuration on both sides seem to be fine at least…

https://meshtastic.org/docs/configuration/module/remote-hardware/ does say

While configuring this module may be available in clients, setting and reading GPIO’s is currently only possible using the Meshtastic Python CLI

Oh, i missed to notice that info…
Thanks.

that’s only minimally useful, then. sort of like Paxcounter. it’s in there, but there’s no way to read its output from a client.

The way meshtastic is developed, it mainly separate developers working on what interests them.

The GPIO interface was probably dreamt up as a way to interface a script or controller on a computer with remote hardware. As such the CLI interface is good enough for automation. Wasnt a need for ‘manual’ control…

Similar with the paxcounter, probably setup so can connect it up to some sort of logging database. Other than perhaps a quick sanity check to see that it working, what would the data in the client be used for?

Ummm… perhaps using Paxcounter to detect the number of devices near a node? If you don’t see any utility in that already, i don’t know what to tell you…

The Apple apps have a log for Paxcounter (picture from someone on Discord):

Wasn’t doubting the utility paxcounter in general. Just that seems users would have their own dedicated app or process for working with the data.

But that graph does seem nice, bonus feature for the iOS app :slight_smile: BEtter than just displaying the latest value in the nodelist for example.

oh, that must be new. I stopped using the iOS client a while ago. Getting output from Paxcounter is a big part of the functionality I’m working toward.