Giter Club home page Giter Club logo

loxberry-plugin-mirobot2lox-ng's People

Contributors

fs79 avatar mschlenstedt avatar nolamesu avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

nolamesu romanlum

loxberry-plugin-mirobot2lox-ng's Issues

No module named miio

Roborock S7
roborock.varuum.a15
Firmware: 4.3.5_1612

/usr/local/bin/miiocli -o json_pretty roborockvacuum --ip XXX.XXX.XXX.XXX --token XXXXXXXXXXXXXXXXXXXXXX start 2>&1
Output:

Traceback (most recent call last):
File "/usr/local/bin/miiocli", line 5, in
from miio.cli import create_cli
ModuleNotFoundError: No module named 'miio'

Der Roboter reagiert nicht auf die Befehle über das PlugIn.

Poor logging in case of error

This Plugin works mostly fine, but after some time the Miniserver doesn't receive data anymore.
In debug mode this is the log output:

INFO: LoxBerry Version 2.2.1.2 ( is_vmware.cfg is_x64.cfg )
 INFO: MiRobot2Lox-NG Version 1.3.0.0
 INFO: Loglevel: 7
This is /opt/loxberry/bin/plugins/mirobot2lox-ng/grabber.pl Version 1.2.1.0
 INFO: Fetching Data from Robots
 INFO: Fetching Status Data for Robot 1...
 INFO: Protocol is roborockvacuum
 INFO: /opt/loxberry/bin/plugins/mirobot2lox-ng/mirobo_wrapper.sh 192.168.243.96 abc...xyz status none roborockvacuum 2
 INFO: Fetching Consumables Data for Robot 1...
 INFO: /opt/loxberry/bin/plugins/mirobot2lox-ng/mirobo_wrapper.sh 192.168.243.96 abc...xyz consumable_status none roborockvacuum 2
 INFO: Fetching Cleaning Data for Robot 1...
 INFO: /opt/loxberry/bin/plugins/mirobot2lox-ng/mirobo_wrapper.sh 192.168.243.96 abc...xyz clean_history none roborockvacuum 2
 INFO: Sending UDP data from Robot1 to MS
 ERROR: Error sending UDP data from Robot1 to MS
 INFO: Robot 2 is not active - skipping...
 INFO: Robot 3 is not active - skipping...
 INFO: Robot 4 is not active - skipping...
 INFO: Robot 5 is not active - skipping...

Would you please log some more information if an error occurred?

Thanx in advance

Installationsproblem mit v 1.0.5 auf LB 1.4.2.2 - Python MIIO Tools Installation failed

Danke für Unterstützung bei folgendem Installationsabbruch:

Hier die Fehlermeldung im Verlauf:


OK: Python Setuptools installed successfully.
INFO: Start installing Python MIIO tools...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting python-miio
Downloading https://files.pythonhosted.org/packa...3-none-any.whl (160kB)
ERROR: Package 'python-miio' requires a different Python: 3.5.3 not in '>=3.6'
yes: standard output: Broken pipe
WARNING: Python MIIO tools installation failed! The plugin will not work without.
WARNING: Giving up.
09.11.2019 23:48:56 CRITICAL: Fehler während der Script-Installation, die Installation wurde beendet.
removed '/tmp/ewFGAxRUYC.zip'


Neu aufgesetzter LB mit paar Plugins drauf wie Smartmeter, Weather, backup Miniserver, backup Loxberry, ebusd,
Sollte an sich funktionieren.

Danke für Support und ggf Update des fehlerhaften Codes o.ä.
Scheint da ja ein Problem bei der Version 3.5.3 vs. 3.6 zu geben...

Merci

Robot Command Info always returns the Infor for Robot 1

If you click on the info button, the URL of the page opened is as follows : http:///plugins/mirobot2lox-ng/sendcmd.cgi?command=raw_command&option=miIO.info&robot=1&debug=1
If you click on the info button for robot 2 the URL does not change!!! robot=1

Problem during istallation

WARNING: Python MIIO tools installation failed! The plugin will not work without.
WARNING: Giving up.

any idea why I can't install this project on my loxberry?

token_extractor problem

hi,
i try the plugin and try to extract the token.
i had the following problems.

loxberry@loxberry:~ $ python3 ~/bin/plugins/mirobot2lox-ng/token_extractor.py
Traceback (most recent call last):
File "/opt/loxberry/bin/plugins/mirobot2lox-ng/token_extractor.py", line 9, in
from Crypto.Cipher import ARC4
ModuleNotFoundError: No module named 'Crypto'

i fix this with

loxberry@loxberry:~ $ pip install pycrypto
Defaulting to user installation because normal site-packages is not writeable
Collecting pycrypto
Downloading pycrypto-2.6.1.tar.gz (446 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 446.2/446.2 KB 5.8 MB/s eta > 0:00:00
Preparing metadata (setup.py) ... done
Building wheels for collected packages: pycrypto
Building wheel for pycrypto (setup.py) ... done
Created wheel for pycrypto: filename=pycrypto-2.6.1-cp37-cp37m-linux_x86_64.whl size=493245 > sha256=8160bb785a7966a4e3a13b53b2813b0f9573bb7ca26f92df73aa30360b513962
Stored in directory: /opt/loxberry/.cache/pip/wheels/cf/85/ba/bbd7c96add459de7598fb424e5ff2309baf2095c844ac0f191
Successfully built pycrypto
Installing collected packages: pycrypto
Successfully installed pycrypto-2.6.1

now i have a new problem

loxberry@loxberry:~ $ python3 ~/bin/plugins/mirobot2lox-ng/token_extractor.py
Traceback (most recent call last):
File "/opt/loxberry/bin/plugins/mirobot2lox-ng/token_extractor.py", line 9, in
from Crypto.Cipher import ARC4
File "/opt/loxberry/.local/lib/python3.7/site-packages/Crypto/Cipher/ARC4.py", line 119, in
key_size = xrange(1,256+1)
NameError: name 'xrange' is not defined

now i dont know what i can do.

can someone help me?

Template Fehler

Prof.Mobilux mir ist gerade noch etwas aufgefallen. In deinem Template haben sich denke ich noch zwei Fehler eingeschlichen:

Enthalten ist "MiRobot1:\itotal_clean_area\i\v", funktionieren tut es aber nur mit "MiRobot1:\itotal_clean_area=\i\v"
und
"MiRobot1:\itotal_cleanups\i\v" funktioniert nur mit "MiRobot1:\itotal_cleanups=\i\v"

Problem: Python Netifaces Module installation failed!

Hallo,

ich habe bei der Installation des Plugin folgendes Problem.
Python Netifaces Module installation failed!
Die Installation wird abgebrochen.
Loxberry ist frisch aufgesetzt. Auf meinem System sind sonst keine weiteren Plugins installiert.

Könntest du mir bitte weiterhelfen?

24.05.2023 22:20:18 TASK STARTED
Plugin Installation
22:20:18.547 INFO: LoxBerry Version 3.0.0.6 ( is_raspberry.cfg is_hwmodel_raspberry_pi_3_3+_zero_2.cfg is_arch_aarch64.cfg )
22:20:18.548 INFO: Loglevel: 7
22:20:18.587 INFO: Statusfile: /tmp/mNe4mDjMXQ.status
22:20:18.808 INFO: Temp Folder: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ
22:20:18.808 INFO: Logfile: /tmp/mNe4mDjMXQ.log
22:20:18.937 INFO: Locking plugininstall - delaying up to 10 minutes...
22:20:19.510 OK: Lock successfully set.
22:20:19.511 INFO: Starting Plugin installation.
22:20:19.511 INFO: Extracting plugin archive
Archive: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ.zip
2fa574b
creating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/LICENSE
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/README.md
creating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/
creating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/audio_generator/
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/audio_generator/Readme.md
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/audio_generator/generate_audio.py
creating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/audio_generator/language/
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/audio_generator/language/LICENSE
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/audio_generator/language/audio_ca.csv
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/audio_generator/language/audio_de.csv
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/audio_generator/language/audio_en.csv
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/audio_generator/language/audio_es.csv
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/audio_generator/language/audio_fi.csv
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/audio_generator/language/audio_fr.csv
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/audio_generator/language/audio_pl.csv
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/audio_generator/language/audio_uk.csv
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/grabber.pl
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/mirobo_wrapper.sh
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/token_extractor.sh
creating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/config/
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/config/mirobot2lox.cfg
creating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/cron/
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/cron/crontab
creating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/daemon/
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/daemon/daemon
creating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/dpkg/
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/dpkg/apt
creating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/icons/
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/icons/icon_128.png
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/icons/icon_256.png
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/icons/icon_512.png
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/icons/icon_64.png
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/plugin.cfg
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/postinstall.sh
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/postroot.sh
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/postupgrade.sh
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/prerelease.cfg
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/preupgrade.sh
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/release.cfg
creating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/templates/
creating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/templates/lang/
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/templates/lang/language_cs.ini
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/templates/lang/language_de.ini
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/templates/lang/language_en.ini
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/templates/settings.html
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/templates/templatebuilder.html
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/templates/virtualinput_http.xml
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/templates/virtualinput_udp.xml
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/templates/virtualoutput.xml
creating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/
creating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/
extracting: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/.dummy
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sendcmd.cgi
creating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_ca_aws_female.wav
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_ca_gtts_male.wav
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_de_aws_female1.wav
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_de_aws_female2.wav
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_de_aws_male.wav
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_de_gtts_female.wav
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_en_aws_female.wav
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_en_aws_male.wav
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_en_gtts_female.wav
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_es_aws_female.wav
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_es_aws_male.wav
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_es_gtts_female.wav
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_fi_gtts_female.wav
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_fr_aws_female.wav
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_fr_aws_male.wav
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_fr_gtts_female.wav
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_pl_aws_female.wav
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_pl_aws_male.wav
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_pl_gtts_male.wav
creating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/htmlauth/
inflating: /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/htmlauth/index.cgi
22:20:19.849 OK: Plugin archive extracted successfully.
22:20:19.860 INFO: Author: Michael Schlenstedt
22:20:19.860 INFO: Email: [email protected]
22:20:19.860 INFO: Version: 1.3.0.1
22:20:19.860 INFO: Name: mirobot2lox-ng
22:20:19.861 INFO: Folder: mirobot2lox-ng
22:20:19.861 INFO: Title: MiRobot2Lox-NG
22:20:19.862 INFO: Autoupdate: True
22:20:19.862 INFO: Release: https://raw.githubusercontent.com/mschlenstedt/LoxBerry-Plugin-MiRobot2Lox-NG/master/release.cfg
22:20:19.862 INFO: Prerelease: https://raw.githubusercontent.com/mschlenstedt/LoxBerry-Plugin-MiRobot2Lox-NG/master/prerelease.cfg
22:20:19.863 INFO: Reboot: False
22:20:19.863 INFO: Min LB Vers: 1.4.1
22:20:19.863 INFO: Max LB Vers: False
22:20:19.863 INFO: Architecture: False
22:20:19.864 INFO: Custom Log: True
22:20:19.864 INFO: Interface: 2.0
22:20:19.868 OK: All mandatory configuration parameters found.
22:20:19.870 INFO: Current LoxBerry version: v3.0.0.6
22:20:19.871 INFO: Installation limited from: v1.4.1
22:20:19.871 OK: Current LoxBerry version is greater than minimal required LoxBerry version.
22:20:19.873 INFO: The unique plugin id (md5) of this plugin is: 53f4d6bce5ba6174282bc1505cd63186
22:20:19.874 INFO: Using plugin name: mirobot2lox-ng
22:20:19.874 INFO: Using installation folder: mirobot2lox-ng
22:20:19.878 INFO: Creating shadow version of plugindatabase.
'/opt/loxberry/data/system/plugindatabase.json' -> '/opt/loxberry/data/system/plugindatabase.json-'
22:20:19.898 INFO: Setting file permissions: /bin/chmod -v 644 /opt/loxberry/data/system/plugindatabase.json-
22:20:19.909 OK: File permissions set successfully.
22:20:19.910 INFO: Setting file ownership: /bin/chown -v root.root /opt/loxberry/data/system/plugindatabase.json-
22:20:19.927 OK: File ownership set successfully.
'/opt/loxberry/data/system/plugindatabase.json' -> '/opt/loxberry/data/system/plugindatabase.json.bkp'
22:20:19.948 INFO: Setting file permissions: /bin/chmod -v 644 /opt/loxberry/data/system/plugindatabase.json.bkp
22:20:19.959 OK: File permissions set successfully.
22:20:19.959 INFO: Setting file ownership: /bin/chown -v loxberry.loxberry /opt/loxberry/data/system/plugindatabase.json.bkp
22:20:19.977 OK: File ownership set successfully.
22:20:19.977 INFO: Getting file list from /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1
22:20:20.040 INFO: Found 60 files
22:20:20.041 INFO: Filtering out binary files
22:20:20.755 INFO: 11 textfiles found out of 20 files scanned...
22:20:21.313 INFO: 17 textfiles found out of 40 files scanned...
22:20:22.019 INFO: 37 textfiles found out of 60 files scanned...
22:20:22.019 INFO: 37 textfiles found out of 60 files scanned...
22:20:22.019 OK: Found 37 files to be text files
22:20:22.020 INFO: Checking for hardcoded paths to /opt/loxberry
22:20:22.038 OK: No hardcoded paths to /opt/loxberry found
22:20:22.038 INFO: Replacing environment strings.
22:20:22.039 INFO: Running replacement for 37 files
22:20:23.385 INFO: 20 of 37 finished ...
22:20:26.623 OK: Replace of 37 files finished
22:20:26.623 INFO: Converting all plugin files (ASCII) to Unix fileformat.
22:20:30.185 INFO: Installing configuration files.
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/config/mirobot2lox.cfg' -> '/opt/loxberry/config/plugins/mirobot2lox-ng/mirobot2lox.cfg'
22:20:30.248 OK: All file(s) were installed successfully.
22:20:30.249 INFO: Setting file ownership: /bin/chown -Rv loxberry.loxberry /opt/loxberry/config/plugins/mirobot2lox-ng
22:20:30.267 OK: File ownership set successfully.
22:20:30.270 INFO: Installing bin files.
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/audio_generator' -> '/opt/loxberry/bin/plugins/mirobot2lox-ng/audio_generator'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/audio_generator/language' -> '/opt/loxberry/bin/plugins/mirobot2lox-ng/audio_generator/language'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/audio_generator/language/audio_ca.csv' -> '/opt/loxberry/bin/plugins/mirobot2lox-ng/audio_generator/language/audio_ca.csv'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/audio_generator/language/audio_en.csv' -> '/opt/loxberry/bin/plugins/mirobot2lox-ng/audio_generator/language/audio_en.csv'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/audio_generator/language/audio_pl.csv' -> '/opt/loxberry/bin/plugins/mirobot2lox-ng/audio_generator/language/audio_pl.csv'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/audio_generator/language/audio_es.csv' -> '/opt/loxberry/bin/plugins/mirobot2lox-ng/audio_generator/language/audio_es.csv'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/audio_generator/language/audio_fi.csv' -> '/opt/loxberry/bin/plugins/mirobot2lox-ng/audio_generator/language/audio_fi.csv'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/audio_generator/language/audio_de.csv' -> '/opt/loxberry/bin/plugins/mirobot2lox-ng/audio_generator/language/audio_de.csv'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/audio_generator/language/audio_uk.csv' -> '/opt/loxberry/bin/plugins/mirobot2lox-ng/audio_generator/language/audio_uk.csv'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/audio_generator/language/LICENSE' -> '/opt/loxberry/bin/plugins/mirobot2lox-ng/audio_generator/language/LICENSE'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/audio_generator/language/audio_fr.csv' -> '/opt/loxberry/bin/plugins/mirobot2lox-ng/audio_generator/language/audio_fr.csv'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/audio_generator/generate_audio.py' -> '/opt/loxberry/bin/plugins/mirobot2lox-ng/audio_generator/generate_audio.py'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/audio_generator/Readme.md' -> '/opt/loxberry/bin/plugins/mirobot2lox-ng/audio_generator/Readme.md'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/grabber.pl' -> '/opt/loxberry/bin/plugins/mirobot2lox-ng/grabber.pl'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/mirobo_wrapper.sh' -> '/opt/loxberry/bin/plugins/mirobot2lox-ng/mirobo_wrapper.sh'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/bin/token_extractor.sh' -> '/opt/loxberry/bin/plugins/mirobot2lox-ng/token_extractor.sh'
22:20:30.349 OK: All file(s) were installed successfully.
22:20:30.350 INFO: Setting file permissions: /bin/chmod -Rv 755 /opt/loxberry/bin/plugins/mirobot2lox-ng
22:20:30.364 OK: File permissions set successfully.
22:20:30.365 INFO: Setting file ownership: /bin/chown -Rv loxberry.loxberry /opt/loxberry/bin/plugins/mirobot2lox-ng
22:20:30.389 OK: File ownership set successfully.
22:20:30.392 INFO: Installing template files.
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/templates/lang' -> '/opt/loxberry/templates/plugins/mirobot2lox-ng/lang'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/templates/lang/language_cs.ini' -> '/opt/loxberry/templates/plugins/mirobot2lox-ng/lang/language_cs.ini'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/templates/lang/language_de.ini' -> '/opt/loxberry/templates/plugins/mirobot2lox-ng/lang/language_de.ini'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/templates/lang/language_en.ini' -> '/opt/loxberry/templates/plugins/mirobot2lox-ng/lang/language_en.ini'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/templates/settings.html' -> '/opt/loxberry/templates/plugins/mirobot2lox-ng/settings.html'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/templates/templatebuilder.html' -> '/opt/loxberry/templates/plugins/mirobot2lox-ng/templatebuilder.html'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/templates/virtualinput_http.xml' -> '/opt/loxberry/templates/plugins/mirobot2lox-ng/virtualinput_http.xml'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/templates/virtualinput_udp.xml' -> '/opt/loxberry/templates/plugins/mirobot2lox-ng/virtualinput_udp.xml'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/templates/virtualoutput.xml' -> '/opt/loxberry/templates/plugins/mirobot2lox-ng/virtualoutput.xml'
22:20:30.473 OK: All file(s) were installed successfully.
22:20:30.473 INFO: Setting file ownership: /bin/chown -Rv loxberry.loxberry /opt/loxberry/templates/plugins/mirobot2lox-ng
22:20:30.498 OK: File ownership set successfully.
22:20:30.499 INFO: Installing cronjob files.
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/cron/crontab' -> '/opt/loxberry/system/cron/cron.d/mirobot2lox-ng'
22:20:30.522 INFO: Setting file permissions: /bin/chmod -v 644 /opt/loxberry/system/cron/cron.d/*
22:20:30.540 OK: File permissions set successfully.
22:20:30.540 INFO: Setting file ownership: /bin/chown -v root.root /opt/loxberry/system/cron/cron.d/*
22:20:30.566 OK: File ownership set successfully.
22:20:30.567 OK: All file(s) were installed successfully.
22:20:30.572 INFO: Installing htmlauth files.
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/htmlauth/index.cgi' -> '/opt/loxberry/webfrontend/htmlauth/plugins/mirobot2lox-ng/index.cgi'
22:20:30.641 OK: All file(s) were installed successfully.
22:20:30.641 INFO: Setting file permissions: /usr/bin/find /opt/loxberry/webfrontend/htmlauth/plugins/mirobot2lox-ng -iregex '..cgi|..pl|..sh' -exec /bin/chmod -v 755 {} ;
22:20:30.712 OK: File permissions set successfully.
22:20:30.713 INFO: Setting file ownership: /bin/chown -Rv loxberry.loxberry /opt/loxberry/webfrontend/htmlauth/plugins/mirobot2lox-ng
22:20:30.735 OK: File ownership set successfully.
22:20:30.738 INFO: Installing html files.
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sendcmd.cgi' -> '/opt/loxberry/webfrontend/html/plugins/mirobot2lox-ng/sendcmd.cgi'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds' -> '/opt/loxberry/webfrontend/html/plugins/mirobot2lox-ng/sounds'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_ca_aws_female.wav' -> '/opt/loxberry/webfrontend/html/plugins/mirobot2lox-ng/sounds/sample_ca_aws_female.wav'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_ca_gtts_male.wav' -> '/opt/loxberry/webfrontend/html/plugins/mirobot2lox-ng/sounds/sample_ca_gtts_male.wav'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_de_aws_female1.wav' -> '/opt/loxberry/webfrontend/html/plugins/mirobot2lox-ng/sounds/sample_de_aws_female1.wav'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_de_aws_female2.wav' -> '/opt/loxberry/webfrontend/html/plugins/mirobot2lox-ng/sounds/sample_de_aws_female2.wav'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_de_aws_male.wav' -> '/opt/loxberry/webfrontend/html/plugins/mirobot2lox-ng/sounds/sample_de_aws_male.wav'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_de_gtts_female.wav' -> '/opt/loxberry/webfrontend/html/plugins/mirobot2lox-ng/sounds/sample_de_gtts_female.wav'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_en_aws_female.wav' -> '/opt/loxberry/webfrontend/html/plugins/mirobot2lox-ng/sounds/sample_en_aws_female.wav'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_en_aws_male.wav' -> '/opt/loxberry/webfrontend/html/plugins/mirobot2lox-ng/sounds/sample_en_aws_male.wav'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_en_gtts_female.wav' -> '/opt/loxberry/webfrontend/html/plugins/mirobot2lox-ng/sounds/sample_en_gtts_female.wav'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_es_aws_female.wav' -> '/opt/loxberry/webfrontend/html/plugins/mirobot2lox-ng/sounds/sample_es_aws_female.wav'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_es_aws_male.wav' -> '/opt/loxberry/webfrontend/html/plugins/mirobot2lox-ng/sounds/sample_es_aws_male.wav'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_es_gtts_female.wav' -> '/opt/loxberry/webfrontend/html/plugins/mirobot2lox-ng/sounds/sample_es_gtts_female.wav'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_fi_gtts_female.wav' -> '/opt/loxberry/webfrontend/html/plugins/mirobot2lox-ng/sounds/sample_fi_gtts_female.wav'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_fr_aws_female.wav' -> '/opt/loxberry/webfrontend/html/plugins/mirobot2lox-ng/sounds/sample_fr_aws_female.wav'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_fr_aws_male.wav' -> '/opt/loxberry/webfrontend/html/plugins/mirobot2lox-ng/sounds/sample_fr_aws_male.wav'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_fr_gtts_female.wav' -> '/opt/loxberry/webfrontend/html/plugins/mirobot2lox-ng/sounds/sample_fr_gtts_female.wav'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_pl_aws_female.wav' -> '/opt/loxberry/webfrontend/html/plugins/mirobot2lox-ng/sounds/sample_pl_aws_female.wav'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_pl_aws_male.wav' -> '/opt/loxberry/webfrontend/html/plugins/mirobot2lox-ng/sounds/sample_pl_aws_male.wav'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/webfrontend/html/sounds/sample_pl_gtts_male.wav' -> '/opt/loxberry/webfrontend/html/plugins/mirobot2lox-ng/sounds/sample_pl_gtts_male.wav'
22:20:30.856 OK: All file(s) were installed successfully.
22:20:30.857 INFO: Setting file permissions: /usr/bin/find /opt/loxberry/webfrontend/html/plugins/mirobot2lox-ng -iregex '.
.cgi|..pl|..sh' -exec /bin/chmod -v 755 {} ;
22:20:30.935 OK: File permissions set successfully.
22:20:30.935 INFO: Setting file ownership: /bin/chown -Rv loxberry.loxberry /opt/loxberry/webfrontend/html/plugins/mirobot2lox-ng
22:20:30.958 OK: File ownership set successfully.
22:20:30.961 INFO: Installing icon files.
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/icons/icon_128.png' -> '/opt/loxberry/webfrontend/html/system/images/icons/mirobot2lox-ng/icon_128.png'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/icons/icon_256.png' -> '/opt/loxberry/webfrontend/html/system/images/icons/mirobot2lox-ng/icon_256.png'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/icons/icon_512.png' -> '/opt/loxberry/webfrontend/html/system/images/icons/mirobot2lox-ng/icon_512.png'
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/icons/icon_64.png' -> '/opt/loxberry/webfrontend/html/system/images/icons/mirobot2lox-ng/icon_64.png'
22:20:31.041 OK: Icons installed successfully.
22:20:31.042 INFO: Setting file ownership: /bin/chown -Rv loxberry.loxberry /opt/loxberry/webfrontend/html/system/images/icons/mirobot2lox-ng
22:20:31.062 OK: File ownership set successfully.
22:20:31.063 INFO: Installing DAEMON.
'/opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/daemon/daemon' -> '/opt/loxberry/system/daemons/plugins/mirobot2lox-ng'
22:20:31.079 OK: All file(s) were installed successfully.
22:20:31.079 INFO: Setting file permissions: /bin/chmod -v 755 /opt/loxberry/system/daemons/plugins/mirobot2lox-ng
22:20:31.089 OK: File permissions set successfully.
22:20:31.090 INFO: Setting file ownership: /bin/chown -v root.root /opt/loxberry/system/daemons/plugins/mirobot2lox-ng
22:20:31.104 OK: File ownership set successfully.
22:20:31.105 INFO: Refreshing APT database.
22:20:31.676 INFO: No process is locking apt or dpkg. Fine.
22:20:31.693 INFO: Starting dpkg --configure...
22:20:32.403 OK: Configuring dpkg successfully.
22:20:32.404 INFO: Clean up apt-databases and update
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
22:20:49.471 OK: Eventually broken Apt packages installed successfully.
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
22:20:56.929 OK: Apt packages autoremoved successfully.
Hit:1 https://deb.nodesource.com/node_18.x bullseye InRelease
Hit:2 https://deb.debian.org/debian bullseye InRelease
Hit:3 https://deb.debian.org/debian bullseye-updates InRelease
Hit:4 https://dl.yarnpkg.com/debian stable InRelease
Hit:5 https://deb.debian.org/debian-security bullseye-security InRelease
Hit:6 https://deb.debian.org/debian bullseye-backports InRelease
Hit:7 https://archive.raspberrypi.org/debian bullseye InRelease
Reading package lists...
22:21:24.276 OK: Apt database updated successfully.
22:21:24.378 OK: Apt cache cleaned successfully.
22:21:24.380 INFO: Installing additional software packages.
22:21:24.980 INFO: No process is locking apt or dpkg. Fine.
22:21:24.981 INFO: Installing apt packages gcc libffi-dev libssl-dev python3-dev ccrypt liburi-encode-perl python3-pip...
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 7 reinstalled, 0 to remove and 0 not upgraded.
Need to get 2195 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 https://deb.debian.org/debian bullseye/main arm64 ccrypt arm64 1.11-2 [63.4 kB]
Get:2 https://deb.debian.org/debian bullseye/main arm64 gcc arm64 4:10.2.1-1 [5208 B]
Get:3 https://deb.debian.org/debian bullseye/main arm64 libffi-dev arm64 3.3-6 [53.2 kB]
Get:4 https://deb.debian.org/debian bullseye/main arm64 liburi-encode-perl all 1.1.1-1 [10.1 kB]
Get:5 https://deb.debian.org/debian bullseye/main arm64 python3-dev arm64 3.9.2-3 [24.8 kB]
Get:6 https://archive.raspberrypi.org/debian bullseye/main arm64 libssl-dev arm64 1.1.1n-0+deb11u4+rpt1 [1701 kB]
Get:7 https://archive.raspberrypi.org/debian bullseye/main arm64 python3-pip all 20.3.4-4+rpt1+deb11u1 [337 kB]
Fetched 2195 kB in 1s (3051 kB/s)
(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 82767 files and directories currently installed.)
Preparing to unpack .../0-ccrypt_1.11-2_arm64.deb ...
Unpacking ccrypt (1.11-2) over (1.11-2) ...
Preparing to unpack .../1-gcc_4%3a10.2.1-1_arm64.deb ...
Unpacking gcc (4:10.2.1-1) over (4:10.2.1-1) ...
Preparing to unpack .../2-libffi-dev_3.3-6_arm64.deb ...
Unpacking libffi-dev:arm64 (3.3-6) over (3.3-6) ...
Preparing to unpack .../3-libssl-dev_1.1.1n-0+deb11u4+rpt1_arm64.deb ...
Unpacking libssl-dev:arm64 (1.1.1n-0+deb11u4+rpt1) over (1.1.1n-0+deb11u4+rpt1) ...
Preparing to unpack .../4-liburi-encode-perl_1.1.1-1_all.deb ...
Unpacking liburi-encode-perl (1.1.1-1) over (1.1.1-1) ...
Preparing to unpack .../5-python3-dev_3.9.2-3_arm64.deb ...
Unpacking python3-dev (3.9.2-3) over (3.9.2-3) ...
Preparing to unpack .../6-python3-pip_20.3.4-4+rpt1+deb11u1_all.deb ...
Unpacking python3-pip (20.3.4-4+rpt1+deb11u1) over (20.3.4-4+rpt1+deb11u1) ...
Setting up ccrypt (1.11-2) ...
Setting up libffi-dev:arm64 (3.3-6) ...
Setting up gcc (4:10.2.1-1) ...
Setting up liburi-encode-perl (1.1.1-1) ...
Setting up python3-dev (3.9.2-3) ...
Setting up libssl-dev:arm64 (1.1.1n-0+deb11u4+rpt1) ...
Setting up python3-pip (20.3.4-4+rpt1+deb11u1) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for install-info (6.7.0.dfsg.2-6) ...
22:22:57.900 OK: Packages gcc libffi-dev libssl-dev python3-dev ccrypt liburi-encode-perl python3-pip successfully installed
22:22:57.901 OK: Package installed successfully.
22:22:57.917 INFO: Updating skels for Logfiles in tmpfs.
22:22:58.600 OK: Script/Command executed successfully.
22:22:58.601 INFO: Starting script POSTINSTALL.
22:22:58.601 INFO: Setting file permissions: /bin/chmod -v a+x /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/postinstall.sh
22:22:58.612 OK: File permissions set successfully.
INFO: Creating symbolic links
'/opt/loxberry/webfrontend/html/plugins/mirobot2lox-ng/robotsdata.txt' -> '/opt/loxberry/log/plugins/mirobot2lox-ng/robotsdata.txt'
mkdir: cannot create directory '/opt/loxberry/.cache': File exists
'/opt/loxberry/.cache/python-miio' -> '/opt/loxberry/log/plugins/mirobot2lox-ng'
22:22:58.693 OK: Script/Command executed successfully.
22:22:58.693 INFO: Starting script POSTROOT.
22:22:58.694 INFO: Setting file permissions: /bin/chmod -v a+x /opt/loxberry/data/system/tmp/uploads/mNe4mDjMXQ/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-1.3.0.1/postroot.sh
22:22:58.704 OK: File permissions set successfully.
INFO: Installation as root user started.
INFO: Start installing Rust Toolchain...
info: downloading installer
info: profile set to 'default'
info: default host triple is aarch64-unknown-linux-gnu
warning: Updating existing toolchain, profile choice will be ignored
info: syncing channel updates for 'stable-aarch64-unknown-linux-gnu'
info: default toolchain set to 'stable-aarch64-unknown-linux-gnu'

stable-aarch64-unknown-linux-gnu unchanged - rustc 1.69.0 (84c898d65 2023-04-16)

Rust is installed now. Great!

To get started you may need to restart your current shell.
This would reload your PATH environment variable to include
Cargo's bin directory ($HOME/.cargo/bin).

To configure your current shell, run:
source "$HOME/.cargo/env"
OK: Rust Toolchain installed successfully.
INFO: Start installing pip3...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pip in /usr/local/lib/python3.9/dist-packages (23.1.2)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
yes: standard output: Broken pipe
OK: Python Pip installed successfully.
INFO: Start installing Python Wheel...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: wheel in /usr/lib/python3/dist-packages (0.34.2)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
yes: standard output: Broken pipe
OK: Python Setuptools installed successfully.
INFO: Start installing Python Setuptools...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (52.0.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
yes: standard output: Broken pipe
OK: Python Setuptools installed successfully.
INFO: Start installing Python YAML...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pyyaml in /usr/local/lib/python3.9/dist-packages (6.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
yes: standard output: Broken pipe
OK: Python YAML installed successfully.
INFO: Start installing Python Cryptography tools...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: cryptography in /usr/local/lib/python3.9/dist-packages (40.0.2)
Requirement already satisfied: cffi>=1.12 in /usr/local/lib/python3.9/dist-packages (from cryptography) (1.15.1)
Requirement already satisfied: pycparser in /usr/local/lib/python3.9/dist-packages (from cffi>=1.12->cryptography) (2.21)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
yes: standard output: Broken pipe
OK: Python Cryptography tools installed successfully.
INFO: Start installing Python Appdirs tools...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: appdirs in /usr/local/lib/python3.9/dist-packages (1.4.4)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
yes: standard output: Broken pipe
OK: Python Appdirs tools installed successfully.
INFO: Start installing Python GoogleTTS Module...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: gTTS in /usr/local/lib/python3.9/dist-packages (2.3.2)
Requirement already satisfied: requests<3,>=2.27 in /usr/local/lib/python3.9/dist-packages (from gTTS) (2.31.0)
Requirement already satisfied: click<8.2,>=7.1 in /usr/local/lib/python3.9/dist-packages (from gTTS) (8.1.3)
Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.9/dist-packages (from requests<3,>=2.27->gTTS) (3.1.0)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.9/dist-packages (from requests<3,>=2.27->gTTS) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.9/dist-packages (from requests<3,>=2.27->gTTS) (2.0.2)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/dist-packages (from requests<3,>=2.27->gTTS) (2023.5.7)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
yes: standard output: Broken pipe
OK: Python GoogleTTS Module installed successfully.
INFO: Start installing Python NetIfaces Module...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting netifaces
Using cached netifaces-0.11.0.tar.gz (30 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Building wheels for collected packages: netifaces
Building wheel for netifaces (setup.py): started
Building wheel for netifaces (setup.py): finished with status 'error'
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [29 lines of output]
running bdist_wheel
running build
running build_ext
checking for getifaddrs...not found.
checking for getnameinfo...not found.
checking for socket IOCTLs...not found.
checking for optional header files...none found.
checking whether struct sockaddr has a length field...no.
checking which sockaddr_xxx structs are defined...none!
checking for routing socket support...no.
checking for sysctl(CTL_NET...) support...no.
checking for netlink support...no.
building 'netifaces' extension
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/build/python3.9-PN012d/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DNETIFACES_VERSION=0.11.0 -I/usr/include/python3.9 -c netifaces.c -o build/temp.linux-aarch64-3.9/netifaces.o
netifaces.c:210:6: error: #error You need to add code for your platform.
210 | # error You need to add code for your platform.
| ^~~~~
netifaces.c: In function ‘gateways’:
netifaces.c:1469:22: warning: unused variable ‘defaults’ [-Wunused-variable]
1469 | PyObject *result, *defaults;
| ^~~~~~~~
At top level:
netifaces.c:689:1: warning: ‘add_to_family’ defined but not used [-Wunused-function]
689 | add_to_family (PyObject *result, int family, PyObject *obj)
| ^~~~~~~~~~~~~
netifaces.c:438:1: warning: ‘string_from_netmask’ defined but not used [-Wunused-function]
438 | string_from_netmask (struct sockaddr *addr,
| ^~~~~~~~~~~~~~~~~~~
error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for netifaces
Running setup.py clean for netifaces
Failed to build netifaces
ERROR: Could not build wheels for netifaces, which is required to install pyproject.toml-based projects
yes: standard output: Broken pipe
WARNING: Python Netifaces Module installation failed! The plugin will not work without.
WARNING: Giving up.
22:24:39.835 CRITICAL: Script/Command fails. Installation cannot be continued.
24.05.2023 22:24:40 TASK FINISHED

Broken pipe Python MIIO tools installation failed! V1.0.1

Installation des Plugins bricht ab. Loxberry wurde schon neu aufgesetzt.

Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-7kpmxhk3/cffi/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-8pthm0gv/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-7kpmxhk3/cffi/ yes: standard output: Broken pipe Python MIIO tools installation failed!

8S6aQhMIRo.txt

S8 Pro Ultra -> Unknown Model

Thanks for the great pluging.
Unfortunately Model S8 not supported yet -> Unknown model

INFO:miio.cli:Debug mode active
DEBUG:miio.click_common:Unknown model, trying autodetection. None None
DEBUG:miio.miioprotocol:Unable to discover a device at address 192.xxx.xxx.xxx
DEBUG:miio.click_common:Exception: Unable to discover the device 192.xxx.xxx.xxx

Roborock S5 Error on 1.2.1.3

Hello,

I added your plugin to take control of my roborock S5 unfortunately it returns me each time this error:

Dollar1 = 192.168..
Dollar2 = ************
Dollar3 = raw_command
Dollar4 = miIO.info
Dollar5 = roborockvacuum
Dollar6 = 1
/usr/local/bin/miiocli -d -o json_pretty roborockvacuum --ip 192.168.. --token ******* raw_command miIO.info 2>&1

Output:

Traceback (most recent call last):
File "/usr/local/bin/miiocli", line 5, in
from miio.cli import create_cli
File "/usr/local/lib/python3.7/dist-packages/miio/cli.py", line 43, in
cli.add_command(device_class.get_device_group())
File "/usr/local/lib/python3.7/dist-packages/miio/integrations/vacuum/roborock/vacuum.py", line 932, in get_device_group
@dg.resultcallback()
AttributeError: 'DeviceGroup' object has no attribute 'resultcallback'

I have hidden my token and the ends of the Local IP address but I'm sure that all is well with the settings
Can you help me ? Thanks in advance.

Sprachdateien zu leise

Lautstärke der per TTS erzeugten Dateien müsste erhöht werden, bevor Sprachdateien kompiliert werden.

Besteht da noch Bedarf? Der Roborock bringt Deutsche Sprache bereits mit...

Can not download Token

With the original bash script from the loxberry plugin i got the failure issue, curl: (23) Failed writing header.
In this case i try the python sript from Xiaomi-cloud-tokens-extractor. But now i got the failure
Two factor authentication required, please use following url and restart extractor: If i click on the link i got a new pin to varify my
email address and the script closed.

Statusmeldungen fehlen

https://www.loxforum.com/forum/projektforen/loxberry/plugins/168084-plugin-mirobot2lox-ng-xiaomi-vacuum-robots?p=170154#post170154

https://www.loxforum.com/forum/projektforen/loxberry/plugins/168084-plugin-mirobot2lox-ng-xiaomi-vacuum-robots?p=176073#post176073

Was bedeutet der Fehlercode: Error 1

Der auf dem Saugroboter befindliche Laser-Distanzmesser ist verschmutzt oder blockiert. Versuche den Sensor zu reinigen und den evtl. blockierenden Gegenstand zu entfernen.

Was bedeutet der Fehlercode: Error 2

Die seitlichen und unterhalb befindlichen Kollisionssensoren sind verschmutzt oder blockiert. Versuche die Sensoren zu reinigen und den evtl. blockierenden Gegenstand zu entfernen.

Was bedeutet der Fehlercode: Error 3

Das Antriebsrad ist blockiert. Heb den Saugroboter an und befreie ihn von der Blockade.

Was bedeutet der Fehlercode: Error 4

Der Anti-Fall-Sensor ist verschmutzt oder blockiert und erkennt dadurch keine Absätze mehr! Versuche die Sensoren zu reinigen und den evtl. blockierenden Gegenstand zu entfernen.

Was bedeutet der Fehlercode: Error 5

Die Hauptbürste ist blockiert und kann sich nicht mehr drehen. Entkopple die Hauptbürste und befreie sie von Schmutz und Haaren.

Was bedeutet der Fehlercode: Error 6

Die Seitenbürste ist blockiert und kann sich nicht mehr drehen. Entkopple die Seitenbürste und befreie sie von Schmutz und Haaren.

Was bedeutet der Fehlercode: Error 7

Das Antriebsrad ist blockiert. Hebe den Saugroboter an und befreie ihn von der Blockade.

Was bedeutet der Fehlercode: Error 8

Der Saugroboter hat sich festgefahren. Befreie ihn, damit er seine Arbeit fortsetzen kann.

Was bedeutet der Fehlercode: Error 9

Installiere den Saugbehälter samt Filter. Sollte der Fehlercode fortbestehen, reinige oder tausche den Filter aus.

Was bedeutet der Fehlercode: Error 10

Der Filter ist stark verschmutzt oder blockiert. Reinige den Filter oder tausche den Filter aus.

Was bedeutet der Fehlercode: Error 11

Der Saugroboter ist einem starken Magnetfeld ausgesetzt. Platziere ihn woanders.

Was bedeutet der Fehlercode: Error 12

Der Akku ist fast leer. Lade den Saugroboter über das Dock.

Was bedeutet der Fehlercode: Error 13

Es gibt ein Problem beim Laden. Überprüfe ob die Ladekontakte miteinander verbunden sind.

Was bedeutet der Fehlercode: Error 14

Der Akku ist überhitzt. Schalten den Saugroboter aus und lasse ihn abkühlen.

Was bedeutet der Fehlercode: Error 15

Der Sensor des Ladedocks ist verschmutzt. Reinige den Sensor, damit der Saugroboter automatisch zur Ladestation zurückfindet.

Was bedeutet der Fehlercode: Error 16

Der Saugroboter befindet sich auf unebener Fläche. Platziere ihn neu.

Was bedeutet der Fehlercode: Error 17

Die Seitenbürste arbeitet nicht richtig. Setze den Roborock auf die Werkseinstellungen zurück.

Was bedeutet der Fehlercode: Error 18

Der Saugroboter arbeitet nicht richtig. Setze den Roborock auf die Werkseinstellungen zurück.

Was bedeutet der Fehlercode: Error 21

Der auf dem Saugroboter befindliche Laser-Distanzmesser ist verschmutzt oder blockiert. Versuche den Sensor zu reinigen und den evtl. blockierenden Gegenstand zu entfernen.

Was bedeutet der Fehlercode: Error 22

Es gibt ein Problem beim Laden. Überprüfe ob die Ladekontakte verschmutzt sind und reinige diese ggf.

Was bedeutet der Fehlercode: Error 23

Der Sensor des Ladedocks ist verschmutzt. Reinige den Sensor, damit der Saugroboter automatisch zur Ladestation zurückfindet.
Quelle: https://www.techreviewer.de/xiaomi-roborock-saugroboter/

Script is not working with my Robot

Hi,
at first thx for creating this projekt!
I have little problem with it.
This is my log when I try to test the conection:

Dollar1 = 192.168.1.41
Dollar2 = 4833523745675568597165586C6E4466
Dollar3 = raw_command
Dollar4 = miIO.info
Dollar5 = roborockvacuum
Dollar6 = 1
/usr/local/bin/miiocli -d -o json_pretty roborockvacuum --ip 192.168.1.41 --token 4833523745675568597165586C6E4466 raw_command miIO.info 2>&1

Output:

INFO:miio.cli:Debug mode active
DEBUG:miio.click_common:Unknown model, trying autodetection. None None
DEBUG:miio.miioprotocol:Unable to discover a device at address 192.168.1.41
DEBUG:miio.click_common:Exception: Unable to discover the device 192.168.1.41
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/miio/click_common.py", line 51, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/miio/click_common.py", line 326, in wrap
result = func(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/click/decorators.py", line 92, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/miio/click_common.py", line 270, in command_callback
return miio_command.call(miio_device, *args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/miio/click_common.py", line 217, in call
return method(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/miio/click_common.py", line 183, in _wrap
self._fetch_info()
File "/usr/local/lib/python3.9/dist-packages/miio/integrations/vacuum/roborock/vacuum.py", line 260, in _fetch_info
info = super()._fetch_info()
File "/usr/local/lib/python3.9/dist-packages/miio/device.py", line 153, in _fetch_info
devinfo = DeviceInfo(self.send("miIO.info"))
File "/usr/local/lib/python3.9/dist-packages/miio/device.py", line 107, in send
return self._protocol.send(
File "/usr/local/lib/python3.9/dist-packages/miio/miioprotocol.py", line 161, in send
self.send_handshake()
File "/usr/local/lib/python3.9/dist-packages/miio/miioprotocol.py", line 74, in send_handshake
raise DeviceException("Unable to discover the device %s" % self.ip)
miio.exceptions.DeviceException: Unable to discover the device 192.168.1.41
Error: Unable to discover the device 192.168.1.41

When I test the conection via ping in the CMD window everything is fine.
I also get some python related errors while installing it on my loxberry (v 3.0.0.6 on RPI 4) .
Please help, the robot must talk to my miniserver so it will start to work when I"m not at home...

Thx in advance, Patrick

Installation bricht ab / gcc fehlt

Aus dem Loxforum:

Hallo zusammen.
Ich hatte das gleiche Problem und konnte es heute lösen. Vielleicht kann man da etwas für die Plugin Installation ableiten.

Ich habe den Fehler bei Google eingegeben und folgende Link gefunden:
https://stackoverflow.com/questions/...-exit-status-1

Ich habe dann folgende Befehle über Putty ausgeführt: (Waren im 2. Beitrag)
sudo apt-get install gcc
sudo apt-get install gcc libffi-dev libssl-dev python3-dev

Danach habe ich das Plugin neu installiert.

Vielleicht hilft es den anderen ja auch.
Gruß Lars

https://www.loxforum.com/forum/projektforen/loxberry/plugins/168084-plugin-mirobot2lox-ng-xiaomi-vacuum-robots?p=193932#post193932

Installation failed

I tried different solutions proposed here, but I always end up in the same issue...

Thanks for your help.

Logfile see below:

  no previously-included directories found matching 'docs/_build'
  warning: no previously-included files found matching 'vectors'
  warning: no previously-included files matching '*' found under directory 'vectors'
  warning: no previously-included files matching '*' found under directory '.github'
  warning: no previously-included files found matching 'release.py'
  warning: no previously-included files found matching '.coveragerc'
  warning: no previously-included files found matching 'codecov.yml'
  warning: no previously-included files found matching '.readthedocs.yml'
  warning: no previously-included files found matching 'dev-requirements.txt'
  warning: no previously-included files found matching 'tox.ini'
  warning: no previously-included files found matching 'mypy.ini'
  warning: no previously-included files matching '*' found under directory '.circleci'
  adding license file 'LICENSE'
  adding license file 'LICENSE.APACHE'
  adding license file 'LICENSE.BSD'
  adding license file 'LICENSE.PSF'
  writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
  copying src/cryptography/py.typed -> build/lib.linux-armv7l-cpython-37/cryptography
  creating build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/_rust
  copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/_rust
  copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/_rust
  copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/_rust
  copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-armv7l-cpython-37/cryptography/hazmat/bindings/_rust
  running build_ext
  generating cffi module 'build/temp.linux-armv7l-cpython-37/_openssl.c'
  creating build/temp.linux-armv7l-cpython-37
  running build_rust
  info: syncing channel updates for 'stable-armv7-unknown-linux-gnueabihf'
  info: latest update on 2022-06-30, rust version 1.62.0 (a8314ef7d 2022-06-27)
  info: syncing channel updates for 'stable-armv7-unknown-linux-gnueabihf'
  info: latest update on 2022-06-30, rust version 1.62.0 (a8314ef7d 2022-06-27)
  info: syncing channel updates for 'stable-armv7-unknown-linux-gnueabihf'
  info: latest update on 2022-06-30, rust version 1.62.0 (a8314ef7d 2022-06-27)
  info: syncing channel updates for 'stable-armv7-unknown-linux-gnueabihf'
  info: latest update on 2022-06-30, rust version 1.62.0 (a8314ef7d 2022-06-27)
  info: syncing channel updates for 'stable-armv7-unknown-linux-gnueabihf'
  info: latest update on 2022-06-30, rust version 1.62.0 (a8314ef7d 2022-06-27)
  info: syncing channel updates for 'stable-armv7-unknown-linux-gnueabihf'
  info: latest update on 2022-06-30, rust version 1.62.0 (a8314ef7d 2022-06-27)
  info: syncing channel updates for 'stable-armv7-unknown-linux-gnueabihf'
  info: latest update on 2022-06-30, rust version 1.62.0 (a8314ef7d 2022-06-27)
  info: syncing channel updates for 'stable-armv7-unknown-linux-gnueabihf'
  info: latest update on 2022-06-30, rust version 1.62.0 (a8314ef7d 2022-06-27)
  info: syncing channel updates for 'stable-armv7-unknown-linux-gnueabihf'
  info: latest update on 2022-06-30, rust version 1.62.0 (a8314ef7d 2022-06-27)
  info: syncing channel updates for 'stable-armv7-unknown-linux-gnueabihf'
  info: latest update on 2022-06-30, rust version 1.62.0 (a8314ef7d 2022-06-27)
  info: syncing channel updates for 'stable-armv7-unknown-linux-gnueabihf'
  info: latest update on 2022-06-30, rust version 1.62.0 (a8314ef7d 2022-06-27)
  info: syncing channel updates for 'stable-armv7-unknown-linux-gnueabihf'
  info: latest update on 2022-06-30, rust version 1.62.0 (a8314ef7d 2022-06-27)
  info: syncing channel updates for 'stable-armv7-unknown-linux-gnueabihf'
  info: latest update on 2022-06-30, rust version 1.62.0 (a8314ef7d 2022-06-27)
  info: syncing channel updates for 'stable-armv7-unknown-linux-gnueabihf'
  info: latest update on 2022-06-30, rust version 1.62.0 (a8314ef7d 2022-06-27)
  info: syncing channel updates for 'stable-armv7-unknown-linux-gnueabihf'
  info: latest update on 2022-06-30, rust version 1.62.0 (a8314ef7d 2022-06-27)
  info: syncing channel updates for 'stable-armv7-unknown-linux-gnueabihf'
  info: latest update on 2022-06-30, rust version 1.62.0 (a8314ef7d 2022-06-27)
  info: syncing channel updates for 'stable-armv7-unknown-linux-gnueabihf'
  info: latest update on 2022-06-30, rust version 1.62.0 (a8314ef7d 2022-06-27)
  info: syncing channel updates for 'stable-armv7-unknown-linux-gnueabihf'
  info: latest update on 2022-06-30, rust version 1.62.0 (a8314ef7d 2022-06-27)
  info: syncing channel updates for 'stable-armv7-unknown-linux-gnueabihf'
  info: latest update on 2022-06-30, rust version 1.62.0 (a8314ef7d 2022-06-27)
  info: syncing channel updates for 'stable-armv7-unknown-linux-gnueabihf'
  info: latest update on 2022-06-30, rust version 1.62.0 (a8314ef7d 2022-06-27)
  info: syncing channel updates for 'stable-armv7-unknown-linux-gnueabihf'
  info: latest update on 2022-06-30, rust version 1.62.0 (a8314ef7d 2022-06-27)
  error: 'rustc' is not installed for the toolchain 'stable-armv7-unknown-linux-gnueabihf'
  To install, run `rustup component add rustc`
  /usr/local/lib/python3.7/dist-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning:     Installing 'cryptography.hazmat.bindings._rust' as data is deprecated, please list it in `packages`.
      !!
  
  
      ############################
      # Package would be ignored #
      ############################
      Python recognizes 'cryptography.hazmat.bindings._rust' as an importable package,
      but it is not listed in the `packages` configuration of setuptools.
  
      'cryptography.hazmat.bindings._rust' has been automatically added to the distribution only
      because it may contain data files, but this behavior is likely to change
      in future versions of setuptools (and therefore is considered deprecated).
  
      Please make sure that 'cryptography.hazmat.bindings._rust' is included as a package by using
      the `packages` configuration field or the proper discovery methods
      (for example by using `find_namespace_packages(...)`/`find_namespace:`
      instead of `find_packages(...)`/`find:`).
  
      You can read more about "package discovery" and "data files" on setuptools
      documentation page.
  
  
  !!
  
    check.warn(importable)
  
      =============================DEBUG ASSISTANCE=============================
      If you are seeing a compilation error please try the following steps to
      successfully install cryptography:
      1) Upgrade to the latest pip and try again. This will fix errors for most
         users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
      2) Read https://cryptography.io/en/latest/installation/ for specific
         instructions for your platform.
      3) Check our frequently asked questions for more information:
         https://cryptography.io/en/latest/faq/
      4) Ensure you have a recent Rust toolchain installed:
         https://cryptography.io/en/latest/installation/#rust
  
      Python: 3.7.3
      platform: Linux-4.19.118-v7+-armv7l-with-debian-10.6
      pip: 22.1.2
      setuptools: 63.1.0
      setuptools_rust: 1.4.1
      =============================DEBUG ASSISTANCE=============================
  
  error: can't find Rust compiler
  
  If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
  
  To update pip, run:
  
      pip install --upgrade pip
  
  and then retry package installation.
  
  If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
  
  This package requires Rust >=1.41.0.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
yes: standard output: Broken pipe
Python Cryptography tools installation failed! The plugin will not work without.
Giving up.
13.07.2022 20:50:39 Script fails. Installation cannot be continued.
Use of uninitialized value in concatenation (.) or string at /opt/loxberry/sbin/plugininstall.pl line 1810.
Use of uninitialized value in concatenation (.) or string at /opt/loxberry/sbin/plugininstall.pl line 1811
hLZ6TQC4bX.log
.

Update failt

from pip._internal.main import main
ModuleNotFoundError: No module named 'pip._internal.main'
WARNING: Python Setuptools installation failed! We will continue anyway.
INFO: Start installing Python Setuptools...

Traceback (most recent call last):
File "/usr/local/bin/pip3", line 6, in
from pip._internal.main import main
ModuleNotFoundError: No module named 'pip._internal.main'
yes: standard output: Broken pipe
Traceback (most recent call last):
File "/usr/local/bin/pip3", line 6, in
from pip._internal.main import main
ModuleNotFoundError: No module named 'pip._internal.main'
WARNING: Python Setuptools installation failed! The plugin will not work without.
WARNING: Giving up.
20:27:23.097 CRITICAL: Script/Command fails. Installation cannot be continued.
20:27:23.098 INFO: Executing command '/usr/bin/sudo -n -u loxberry rm -vf /tmp/wQo0NmBajY.zip 2>&1'...
20:27:23.199 OK: Command executed successfully. - Exitcode 0

0.5.1 error - Python Setuptools installation failed!

INFO: Starte Script PREROOT.
INFO: Command: cd "/tmp/uploads/8yyPFt1F1j/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-0.5.1" && "/tmp/uploads/8yyPFt1F1j/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-0.5.1/preroot.sh" "8yyPFt1F1j" "mirobot2lox-ng" "mirobot2lox-ng" "0.5.1" "/opt/loxberry" "/tmp/uploads/8yyPFt1F1j/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-0.5.1"
mode of '/tmp/uploads/8yyPFt1F1j/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-0.5.1/preroot.sh' retained as 0755 (rwxr-xr-x)
INFO: Installation as root user started.
INFO: Start installing Python Setuptools...
/tmp/uploads/8yyPFt1F1j/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-0.5.1/preroot.sh: line 59: pip3: command not found
yes: standard output: Broken pipe
/tmp/uploads/8yyPFt1F1j/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-0.5.1/preroot.sh: line 61: pip3: command not found
WARNING: Python Setuptools installation failed!
8yyPFt1F1j.log
The plugin will not work without.
WARNING: Giving up.
CRITICAL: Fehler während der Script-Installation, die Installation wurde beendet.
removed '/tmp/8yyPFt1F1j.zip'

Request to implement zoned_clean, GoTO, spot

I would appriciate if you could implement the zoned_clean(),goto(x_coord, y_coord) & spot() function, so a quick clean of the most dirt spots can be done. Cleaning the whole ground floor takes over 1 hour, while cleaning the always dirty spots would only take 15 minutes.
If there would be a custom function provided by loxberry, where i could specify the combination of goto, spot and zoned_clean to be executed in sequence that would be ideal, but I already would be happy if the individual funstions would exist.

Ein Fehler trat auf, das Plugin konnte nicht installiert werden.

Situation:

  • komplett neu aufgesetzter loxberry
  • loxberry version 1.4.0.3
  • plugin zum ersten mal installiert
  • Fehler in der Console

compilation terminated.
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1


Failed building wheel for cryptography
Running setup.py clean for cryptography
Failed to build cryptography
Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
yes: standard output: Broken pipe
WARNING: Python MIIO tools installation failed! The plugin will not work without.
WARNING: Giving up.
08.03.2019 09:09:51 CRITICAL: Fehler während der Script-Installation, die Installation wurde beendet.
removed '/tmp/SgqitINjgo.zip'

"Disable Do-Not-Disturb-Mode" funktioniert nicht

Hi,
ich habe festgestellt, dass das "do_not_disturb"-Kommando falsch abgesetzt wird.
Ich bekomme folgende Antwort:

/usr/local/bin/miiocli  -o json_pretty vacuum --ip myIP --token mySecretToken dnd_disable  2>&1

Output:

Usage: miiocli vacuum [OPTIONS] COMMAND [ARGS]...
Try "miiocli vacuum --help" for help.

Error: Unknown command (dnd_disable)

Wenn ich das --help-Kommando aufrufe sehe ich, dass das miiocli-Kommando anders heißt: disable_dnd

Hier müsste wohl der Aufruf im Plugin-Frontend sowie bei der generierten VO-Vorlage angepasst werden. Eine manuelle Korrektur des EIN-Befehls in LoxoneConfig führt zum gewünschten Ergebnis.
image

Viele Grüße
Tim

Grabber bricht ab, wenn ein Robot nicht erreichbar ist

Das muss abgefangen werden:

loxberry@loxberrykeller:~/bin/plugins/mirobot2lox-ng $ miiocli  -o json_pretty vacuum --ip 192.168.3.40 --token 77XXXXXXXXXXXX56 status
ERROR:miio.device:Unable to discover a device at address 192.168.3.40
Error: Unable to discover the device 192.168.3.40
loxberry@loxberrykeller:~/bin/plugins/mirobot2lox-ng $

Das ergibt:

<INFO> /opt/loxberry/bin/plugins/mirobot2lox-ng/mirobo_wrapper.sh 192.168.3.40 7XXXXXXX86456 status none 2
malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "ERROR:miio.device:Un...") at ./grabber.pl line 98.
<LOGEND> 14.03.2019 05:15:03 TASK FINISHED

Problem installing

Installation as root user started.
Start installing Python Setuptools...
/tmp/uploads/MX5aYpToZI/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-0.5.0/preroot.sh: line 59: pip3: command not found
yes: standard output: Broken pipe
/tmp/uploads/MX5aYpToZI/LoxBerry-Plugin-MiRobot2Lox-NG-mirobot2lox-ng-0.5.0/preroot.sh: line 61: pip3: command not found
Python Setuptools installation failed! The plugin will not work without.
Giving up.
Fehler während der Script-Installation, die Installation wurde beendet.
error log.log

Sending status doesn't work because of python3.5 deprecation warning

It looks like the crypthography package used by the python3-miio package is deprecated for python3.5.

When using the /opt/loxberry/bin/plugins/mirobot2lox-ng/mirobo_wrapper.sh to fetch the latest status always the following warning is printed:

/usr/local/lib/python3.5/dist-packages/miio/protocol.py:24: CryptographyDeprecationWarning: Python 3.5 support will be dropped in the next release of cryptography. Please upgrade your Python.

This makes the JSON parsing to fail and no status is send to loxone.

As updating python3 (which is installed using apt), might not be the best option, i workaround this problem by adding the following env variable to the mirobo_wrapper.sh script.

PYTHONWARNINGS=ignore

Czech translation

Hi Michael,
I made the translation into Czech. Please can you implement new language to the plugin?
Thank you,
Pavel

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.