Giter VIP home page Giter VIP logo

Comments (8)

AL0F avatar AL0F commented on June 3, 2024 1

Hey there! What I don't understand and should be mentioned somewhere in the Readme: where should this companion be running? On the robot? Or on a pi? If in the robot: I even can't install NPM due to limited Drive space on the robot - how to start this?

from icantbelieveitsnotvaletudo.

Hypfer avatar Hypfer commented on June 3, 2024

Documentation is rather sparse indeed atm 😕

Basically you need to run two instances of this application with slightly different configuration files.
Starting with Valetudo 0.3.1, the robot is pushing the raw data to MQTT on topicPrefix/identifier/map_data which defaults to valetudo/rockrobo/map_data.

If you compare the configuration file seen in this repos readme.md to the configuration on your robot it should be fairly easy to understand.

To run this software, you can either just git clone, npm install, npm start, or use the provided Dockerfile to deploy it in a container

from icantbelieveitsnotvaletudo.

posixx avatar posixx commented on June 3, 2024

Thx for explaining. It can use webserver for image retrieval, but does it also send MQTT message with image back on a topic? So we don't have to use manual retrieval. With v0.30 i have realitime map updaters during cleaning so it would be nice to keep that

from icantbelieveitsnotvaletudo.

Hypfer avatar Hypfer commented on June 3, 2024

It also sends the Map as PNG to the MQTT Topic and does the Home Assistant MQTT Autoconfiguration.

I just added the webserver for FHEM etc. It's completely optional

from icantbelieveitsnotvaletudo.

posixx avatar posixx commented on June 3, 2024

Nice:-) Going to upgrade now..

from icantbelieveitsnotvaletudo.

posixx avatar posixx commented on June 3, 2024

oh, another option would be nice for this and valetudo: disable autodiscovery for homeassistant. Right now it keeps finding new items in openhab even when selecting hide devices..

from icantbelieveitsnotvaletudo.

Hypfer avatar Hypfer commented on June 3, 2024

That only happens if you're using different identifiers than before. Otherwise it should simply overwrite the old stored MQTT Message and HA doesn't detect a "new" device

from icantbelieveitsnotvaletudo.

posixx avatar posixx commented on June 3, 2024

Nice it works perfectly. running 2 npm instances using pm2, still having realtime updates of the map on my openhab dashboard!

about the autodiscovery; i don't change identifiers at all, but it is still redetected in OpenHAB

from icantbelieveitsnotvaletudo.

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.