ESPresense / ad-espresense-ips

DEAD: See https://github.com/ESPresense/ESPresense-companion
64 stars 9 forks source link

FloorPlan creator for ESPresenseIPS #12

Closed stan69b closed 2 years ago

stan69b commented 2 years ago

Hey, the FloorPlan creator for ESPresenseIPS (https://github.com/stan69b/ESPresenseIPS-Floorplan-Creator) is now in a stable state.

This application allows one to :

A feedback would be most welcome, on the functional part mostly. For now if multiple esp32 in a room, they will all have the same name (room name) in the yaml, is this ok ? (i suppose not, but can't guess the right way).

Feel free to link this app in your readme if you wish.

(Funny fact, I have not tested the app myself, at least not for my home. I did however triple check every calculations. xD)

GrimDeclaw commented 2 years ago

Hi, Great piece of software that really helps! I think that there is a little indent issue in the roomplans : name and coordinates are not aligned

 - name: room1
        y1: 0
        x1: 3.6
        y2: 6.1
        x2: 8.3

Functionnaly speaking it's great, I'll not talk about the pan as it is in your roadmap (my house is way longer than wide) but if I could add one thing it would be : While dragging a room, using the keyboard arrow to be more precise could be nice (I didn't look at the code but it should not be that hard to implement)

Once again, thanks for your great work!

stan69b commented 2 years ago

Hey, thanks for the feedback. added an entry in the roadmap for the precision dragging. will go for the keyboard key press while dragging, thank for the idea.
I'll have a look at the indentation issue as well.

In the meantime , the app has been updated with the ability to connect to the mqtt broker and show devices in real time. It should allow us to really test and see how devices are tracked. Have fun walking around the house xD

For the pan probleme, the scroll has been implemented and on macs i can scroll in any direction. maybe mouse wheel click and drag might work until I implement the feature. or 2 fingers scroll in any direction on a trackpad maybe.

DTTerastar commented 2 years ago

I just saw this!!! I've gotten swamped w/ bug reports on the firmware and WOW, this is super cool!

DTTerastar commented 2 years ago

Added to readme. If you want to move it into this org i'm game. I can't figure out how to get the mqtt functionality to connect. I use no auth, so it might be intolerant of that.

stan69b commented 2 years ago

Yeah, we can move it to this org, it has been developed mainly for your plugin so it makes sense. I just don’t know what to do haha For the MQTT part, you can open an issue if needed and I’ll look into it. (On the Floorplan creator repo rather than this one ;) )

DTTerastar commented 2 years ago

I think you need to give me admin for the repo to move it in. I think the connection issue was handled separately.

stan69b commented 2 years ago

I tried transferring it to the organisation but got a Not found, before I screw things up, I added you as a cllaborator. Think you need to accept so I can set your rights.

EDIT: tried again, it seems to be done. demo is not working anymore though, think the old link is broken. Will try to fix it asap.

DTTerastar commented 2 years ago

It moved it to: https://espresense.com/ESPresenseIPS-Floorplan-Creator/

stan69b commented 2 years ago

Is it all good ? Did I transfer to tue right place ? Haha

DTTerastar commented 2 years ago

It's now at https://espresense.com/Floorplan-Creator/ Sorta works for me, something about the mqtt beacons is causing things to stick. But my biggest issues is turning on IPS for all the things causes so much CPU on my hass instance it kills it. I need to move my appdaemon to another box. That's today's task.

stan69b commented 2 years ago

Ah nice, will update the readme today/tonight. What do you mean by "is causing things to stick" ? It might be an other subject but i do not manage idle devices, so devices that leaves the home (or shutdown) will remain at the last known position. thanks for deleting the .DS_store, mac user's problemes haha