Page 1 of 1

simple command issues error

Posted: 20 Nov 2023, 23:14
by uxhamby
Hi,

I have a fairly vanilla RPiEasy system (RPIEasy 2.3.273) running on an older RPi.
Type: RPI-Linux-apt (supported)
OS: linux 6.1.0-rpi4-rpi-v6
OS full name: Raspbian GNU/Linux 12 (bookworm)
Hardware: Pi 1 Model B 512MB
I have set gpio2 and gpio3 to be outputs, via the hardware page and I have rebooted the RPi.

when I issue the simple command 'gpio.2.1' (or gpio,3.1), as I am used to doing on ESPeasy systems, I get error as follows:
False
16:00:19 : Webserver starting at http://192.168.55.151:80
16:01:12 : CMD: gpio,2,1
16:01:12 : Unknown command: gpio,2,1
17:01:15 : CMD: gpio,2,1
17:01:15 : Unknown command: gpio,2,1
Is there some documentation somewhere I should be referring to, to figure out what I am doing wrong?

Thoughts or advice welcome.

Cheers,

Brian H.

Re: simple command issues error

Posted: 20 Nov 2023, 23:24
by Ath
Have you added and enabled at least one Switch task (P001)? As one of the first comment lines in that source file states that to be able to use the gpio commands, an instance of the plugin has to be available...

Re: simple command issues error

Posted: 20 Nov 2023, 23:52
by uxhamby
I was unaware of that requirement, I will give it a try, Thanks,

Brian H.

Re: simple command issues error

Posted: 21 Nov 2023, 01:35
by uxhamby
Thanks Ath, your suggestion has solved my problem.

Brian H.