PiTest missing variables

Topics about the Software of Revolution Pi
Post Reply
Jfor
Posts: 2
Joined: 19 Jan 2022, 09:36

PiTest missing variables

Post by Jfor »

Hello.
I have a RevPI Connect running firmware version V1.0. I'm trying to control the output relay, but i cannot read or write any variables using the piTest command.
My RevPI gives me the error:

Code: Select all

Cannot find variable 'RevPiStatus'
whenever i try to read or write to the status byte.

Any help with this issue would be appreciated. Thank you.
User avatar
nicolaiB
KUNBUS
Posts: 931
Joined: 21 Jun 2018, 10:33
Location: Berlin
Contact:

Re: PiTest missing variables

Post by nicolaiB »

Dear Jfor,

please answer the following questions:
  • Which image version do you use (cat /etc/repvi/image-release)?
  • What is the piControl status (piTest -d)?
  • How does your pictory config look like (esp. configured modules and the IO table of the connect)?
Nicolai
Jfor
Posts: 2
Joined: 19 Jan 2022, 09:36

Re: PiTest missing variables

Post by Jfor »

My image version is:

Code: Select all

 2020-06-25-revpi-stretch
Control status is:

Code: Select all

Address: 0 module type: 105 (0x69) RevPi Connect V1.0
Module is present
     input offset: 0 length: 6
    output offset: 6 length: 5
I can't access my pictory for some reason, Apache gives me a 403 error when i attempt to connect to my revpi's address.
Last edited by Jfor on 19 Jan 2022, 10:19, edited 1 time in total.
User avatar
nicolaiB
KUNBUS
Posts: 931
Joined: 21 Jun 2018, 10:33
Location: Berlin
Contact:

Re: PiTest missing variables

Post by nicolaiB »

Hi,

I would highly recommend to upgrade to our newer Buster image. The necessary steps can be found in our tutorial here: https://revolutionpi.com/tutorials/imag ... d-stretch/

Without any pictory configuration the kernel driver doesn't know about any variables which would explain our error message.

Nicolai
Jfor
Posts: 2
Joined: 19 Jan 2022, 09:36

Re: PiTest missing variables

Post by Jfor »

nicolaiB wrote: 19 Jan 2022, 10:44 Hi,

I would highly recommend to upgrade to our newer Buster image. The necessary steps can be found in our tutorial here: https://revolutionpi.com/tutorials/imag ... d-stretch/

Without any pictory configuration the kernel driver doesn't know about any variables which would explain our error message.

Nicolai
Is there any chance the relay could be controlled through GPIO? My revpi is only running NodeRED, so I'm a little reluctant on switching over to other software.
User avatar
nicolaiB
KUNBUS
Posts: 931
Joined: 21 Jun 2018, 10:33
Location: Berlin
Contact:

Re: PiTest missing variables

Post by nicolaiB »

Hi Jfor,

no, it is not supported to control the relay via GPIO. Without a loaded piControl module this might be possible, but it is supported by us.

Nicolai
Post Reply