Problem - My HSTouch screen has limited space and I wish to display the status of 2 sensors with one icon!
I have a tilt sensor and motion sensor in my garage and I wanted to indicate the garage door and occupancy status of both on my touchscreens. However, I have limited space on my dashboard. I decided to use a virtual device to reflect both attributes with one status icon.
Step 1 - create graphic icons to reflect all possible conditions
Save these icons to your HomeSeer HS3/html/images/HomeSeer/status/ folder
Mine look like this:
Step 2 - create virtual device "Garage Status" with text values for each condition above. I used values 1, 10, 20, 30
Step 3 - associate each value with the appropriate graphic icon
If you navigate to the device mgmt page, your device will now look something like this:
Step 4 - create events to change the value of the Garage Status virtual device
In my case, I created an (unshown) event to reset an HS3 timer every time motion is sensed. When the timer reaches 4 minutes, I consider the garage unoccupied. You'll need to create one event for each Garage Status condition and each event will need two trigger/condition combinations. Here's what one of mine looks like:
Step 5 - add the Garage Status virtual device to your HSTouch project and deploy.
Now, instead of adding the door sensor and motion sensor to your HSTouch projects, you just need to add this new virtual device to your projects!
I have a tilt sensor and motion sensor in my garage and I wanted to indicate the garage door and occupancy status of both on my touchscreens. However, I have limited space on my dashboard. I decided to use a virtual device to reflect both attributes with one status icon.
Step 1 - create graphic icons to reflect all possible conditions
Save these icons to your HomeSeer HS3/html/images/HomeSeer/status/ folder
- Door Closed - No Motion
- Door Closed - Motion
- Door Open - No Motion
- Door Open - Motion
Mine look like this:
Step 2 - create virtual device "Garage Status" with text values for each condition above. I used values 1, 10, 20, 30
Step 3 - associate each value with the appropriate graphic icon
If you navigate to the device mgmt page, your device will now look something like this:
Step 4 - create events to change the value of the Garage Status virtual device
In my case, I created an (unshown) event to reset an HS3 timer every time motion is sensed. When the timer reaches 4 minutes, I consider the garage unoccupied. You'll need to create one event for each Garage Status condition and each event will need two trigger/condition combinations. Here's what one of mine looks like:
Step 5 - add the Garage Status virtual device to your HSTouch project and deploy.
Now, instead of adding the door sensor and motion sensor to your HSTouch projects, you just need to add this new virtual device to your projects!
Comment