Tried the latest and the build is much faster at retrieving the files.
Code: Select all
from micasaverde_vera import Vera
eg.globals.vera = Vera()
This restarts the build process every time but adds this first:
09:04:59 Category | Category Name | Subcategory | Subcategory Name
09:04:59 ========================================================================================
09:04:59 0 Interfaces & Misc Devices
09:04:59 1 Interfaces & Misc Devices
09:04:59 2 Dimmable Switch
09:04:59 1 Dimmable Light Bulb
09:04:59 2 Dimmable Light Plugged
09:04:59 3 In Wall Dimmer
09:04:59 4 Colored Light
09:04:59 3 On/Off Switch
09:04:59 1 Indoor Switch
09:04:59 2 Outdoor Switch
09:04:59 3 In Wall Switch
09:04:59 4 Refrigerator Switch
09:04:59 5 Garage Door Switch
09:04:59 4 Security Sensor
09:04:59 1 Door & Window Sensor
09:04:59 2 Flood Sensor
09:04:59 3 Motion Sensor
09:04:59 4 Smoke Sensor
09:04:59 5 CO Sensor
09:04:59 6 Glass Break Sensor
09:04:59 5 Thermostat
09:04:59 1 Thermostat
09:04:59 2 Heater
09:04:59 3 Nest Thermostat
09:04:59 6 Camera
09:04:59 7 Poly-Control Danalock
09:04:59 8 Window Covering
09:04:59 9 Remote control
09:04:59 10 IR TX
09:04:59 11 I/O Device
09:04:59 2 Z-Wave Extender/Repeater
09:04:59 12 Sensor
09:04:59 13 Serial Port
09:04:59 14 Scene Controller
09:04:59 15 A/V Device
09:04:59 16 Humidity Sensor
09:04:59 17 Temperature Sensor
09:04:59 18 Light Sensor
09:04:59 19 Z-Wave Interface
09:04:59 20 Insteon Interfaces
09:04:59 21 Power Meter
09:04:59 22 Alarm Panel
09:04:59 23 Alarm Area
09:04:59 24 Alarm Siren
09:04:59 25 Weather Station
09:04:59 26 Philips Controller
09:04:59 27 Appliances
09:04:59 28 UV Sensor
09:04:59 9999 Scenes
09:05:00 Traceback (most recent call last):
09:05:00 Python script "5", line 26, in <module>
09:05:00 eg.globals.vera = Vera('192.168.1.205')
09:05:00 File "C:\Program Files (x86)\EventGhost\lib27\site-packages\micasaverde_vera\__init__.py", line 290, in __new__
09:05:00 return NewVera(ip_address)
09:05:00 File "C:\Program Files (x86)\EventGhost\lib27\site-packages\micasaverde_vera\__init__.py", line 266, in __init__
09:05:00 _Vera.__init__(self, ip)
09:05:00 File "C:\Program Files (x86)\EventGhost\lib27\site-packages\micasaverde_vera\__init__.py", line 353, in __init__
09:05:00 self.devices = self.__build(Devices, 'devices', data)
09:05:00 File "C:\Program Files (x86)\EventGhost\lib27\site-packages\micasaverde_vera\__init__.py", line 408, in __build
09:05:00 data.pop(key, None)
09:05:00 File "C:\Program Files (x86)\EventGhost\lib27\site-packages\micasaverde_vera\devices.py", line 34, in __init__
09:05:00 self._devices += [self.__build(device)]
09:05:00 File "C:\Program Files (x86)\EventGhost\lib27\site-packages\micasaverde_vera\devices.py", line 61, in __build
09:05:00 cls_name[:1].upper() + cls_name[1:]
09:05:00 AttributeError: 'module' object has no attribute 'ECO_Switch1'
Can also confirm if files exist it shows in the log they do:
09:05:19 -File Exists C:\Users\SIMON\AppData\Roaming\MiCasaVerde_Vera\services\v_switch_1.py etc
Code: Select all
from micasaverde_vera import vera_build
vera_build.build_files('192.168.1.205', log=True)
This restarted the build process and stopped at:
09:09:46 Building Templates....
Thanks for the message BTW, at least I know I'm not going mad...
Cheers