Git Product home page Git Product logo

Comments (16)

dbase25 avatar dbase25 commented on September 24, 2024 1

i have only create 1 instance (the #1 offline device isnt working in the moment) and try different numbers (1/2/3) under config -> device number.
i will test tomorrow the #1 offline device (add in app and create a new instance) and take a look if it works.
i will write a short info about this.

many thanks for your advice and helping. dave

from iobroker.ecovacs-deebot.

dbase25 avatar dbase25 commented on September 24, 2024 1

Perfect. I hope it helps to improve the plugin ;-)
i didnt test the 2nd eco in my account, but i hope i can do this @weekend.
greetings dave

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on September 24, 2024

Hi @dbase25

please tell me the value of ''info.communicationProtocol" (XMPP or MQTT)

Is it possible that you install and execute this library?

from iobroker.ecovacs-deebot.

dbase25 avatar dbase25 commented on September 24, 2024

Thanks for the fast replay. Here my Info & to Do:

  1. XMPP
  2. i have install with "npm install ecovacs-deebot" and restart the plugin but i think iam with stupid ;-) can you short tell me how to execute the library.

thanks and best regards dave

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on September 24, 2024

Hi Dave,

you don't need the ioBroker Adapter:

git clone https://github.com/mrbungle64/ecovacs-deebot.js.git
cd ecovacs-deebot.js
npm install
cd example
  1. change email and password in the file app2.js

NODE_ENV=dev node app2.js | grep -E 'Battery'
  1. Start cleaning using the mobile app

from iobroker.ecovacs-deebot.

dbase25 avatar dbase25 commented on September 24, 2024

Hmpfgr:

after: mode_ENV....

(node:6655) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[EcovacsAPI] Failure code 0002

Point 1+2 works.
greetings dave

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on September 24, 2024

Hmpfgr:

after: mode_ENV....

(node:6655) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[EcovacsAPI] Failure code 0002

Point 1+2 works.
greetings dave

Sorry @dbase25
I forgot to tell you. "Failure code 0002" is not a "real" error. It's caused by Ecovacs servers.
Please try again and repeat

NODE_ENV=dev node app2.js | grep -E 'Battery'

as long until it's working...

from iobroker.ecovacs-deebot.

dbase25 avatar dbase25 commented on September 24, 2024

Strange...:

  1. output with 2 Ecovacs in the APP (#1 offline #2 online)
    [VacBot] action: GetBatteryState
    [VacBot] Sending command GetBatteryInfo
    [EcovacsXMPP] Sending xml:
    [EcovacsXMPP] Couldn't reach the vac: [404] recipient-unavailable
    [EcovacsXMPP] Couldn't reach the vac: [404] recipient-unavailable
    [EcovacsXMPP] Couldn't reach the vac: [404] recipient-unavailable
    [EcovacsXMPP] Couldn't reach the vac: [404] recipient-unavailable
    [EcovacsXMPP] Couldn't reach the vac: [404] recipient-unavailable
    [EcovacsXMPP] Couldn't reach the vac: [404] recipient-unavailable
    [EcovacsXMPP] Couldn't reach the vac: [404] recipient-unavailable
    [EcovacsXMPP] Couldn't reach the vac: [404] recipient-unavailable
    .....

  2. i have delete the #1 offline ecovac and restart the script:
    [VacBot] action: GetBatteryState
    [VacBot] Sending command GetBatteryInfo
    [EcovacsXMPP] Sending xml:
    stanza:
    firstChild:
    secondChild:
    [app2.js] BatteryInfo: 98
    [VacBot] Unknown component type: { td: 'LifeSpan',
    type: 'DustCaseHeap ',
    val: '090',
    total: '332' }
    stanza:
    firstChild:
    secondChild:

I have restart (after delete the #1 offline M88) and the plugin works with the #2 Online M88

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on September 24, 2024

Strange...:

  1. output with 2 Ecovacs in the APP (#1 offline #2 online)
    [VacBot] action: GetBatteryState
    [VacBot] Sending command GetBatteryInfo
    [EcovacsXMPP] Sending xml:
    [EcovacsXMPP] Couldn't reach the vac: [404] recipient-unavailable
    [EcovacsXMPP] Couldn't reach the vac: [404] recipient-unavailable
    [EcovacsXMPP] Couldn't reach the vac: [404] recipient-unavailable
    [EcovacsXMPP] Couldn't reach the vac: [404] recipient-unavailable
    [EcovacsXMPP] Couldn't reach the vac: [404] recipient-unavailable
    [EcovacsXMPP] Couldn't reach the vac: [404] recipient-unavailable
    [EcovacsXMPP] Couldn't reach the vac: [404] recipient-unavailable
    [EcovacsXMPP] Couldn't reach the vac: [404] recipient-unavailable
    .....
  2. i have delete the #1 offline ecovac and restart the script:
    [VacBot] action: GetBatteryState
    [VacBot] Sending command GetBatteryInfo
    [EcovacsXMPP] Sending xml:
    stanza:
    firstChild:
    secondChild:
    [app2.js] BatteryInfo: 98
    [VacBot] Unknown component type: { td: 'LifeSpan',
    type: 'DustCaseHeap ',
    val: '090',
    total: '332' }
    stanza:
    firstChild:
    secondChild:

I have restart (after delete the #1 offline M88) and the plugin works with the #2 Online M88

@dbase25

ok, thanks 👍

So this means that the ioBroker adapter works now for one of your devices?

Did you already create 2 adapter instances for your devices in ioBroker?
If not, you can try to use both devices by creating 2 instances. In each of them you can choose the device in the adapter settings.

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on September 24, 2024

@dbase25

Please also execute this:

NODE_ENV=dev node app2.js | grep -E 'LifeSpan'

Thanks in advance :)

from iobroker.ecovacs-deebot.

dbase25 avatar dbase25 commented on September 24, 2024

[VacBot] action: GetLifeSpan [VacBot] Sending command GetLifeSpan [EcovacsXMPP] Sending xml: <iq id="11" to="[email protected]/atom" from="[email protected]/38f8a341" type="set"><query xmlns="com:ctl"><ctl td="GetLifeSpan" type="DustCaseHeap" id="23639633"/></query></iq> stanza: <iq to="[email protected]/a58a60d51ac980c0ded6adda462aeea4" type="set" id="3269" from="[email protected]/atom" xmlns:stream="http://etherx.jabber.org/streams"><query xmlns="com:ctl"><ctl td="LifeSpan" type="SideBrush" val="090" total="331"/></query></iq> firstChild: <query xmlns="com:ctl"><ctl td="LifeSpan" type="SideBrush" val="090" total="331"/></query> secondChild: <ctl td="LifeSpan" type="SideBrush" val="090" total="331"/> [EcovacsXMPP] Received an LifeSpan Stanza {"td":"LifeSpan","type":"SideBrush","val":"090","total":"331"} stanza: <iq to="[email protected]/a58a60d51ac980c0ded6adda462aeea4" type="set" id="3270" from="[email protected]/atom" xmlns:stream="http://etherx.jabber.org/streams"><query xmlns="com:ctl"><ctl td="LifeSpan" type="DustCaseHeap " val="090" total="331"/></query></iq> firstChild: <query xmlns="com:ctl"><ctl td="LifeSpan" type="DustCaseHeap " val="090" total="331"/></query> secondChild: <ctl td="LifeSpan" type="DustCaseHeap " val="090" total="331"/> [EcovacsXMPP] Received an LifeSpan Stanza {"td":"LifeSpan","type":"DustCaseHeap ","val":"090","total":"331"} [VacBot] Unknown component type: { td: 'LifeSpan', type: 'DustCaseHeap ', val: '090', total: '331' }
with cleaning.

I think this is correct c/p ;-)

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on September 24, 2024

@dbase25

Thanks 👍 but please also start cleaning :)

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on September 24, 2024

[VacBot] action: GetLifeSpan [VacBot] Sending command GetLifeSpan [EcovacsXMPP] Sending xml: <iq id="11" to="[email protected]/atom" from="[email protected]/38f8a341" type="set"><query xmlns="com:ctl"><ctl td="GetLifeSpan" type="DustCaseHeap" id="23639633"/></query></iq> stanza: <iq to="[email protected]/a58a60d51ac980c0ded6adda462aeea4" type="set" id="3269" from="[email protected]/atom" xmlns:stream="http://etherx.jabber.org/streams"><query xmlns="com:ctl"><ctl td="LifeSpan" type="SideBrush" val="090" total="331"/></query></iq> firstChild: <query xmlns="com:ctl"><ctl td="LifeSpan" type="SideBrush" val="090" total="331"/></query> secondChild: <ctl td="LifeSpan" type="SideBrush" val="090" total="331"/> [EcovacsXMPP] Received an LifeSpan Stanza {"td":"LifeSpan","type":"SideBrush","val":"090","total":"331"} stanza: <iq to="[email protected]/a58a60d51ac980c0ded6adda462aeea4" type="set" id="3270" from="[email protected]/atom" xmlns:stream="http://etherx.jabber.org/streams"><query xmlns="com:ctl"><ctl td="LifeSpan" type="DustCaseHeap " val="090" total="331"/></query></iq> firstChild: <query xmlns="com:ctl"><ctl td="LifeSpan" type="DustCaseHeap " val="090" total="331"/></query> secondChild: <ctl td="LifeSpan" type="DustCaseHeap " val="090" total="331"/> [EcovacsXMPP] Received an LifeSpan Stanza {"td":"LifeSpan","type":"DustCaseHeap ","val":"090","total":"331"} [VacBot] Unknown component type: { td: 'LifeSpan', type: 'DustCaseHeap ', val: '090', total: '331' }
with cleaning.

I think this is correct c/p ;-)

Thanks 👍

There's a blank space at the end of type attribute 🙈

type: 'DustCaseHeap '

That's the reason why the filter value in the message from Ecovacs server not handled correctly ("Unknown component type")

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on September 24, 2024

@dbase25

Perfect. I hope it helps to improve the plugin ;-)

Yes 👍

i didnt test the 2nd eco in my account, but i hope i can do this @weekend.
greetings dave

Please run your tests with the current version via GitHub

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on September 24, 2024

@dbase25

Have you already had the chance to test it?

from iobroker.ecovacs-deebot.

mrbungle64 avatar mrbungle64 commented on September 24, 2024

I'm closing this issue now.
Deebot M88 seems to work basically.

from iobroker.ecovacs-deebot.

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.