Page 1 of 1
PiTest missing variables
Posted: 19 Jan 2022, 09:46
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.
Re: PiTest missing variables
Posted: 19 Jan 2022, 10:00
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
Re: PiTest missing variables
Posted: 19 Jan 2022, 10:16
by Jfor
My image version is:
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.
Re: PiTest missing variables
Posted: 19 Jan 2022, 10:44
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
Re: PiTest missing variables
Posted: 27 Jan 2022, 08:48
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.
Re: PiTest missing variables
Posted: 27 Jan 2022, 10:54
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