If you go to http://your_appdaemon_url:5050/custom_css/img/rr.png, does it show the image?
And if you are not using my influxdb widget, you donāt need the influxdb-latest.js, plotly-latest.min.js, graph.yaml files and the basegraph folder. These files are for another widget.
i can see the robo pic wghen i call the address directly
EDIT: I had to restart appdaemon I guess it needs to be restarted to āincludeā created foldersā¦ everything works well now
Great! Can you post a screenshot so I can see how it looks with the default skin? I might need to add more skin mappings so you can change the colors of the text etc.
And does the fan speed, start cleaning and return to dock buttons work for the gen 1?
sorry i had no time, but i see you guys are doing great
Couldnāt test the functionality yet but sensors work so commands will also do I guess.any idea how to get the map in dashboard? I created generic camera ā¦I can see the map in Hass but not dashboard ā¦ I use camera widget but it shows no pic
Config:
The sensor texts were a bit off for the default skin, so I have adjusted the widget now to position the cleaned area text etc to fit the skin. You need to replace the basevacuum.css and basevacuum.html files from my repository (they are updated) and the widget should look like its intended to do. Also, the button in the middle (the laser housing) wouldnāt work without these changes.
By the way @thundergreen , how do you get the map image from the vacuum cleaner?
the url you use for the camera needs to be a working url.
so test it in a browser.
secondly, if you did set ssl in dashboard then you can use ha without ssl
third make sure that you have cleared cashe from your browser and that the dashboard recompiles. (for instance through a restart from AD with the right settings) or by typing
?recompile=1
behind your dashboard url
My robot is rooted and I use valetudo to get those images ā¦if u want I can guide u
And my s looks much better now
Second map is used even with valetudo API
Looks much nicer
Many thanks ā¦Iāll post my dashboard once itās finishedā¦as Iāll use zoned cleaning etc ā¦
I went another way to control my robotā¦ Tips and recommendations welcome
P.s. why canāt we show simple sensor data? Would like to show battery info etc! EDIT: a look in the wiki and I would see thereās sensor ā¦15419787765984869992214989707389|666x500
PS and off topic why I donāt see a fluent stream for my foscam ā¦just few pics ā¦Iād say one per second
because of the limitations that foscam gives to other things then its own optimized app, and because of network speed, tablet, speed, browser load, etc.
so actually not 1 thing but several things cause the lagging.
for instance i noticed that its way faster on my pc then on a cheap tablet.
and also remember, you do retrieve that data from the foscam with home assistant on an rpi, then you send it forward to the dashboard.
Iām using it on an Intel nuc i3 so way faster ā¦hmmā¦I might deinstall the foscam app on my phone ā¦I already removed it from Hass Frontendā¦Iāll revert ā¦thanks so far
I found the valetudo repo. Where did you find the instructions for rooting?
I played a bit with hadashboard and Iām very happy with my result ā¦Iāll not use th widget even if itās very nice (map is strange like this because I interupted the cleaning process by lifting the robot up.it then rotates the map and it looks like this )
Could someone help me to make the right templating for cleaned area and total clean time ?
Here the result
i guess you got sensors in HA and want to get other data from that.
im not really the guy for that (i would write an app for it)
but i think you get better answers when you ask exactly what you want to do in the configuration area from the forum.
You got the other attributes to display correct, so you should only need to enter the entity_id and the attribute name like:
cleaning_time:
widget_type: sensor
entity: vacuum.xiaomi_vacuum_cleaner.cleaning_time
So no need for a template.
https://appdaemon.readthedocs.io/en/latest/DASHBOARD_CREATION.html#sensor
I need the correct format for the cleaning time in hours and the cleaning are in mĀ². But Iād open a new post ā¦ but if I could have an app for this fir appddaemonā¦that would be fine also ā¦another questionā¦when I made the vacuum dashboard ā¦the margins of the camera changed and I had to change them manuallyā¦is there a reason for this bahaviour?
an app wouldnt be that difficult.
something like:
def initialise(self):
self.listen_state(self.cb,"sensor.the_sensor_providing_the_data")
def cb(...):
# new provides the value, make the calculations you want to change
self.set_state("sensor_your_new_sensor",state=the_new_value
of course this is pseudocode.
i really dont understand that question. margins where, which margins?