In the previous Control article we focused on some of AAIMI's primary control systems. Today we'll cover the general features and settings available.
In the devices tab, as well as adding and updating devices, you can also monitor which devices are registered as AAIMI access devices, and the last time they checked in both remotely and locally.
You can also see the last local and remote IP addresses used to connect.
You can schedule daily, weekly and OneTime events. To access the schedule, click the More button at the top right corner of the screen then click Schedule.
Let's schedule a weekly alert to put the bins out. Click Create Schedule.
Choose Weekly as the Schedule Type and enter the time you want the alert to appear in 24 hour format. Give your event a unique name
In the command field, enter alert BinsOut on Thursday
The first word, "alert" is the command type. The second word, "BinsOut", is the name of the alert, which matches the name of an image that AAIMI will display with the alert. The third word, "on", tells AAIMI to start the alert, and the fourth, "Thursday", is the day you want your event to take place.
There is our bin schedule. Every Thursday evening a bin alert will appear in the alerts column and stay there until someone puts the bins out then turns it off.
Now we'll try a daily schedule. Let's say you were going away for a few weeks and wanted your home to appear occupied. You could set a daily schedule to switch your lounge room light on for a few hours every night.
In the Schedule column click Create Schedule.
This time choose Daily from the drop-down menu and enter the time to switch the lights on each day. Once again, give the event a name.
In the Command field, type: light Lounge on
Notice that unlike the weekly schedule we created earlier, we don't need to add the day at the end of the command.
Now the lights will turn on every evening, but we need to make another daily schedule to switch them off.
Click Create Schedule and once again select Daily
We'll leave them on until 10PM each night.
This time in the Command field type: light Lounge off, then click Submit.
Now we can see our new events in the list.
To display the Alerts column click the More button in the top-right corner of the screen, then click Alerts.
You can see the bin alert we scheduled earlier.
You can add alerts by scrolling down to the Add Alert field.
The icons displayed for the alerts are images in the "alerts" folder. You name your alerts based on the name of the image you wish to display. For example, there is an image named BinsOut.jpg. When you create an alert named BinsOut AAIMI automatically displays that image.
There are currently only a few to choose from, but you can add your own images and use the image name (without the .jpg) as your custom alert name. This does require small code mods, so I'll provide intructions in the advanced tutorial.
There are some basic grocery items. If you are just about out of milk you can create an alert for the next person going to the store. Enter "Milk" and click Add, and you will see a milk icon.
"Bread" will display a bread icon. There is also Cheese and Butter. Any custom alert you create will use a default image.
To remove the event when you have bought more milk simply click the icon and the event will disappear.
AAIMI can also use audio alerts. It does this by loading an audio player in the Alerts column.
At the moment this is limited to smoke and gas alerts, in the next version AAIMI will use this audio system for many other alerts and communications.
Customize the AAIMI GUI
You can customize how the GUI looks by changing themes, or by creating your own theme. To do this, click the More button at the top-right of screen and select Themes.
By default the background is plain black, but you can use a slideshow of images as a background instead.
There are just two default themes, a marine theme and a river theme. To create your own theme, you can upload five of your own images to the custom folder, located in the themes folder in aaimiweb.
The images should be the size of the largest display you plan to use for the GUI. For instance, if you plan to display th GUI on a large 1080 TV, use images that are at-least 1920*1080.
The images must be named img1.jpg, img2.jpg, img3.jpg, img4.jpg, img5.jpg. Replace the images in the custom folder with your images.
Lastly you need to set the ownership and permissions for the images. In a terminal, navigate to the aaimihome085 folder and type:
You'll need to run this command any time you change your custom images.
Now, in the GUI in the Themes column you should see a thumbnail of your first image along with the other themes. Click the Custom button below your image, and the background will change to a slideshow of your images.
In the next article in this series we'll use the Python GUI for studying your long-term home data.
In the final article I'll cover some more-advanced features and configuration options, and tell you what to expect from the next version.
If you have any further questions leave a comment below.