Comments (6)
seems to work. after running to command again, deebot has start cleaning.
root@rasp:/home/pi/developement/ecovacs-deebot.js/example# NODE_ENV=dev node app2.js | grep -E 'class:|company:|nick:'
class: 'vi829v',
nick: 'Staubsauger',
company: 'eco-ng',
^C
from ecovacs-deebot.js.
Hi scobby,
the Ozmo 920 model is not supported yet. As far as I know it's simular to Ozmo 950, so we maybe only need to know the "deviceClass" of that model.
Please install the library:
git clone https://github.com/mrbungle64/ecovacs-deebot.js.git
cd ecovacs-deebot.js
npm install
cd example
In the file app2.js please modify email and password and then run the file:
NODE_ENV=dev node app2.js | grep -E 'class:|company:|nick:'
If Failure code 0002
appears please repeat until it's working.
from ecovacs-deebot.js.
First output was:
[EcovacsAPI] Failure code 0002
Second output:
root@rasp:/home/pi/developement/ecovacs-deebot.js/example# NODE_ENV=dev node app2.js | grep -E 'class:|company:|nick:'
class: 'vi829v',
nick: 'Staubsauger',
company: 'eco-ng',
/home/pi/developement/ecovacs-deebot.js/library/ecovacsMQTT.js:217
event = firstChild.attributes.getNamedItem('td').value;
^
TypeError: Cannot read property 'getNamedItem' of null
at EcovacsMQTT._command_to_dict (/home/pi/developement/ecovacs-deebot.js/library/ecovacsMQTT.js:217:43)
at EcovacsMQTT._handle_message_payload (/home/pi/developement/ecovacs-deebot.js/library/ecovacsMQTT.js:202:27)
at MqttClient.EcovacsMQTT.client.on (/home/pi/developement/ecovacs-deebot.js/library/ecovacsMQTT.js:81:18)
at MqttClient.emit (events.js:198:13)
at MqttClient._handlePublish (/home/pi/developement/ecovacs-deebot.js/node_modules/mqtt/lib/client.js:1162:12)
at MqttClient._handlePacket (/home/pi/developement/ecovacs-deebot.js/node_modules/mqtt/lib/client.js:351:12)
at work (/home/pi/developement/ecovacs-deebot.js/node_modules/mqtt/lib/client.js:283:12)
at Writable.writable._write (/home/pi/developement/ecovacs-deebot.js/node_modules/mqtt/lib/client.js:294:5)
at doWrite (/home/pi/developement/ecovacs-deebot.js/node_modules/readable-stream/lib/_stream_writable.js:428:64)
at writeOrBuffer (/home/pi/developement/ecovacs-deebot.js/node_modules/readable-stream/lib/_stream_writable.js:417:5)
from ecovacs-deebot.js.
...
class: 'vi829v',
...
@scobby
ok thanks, I'll update the library later this evening.
from ecovacs-deebot.js.
First output was:
[EcovacsAPI] Failure code 0002
If Failure code 0002
appears please repeat until it's working
...
/home/pi/developement/ecovacs-deebot.js/library/ecovacsMQTT.js:217
event = firstChild.attributes.getNamedItem('td').value;
^TypeError: Cannot read property 'getNamedItem' of null
at EcovacsMQTT._command_to_dict (/home/pi/developement/ecovacs-deebot.js/library/ecovacsMQTT.js:217:43)
at EcovacsMQTT._handle_message_payload (/home/pi/developement/ecovacs-deebot.js/library/ecovacsMQTT.js:202:27)
at MqttClient.EcovacsMQTT.client.on (/home/pi/developement/ecovacs-deebot.js/library/ecovacsMQTT.js:81:18)
...
@scobby
Can you please update to latest GitHub version of the library and give me feedback if it works now?
from ecovacs-deebot.js.
Thx you very much!
from ecovacs-deebot.js.
Related Issues (20)
- Implementation of the ability to also use the yeedi API HOT 16
- Crash while trying to read undefined data HOT 9
- Are there anyway to connect to the Ecovacs Robot without login? HOT 1
- No "ready" event received HOT 2
- Waterbox info HOT 4
- CleanReport and CleanSum HOT 12
- Move Left Right MoveTurnAround ? HOT 18
- ioBroker Warn Message HOT 1
- GetCleanLog serving old logs HOT 10
- Custom logging function HOT 1
- vacbot.disconnect(); HOT 27
- AirFreshening / aromamode not working HOT 20
- Request failed with status code 502/504 HOT 3
- No error event fired for "Charging dock not found" HOT 7
- Shortcut Command to remove current Map or Restore Map Backup ??? HOT 1
- Map get lost working on backup image HOT 1
- GB/WW api endpoint not found HOT 1
- Retrieve values for air quality returns code 500 HOT 10
- Some feedback on testing with the X2 Omni. HOT 4
- is it support R96? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ecovacs-deebot.js.