Не работает Wirenboard 5


#1

Не открываются правила. При создании нового не сохраняется. Подключаюсь через SSHFS вижу только несколько файлов. Покупали до этого было все нормально, а этот ни в какую. Что делать, поддержка?



#2

Для начала подробно описать проблему.

В скриншоте у вас всё отлично, вы по sshfs по-умолчанию подключаетесь к домашней директории, которая пустая. Укажите директорию / (корневую) при подключении. В нашей документации это описано.


#3

Да, Вы правы, стали отображаться файлы, но правила не доступны


#4

И еще подскажите, пожалуйста, как подключить SCADA client?


#5

Вы что-нибудь с устройством делали до появления такого поведения, или оно у вас сразу не работало?

Для дальнейшей диагностики, подключитесь пожалуйста по SSH и покажите вывод

ps aux | grep wb-rules

и пришлите файл /var/log/messages с контроллера на support@


#6

Заработало. Накосячил в rules.js. А насчет SCADA клиента подскажете что-нибудь?


#7

Нет, опять не работает. Сейчас отправлю логи


#9

Using username “root”.
root@192.168.1.201’s password:
Linux wirenboard 4.1.15-imxv5-x0.1 #159 Thu May 12 21:10:52 MSK 2016 armv5tejl

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Jul 11 10:05:00 2016 from 192.168.1.101
root@wirenboard:~# ps aux | grep wb-rules
root 3627 0.0 0.9 2036 1156 pts/2 S+ 10:14 0:00 grep wb-rules
root@wirenboard:~# Using username “root”.
LUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101
root@wirenboard:~# ps aux|grep wb-rules
root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules
root@wirenboard:~#
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101
root@wirenboard:~# ps aux|grep wb-rules
root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules
root@wirenboard:~# Using username “root”.
-bash: Using: command not found
root@wirenboard:~# root@192.168.1.201s: No such file or directory
root@wirenboard:~# > Linux wirenboard 4.1.15-imxv5-x0.1 #159 Thu May 12 21:10:52 MSK 2016 armv5tejl
-bash: wirenboard: command not found
root@wirenboard:~# >
-bash: syntax error near unexpected token `newline’
root@wirenboard:~# > The programs included with the Debian GNU/Linux system are free software;
-bash: programs: command not found
root@wirenboard:~# > the exact distribution terms for each program are described in the
-bash: Using: command not found
root@wirenboard:~# root@192.168.1.201’s password:

Linux wirenboard 4.1.15-imxv5-x0.1 #159 Thu May 12 21:10:52 MSK 2016 armv5tejl

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101
root@wirenboard:~# ps aux|grep wb-rules
root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules
root@wirenboard:~# Using username “root”.
-bash: Using: command not found
root@wirenboard:~# root@192.168.1.201’s password:
-bash: root@192.168.1.201s password:
Linux wirenboard 4.1.15-imxv5-x0.1 #159 Thu May 12 21:10:52 MSK 2016 armv5tejl

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101
root@wirenboard:~# ps aux|grep wb-rules
root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules
root@wirenboard:~# Using username “root”.
-bash: Using: command not found
root@wirenboard:~# root@192.168.1.201s: No such file or directory
root@wirenboard:~# > Linux wirenboard 4.1.15-imxv5-x0.1 #159 Thu May 12 21:10:52 MSK 2016 armv5tejl
-bash: wirenboard: command not found
root@wirenboard:~# >
-bash: syntax error near unexpected token newline' root@wirenboard:~# > The programs included with the Debian GNU/Linux system are free software; -bash: programs: command not found root@wirenboard:~# > the exact distribution terms for each program are described in the -bash: exact: command not found root@wirenboard:~# > individual files in /usr/share/doc/*/copyright. -bash: files: command not found root@wirenboard:~# > -bash: syntax error near unexpected tokennewline’
root@wirenboard:~# > Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
-bash: GNU/Linux: No such file or directory
root@wirenboard:~# > permitted by applicable law.
-bash: by: command not found
root@wirenboard:~# > Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101
-bash: login:: command not found
root@wirenboard:~# > root@wirenboard:~# ps aux|grep wb-rules
root@wirenboard:~# > root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules
-bash: 3433: command not found
root@wirenboard:~# > root@wirenboard:~#
root@wirenboard:~# > Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
-bash: GNU/Linux: No such file or directory
root@wirenboard:~# > permitted by applicable law.
-bash: by: command not found
root@wirenboard:~# > Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101
-bash: login:: command not found
root@wirenboard:~# > root@wirenboard:~# ps aux|grep wb-rules
root@wirenboard:~# > root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules
-bash: 3433: command not found
root@wirenboard:~# > root@wirenboard:~# Using username “root”.
-bash: Using: command not found
root@wirenboard:~# > -bash: Using: command not found
-bash: Using:: command not found
root@wirenboard:~# > root@wirenboard:~# root@192.168.1.201’s password:

-bash: root@192.168.1.201s password:
Linux wirenboard 4.1.15-imxv5-x0.1 #159 Thu May 12 21:10:52 MSK 2016 armv5tejl

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101
root@wirenboard:~# ps aux|grep wb-rules
root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules
root@wirenboard:~#
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101
root@wirenboard:~# ps aux|grep wb-rules
root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules
root@wirenboard:~# Using username “root”.
-bash: Using: command not found
root@wirenboard:~# root@192.168.1.201s: No such file or directory
root@wirenboard:~# > Linux wirenboard 4.1.15-imxv5-x0.1 #159 Thu May 12 21:10:52 MSK 2016 armv5tejl
-bash: wirenboard: command not found
root@wirenboard:~# >
-bash: syntax error near unexpected token `newline’
-bash: root@192.168.1.201s password:
-bash: root@192.168.1.201s password:
Linux wirenboard 4.1.15-imxv5-x0.1 #159 Thu May 12 21:10:52 MSK 2016 armv5tejl

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101
root@wirenboard:~# ps aux|grep wb-rules
root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules
root@wirenboard:~#
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101
root@wirenboard:~# ps aux|grep wb-rules
root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules
root@wirenboard:~# Using username “root”.
-bash: Using: command not found
root@wirenboard:~# root@192.168.1.201s: No such file or directory
root@wirenboard:~# > Linux wirenboard 4.1.15-imxv5-x0.1 #159 Thu May 12 21:10:52 MSK 2016 armv5tejl
-bash: wirenboard: command not found
root@wirenboard:~# >
-bash: syntax error near unexpected token newline: No such file or directory root@wirenboard:~# root@wirenboard:~# > The programs included with the Debian GNU/Linux system are free software; -bash: root@wirenboard:~#: command not found root@wirenboard:~# -bash: programs: command not found -bash: -bash:: command not found root@wirenboard:~# root@wirenboard:~# > the exact distribution terms for each program are described in the -bash: root@wirenboard:~#: command not found root@wirenboard:~# -bash: exact: command not found -bash: -bash:: command not found root@wirenboard:~# root@wirenboard:~# > individual files in /usr/share/doc/*/copyright. -bash: root@wirenboard:~#: command not found root@wirenboard:~# -bash: files: command not found -bash: -bash:: command not found root@wirenboard:~# root@wirenboard:~# > -bash: syntax error near unexpected tokennewline’
root@wirenboard:~# -bash: syntax error near unexpected token `newline’

root@wirenboard:~# > Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
-bash: GNU/Linux: No such file or directory
root@wirenboard:~# > permitted by applicable law.
-bash: by: command not found
root@wirenboard:~# > Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101
-bash: login:: command not found
root@wirenboard:~# > root@wirenboard:~# ps aux|grep wb-rules
root@wirenboard:~# > root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules
-bash: 3433: command not found
root@wirenboard:~# > root@wirenboard:~#
root@wirenboard:~# >
-bash: syntax error near unexpected token newline' root@wirenboard:~# Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent -bash: Debian: command not found root@wirenboard:~# permitted by applicable law. -bash: permitted: command not found root@wirenboard:~# Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101 -bash: Last: command not found root@wirenboard:~# root@wirenboard:~# ps aux|grep wb-rules -bash: root@wirenboard:~#: command not found root@wirenboard:~# root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules -bash: root: command not found root@wirenboard:~# root@wirenboard:~# Using username "root". -bash: root@wirenboard:~#: command not found root@wirenboard:~# -bash: Using: command not found -bash: -bash:: command not found root@wirenboard:~# root@wirenboard:~# root@192.168.1.201's password: -bash: command substitution: line 1: unexpected EOF while looking for matching‘’
-bash: command substitution: line 14: syntax error: unexpected end of file
-bash: -bash:: command not found
root@wirenboard:~# > > Linux wirenboard 4.1.15-imxv5-x0.1 #159 Thu May 12 21:10:52 MSK 2016 armv5tejl
-bash: syntax error near unexpected token >' root@wirenboard:~# > > -bash: syntax error near unexpected token>’
root@wirenboard:~# > > The programs included with the Debian GNU/Linux system are free software;
-bash: syntax error near unexpected token >' root@wirenboard:~# > > the exact distribution terms for each program are described in the -bash: syntax error near unexpected token>’
root@wirenboard:~# > > individual files in /usr/share/doc//copyright.
-bash: syntax error near unexpected token >' root@wirenboard:~# > > -bash: syntax error near unexpected token>’
root@wirenboard:~# > > Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
-bash: syntax error near unexpected token >' root@wirenboard:~# > > permitted by applicable law. -bash: syntax error near unexpected token>’
root@wirenboard:~# > > Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101
-bash: syntax error near unexpected token >' root@wirenboard:~# > > root@wirenboard:~# ps aux|grep wb-rules -bash: syntax error near unexpected token>’
root@wirenboard:~# > > root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules
-bash: syntax error near unexpected token >' root@wirenboard:~# > > root@wirenboard:~# -bash: syntax error near unexpected token>’
root@wirenboard:~# > >
-bash: syntax error near unexpected token >' root@wirenboard:~# > Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent -bash: GNU/Linux: No such file or directory root@wirenboard:~# > permitted by applicable law. -bash: by: command not found root@wirenboard:~# > Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101 -bash: login:: command not found root@wirenboard:~# > root@wirenboard:~# ps aux|grep wb-rules root@wirenboard:~# > root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules -bash: 3433: command not found root@wirenboard:~# > root@wirenboard:~# Using username "root". -bash: Using: command not found root@wirenboard:~# > -bash: Using: command not found -bash: Using:: command not found root@wirenboard:~# > root@wirenboard:~# root@192.168.1.201's password: -bash: root@wirenboard:~#: command not found root@wirenboard:~# > Linux wirenboard 4.1.15-imxv5-x0.1 #159 Thu May 12 21:10:52 MSK 2016 armv5tejl -bash: wirenboard: command not found root@wirenboard:~# > -bash: syntax error near unexpected tokennewline’
-bash: $‘root@192.168.1.201s password:\n-bash: root@wirenboard:~#: command not found\nroot@wirenboard:~# > Linux wirenboard 4.1.15-imxv5-x0.1 #159 Thu May 12 21:10:52 MSK 2016 armv5tejl\n-bash: wirenboard: command not found\nroot@wirenboard:~# >\n-bash: syntax error near unexpected token newline': command not found root@wirenboard:~# root@wirenboard:~# > The programs included with the Debian GNU/Linux system are free software; -bash: root@wirenboard:~#: command not found root@wirenboard:~# -bash: programs: command not found -bash: -bash:: command not found root@wirenboard:~# root@wirenboard:~# > the exact distribution terms for each program are described in the -bash: root@wirenboard:~#: command not found root@wirenboard:~# -bash: exact: command not found -bash: -bash:: command not found root@wirenboard:~# root@wirenboard:~# > individual files in /usr/share/doc/*/copyright. -bash: root@wirenboard:~#: command not found root@wirenboard:~# -bash: files: command not found -bash: -bash:: command not found root@wirenboard:~# root@wirenboard:~# > -bash: syntax error near unexpected tokennewline’
root@wirenboard:~# -bash: syntax error near unexpected token newline' root@wirenboard:~# > Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent -bash: GNU/Linux: No such file or directory root@wirenboard:~# > permitted by applicable law. -bash: by: command not found root@wirenboard:~# > Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101 -bash: login:: command not found root@wirenboard:~# > root@wirenboard:~# ps aux|grep wb-rules root@wirenboard:~# > root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules -bash: 3433: command not found root@wirenboard:~# > root@wirenboard:~# root@wirenboard:~# > -bash: syntax error near unexpected tokennewline’
root@wirenboard:~# Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
-bash: Debian: command not found
root@wirenboard:~# permitted by applicable law.
-bash: permitted: command not found
root@wirenboard:~# Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101
-bash: Last: command not found
root@wirenboard:~# root@wirenboard:~# ps aux|grep wb-rules
-bash: root@wirenboard:~#: command not found
root@wirenboard:~# root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules
-bash: root: command not found
root@wirenboard:~# root@wirenboard:~# Using username “root”.
-bash: root@wirenboard:~#: command not found
root@wirenboard:~# -bash: Using: command not found
-bash: -bash:: command not found
root@wirenboard:~# root@wirenboard:~# root@192.168.1.201’s password:
-bash: command substitution: line 1: unexpected EOF while looking for matching '' -bash: command substitution: line 14: syntax error: unexpected end of file -bash: -bash:: command not found root@wirenboard:~# > > Linux wirenboard 4.1.15-imxv5-x0.1 #159 Thu May 12 21:10:52 MSK 2016 armv5tejl -bash: syntax error near unexpected token>’
root@wirenboard:~# > >
-bash: syntax error near unexpected token >' root@wirenboard:~# > > The programs included with the Debian GNU/Linux system are free software; -bash: syntax error near unexpected token>’
root@wirenboard:~# > > the exact distribution terms for each program are described in the
-bash: syntax error near unexpected token >' root@wirenboard:~# > > individual files in /usr/share/doc/*/copyright. -bash: syntax error near unexpected token>’
root@wirenboard:~# > >
-bash: syntax error near unexpected token >' root@wirenboard:~# > > Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent -bash: syntax error near unexpected token>’
root@wirenboard:~# > > permitted by applicable law.
-bash: syntax error near unexpected token >' root@wirenboard:~# > > Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101 -bash: syntax error near unexpected token>’
root@wirenboard:~# > > root@wirenboard:~# ps aux|grep wb-rules
-bash: syntax error near unexpected token >' root@wirenboard:~# > > root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules -bash: syntax error near unexpected token>’
root@wirenboard:~# > > root@wirenboard:~#
-bash: syntax error near unexpected token >' root@wirenboard:~# > > -bash: syntax error near unexpected token>’
root@wirenboard:~# > Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
-bash: GNU/Linux: No such file or directory
root@wirenboard:~# > permitted by applicable law.
-bash: by: command not found
root@wirenboard:~# > Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101
-bash: login:: command not found
root@wirenboard:~# > root@wirenboard:~# ps aux|grep wb-rules
root@wirenboard:~# > root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules
-bash: 3433: command not found
root@wirenboard:~# > root@wirenboard:~# Using username “root”.
-bash: Using: command not found
root@wirenboard:~# > -bash: Using: command not found
-bash: Using:: command not found
root@wirenboard:~# > root@wirenboard:~# root@192.168.1.201’s password:
-bash: root@wirenboard:~#: command not found
root@wirenboard:~# > Linux wirenboard 4.1.15-imxv5-x0.1 #159 Thu May 12 21:10:52 MSK 2016 armv5tejl
-bash: wirenboard: command not found
root@wirenboard:~# >
-bash: syntax error near unexpected token newline' -bash: $'root@192.168.1.201s password:\n-bash: root@wirenboard:~#: command not found\nroot@wirenboard:~# > Linux wirenboard 4.1.15-imxv5-x0.1 #159 Thu May 12 21:10:52 MSK 2016 armv5tejl\n-bash: wirenboard: command not found\nroot@wirenboard:~# >\n-bash: syntax error near unexpected tokennewline’: command not found
root@wirenboard:~# root@wirenboard:~# > The programs included with the Debian GNU/Linux system are free software;
-bash: root@wirenboard:~#: command not found
root@wirenboard:~# -bash: programs: command not found
-bash: -bash:: command not found
root@wirenboard:~# root@wirenboard:~# > the exact distribution terms for each program are described in the
-bash: root@wirenboard:~#: command not found
root@wirenboard:~# -bash: exact: command not found
-bash: -bash:: command not found
root@wirenboard:~# root@wirenboard:~# > individual files in /usr/share/doc/
/copyright.
-bash: root@wirenboard:~#: command not found
root@wirenboard:~# -bash: files: command not found
-bash: -bash:: command not found
root@wirenboard:~# root@wirenboard:~# >
-bash: syntax error near unexpected token newline' root@wirenboard:~# -bash: syntax error near unexpected tokennewline’
root@wirenboard:~# > Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
-bash: GNU/Linux: No such file or directory
root@wirenboard:~# > permitted by applicable law.
-bash: by: command not found
root@wirenboard:~# > Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101
-bash: login:: command not found
root@wirenboard:~# > root@wirenboard:~# ps aux|grep wb-rules
root@wirenboard:~# > root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules
-bash: 3433: command not found
root@wirenboard:~# > root@wirenboard:~#
root@wirenboard:~# >
-bash: syntax error near unexpected token newline' root@wirenboard:~# Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent -bash: Debian: command not found root@wirenboard:~# permitted by applicable law. -bash: permitted: command not found root@wirenboard:~# Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101 -bash: Last: command not found root@wirenboard:~# root@wirenboard:~# ps aux|grep wb-rules -bash: root@wirenboard:~#: command not found root@wirenboard:~# root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules -bash: root: command not found root@wirenboard:~# root@wirenboard:~# Using username "root". -bash: root@wirenboard:~#: command not found root@wirenboard:~# -bash: Using: command not found -bash: -bash:: command not found root@wirenboard:~# root@wirenboard:~# root@192.168.1.201's password: -bash: command substitution: line 1: unexpected EOF while looking for matching‘’
-bash: command substitution: line 14: syntax error: unexpected end of file
-bash: -bash:: command not found
root@wirenboard:~# > > Linux wirenboard 4.1.15-imxv5-x0.1 #159 Thu May 12 21:10:52 MSK 2016 armv5tejl
-bash: syntax error near unexpected token >' root@wirenboard:~# > > -bash: syntax error near unexpected token>’
root@wirenboard:~# > > The programs included with the Debian GNU/Linux system are free software;
-bash: syntax error near unexpected token >' root@wirenboard:~# > > the exact distribution terms for each program are described in the -bash: syntax error near unexpected token>’
root@wirenboard:~# > > individual files in /usr/share/doc//copyright.
-bash: syntax error near unexpected token >' root@wirenboard:~# > > -bash: syntax error near unexpected token>’
root@wirenboard:~# > > Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
-bash: syntax error near unexpected token >' root@wirenboard:~# > > permitted by applicable law. -bash: syntax error near unexpected token>’
root@wirenboard:~# > > Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101
-bash: syntax error near unexpected token >' root@wirenboard:~# > > root@wirenboard:~# ps aux|grep wb-rules -bash: syntax error near unexpected token>’
root@wirenboard:~# > > root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules
-bash: syntax error near unexpected token >' root@wirenboard:~# > > root@wirenboard:~# -bash: syntax error near unexpected token>’
root@wirenboard:~# > >
-bash: syntax error near unexpected token >' root@wirenboard:~# > Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent -bash: GNU/Linux: No such file or directory root@wirenboard:~# > permitted by applicable law. -bash: by: command not found root@wirenboard:~# > Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101 -bash: login:: command not found root@wirenboard:~# > root@wirenboard:~# ps aux|grep wb-rules root@wirenboard:~# > root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules -bash: 3433: command not found root@wirenboard:~# > root@wirenboard:~# Using username "root". -bash: Using: command not found root@wirenboard:~# > -bash: Using: command not found -bash: Using:: command not found root@wirenboard:~# > root@wirenboard:~# root@192.168.1.201's password: -bash: root@wirenboard:~#: command not found root@wirenboard:~# > Linux wirenboard 4.1.15-imxv5-x0.1 #159 Thu May 12 21:10:52 MSK 2016 armv5tejl -bash: wirenboard: command not found root@wirenboard:~# > -bash: syntax error near unexpected tokennewline’
-bash: $‘root@192.168.1.201s password:\n-bash: root@wirenboard:~#: command not found\nroot@wirenboard:~# > Linux wirenboard 4.1.15-imxv5-x0.1 #159 Thu May 12 21:10:52 MSK 2016 armv5tejl\n-bash: wirenboard: command not found\nroot@wirenboard:~# >\n-bash: syntax error near unexpected token newline': command not found root@wirenboard:~# root@wirenboard:~# > The programs included with the Debian GNU/Linux system are free software; -bash: root@wirenboard:~#: command not found root@wirenboard:~# -bash: programs: command not found -bash: -bash:: command not found root@wirenboard:~# root@wirenboard:~# > the exact distribution terms for each program are described in the -bash: root@wirenboard:~#: command not found root@wirenboard:~# -bash: exact: command not found -bash: -bash:: command not found root@wirenboard:~# root@wirenboard:~# > individual files in /usr/share/doc/*/copyright. -bash: root@wirenboard:~#: command not found root@wirenboard:~# -bash: files: command not found -bash: -bash:: command not found root@wirenboard:~# root@wirenboard:~# > -bash: syntax error near unexpected tokennewline’
root@wirenboard:~# -bash: syntax error near unexpected token newline' root@wirenboard:~# > Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent -bash: GNU/Linux: No such file or directory root@wirenboard:~# > permitted by applicable law. -bash: by: command not found root@wirenboard:~# > Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101 -bash: login:: command not found root@wirenboard:~# > root@wirenboard:~# ps aux|grep wb-rules root@wirenboard:~# > root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules -bash: 3433: command not found root@wirenboard:~# > root@wirenboard:~# root@wirenboard:~# > -bash: syntax error near unexpected tokennewline’
root@wirenboard:~# Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
-bash: Debian: command not found
root@wirenboard:~# permitted by applicable law.
-bash: permitted: command not found
root@wirenboard:~# Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101
-bash: Last: command not found
root@wirenboard:~# root@wirenboard:~# ps aux|grep wb-rules
-bash: root@wirenboard:~#: command not found
root@wirenboard:~# root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules
-bash: root: command not found
root@wirenboard:~# root@wirenboard:~# Using username “root”.
-bash: root@wirenboard:~#: command not found
root@wirenboard:~# -bash: Using: command not found
-bash: -bash:: command not found
root@wirenboard:~# root@wirenboard:~# root@192.168.1.201’s password:
-bash: command substitution: line 1: unexpected EOF while looking for matching '' -bash: command substitution: line 14: syntax error: unexpected end of file -bash: -bash:: command not found root@wirenboard:~# > > Linux wirenboard 4.1.15-imxv5-x0.1 #159 Thu May 12 21:10:52 MSK 2016 armv5tejl -bash: syntax error near unexpected token>’
root@wirenboard:~# > >
-bash: syntax error near unexpected token >' root@wirenboard:~# > > The programs included with the Debian GNU/Linux system are free software; -bash: syntax error near unexpected token>’
root@wirenboard:~# > > the exact distribution terms for each program are described in the
-bash: syntax error near unexpected token >' root@wirenboard:~# > > individual files in /usr/share/doc/*/copyright. -bash: syntax error near unexpected token>’
root@wirenboard:~# > >
-bash: syntax error near unexpected token >' root@wirenboard:~# > > Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent -bash: syntax error near unexpected token>’
root@wirenboard:~# > > permitted by applicable law.
-bash: syntax error near unexpected token >' root@wirenboard:~# > > Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101 -bash: syntax error near unexpected token>’
root@wirenboard:~# > > root@wirenboard:~# ps aux|grep wb-rules
-bash: syntax error near unexpected token >' root@wirenboard:~# > > root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules -bash: syntax error near unexpected token>’
root@wirenboard:~# > > root@wirenboard:~#
-bash: syntax error near unexpected token >' root@wirenboard:~# > > -bash: syntax error near unexpected token>’
root@wirenboard:~# > Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
-bash: GNU/Linux: No such file or directory
root@wirenboard:~# > permitted by applicable law.
-bash: by: command not found
root@wirenboard:~# > Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101
-bash: login:: command not found
root@wirenboard:~# > root@wirenboard:~# ps aux|grep wb-rules
root@wirenboard:~# > root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules
-bash: 3433: command not found
root@wirenboard:~# > root@wirenboard:~# Using username “root”.
-bash: Using: command not found
root@wirenboard:~# > -bash: Using: command not found
-bash: Using:: command not found
root@wirenboard:~# > root@wirenboard:~# root@192.168.1.201’s password:
-bash: root@wirenboard:~#: command not found
root@wirenboard:~# > Linux wirenboard 4.1.15-imxv5-x0.1 #159 Thu May 12 21:10:52 MSK 2016 armv5tejl
-bash: wirenboard: command not found
root@wirenboard:~# >
-bash: syntax error near unexpected token newline' -bash: $'root@192.168.1.201s password:\n-bash: root@wirenboard:~#: command not found\nroot@wirenboard:~# > Linux wirenboard 4.1.15-imxv5-x0.1 #159 Thu May 12 21:10:52 MSK 2016 armv5tejl\n-bash: wirenboard: command not found\nroot@wirenboard:~# >\n-bash: syntax error near unexpected tokennewline’: command not found
root@wirenboard:~# root@wirenboard:~# > The programs included with the Debian GNU/Linux system are free software;
-bash: root@wirenboard:~#: command not found
root@wirenboard:~# -bash: programs: command not found
-bash: -bash:: command not found
root@wirenboard:~# root@wirenboard:~# > the exact distribution terms for each program are described in the
-bash: root@wirenboard:~#: command not found
root@wirenboard:~# -bash: exact: command not found
-bash: -bash:: command not found
root@wirenboard:~# root@wirenboard:~# > individual files in /usr/share/doc/
/copyright.
-bash: root@wirenboard:~#: command not found
root@wirenboard:~# -bash: files: command not found
-bash: -bash:: command not found
root@wirenboard:~# root@wirenboard:~# >
-bash: syntax error near unexpected token newline' root@wirenboard:~# -bash: syntax error near unexpected tokennewline’
root@wirenboard:~# > Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
-bash: GNU/Linux: No such file or directory
root@wirenboard:~# > permitted by applicable law.
-bash: by: command not found
root@wirenboard:~# > Last login: Mon Jul 11 09:14:48 2016 from 192.168.1.101
-bash: login:: command not found
root@wirenboard:~# > root@wirenboard:~# ps aux|grep wb-rules
root@wirenboard:~# > root 3433 0.0 1.1 2036 1368 pts/2 S+ 10:05 0:00 grep wb-rules
-bash: 3433: command not found
root@wirenboard:~# > root@wirenboard:~#
root@wirenboard:~# >
-bash: syntax error near unexpected token `newline’
root@wirenboard:~#


#10

что это было?

Уважаемый Дмитрий, пожалуйста пишите подробно и чётко: сейчас мне приходится каждый раз угадывать, что вы имеете в виду.

Чем более понятно и подробно вы описываете проблему и свои действия, тем быстрее получится решить вашу проблему.


#11

С самого начала обратил внимание, что нет перезагрузки из брокера. Не придал значения, начал добавлять правила. Правила работали. Вечером пошли выключили wirenboard, а утром после включения уже правила не смог открыть. Перепрошивал, но все настройки остались старые. Сегодня вроде включилось после удаления всех правил из файла E:\mnt\data\etc\wb-rules\rules.js. Добавил правила обратно и все снова
/ place your rules here or add more .js files in this directory
log(“add your rules to /etc/wb-rules/”);
dev[“wb-gpio”][“EXT2_HS8”] = 1
defineVirtualDevice(“Automatic”, {
title: “Automatic”,
cells: {
// параметры
On_Off: { // /devices/relayClicker/controls/enbabled
type: “switch”, // тип (…/meta/type)
value: false // значение по умолчанию
}
}
});
defineRule(“NO_WATER”, {
asSoonAs: function () {
// edge-triggered-правило - выполняется, только когда значение
// данной функции меняется и при этом становится истинным
return dev[“wb-gpio/EXT1_DR1_SL3”] == “1”;
},
then: function () {
// выполняется при срабатывании правила
dev[“wb-gpio”][“EXT2_HS5”] = 0;
}
});
defineRule(“48_hours”, {
asSoonAs: function () {
// edge-triggered-правило - выполняется, только когда значение
// данной функции меняется и при этом становится истинным
return dev[“wb-gpio/EXT2_HS6”] == “1”;
},
then: function () {
// выполняется при срабатывании правила
startTicker(“clickTimer”, 30000);
}
});

defineRule(“Auto ON”, {
whenChanged: “Automatic/On_Off”,
then: function (newValue, devName, cellName) {
if ( dev.Automatic.On_Off == false) {
dev[“wb-gpio”][“EXT2_HS2_100”] = 0;
dev[“wb-gpio”][“EXT2_HS3_80”] = 0;
dev[“wb-gpio”][“EXT2_HS4_60”] = 0;
}
}
});
defineRule(“Vent_speed100”, {
whenChanged: “wb-gpio/MOD1_IN1_100”,
then: function (newValue, devName, cellName) {
if ( dev.Automatic.On_Off == false) {
dev[“wb-gpio”][“EXT2_HS2_100”] = newValue;
dev[“wb-gpio”][“EXT2_HS3_80”] = 0;
dev[“wb-gpio”][“EXT2_HS4_60”] = 0;
}
}
});
defineRule(“Vent_speed80”, {
whenChanged: “wb-gpio/MOD1_IN2_80”,
then: function (newValue, devName, cellName) {
if ( dev.Automatic.On_Off == false) {
dev[“wb-gpio”][“EXT2_HS3_80”] = newValue;
dev[“wb-gpio”][“EXT2_HS2_100”] = 0;
dev[“wb-gpio”][“EXT2_HS4_60”] = 0;
}
}
});
defineRule(“Vent_speed60”, {
whenChanged: “wb-gpio/MOD1_IN3_60”,
then: function (newValue, devName, cellName) {
if ( dev.Automatic.On_Off == false) {
dev[“wb-gpio”][“EXT2_HS4_60”] = newValue;
dev[“wb-gpio”][“EXT2_HS3_80”] = 0;
dev[“wb-gpio”][“EXT2_HS2_100”] = 0;
}
}
});
defineRule(“NASOS_VKL”, { //
whenChanged: “wb-gpio/EXT1_DR2_SL1”, //при изменении состояния датчика ниж уровень
then: function (newValue, devName, cellName) {
if (newValue == 1) {
if (wb-gpio.EXT1_DR1_SL3 == false) {
dev[“wb-gpio”][“EXT2_HS7”] = 1;
}}
}
});
defineRule(“NASOS_VKL_SL3”, { //
whenChanged: “wb-gpio/EXT1_DR1_SL3”,
then: function (newValue, devName, cellName) {
if ((newValue == 0) & (wb-gpio.EXT1_DR2_SL1 == 1)) {
if (oregon_rx_1d20_d4_1.temperature > 22) {
dev[“wb-gpio”][“EXT2_HS7”] = 1;
}}
}
});
defineRule(“NASOS_VYKL”, {
whenChanged: “wb-gpio/EXT1_DR3_SL2”, //при изменении состояния датчика верх уровень
then: function (newValue, devName, cellName) {
if (newValue == 0) {
dev[“wb-gpio”][“EXT2_HS7”] = 0;
}
}
});
defineRule(“Vent_speed00_auto”, {
whenChanged: “oregon_rx_1d20_d4_1/temperature”,
then: function (newValue, devName, cellName) {
if ( newValue < 18) {
dev[“wb-gpio”][“EXT2_HS2_100”] = 0;
dev[“wb-gpio”][“EXT2_HS3_80”] = 0;
dev[“wb-gpio”][“EXT2_HS4_60”] = 0;
}
}
});
defineRule(“Vent_speed60_auto”, {
whenChanged: “oregon_rx_1d20_d4_1/temperature”,
then: function (newValue, devName, cellName) {
if (( newValue > 18) & ( newValue < 22) & ( dev.Automatic.On_Off == true)) {
dev[“wb-gpio”][“EXT2_HS2_100”] = 0;
dev[“wb-gpio”][“EXT2_HS3_80”] = 0;
dev[“wb-gpio”][“EXT2_HS4_60”] = 1;
}
}
});
defineRule(“Vent_speed100_auto”, {
whenChanged: “oregon_rx_1d20_d4_1/temperature”,
then: function (newValue, devName, cellName) {
if (( newValue > 22) & ( dev.Automatic.On_Off == true)) {
dev[“wb-gpio”][“EXT2_HS3_80”] = 0;
dev[“wb-gpio”][“EXT2_HS4_60”] = 0;
dev[“wb-gpio”][“EXT2_HS2_100”] = 1;
if ((wb-gpio.EXT1_DR2_SL1 == 1) & (wb-gpio.EXT1_DR1_SL3 == false)) {
dev[“wb-gpio”][“EXT2_HS7”] = 1;
}
}
}
});
Не знаю что делать


#12

Еще и железо пропало. Перезагружал, все равно то же.


#13

У меня 2 встроенных платы и 2 дополнительных расширения


#14

что это значит?

как именно перепрошивали, какой именно образ?

что значит “всё снова”?


#15
  1. Кнопка Reboot в Devices
  2. Прошивал через интерфейс образом 201605122124_webupd_wb55.fit
  3. Не могу правила открыть в интерфейсе.
  4. Еще и железо пропало

#16

отлично, и что это всё значит вместе?
Я до сих пор не понимаю.

Пожалуйста напишите осмысленное предложение.

“откат” к старым версиям таким способом поддерживается плохо, возможно дело в этом.
Попробуйте самую свежую прошивку с wb55 в названии отсюда: https://github.com/contactless/wirenboard/releases


#17

Хорошо, сейчас попробую, по результату отпишу


#18


#19


#20

Пробовал прошить прошивкой по Вашей ссылке, осталась старая 201605122124. Прошивал через web-интерфейс :neutral_face:


#21

внимательно смотрите за сообщениями при прошивке, если там есть какие-то ошибки - попытайтесь их понять или напишите на форум.

Есть ещё радикальный способ перепрошивки, через microUSB с компьютера, подробности в документации.