Thanks man, coming from one of our best, it means a lot to me …
I just finished the AC Unit Modes, have a peek
The small white grill like bars become orange as each of them is a template sensor which becomes “True” as the power drawn rises over its threshold >10W, >50W, >100W, >300W … >700W … etc. (the Power is reported by a Fibaro Wall Plug).
Fan speed is only presumed at first, as it is an IR command sent by a Broadlink Universal Remote, but usually it reaches the unit without problems.
Not really a “floorplan”, but the start of a simple remote to be used on a kiosk mode iPhone using floorplan for hass. Icons grabbed off the noun project website.
Have it running on a new fire tablet with Fully Kiosk.
Still on the list is to change the “home button” change the layout of the buttons/scripts on the right hand side, and get the tablet mounted on the wall.
In my floorplan.svg I have a separate layer with the ID tv_select_layer that houses the “pop out” buttons. I also have the tv button on the bottom left in the main layer with the ID of tv_select_button.
In my floorplan.yaml I have the following code:
#### ELEMENTS ####
- name: TV Selection
elements:
- tv_select_button
action:
domain: class
service: toggle
data:
elements:
- tv_select_layer
classes:
- layer-visible
- layer-hidden
default_class: layer-hidden
Still lots of tweaking to do, but the basic concept is solid.
** EDIT: I forgot to add. If any knows how to get rid of or use that white space at the bottom, please let me know. It’s the space where the header “would” be, but I have it hidden.
Is your floor plan the size of your phone screen? My plan fills up the Kindle Fire I’m using it on completely but I’ve explicitly set the size of the canvas area = resolution of Kindle Fire…
Yes, it is. If I try to make it any taller, it starts to scale and the side margins are no longer correct. I know that space is where the header “would” be if I was showing it, but safari must do something weird with the way it’s being hidden.
Can anyone give me pointers on adding 90 degree door rotations ?
So far I’ve successfully been able to change the color of the door with my sensor action, have tired a few ideas i pulled from some posts but didn’t have much luck
EDIT: OK I got the animation working but its anchor point is off the screen, im guessing the #domain is my problem can you shed some light one what the placeholder should be referring to ?
thanks
It’s probably redundant, but it didn’t hurt anything to have it twice. I don’t remember having a fitting problem, but it could be your SVG. I made sure my SVG dimensions matched the resolution of my Pi screen.
Just an FYI, if you setup your Raspberry Pi like I did, this will not work. I didn’t install lightdm or any window manager. I am only using straight x server. I didn’t want to waste resources on window/desktop manager system I wouldn’t ever use since I am always running HA in kiosk mode.
This did however help me find the right direction to remove the cursor though, so very helpful. I updated my X server script to have the nocursor option, which did in fact remove it.