Git Product home page Git Product logo

Comments (5)

NODeeJay avatar NODeeJay commented on September 24, 2024 1

Right you are that is the issue. I used the same credentials as for the robi and it worked immediately. Strange, that I have other addons and integrations that connect fine with the homeassistant user.

Thank you for your help, the card is streaming fine into Piotrs card :-)

from valetudo_vacuum_camera.

sca075 avatar sca075 commented on September 24, 2024

@NODeeJay thanks for the report, do you use the MQTT_add on of Home Assistant or MQTT is on another machine? If during the setup of the camera you configured the Broker Host Name this your config there must be external MQTT machine IP or Host Name, by default the camera point to the HA Broker ADD on host name that is "core-mosquitto". It would be appreciated the the full log you got to better understand what is going on. We did confirm that the Json is correctly grabbed and as per you are in HA OS I guess you run under docker and you use the HA Broker Addon, is that correct?
Additionally, I guess later today will release a fix for the rooms configurations. I can add some additional log entry of course to trouble shoot your reported issue.
Sorry for the inconvenience so far... I guess on your kind understanding this add on is growing up, and there are several different install way of HA (and way to setup the broker), we are working also on a method to simplify the MQTT client setup and automate it so that this kind of inconveniences would not happen in the future (generically it works but as you experienced can be a little technical to install it). Thanks in advance for your kind help and consideration.

from valetudo_vacuum_camera.

NODeeJay avatar NODeeJay commented on September 24, 2024

@NODeeJay thanks for the report, do you use the MQTT_add on of Home Assistant or MQTT is on another machine?

I configured core-mosquitto, I use the internal standard MQTT, no fancy new version or external broker running somewhere.
image

I played a bit further around, using the connection with SSL core-mosquitto:8883 or the hostname I use from the robot, with or without port and SSL. It seems that the port is not processed at all but I did not check it in the code. Also with SSL it seems not to connect at all to the broker. The FQDN or core-mosquitto as host did not make any difference, I see the client connection in the MQTT broker log, which corresponds to the log entry from the component.

I am still wondering why there are so many reconnects in a short time?

2023-08-26 14:10:55.366 DEBUG (Thread-1538 (_thread_main)) [custom_components.valetudo_vacuum_camera.valetudo.connector] Subscribed to MQTT broker with topic: valetudo/Robi
2023-08-26 14:10:56.370 DEBUG (Thread-1538 (_thread_main)) [custom_components.valetudo_vacuum_camera.valetudo.connector] Subscribed to MQTT broker with topic: valetudo/Robi
2023-08-26 14:10:58.375 DEBUG (Thread-1538 (_thread_main)) [custom_components.valetudo_vacuum_camera.valetudo.connector] Subscribed to MQTT broker with topic: valetudo/Robi
2023-08-26 14:11:00.638 WARNING (MainThread) [homeassistant.components.sensor] Updating snmp sensor took longer than the scheduled update interval 0:00:05
2023-08-26 14:11:00.648 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.hplj2055dn_printer_status_code is taking over 10 seconds
2023-08-26 14:11:00.653 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.hplj2055dn_printer_error_code is taking over 10 seconds
2023-08-26 14:11:02.379 DEBUG (Thread-1538 (_thread_main)) [custom_components.valetudo_vacuum_camera.valetudo.connector] Subscribed to MQTT broker with topic: valetudo/Robi
2023-08-26 14:11:05.638 WARNING (MainThread) [homeassistant.components.sensor] Updating snmp sensor took longer than the scheduled update interval 0:00:05
2023-08-26 14:11:10.383 DEBUG (Thread-1538 (_thread_main)) [custom_components.valetudo_vacuum_camera.valetudo.connector] Subscribed to MQTT broker with topic: valetudo/Robi

Which full log do you mean?

From what I understand, the newly created entity camera.robi_camera should show me the map rotated as per configuration?

No worries, you started a great piece of work and am very happy to try it and get it running. Thank you for your support!

from valetudo_vacuum_camera.

sca075 avatar sca075 commented on September 24, 2024

Probably I know what is the issue.. the user name and password you need to use are the same one you use to connect the vacuum to MQTT. the user name homeassistant is reserved to home assistant so the client can't connect your MQTT broker for this reason:

  • go on Settings / Add Ons / MosquitoBroker / Configuration..
  • check the user name and password that you use there to connect your devices to MQTT, and please use those credential for the camera.

Just let me if this is the way you already use or what is the result after using those credentials. If I'm correct you followed to the letter the instructions, this would means I will need to update the documentation instead of the integration :)
Thanks once again for time, regards.

from valetudo_vacuum_camera.

sca075 avatar sca075 commented on September 24, 2024

It is currently a work in progress soon it will be not required thanks to @rohankapoorcom

from valetudo_vacuum_camera.

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.