Comments (16)
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.
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.
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.
Thanks for the fast replay. Here my Info & to Do:
- XMPP
- 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.
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
-
change email and password in the file
app2.js
NODE_ENV=dev node app2.js | grep -E 'Battery'
- Start cleaning using the mobile app
from iobroker.ecovacs-deebot.
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.
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 0002Point 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.
Strange...:
-
output with 2 Ecovacs in the APP (#1 offline #2 online)
[VacBot] action: GetBatteryState
[VacBot] Sending commandGetBatteryInfo
[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
..... -
i have delete the #1 offline ecovac and restart the script:
[VacBot] action: GetBatteryState
[VacBot] Sending commandGetBatteryInfo
[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.
Strange...:
- output with 2 Ecovacs in the APP (#1 offline #2 online)
[VacBot] action: GetBatteryState
[VacBot] Sending commandGetBatteryInfo
[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
.....- i have delete the #1 offline ecovac and restart the script:
[VacBot] action: GetBatteryState
[VacBot] Sending commandGetBatteryInfo
[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
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.
Please also execute this:
NODE_ENV=dev node app2.js | grep -E 'LifeSpan'
Thanks in advance :)
from iobroker.ecovacs-deebot.
[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.
Thanks 👍 but please also start cleaning :)
from iobroker.ecovacs-deebot.
[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.
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.
Have you already had the chance to test it?
from iobroker.ecovacs-deebot.
I'm closing this issue now.
Deebot M88 seems to work basically.
from iobroker.ecovacs-deebot.
Related Issues (20)
- GotoPosition doesn't work in 1.4.14 HOT 9
- Update stable version in repo from 1.4.13 to 1.4.14 HOT 1
- X2: resume und error HOT 15
- T20 Cleaning Mode Umstellung HOT 1
- Crash durch Authentiation Error? HOT 3
- T20 zusätzliche DP für Airdrying HOT 5
- Update stable version in repo from 1.4.14 to 1.4.15 HOT 1
- X2: Evencodes 1126 HOT 1
- Adapter crashes after update HOT 2
- SSL Verify = False - Use with local bumper server
- Adapter in restart loop HOT 1
- T30 Omni - New Device HOT 3
- Einbindung Goat Rasenmähroboter HOT 2
- Kartenwechsel Deebot T20 HOT 2
- Omni T30 Pro Room cleaning not possible HOT 5
- Object control.extended.volume is invalid: Default value has to be type "number" but received type "string"
- Omni T30 no map?
- Deebot X5 OMNI HOT 4
- Please consider fixing issues detected by repository checker HOT 1
- Please consider fixing issues detected by repository checker HOT 1
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 iobroker.ecovacs-deebot.