Hi,
Otherwise SWUpdate works fine, but the message section shows an error message:
Software Update started !
ERROR : Configuration file /etc/fw_env.config wrong or corrupted
Installation in progress
Do you have to worry about that?
Br,
Vesa
Hi,
Otherwise SWUpdate works fine, but the message section shows an error message:
Software Update started !
ERROR : Configuration file /etc/fw_env.config wrong or corrupted
Installation in progress
Do you have to worry about that?
Br,
Vesa
@martin_triska said in After upgrading the M503, circuit 1 completely disappeared.:
lsmod | grep unipi
Hi @martin_triska,
Thank you for your answer! I got the following answer:
root@residevice:~# lsmod | grep unipi
unipi 94208 0
industrialio 73728 1 unipi
@tomas_hora said in After upgrading the M503, circuit 1 completely disappeared.:
dmesg | grep UNIPISPI
The device is hundreds of miles away, so I can't watch the LEDs.
dmesg | grep UNIPISPI doesn't output anything.
/Vesa
Hi @tomas_hora
root@residevice:/opt/unipi/tools# ./fwspi -i 0
Boardset: 0 B-1000 (v1.0)
Baseboard: 0 B-1000 (v1.0)
Firmware: v5.31
root@residevice:/opt/unipi/tools# ./fwspi -i 1
Unable to create the arm[1] context
root@residevice:/opt/unipi/tools# ./fwspi -i 2
Unable to create the arm[2] context
/Vesa
Hi,
I did the following for the Neuron M503 with Raspbian Stretch Lite and old EVOK:
sudo su
systemctl stop neurontcp && systemctl stop evok
bash /opt/evok/uninstall-evok.sh
rm -rf /var/www/evok
rm /etc/systemd/system/evok.service
sudo su
echo "deb https://repo.unipi.technology/debian stretch main" >> /etc/apt/sources.list.d/unipi.list
wget https://repo.unipi.technology/debian/unipi_pub.gpg -O - | apt-key add
apt update
apt upgrade -y
reboot
sudo su
apt install -y neuron-kernel unipi-firmware unipi-modbus-tools
apt autoremove -y
apt install nginx -y
rm -f /etc/nginx/sites-enabled/default
apt install evok -y
systemctl enable evok
reboot
Firmware:
root@residevice:/opt/unipi/tools# ./fwspi -i 0
Boardset: 0 B-1000 (v1.0)
Baseboard: 0 B-1000 (v1.0)
Firmware: v5.31
After update there is no circuit 1_ :
root@residevice:~# wget http://localhost:8080/rest/all
[{
"counter_modes": ["Enabled", "Disabled"],
"glob_dev_id": 1,
"modes": ["Simple", "DirectSwitch"],
"value": 0,
"circuit": "2_05",
"debounce": 50,
"counter": 0,
"counter_mode": "Enabled",
"dev": "input",
"mode": "Simple"
}, {
"counter_modes": ["Enabled", "Disabled"],
"glob_dev_id": 1,
"modes": ["Simple", "DirectSwitch"],
"value": 0,
"circuit": "2_04",
"debounce": 50,
"counter": 0,
"counter_mode": "Enabled",
"dev": "input",
"mode": "Simple"
}, {
"counter_modes": ["Enabled", "Disabled"],
"glob_dev_id": 1,
"modes": ["Simple", "DirectSwitch"],
"value": 0,
"circuit": "2_06",
"debounce": 50,
"counter": 0,
"counter_mode": "Enabled",
"dev": "input",
"mode": "Simple"
},
{
"counter_modes": ["Enabled", "Disabled"],
"glob_dev_id": 1,
"modes": ["Simple", "DirectSwitch"],
"value": 0,
"circuit": "2_01",
"debounce": 50,
"counter": 0,
"counter_mode": "Enabled",
"dev": "input",
"mode": "Simple"
},
{
"counter_modes": ["Enabled", "Disabled"],
"glob_dev_id": 1,
"modes": ["Simple", "DirectSwitch"],
"value": 0,
"circuit": "2_03",
"debounce": 50,
"counter": 0,
"counter_mode": "Enabled",
"dev": "input",
"mode": "Simple"
}, {
"counter_modes": ["Enabled", "Disabled"],
"glob_dev_id": 1,
"modes": ["Simple", "DirectSwitch"],
"value": 0,
"circuit": "2_02",
"debounce": 50,
"counter": 0,
"counter_mode": "Enabled",
"dev": "input",
"mode": "Simple"
},
{
"glob_dev_id": 1,
"modes": ["Simple"],
"value": 0,
"circuit": "2_05",
"pending": false,
"relay_type": "physical",
"dev": "relay",
"mode": "Simple"
}, {
"glob_dev_id": 1,
"modes": ["Simple"],
"value": 0,
"circuit": "2_04",
"pending": false,
"relay_type": "physical",
"dev": "relay",
"mode": "Simple"
}, {
"glob_dev_id": 1,
"modes": ["Simple"],
"value": 0,
"circuit": "2_01",
"pending": false,
"relay_type": "physical",
"dev": "relay",
"mode": "Simple"
},
{
"glob_dev_id": 1,
"modes": ["Simple"],
"value": 0,
"circuit": "2_03",
"pending": false,
"relay_type": "physical",
"dev": "relay",
"mode": "Simple"
},
{
"glob_dev_id": 1,
"modes": ["Simple"],
"value": 0,
"circuit": "2_02",
"pending": false,
"relay_type": "physical",
"dev": "relay",
"mode": "Simple"
},
{
"glob_dev_id": 1,
"unit": "V",
"value": 3.858161211013794,
"circuit": "2_04",
"range_modes": ["0.0", "2.5", "10.0"],
"modes": ["Voltage", "Current", "Resistance"],
"range": "10.0",
"dev": "ai",
"mode": "Voltage"
}, {
"glob_dev_id": 1,
"unit": "V",
"value": 3.7661192417144775,
"circuit": "2_01",
"range_modes": ["0.0", "2.5", "10.0"],
"modes": ["Voltage", "Current", "Resistance"],
"range": "10.0",
"dev": "ai",
"mode": "Voltage"
},
{
"glob_dev_id": 1,
"unit": "V",
"value": 3.1529541015625,
"circuit": "2_03",
"range_modes": ["0.0", "2.5", "10.0"],
"modes": ["Voltage", "Current", "Resistance"],
"range": "10.0",
"dev": "ai",
"mode": "Voltage"
}, {
"glob_dev_id": 1,
"unit": "V",
"value": 3.2787086963653564,
"circuit": "2_02",
"range_modes": ["0.0", "2.5", "10.0"],
"modes": ["Voltage", "Current", "Resistance"],
"range": "10.0",
"dev": "ai",
"mode": "Voltage"
}, {
"modes": ["Voltage"],
"value": 0.0,
"glob_dev_id": 1,
"dev": "ao",
"circuit": "2_04",
"unit": "V",
"mode": "Voltage"
},
{
"modes": ["Voltage"],
"value": 0.0,
"glob_dev_id": 1,
"dev": "ao",
"circuit": "2_01",
"unit": "V",
"mode": "Voltage"
}, {
"modes": ["Voltage"],
"value": 0.0,
"glob_dev_id": 1,
"dev": "ao",
"circuit": "2_03",
"unit": "V",
"mode": "Voltage"
}, {
"modes": ["Voltage"],
"value": 0.0,
"glob_dev_id": 1,
"dev": "ao",
"circuit": "2_02",
"unit": "V",
"mode": "Voltage"
},
{
"interval": 15,
"value": 57.75,
"circuit": "2812F9A708000074",
"address": "2812F9A708000074",
"time": 1570600764.403386,
"typ": "DS18B20",
"lost": false,
"dev": "temp"
}, {
"interval": 15,
"value": 41.55,
"circuit": "28DEBFA7080000E3",
"address": "28DEBFA7080000E3",
"time": 1570600765.947099,
"typ": "DS18B20",
"lost": false,
"dev": "temp"
},
{
"interval": 15,
"value": 1.95,
"circuit": "28753F5F070000BE",
"address": "28753F5F070000BE",
"time": 1570600769.176165,
"typ": "DS18B20",
"lost": false,
"dev": "temp"
},
{
"interval": 15,
"value": 50.55,
"circuit": "28FC53C107000006",
"address": "28FC53C107000006",
"time": 1570600770.86114,
"typ": "DS18B20",
"lost": false,
"dev": "temp"
},
{
"interval": 15,
"value": 52.75,
"circuit": "287E8DA9080000AD",
"address": "287E8DA9080000AD",
"time": 1570600767.631405,
"typ": "DS18B20",
"lost": false,
"dev": "temp"
},
{
"circuit": "2_01",
"value": 0,
"glob_dev_id": 1,
"dev": "wd",
"timeout": 5000,
"was_wd_reset": 0,
"nv_save": 0
}, {
"glob_dev_id": 1,
"last_comm": 0.03416609764099121,
"ver2": "1.0",
"sn": 104,
"circuit": "1",
"model": "M503",
"dev": "neuron",
"board_count": 1
}
]
Suggestions?
Br,
Vesa
Hi...again
One more stupid question: How do I reset 1-wire bus with mbpoll?
I mean, how can i "convert" those commands:
./pollmb.py -p 502 -u 1 -f 5 -a 1001 -q 1 -d 1
./pollmb.py -p 502 -u 1 -f 5 -a 1001 -q 1 -d 0
to mbpoll "format". I just don't understand how to read/write coils with mbpoll.
Thank you!
Vesa