@Zepixir Thanks for the suggestions - that helped a lot.
I created an input_boolean, default of ON, and also added it to my groups.yaml so it provides an on/off toggle for the animation (which works).
Modified the fan object ID in InkScape to input_boolean.fan
Success !! I have a spinning fan…
Except its spinning around my entire house like a Boomerang (which is fitting, since I’m in Australia)
I tried adding the transform-box: fill-box; command as you suggested, rebooted host, but it didn’t make any difference…
I also tried adding the same ID to a 2nd fan, so that both fans will spin and controlled by the same fan on/off toggle, but InkScape wont seem to let me use the same ID for 2 objects.
You have to create one for each fan as I said earlier, as for the boom-a-rang that’s normal you just have to keep playing with it till it stays put at least that’s what I’ve found
I did some Googling and found a suggestion to create a new group with multiple items selected.
I selected 2 (of the 4) fans and created a group in InkScape, and added the input_boolean.fan name to that group instead of a specific fan.
That now has both fans spinning (in a big circle) so 1 step closer to having both, or all 4 fans spinning from a single on/off switch.
Yeah I wondered that too, so until I fix the rotation issue, Ive set it back to just a single fan.
I am not sure where its getting the location data from - I can only see around 20% of the circle (the bottom arc) that the fan is spinning in - the centre appears to be way above (off screen) the house plan, and slightly to the left of center.
The SVG of the fan itself is a square only as big as the fan blades themselves.
EDIT - nevermind - it all came right after a reboot of the host…
Both fans now spinning and both on/off toggles showing up on the HA home page under the Fans group.
While the rotating fans were working fine in Chrome on my PC, on my wall mounted Android tablet (in both Chrome and Kiosk Browser) they were still boomeranging around the house until I added that line, so thanks for the suggestion.
Good you got it working Probably worked on your computer if you had an older version than 64 of chrome on that. The android platform updates Chrome automatically i presume.
Here is my mobile friendly floorplan. That needs larger icons, and less elements in each layer. So I have multiple layers showing, depending on which button in the middle I press.
I have 8 layers.
Here is some of them:
I haven’t made a floorplan yet, but I was really inspired by @Steffen_Pohl to start creating one. I really want to make a 3D floorplan, but don’t have the skill to do it. So, I started to look around on the internet and found this site: floorplanner.com.
I created the following as a test to see how fast I could create something. I made this in about 5 minutes:
I agree with @SMARTMEDIA - check out SweetHome3D - if you scroll back 15-20 posts you will see 2 screenshots (look for the green grass).
All the editing is done in 2D mode and probably similar to what you have already done - the 3D renders (including lighting/shadows) are just a couple of extra mouse clicks - you just choose the camera point of view and click Render - so 3D views are not any harder to create than a basic 2D floorplan.
The only gotcha is for those items that are located above floor level (such as TV’s, pictures on the wall, etc) you have to specify the elevation (in CM) for those items. But you may have already had to do with that your floorplan above anyway, for the wall mounted basins?
@systmworks Thanks for the link. It seems that they work the same. With the site I posted you also work on the normal (2D) mode and after it you can render 3D views.
When using paintings on the wall you do need to set the elevation, but when you’re placing a book on a table or a wall mounted basin I didn’t have to do it.