Skip to content

Commit

Permalink
release 0.4.16
Browse files Browse the repository at this point in the history
  • Loading branch information
SpieringsAE committed Apr 6, 2023
1 parent 7dbac76 commit 6117ff3
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
2 changes: 2 additions & 0 deletions etc/controller_update/controller_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ if [[ $(tr -d '\0' < ~/.bashrc) != *"go-update-rollback"* ]]; then
echo "alias go-update-rollback=\"python3 /etc/controller_update/controller_update_rollback.py\"" >> ~/.bashrc
fi

nmcli con mod GO-celular connection.autoconnect-retries 0

cd /usr/node-red-gocontroll/
npm list | grep uiojs || npm install uiojs --no-shrinkwrap

Expand Down
4 changes: 2 additions & 2 deletions etc/controller_update/current-release.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
0.4.15
repo ver V1.11.36
0.4.16
repo ver V1.11.37
for changelog see version.txt or the github page for the release.
16 changes: 5 additions & 11 deletions installer/gocontroll-first-install
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,9 @@ mkdir GOcontroll

cd GOcontroll

if ! [ -x "$(command -v git)" ]; then
echo -e "${YELLOW}-Git is not yet installed so let's install first ${NORMAL}"
apt -y install git
fi

echo -e "${YELLOW}-Update debian sources ${NORMAL}"
apt update -y > /dev/null

echo -e "${YELLOW}-Download files for GOcontroll Moduline ${NORMAL}"
# git clone https://github.com/Rick-GO/GOcontroll-Moduline.git --branch $1 > /dev/null
curl -L -k https://github.com/GOcontroll/GOcontroll-Moduline/tarball/$1 -o repo.tgz
curl -L -k -s https://github.com/GOcontroll/GOcontroll-Moduline/tarball/$1 -o repo.tgz
tar -xf repo.tgz
rm repo.tgz

Expand Down Expand Up @@ -128,7 +120,8 @@ if [[ $(tr -d '\0' < ~/.bashrc) != *"go-test-leds"* ]]; then
echo "alias go-test-leds=\"python3 /usr/moduline/python/testLeds.py\"" >> ~/.bashrc
fi


echo -e "${YELLOW}-Update debian sources ${NORMAL}"
apt update -y > /dev/null

echo -e "${YELLOW}-Make resolv.conf immutable ${NORMAL}"
chattr +i /etc/resolv.conf
Expand Down Expand Up @@ -182,7 +175,7 @@ nmcli con add type wifi con-name "GOcontroll-AP" ifname wlan0 ssid GOcontroll-AP

if [ ! -f "/etc/NetworkManager/system-connections/GO-celular.nmconnection" ]
then
nmcli con add type gsm ifname 'cdc-wdm0' con-name 'GO-celular' apn 'super' connection.autoconnect yes gsm.pin 0000
nmcli con add type gsm ifname 'cdc-wdm0' con-name 'GO-celular' apn 'super' connection.autoconnect yes gsm.pin 0000 connection.autoconnect-retries 0
fi

echo -e "${YELLOW}-Gathering module configuration and updating outdated modules ${NORMAL}"
Expand All @@ -206,6 +199,7 @@ case $hw in
echo PRETTY_HOSTNAME="GOcontroll-Moduline Screen $mod" > /etc/machine-info
sed -i "s/controllerType/2/g" /lib/systemd/system/go-auto-shutdown.service
sed -i "s/WWAN_SETTINGS=True/WWAN_SETTINGS=False/g" /usr/moduline/python/rfcommServerConfig.py
nmcli con delete GO-celular
esac


Expand Down
Binary file modified usr/moduline/bin/kl15_monitor
Binary file not shown.
3 changes: 1 addition & 2 deletions usr/moduline/nodejs/testcan.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ function SendCan_DataOut(){

function test_failed(number) {
set_led(number, "red")
finished_tests ++;
failed_tests ++;
if (finished_tests>= canBusCount) {
console.log("FAIL: some can bus(ses) did not pass the test.")
console.log(error_log);
Expand All @@ -205,7 +205,6 @@ function test_succeeded(number) {
}
}
console.log("PASS: All canbusses are functioning")
console.log(error_log);
if (i2c_bus_state){
setTimeout(end_test, 5000, 0);
} else {
Expand Down
9 changes: 7 additions & 2 deletions version.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
V1.11.36
V1.11.37

########
24-3-2023 V1.11.36
6-4-2023 V1.11.37 Release 0.4.16
kl15_monitor now no longer overflows a buffer at high voltages causing it to shut down above 25.5V~
testcan.js fixed a typo
first-install fixed the apt update location and fixed the wwan connection with connection.autoconnect-retries 0

24-3-2023 V1.11.36 Release 0.4.15
first-install and controller_update now make sure WWAN_SETTINGS=False in rfcommServerConfig.py

24-3-2023 V1.11.35
Expand Down

0 comments on commit 6117ff3

Please sign in to comment.