/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 - 2015 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ // ----- nano parts ----------------------------------------------------------- {% macro sun(id) %} {% endmacro %} // ---------------------------------------------------------------------------- /** * a arrow * * @param unique id for this widget * @param a item for switching * @param a item for the height of the blades * @param the minimum value for 0° (optional, default 0, for future use) * @param the maximum value for 360° (optional, default 255) * @param color e.g. '#f00' for red ('icon0' and 'icon1' can NOT be used) */ {% macro arrow(id, item_switch, item_value, min, max, color) %} {% endmacro %} /** * a battery * * @param unique id for this widget * @param a item for switching * @param a item for the angle of the pin * @param the minimum value for 0 (optional, default 0, for future use) * @param the maximum value for 255 (optional, default 255) * @param color e.g. '#f00' for red ('icon0' and 'icon1' can NOT be used) */ {% macro battery(id, item_switch, item_value, min, max, color) %} {% endmacro %} /** * a blade (90°) * * @param unique id for this widget * @param a item for switching * @param a item for the angle of the blades * @param the minimum value for 0 (optional, default 0, for future use) * @param the maximum value for 255 (optional, default 255) * @param color e.g. '#f00' for red ('icon0' and 'icon1' can NOT be used) * * @author Mario Zanier */ {% macro blade(id, item_switch, item_value, min, max, color) %} {% endmacro %} /** * a blade (180°) * * @param unique id for this widget * @param a item for switching * @param a item for the angle of the blades * @param the minimum value for 0 (optional, default 0, for future use) * @param the maximum value for 255 (optional, default 255) * @param color e.g. '#f00' for red ('icon0' and 'icon1' can NOT be used) */ {% macro blade2(id, item_shutter, item_value, min, max, color) %} {% endmacro %} /** * a blade (z profile) * * @param unique id for this widget * @param a item for switching * @param a item for the angle of the blades * @param the minimum value for 0 (optional, default 0, for future use) * @param the maximum value for 255 (optional, default 255) * @param color e.g. '#f00' for red ('icon0' and 'icon1' can NOT be used) * * @author Mario Zanier */ {% macro blade_z(id, item_switch, item_value, min, max, color) %} {% endmacro %} /** * a blade (round profile) * * @param unique id for this widget * @param a item for switching * @param a item for the angle of the blades * @param the minimum value for 0 (optional, default 0, for future use) * @param the maximum value for 255 (optional, default 255) * @param color e.g. '#f00' for red ('icon0' and 'icon1' can NOT be used) * * @author Mario Zanier */ {% macro blade_arc(id, item_switch, item_value, min, max, color) %} {% endmacro %} /** * A clock * * @param unique id for this widget * @param a item for switching * @param a item for the angle of the blades * @param color e.g. '#f00' for red ('icon0' and 'icon1' can NOT be used) */ {% macro clock(id, item_switch, item_value, min, max, color) %} {% endmacro %} /** * A compass * * @param unique id for this widget * @param a item for switching * @param a item for the angle of the pin * @param the minimum value for 0° (optional, default 0, for future use) * @param the maximum value for 360° (optional, default 255) * @param color e.g. '#f00' for red ('icon0' and 'icon1' can NOT be used) */ {% macro compass(id, item_switch, item_value, min, max, color) %} N {% endmacro %} /** * a graph * * @param unique id for this widget * @param a item for switching * @param a item for the height of the blades * @param the minimum value for 0 (optional, default 0, for future use) * @param the maximum value for 255 (optional, default 255) * @param color e.g. '#f00' for red ('icon0' and 'icon1' can NOT be used) */ {% macro graph(id, item_switch, item_value, min, max, color) %} {% endmacro %} /** * a light bulb * * @param unique id for this widget * @param a item for switching * @param a item for the value * @param the minimum value for 0 (optional, default 0, for future use) * @param the maximum value for 255 (optional, default 255) * @param color e.g. '#f00' for red ('icon0' and 'icon1' can NOT be used) */ {% macro light(id, item_switch, item_value, min, max, color) %} {% endmacro %} /** * a meter * * @param unique id for this widget * @param a item for switching * @param a item for the height of the blades * @param the minimum value for 0 (optional, default 0, for future use) * @param the maximum value for 255 (optional, default 255) * @param color e.g. '#f00' for red ('icon0' and 'icon1' can NOT be used) */ {% macro meter(id, item_switch, item_value, min, max, color) %} {% endmacro %} /** * a shutter * * @param unique id for this widget * @param a item for switching * @param a item for the height of the blades * @param the minimum value for 0 (optional, default 0, for future use) * @param the maximum value for 255 (optional, default 255) * @param color e.g. '#f00' for red ('icon0' and 'icon1' can NOT be used) */ {% macro shutter(id, item_switch, item_value, min, max, color) %} {% endmacro %} /** * a ventilation * * @param unique id for this widget * @param a item for switching * @param a item for the rotation speed * @param the minimum value for 0,5s rotation speed (optional, default 0, for future use) * @param the maximum value for 5s rotation speed (optional, default 255) * @param color e.g. '#f00' for red ('icon0' and 'icon1' can NOT be used) */ {% macro ventilation(id, item_switch, item_value, min, max, color) %} {% endmacro %} /** * a volume bar * * @param unique id for this widget * @param a item for switching * @param a item for the height of the blades * @param the minimum value for 0 (optional, default 0, for future use) * @param the maximum value for 255 (optional, default 255) * @param color e.g. '#f00' for red ('icon0' and 'icon1' can NOT be used) */ {% macro volume(id, item_switch, item_value, min, max, color) %} {% endmacro %} /** * a windmill * * @param unique id for this widget * @param a item for switching * @param a item for the rotation speed * @param the minimum value for 0,5s rotation speed (optional, default 0, for future use) * @param the maximum value for 5s rotation speed (optional, default 255) * @param color e.g. '#f00' for red ('icon0' and 'icon1' can NOT be used) */ {% macro windmill(id, item_switch, item_value, min, max, color) %} {% endmacro %} /** * a windrose * * @param unique id for this widget * @param a item for switching * @param a item for the angle of the pin * @param the minimum value for 0° (optional, default 0, for future use) * @param the maximum value for 360° (optional, default 255) * @param color e.g. '#f00' for red ('icon0' and 'icon1' can NOT be used) */ {% macro windrose(id, item_switch, item_value, min, max, color) %} N {% endmacro %} /** * a windsock * * @param unique id for this widget * @param a item for switching * @param a item for the angle of the pin * @param the minimum value for 0° (optional, default 0, for future use) * @param the maximum value for ~90° (optional, default 255) * @param color e.g. '#f00' for red ('icon0' and 'icon1' can NOT be used) */ {% macro windsock(id, item_switch, item_value, min, max, color) %} {% endmacro %} /** * a zenith drawing * * @param unique id for this widget * @param a item for switching * @param a item for the height of the blades * @param the minimum value for sunrise (optional, default 0, for future use) * @param the maximum value for sunset (optional, default 255) * @param color e.g. '#f00' for red ('icon0' and 'icon1' can NOT be used) */ {% macro zenith(id, item_switch, item_value, min, max, color) %} {{ _self.sun('sun') }} {% endmacro %}