Derooie
(Patrick)
September 8, 2016, 4:43am
1
Hi All,
I like to have multiple dashboard or state pages. One general page, and a second where i configure maybe only the lights in more detail.
For example a page where only scenes are shown and the devices (or whatever i put in the config), and a second where i put all states, scenes etc specific for lights. Making many scenes in the only overview i have now will give a a long dashboard and is not very handy.
Is there a way to do it? It doesn’t seem like standard functionality, but maybe i am wrong?
Regards,
Patrick
jbardi
(casperboo)
September 8, 2016, 5:25am
2
Are you not using Views and Groups for your Frontend? Views allow you to have different tabs at the top of your states page, displaying any number of entities and groups within each View. You can even have groups within groups.
Derooie
(Patrick)
September 8, 2016, 7:48am
3
Hi jbardi,
No honestly i didnt notice this functionality yet. I am not quite sure if this is what i need, ill test it tonight, but it sounds about right.
Thank you for replying!
Regards,
Patrick
jbardi
(casperboo)
September 8, 2016, 11:02am
4
Here is a gif showing an example layout for the Frontend using views and groups:
Any groups that have the ‘view: yes’ option will show up as tabs. Many people are unaware that they don’t have to use the default_view with all of the sensors showing up as rows and rows of circles, which I personally believe is extremely UGLY and unprofessional. I have no idea why that is the default view. You can override the default view by assinging default_view as a group view. It will take on the title of whatever name you have in the top of your configuration yaml. In this example, the name was changed from “Home” to “Alarm”, thus making the first tab called “Alarm”
Here is the change at the top of the configuration.yaml:
homeassistant:
# Name of the location where Home Assistant is running
name: Alarm
And here is the group configuration data for the above example:
default_view:
view: yes
entities:
- persistent_notification.68599586
- group.alarm
Alarm:
name: 'Home Alarm System'
icon: mdi:alarm
entities:
- sensor.alarm_status
- script.alarm_disarm
- script.alarm_arm_home
- script.alarm_arm_away
- input_boolean.alarm_zone_bypass
- input_boolean.siren
- switch.foscam_motion
Family Status:
entities:
- device_tracker.jonsiphone6plus
- device_tracker.marlenesiphone
- device_tracker.mikesiphone6plus
EntryDevices:
name: 'Locks / Garage'
entities:
- lock.kwikset_touchpad_electronic_deadbolt_locked_44
- lock.kwikset_touchpad_electronic_deadbolt_locked_45
- switch.garage_overhead_door
Locks:
entities:
- lock.kwikset_touchpad_electronic_deadbolt_locked_44
- lock.kwikset_touchpad_electronic_deadbolt_locked_45
Lock Monitor:
entities:
- sensor.kwikset_touchpad_electronic_deadbolt_alarm_type_44
- sensor.kwikset_touchpad_electronic_deadbolt_alarm_type_45
Contact Sensors:
entities:
- sensor.door_front
- sensor.door_back
- sensor.door_garage_side
- sensor.door_garage_overhead_tilt
- sensor.window_master_bedroom
- sensor.window_master_bathroom
- sensor.window_living_room
- sensor.window_dining_room
- sensor.window_kitchen
- sensor.window_jon_media_room
- sensor.window_jon_bedroom
- sensor.window_office
- sensor.window_family_room_1
- sensor.window_family_room_2
- sensor.window_family_room_3
Motion Sensors:
entities:
- sensor.motion_living_room
- sensor.motion_jon_media_room
Battery Levels:
entities:
- sensor.batt_iphone_jon
- sensor.batt_ipad_jon
- sensor.batt_iphone_marlene
- sensor.batt_ipad_marlene
- sensor.batt_iphone_mike
- sensor.batt_ipad_mike
- sensor.batt_thermostat
- sensor.batt_front_door_lock
- sensor.batt_back_door_lock
- sensor.batt_front_door
- sensor.batt_back_door
- sensor.batt_garage_side_door
- sensor.batt_garage_tilt_sensor
- sensor.batt_master_bedroom_window
- sensor.batt_master_bathroom_window
- sensor.batt_living_room_window
- sensor.batt_living_room_motion
- sensor.batt_kitchen_window
- sensor.batt_dining_room_window
- sensor.batt_jon_media_room_window
- sensor.batt_jon_media_room_motion
- sensor.batt_jon_bedroom_window
- sensor.batt_office_window
- sensor.batt_family_room_windows_1
- sensor.batt_family_room_windows_2
- sensor.batt_family_room_windows_3
Rooms:
view: yes
icon: mdi:home
entities:
- group.master_bedroom
- group.master_bathroom
- group.kitchen
- group.living_room
- group.dining_room
- group.hallway
- group.media_room
- group.jons_bedroom
- group.office
- group.main_bathroom
- group.family_room
- group.laundry_room
- group.garage
Master Bedroom:
entities:
- switch.master_bedroom_desk_lamp
- sensor.window_master_bedroom
Master Bathroom:
entities:
- switch.master_bathroom_plug
- sensor.window_master_bathroom
Living Room:
entities:
- lock.kwikset_touchpad_electronic_deadbolt_locked_44
- switch.living_room_lamp
- sensor.door_front
- sensor.window_living_room
- sensor.motion_living_room
Kitchen:
entities:
- switch.stove_light
- sensor.window_kitchen
Dining Room:
entities: sensor.window_dining_room
Hallway:
entities: input_boolean.siren
Media Room:
entities:
- switch.jon_media_room_lamp
- sensor.window_jon_media_room
- sensor.motion_jon_media_room
Jon's Bedroom:
entities:
- switch.jon_bedroom_lamp
- sensor.window_jon_bedroom
Office:
entities: sensor.window_office
Family Room:
entities:
- switch.family_room_lamp
- sensor.window_family_room_1
- sensor.window_family_room_2
- sensor.window_family_room_3
Laundry Room:
entities:
- lock.kwikset_touchpad_electronic_deadbolt_locked_45
- sensor.door_back
Garage:
entities:
- switch.garage_plug
- switch.garage_overhead_door
- sensor.door_garage_side
Home Status:
view: yes
icon: mdi:security
entities:
- group.family_status
- group.entrydevices
- group.contact_sensors
- group.motion_sensors
- group.battery_levels
Thermostat:
entities:
- input_select.hvac_mode
- input_select.hvac_fan_mode
- input_slider.set_temp
- sensor.target_temp
- sensor.ct100_thermostat_temperature_8
- sensor.inside_humidity
TempSet:
entities:
- climate.ct100_thermostat_cooling_1_8
- climate.ct100_thermostat_heating_1_8
HVAC:
view: yes
icon: mdi:temperature-fahrenheit
entities: group.thermostat
Cameras:
view: yes
icon: mdi:camera
entities:
- camera.dining_room
- camera.hallway
- camera.family_room
Settings:
view: yes
icon: mdi:settings
entities:
- group.automation
- group.notifications
- group.scripts
- group.admin
Automation:
icon: mdi:auto-fix
entities:
- input_boolean.home
- input_boolean.molly
- input_boolean.presence_notify
- input_boolean.night_mode
- input_boolean.vacation_mode
- switch.foscam_motion
- input_boolean.living_room_motion
- input_boolean.after_sunset_alarm_warning
Notifications:
entities:
- input_boolean.notifications
- input_select.message_service
Scripts:
entities:
- script.find_iphone_jon
- script.find_iphone_marlene
- script.find_iphone_mike
- script.alarm_snapshots
Admin:
entities:
- script.update_batteries
- script.restart_ha
Derooie
(Patrick)
September 8, 2016, 12:18pm
5
Hi, this is exactly what i am looking for!
Thanks. I will have some things to do;)
I like it.
rpitera
(Robert Pitera)
September 8, 2016, 10:10pm
6
There’s also a great video on this as well.
2 Likes
Derooie
(Patrick)
September 9, 2016, 11:40am
7
Yes very nice video indeed. I love home assistent. Do have one question still though. If i have a kodi player and sonos, so both known as media_player, how do i add both in the config?
rpitera
(Robert Pitera)
September 9, 2016, 1:12pm
8
Kodi Instructions here:
Sono instructions here:
To do multiple media players, you just enumerate the instances as you would for any multiple in HASS:
#
# Media Players
#
media_player:
platform: plex
#
media_player 2:
platform: cast
host: 192.168.1.158
#
media_player 3:
platform: cast
host: 192.168.1.157
#
media_player 4:
platform: firetv
Just remember the second instance of anything starts with a “2” and then you increase the number by one for each new instance. This is assuming you have not split your config files and everything is in configuration.yaml.
Derooie
(Patrick)
September 9, 2016, 11:06pm
9
This was really simple, i tried different names and using underscores, but forgot to try spaces. Works like a charm Thanks!
1 Like