Giter Site home page Giter Site logo

Comments (6)

scobby avatar scobby commented on August 15, 2024 1

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.

mrbungle64 avatar mrbungle64 commented on August 15, 2024

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.

scobby avatar scobby commented on August 15, 2024

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.

mrbungle64 avatar mrbungle64 commented on August 15, 2024

...
class: 'vi829v',
...

@scobby
ok thanks, I'll update the library later this evening.

@boriswerner @bertreb

from ecovacs-deebot.js.

mrbungle64 avatar mrbungle64 commented on August 15, 2024

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?

@boriswerner @bertreb

from ecovacs-deebot.js.

scobby avatar scobby commented on August 15, 2024

Thx you very much!

from ecovacs-deebot.js.

Related Issues (20)

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.