TO ANYONE ALREADY USING THE PLUGIN MADE BY ME OR THE ORIGINAL PLUGIN MADE BY RICK NAETHING
YOU WILL HAVE TO REMOVE THE OLD PLUGIN FIRST
New Version 4.3b Added On 05/27/2016
If Upgrading:
You will have to delete all the tree items and delete the plugin from the tree, save EG.
then close EG
then delete the folder that contains the plugin in the EG plugins folder (normally C:\Program Files (x86)\EventGhost\plugins\MiCasaVerdeVera)
Installation:
extract the attached zip file to the EG plugins folder (normally C:\Program Files (x86)\EventGhost\plugins\)
then launch EG and add the plugin to the tree. enter the IP address of the Vera
leave the port alone it's really there for testing
Speed Test: This plugin when the speed in the plugin config dialog is set to .10 most times will trigger an event before the UI7 web interface even shows a change. sometimes by at least a second. and the controls from the menu system respond faster than using the web interface. all in all it's a great plugin now for complete operation of the Vera. I would love to get the window coverings piece working but i need someone that has these to test for me. i am going to write it how i think it operates (should be like a dimmer) and eventually someone will use it.
Added: Multiple Section Events and control, this is for operation of more than one Vera device and if they are attached together.
Changed: Device chooser inside of the action dialogs is now broken down to 3 separate drop down you can select the section (hub) the room and the device
Added: In the action dialogs it will show the device number as well as midfix (the piece kinda between the prefix and suffix of the event) so you have an idea of what the action that is posted will be like and can create the action without it having to have happened i plan on adding the the prefix that was entered in the plugin config to this as well so all that you will have to add is the suffix onto the end to complete it. it will look like this
"My Home.Living Room.Overhead Light.Dimmable Switch
Changed: Server is Using XML data now and not JSON
Changed: Server only asks for devices that have updated instead of the whole list this should reduce load on the Vera because of the increased load from UI7 i didn't want to add a huge amount more
Changed/Added: separated all the different controls into separate files this will make it easier for me to add features in the future. will also make it easier for the user to omit a particular file if they are encountering a problem with being able to keep the upgraded version in place will help with isolating any problems
Changed/Added: the action dialog for the HVAC has changed and has a lot of new things added it can operate in 2 modes either like a real time thermostat or just a normal action you can have events trigger from i also added weather reports to the thermostat so have a visual of the conditions outside (this requires the world weather plugin for the Vera)
Added: Ramping dialog now has an option so you can use the current state of the dimmer and go from there and you can also view the current dimmer level from inside the action dialog. this is a nice feature because you can now just check a box for an action to lower the lights and it will use the current dimmer level and go down from there without the need for making a script to do it.
Added: Locking and Unlocking of doors
Changed: UI7 no longer supports changing states of dimmers using the ON OFF method or Toggle so dimmers have been removed from those 2 actions and only switches will show up in those
Changed: proper event naming for categories
Changed: not relying on category names to do specific things in the plugin. as this caused a problem when the Vera developers decided to change some of the names.
Added/Changed: Ability to maintain the code for MIOS UI versions simply (if needed) if they continue with the kind of standard they are using now it should continue to run indefinably
Changed: On devices with 2 states I removed the name of what was changing from the event example: this event example: "My Home.Living Room.Overhead Light.Switch.State.On" is now going to look like "My Home.Living Room.Overhead Light.Switch.On", the categories for which this change will occur in is Alarms, Door locks, Switches, Scenes
Added: changed the drop downs in the HVAC controls to have a degree symbol after selected temp, ok simplify this, to much to type, every relevant type of weather marker and or climate marker has been added to the backside of the text. in drop downs and all, and this is all set to read the default measurement type from the Vera, so no need to change anything. the actions that have been modified in this way are the Light Ramping, Light Dimming, HVAC Controls. if you use the action in a python script or python command .The action parameters can be used with either an int, float, str or a str with the marker on the end. So for instance to set the light level on a dimmer for device 10 you can do any of the following.
device 10 is the overhead light in the living room on the primary hub
examples:
eg.plugins.Vera.Dimming(param1, param2)
for param1 the device any of the following 3 can be used
"10"
10
"My Home.Living Room.Overhead Light"
and for param 2 any of the following can be used
"50"
"50%"
50
"50.00"
"50.00%"
50.00
the plugin allows for down to a quarter of a percent resolution for lighting
the next thing i am going to redo is the menus so they aren't so long will make it easier to select a value
pressure, standard: 'inch Hg', metric: 'mb'
thermal unit, standard: 'F', metric: 'C'
speed, standard: 'mph', metric: 'km/h'
percent: '%'
i don't know if this is going to show up
degree: °
just to name a few
Changed: Menu System!!! what a lot of work. think i got it running smooth tho, accepts mouse input and keyboard input
button mapping
up/numpad up: menu up
down/numpad down: menu down
left/numpad left: backup a level
right/numpad right: forward or execute
return/numpad enter: forward or execute
home/numpad home: back to the room list
escape: exit menu system
backspace: back up a level
mouse double click is execute
mouse single click advances the menu
mouse wheel up is menu up
mouse wheel down is menu down
ok here is the kicker with this thing the menu is a never ending loop so no need to go backwards when you can go forwards
there is a close timer and that close timer stops running when the mouse is over the menu, and in order to use any of the controls the mouse has to be over the menu
the menu system allows for control of the devices (the ones i have added thus far) and it also will redraw with the current information. example: say you turn the lights up from the menu, it will show it in the menu as a nice confirmation. it also will position it's self in the menu at the current setting. so if you have a light at 43% when you go in to change the level, it will plop you on 43% as a start point
the menu has full lists of all of the percents and temps to set to (no decimal resolution) and it will show the correct temp range if you are metric or standard
items notated with the ---> on the right have another level and items notated with -*- are executable. scenes are also in this list. anything weather related will show up in a menu item called weather and if something doesn't have a room it will be in "No Room" and if it's a plugin it should be in the plugins folder (unless the plugin has been assigned a different category on the Vera)
there are going to be items that do not highlight these items are not select-able/use-able there are there for information and decoration
you can tell where you are in the menu because of 2 things, one. the current selected is always at the top.
and the second is the line shifts to the left
there are a lot of settings in the action dialog for this thing. you can change pretty much everything right down to the rounding of the corners on the menu and the width of the border
if you are having slow downs with the menu (it's time to upgrade the computer you have
Added/Changed: i made the plugin dialog look better than it was and the items aren't all smooshed together. I also added 2 buttons only one of which works properly. the All Vera Data
I also grayed out the Port dialog window but it is still there so it can be viewed. if for some reason you need to change this parameter probably because you are forwarded through a router you have to edit the PluginConfigControls.py file and change the line with ENABLEPORT = False to ENABLEPORT = True it's right at the top of the file in the All Vera Data button if you click it you have to give it a second to populate, it's a lot of data so don't go click all impatient like. the Vera Unit is pretty handicapped in the speed department and that's why i don't like calling this particular command to it for device updates. but at some point i am going to have to because they are getting rid of the command i am using (don't understand as to why). but this will give you every thing that is set on the Vera and i do mean everything it's in a tree format and i have done a little shuffling around of some of the tree item names to make it easier to understand but all in all it's close to identical from what comes off the vera. this is in the exact same format as what i parse from the Vera. took a while for me to learn how to deal with all the information.
there are various other things i have changed throughout the plugin, i didn't make a list. but it seems to be running fine on my end.
bug reporting is the same. i cannot help if i do not have the following information
a screen shot of the error
a complete description of what was occurring when the error occurred.
a copy of the log for about 20 lines before and after (if so applicable) in a text file and attached to the post. don't want to filter through that in the forum thread
if there is a feature request, please do submit it in triplicate carbon copy snail mailed to Santa Clause, and he may give it to you for Christmas.
or you could just ask nicely
planned additions:
Security sensor arming and disarming (per sensor)
Schedule for the HVAC
Security Camera Viewing
Controls for the Vera plugins (has to be done on a plugin by plugin basis upon user request
Window Coverings
just to name a few
Remember this is experimental so please report any bugs to me and i will fix them pretty quickly
file is attached below
Thanks
K
