arek125 / remote-GPIO-control-server

Control GPIO ports via Android client or www app
MIT License
6 stars 3 forks source link

RGC is not working on Pi3B+ #12

Open kamikaze3891 opened 11 months ago

kamikaze3891 commented 11 months ago

I have installed the tool regarding to the setup instructions but some commands are not working on the bullseye release.

After finishing the setup the console is showing the following error.

pi@heizung1:~/rgc $ sudo systemctl status rgc.service ● rgc.service - Remote GPIO Control Server Loaded: loaded (/lib/systemd/system/rgc.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Wed 2023-10-18 21:17:05 CEST; 2s ago Process: 6651 ExecStart=/usr/bin/python rgc-server.py (code=exited, status=1/FAILURE) Main PID: 6651 (code=exited, status=1/FAILURE) CPU: 121ms

kamikaze3891 commented 11 months ago

rgc-server.zip

I have reworked the code of the rgc-server.py so that it should work with Python 3. There will be some errors in it but the function is basically given.

The RF System has some erros but i will try to fix this asap.

I hope to be able to help a little bit to keep this project alive.

kamikaze3891 commented 11 months ago

rgc-server.zip

So here is the second version of the rgc-server.py I changed. The GPIO system and the 433Mhz transmitter and receiver work now again. Also the DS18B20 sensors are usable again and are recognized by the system again.