Git Product home page Git Product logo

Comments (20)

cactusss avatar cactusss commented on July 25, 2024 1

@cactusss
Yes, but this is the payload of one of the FwBuryPoint messages, right?

I don't think that the FwBuryPoint messages are part of the API. I think it's more for debugging purposes or something similar.

@cactusss
The AirFreshening event is currently only working with the AirBot Z1 (Air Purifier). Not all events or commands handled in the code, are confirmed to work (for all possible models) ...

Bummer. Since the aromamode exists, why not implement it ;)

Of course I can implement it, but as long as we only have the FwBuryPoint message that contains the aromamode value, it'll be more like a "bonus" event...

Please do ;)

@cactusss
Btw: Where can I find the repository of your project?

You can't. Yet. I don't know yet how to publish it to GitHub, I'll figure that out as soon as I have published my app in the Homey App store. But it's not complete yet.

Why don't you publish it directly? 😉 Sooner or later it will become mandatory anyway...

You got a point, I'll have to anyway. Don't have a clue what I'm doing with Github Desktop (suddenly I had 6 repositories, it cleaned them up) but here it is: https://github.com/cactusss/nl.onzewifi.DeebotT9

from ecovacs-deebot.js.

cactusss avatar cactusss commented on July 25, 2024 1

Yes it is, Olivier is aware of it and doesn't mind. I didn't fork is (the right way) just downloaded his code and made some additions. Like exta capabilities. It's just a hobby project :p

Since his app a generic (for several Deebot types) and mine is (for now) specifically for versions with amopping system maybe Athom allows the two versions.

And who knows, maybe I'll find a way to make it possible for the app to run for non-mopping-systems too.

For now I only have the problem of the (not) unsubscribing to the MQTT messages preventing me to publish te app ;)

from ecovacs-deebot.js.

mrbungle64 avatar mrbungle64 commented on July 25, 2024

@cactusss

The AirFreshening event is currently only working with the AirBot Z1 (Air Purifier).
Not all events or commands handled in the code, are confirmed to work (for all possible models) ...

from ecovacs-deebot.js.

mrbungle64 avatar mrbungle64 commented on July 25, 2024

@cactusss

With the debuging mode see an MQTT payload coming in where the content contains an aromamode that changes to 0 when turend off, and 1 when turned on.

Why don't you post the specific payload directly?

from ecovacs-deebot.js.

mrbungle64 avatar mrbungle64 commented on July 25, 2024

@cactusss

Btw: Where can I find the repository of your project?

from ecovacs-deebot.js.

cactusss avatar cactusss commented on July 25, 2024

@cactusss

With the debuging mode see an MQTT payload coming in where the content contains an aromamode that changes to 0 when turend off, and 1 when turned on.

Why don't you post the specific payload directly?

You mean this:
{"content":"{\"rn\":\"bd_setting\",\"d\":{\"header\":{\"pri\":1,\"tzm\":480,\"ts\":\"1673182887542\",\"ver\":\"0.0.1\",\"fwVer\":\"2.5.5\",\"hwVer\":\"0.1.1\"},\"body\":{\"data\":{\"d_id\":\"465781\",\"d_sum\":1,\"d_seq\":0,\"d_val\":{\"gid\":\"G1672729495988\",\"index\":\"0000000294\",\"simpleMode\":0,\"isPressurized\":1,\"fanspeed\":0,\"continue\":0,\"waterAmount\":1,\"DND\":1,\"mopremind\":0,\"mopmode\":3,\"aromamode\":0,\"personalClean\":0,\"autocollect\":1,\"occurrenceTime\":\"1673182887521\"}}}}}"}

@cactusss

The AirFreshening event is currently only working with the AirBot Z1 (Air Purifier). Not all events or commands handled in the code, are confirmed to work (for all possible models) ...

Bummer. Since the aromamode exists, why not implement it ;)

@cactusss

Btw: Where can I find the repository of your project?

You can't. Yet. I don't know yet how to publish it to GitHub, I'll figure that out as soon as I have published my app in the Homey App store. But it's not complete yet. I you want to have a loog at what I'v got until now I can send you a zip or something

from ecovacs-deebot.js.

mrbungle64 avatar mrbungle64 commented on July 25, 2024

@cactusss

@cactusss

With the debuging mode see an MQTT payload coming in where the content contains an aromamode that changes to 0 when turend off, and 1 when turned on.

Why don't you post the specific payload directly?

You mean this: {"content":"{\"rn\":\"bd_setting\",\"d\":{\"header\":{\"pri\":1,\"tzm\":480,\"ts\":\"1673182887542\",\"ver\":\"0.0.1\",\"fwVer\":\"2.5.5\",\"hwVer\":\"0.1.1\"},\"body\":{\"data\":{\"d_id\":\"465781\",\"d_sum\":1,\"d_seq\":0,\"d_val\":{\"gid\":\"G1672729495988\",\"index\":\"0000000294\",\"simpleMode\":0,\"isPressurized\":1,\"fanspeed\":0,\"continue\":0,\"waterAmount\":1,\"DND\":1,\"mopremind\":0,\"mopmode\":3,\"aromamode\":0,\"personalClean\":0,\"autocollect\":1,\"occurrenceTime\":\"1673182887521\"}}}}}"}

Yes, but this is the payload of one of the FwBuryPoint messages, right?

I don't think that the FwBuryPoint messages are part of the API.
I think it's more for debugging purposes or something similar.

@cactusss
The AirFreshening event is currently only working with the AirBot Z1 (Air Purifier). Not all events or commands handled in the code, are confirmed to work (for all possible models) ...

Bummer. Since the aromamode exists, why not implement it ;)

Of course I can implement it, but as long as we only have the FwBuryPoint message that contains the aromamode value, it'll be more like a "bonus" event...

@cactusss
Btw: Where can I find the repository of your project?

You can't. Yet. I don't know yet how to publish it to GitHub, I'll figure that out as soon as I have published my app in the Homey App store. But it's not complete yet.

Why don't you publish it directly? 😉
Sooner or later it will become mandatory anyway...

I you want to have a loog at what I'v got until now I can send you a zip or something

It's not really necessary (if you publish it sooner or later) 😉

from ecovacs-deebot.js.

mrbungle64 avatar mrbungle64 commented on July 25, 2024

@cactusss

This is actually a fork of this repository, right? 😉
What is the difference between that two implementations?

You can send me an email to start a conversation on Discord, if you like.
(I'll give you my Discord username via email)

from ecovacs-deebot.js.

mrbungle64 avatar mrbungle64 commented on July 25, 2024

@cactusss

Yes it is, Olivier is aware of it and doesn't mind. I didn't fork is (the right way) just downloaded his code and made some additions. Like exta capabilities. It's just a hobby project :p

Since his app a generic (for several Deebot types) and mine is (for now) specifically for versions with amopping system maybe Athom allows the two versions.

And who knows, maybe I'll find a way to make it possible for the app to run for non-mopping-systems too.

Ok, thanks for the information 👍🏻

For now I only have the problem of the (not) unsubscribing to the MQTT messages preventing me to publish te app ;)

I'm already working on it 😉

from ecovacs-deebot.js.

cactusss avatar cactusss commented on July 25, 2024

Excelent! Thanks a lot!!

from ecovacs-deebot.js.

mrbungle64 avatar mrbungle64 commented on July 25, 2024

@cactusss

Of course I can implement it, but as long as we only have the FwBuryPoint message that contains the aromamode value, it'll be more like a "bonus" event...

Please do ;)

efebc93

from ecovacs-deebot.js.

mrbungle64 avatar mrbungle64 commented on July 25, 2024

@cactusss

I just released 0.9.2-alpha.4.
AromaMode event is available now.

from ecovacs-deebot.js.

cactusss avatar cactusss commented on July 25, 2024

Lovely! Thanks again, I'm going to implement that too.

from ecovacs-deebot.js.

cactusss avatar cactusss commented on July 25, 2024

This vacbot.on('AromaMode', (mode) => { this.log('onAromaMode:' + mode) }); works fine.
Any chance of getting a SetAromaMode and GetAromaMode? 😇

from ecovacs-deebot.js.

mrbungle64 avatar mrbungle64 commented on July 25, 2024

@cactusss

Any chance of getting a SetAromaMode and GetAromaMode? innocent

Do you know the cmdName?
Is it setAromaMode and getAromaMode?

from ecovacs-deebot.js.

mrbungle64 avatar mrbungle64 commented on July 25, 2024

This vacbot.on('AromaMode', (mode) => { this.log('onAromaMode:' + mode) }); works fine.

Great 👍🏻

from ecovacs-deebot.js.

cactusss avatar cactusss commented on July 25, 2024

from ecovacs-deebot.js.

mrbungle64 avatar mrbungle64 commented on July 25, 2024

@cactusss

I don’t understand your question. The commands don’t exist (I searched for them). The “vacbot.on('AromaMode')” was tested in my app and works fine when I change the Air Freshening setting in the Ecovacs mobile app, I would like to be able to change the settings from my own app.

I understand that you want to change the settings, but I don't know the command (cmdName).
I don't own a device with the "aroma" function, so I need the commands which the Ecovacs API requires.

I already told you on Jan 08 that the FwBuryPoint message is not part of the regular API ...

Yes, but this is the payload of one of the FwBuryPoint messages, right?

I don't think that the FwBuryPoint messages are part of the API.
I think it's more for debugging purposes or something similar.

... and that it'll be more like a "bonus" event

Of course I can implement it, but as long as we only have the FwBuryPoint message that contains the aromamode value, it'll be more like a "bonus" event...

from ecovacs-deebot.js.

mrbungle64 avatar mrbungle64 commented on July 25, 2024

@cactusss

The commands don’t exist (I searched for them). The “vacbot.on('AromaMode')” was tested in my app and works fine

I know. That is because I only implemented the AromaMode event because you asked for it.
But as I already said this was more like a "bonus" event ...

Edit:
To be more precise, the event name in the FwBuryPoint payload differs from the regular event name, so I can't just derive it in that case.

from ecovacs-deebot.js.

cactusss avatar cactusss commented on July 25, 2024

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.