simple command issues error

Moderators: grovkillen, Stuntteam, TD-er, enesbcs

Post Reply
Message
Author
User avatar
uxhamby
Normal user
Posts: 132
Joined: 29 Dec 2016, 18:13
Location: Toronto Canada

simple command issues error

#1 Post by uxhamby » 20 Nov 2023, 23:14

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.

User avatar
Ath
Normal user
Posts: 3520
Joined: 10 Jun 2018, 12:06
Location: NL

Re: simple command issues error

#2 Post by Ath » 20 Nov 2023, 23:24

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...
/Ton (PayPal.me)

User avatar
uxhamby
Normal user
Posts: 132
Joined: 29 Dec 2016, 18:13
Location: Toronto Canada

Re: simple command issues error

#3 Post by uxhamby » 20 Nov 2023, 23:52

I was unaware of that requirement, I will give it a try, Thanks,

Brian H.

User avatar
uxhamby
Normal user
Posts: 132
Joined: 29 Dec 2016, 18:13
Location: Toronto Canada

Re: simple command issues error

#4 Post by uxhamby » 21 Nov 2023, 01:35

Thanks Ath, your suggestion has solved my problem.

Brian H.

Post Reply

Who is online

Users browsing this forum: No registered users and 33 guests