dear,
i managed to change the scripts in order to install the witty pi 4 on a raspberry pi 4 where VENUS OS is used.
the RPI4 is the victron energy monitor opensource monitor that i use in my campervan.
could you be so kind to review and improve my changes as i am not a real advanced software (yet) developper.
i believe that a lot of users would appreciate this and be interested to add the witty pi 4 to their installation too.
one issue i still have is the IC2-tools:
error: * opkg_prepare_url_for_install: Couldn't find anything to satisfy 'i2c-tools'.
kind regards
philippe
Have you tried running your modified installation script? Did you get any error message?
I don't have VENUS OS installed so I can't tell if it is correct.
indeed i have tried this: pitty that i cannot upload the scripts here, even after zipping.
so what i have as problem is the installation of i2c-tools and the wiringpi.
we have found this:
git clone https://github.com/uugear/Witty-Pi.git
and we execute: sudo sh ./installWittyPi.sh
================================================================================
| |
| Witty Pi Software Installing Script |
| |
================================================================================
>>> Enable I2C
Seems i2c-bcm2708 module already exists, skip this step.
Seems i2c-dev module already exists, skip this step.
Seems i2c1 parameter already set, skip this step.
Seems i2c_arm parameter already set, skip this step.
File raspi-blacklist.conf does not exist, skip this step.
>>> Install i2c-tools
Seems i2c-tools is installed already, skip this step.
>>> Install wiringPi
Git is ready to go...
Cloning into 'wiringPi'...
fatal: unable to connect to git.drogon.net:
git.drogon.net[0: 188.246.205.22]: errno=Connection refused
git.drogon.net[1: 2a03:9800:10:7b::2]: errno=Network is unreachable
kind regards
philippe
@phe999 you used the wrong repository.
The repository for Witty Pi 4 is https://github.com/uugear/Witty-Pi-4
@admin good morning
yes i know, what i used the first time...
until now i managed to install almost everything with 2 things i am struggling with:
wiringpi:
- cannot succeed installing it as my is armv7l
ic2-tools:
- installed but is it available ? i2cdetect -l gives me
"i2c-1 i2c bcm2835 (i2c@7e804000) i2c adapter"
could we have a joined session, or could you work on a backup of my installation to make the script working please
Philippe
@phe999 you may try finding a suitable version that works in armv7 https://github.com/WiringPi/WiringPi/releases/
The i2cdetect you installed seems have totally different output format. I don't think it can be used. More importantly the i2cget and i2cset commands, they can not be used if they have different output format. In that case you may have to get the correct source code of i2c-tools and compile it on our device.
could we have a joined session, or could you work on a backup of my installation to make the script working please
I want to make it clear that we only officially support Raspberry Pi OS (Raspbian). If you want to use Witty Pi 4 with VENUS OS, given you have the interst and required skills, we would try to help but the help will be rather limited. We can give you some advices, but we will not install VENUS OS and actually work on it.
@phe999 The correct way to check i2cdetect is to run "i2cdetect -y 1", instead of "i2cdetect -l".
@admin I know, see to my previous msg where i show you the result.
thanks
@admin thanks i completely understand. your tip to try to build I2C tools is already helping me, and i will try to complete this. Also for the wiringpi.
once i succeed i will come back to it.