hi @3_14. i really like your project and installed it. Did make a pixel calc for base and reference, seems to be ok. map is loaded and can view the zones. Some strange thing here:
Whatever action i try, go to target or zone cleanup, nothing happens when pressing start. But via the developer tool choosing vacuum_send_command is just working fine. Following logging appears when pressing start:
2019-08-11 21:34:16 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.139766057424880] None @ data['zone'][0]
Traceback (most recent call last):
File "/usr/src/app/homeassistant/components/websocket_api/commands.py", line 121, in handle_call_service
connection.context(msg))
File "/usr/src/app/homeassistant/core.py", line 1130, in async_call
processed_data = handler.schema(service_data)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 267, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 589, in validate_dict
return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 427, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: None @ data['zone'][0]
@3_14 you are absolutly right, this was my mistake, by misconfiguring the base and reference point.
so my first thought was, that the linting wasn’t right.
i got it right now, so thanks for making such nice integration.
In yaml this is not possible, because the component does not include the zone template.
However it is possible with .js (example: your card) or python script
Need an advise. I installed this card and it worked well.
After a while I tried to translate titles to Russian and it didn’t work.
Script works with English titles even after I translated all text in texts.js.
It looks like I need to clean some js cash or something. But I don’t know where to search for it.
Could you help, please?
Can anyone offer advice on how to define the preconfigured zones? Is it [x1, y1, x2, y2], where point 1 is the top left corner of a zone and point 2 is the bottom right? And are the numbers still corresponding to the pixels in the image, or something else?
I have never been able to connect flovac to my bot… tried most of every method starting with bluestacks, then android phone. I do however think this may be a network issue, but unfortunately I don’t know too much, just that they all on the same ip and subnet range. I run unifi and a number of ap’s. It could also do with possibly the location of the server you select on the mihome app as well as flovac. For me, i select Jersey for server option in mihome, but in flovac, there is only eu. Again, i dont know if this is it. Just that i can’t connect, but all that I can think of is what I have mentioned above…