The files contained in this repository can be downloaded to your computer using a svn client.
On Linux you simply type the command displayed below.

This URL has Read-Only access.

Statistics
| Revision:

root / trunk / upgrade / 01165to01166.sql @ 618

History | View | Annotate | Download (8.8 kB)

1
-- MySQL dump 10.11
2
--
3
-- Host: localhost    Database: domotiga
4
-- ------------------------------------------------------
5
-- Server version        5.0.75-0ubuntu10.2
6
7
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
8
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
9
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
10
/*!40101 SET NAMES utf8 */;
11
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
12
/*!40103 SET TIME_ZONE='+00:00' */;
13
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
14
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
15
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
16
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
17
18
USE domotiga;
19
20
--
21
-- Table structure for table `settings_eib`
22
--
23

24
DROP TABLE IF EXISTS `settings_eib`;
25
SET @saved_cs_client     = @@character_set_client;
26
SET character_set_client = utf8;
27
CREATE TABLE `settings_eib` (
28
  `id` int(11) NOT NULL,
29
  `enabled` tinyint(1) default NULL,
30
  `tcphost` varchar(32) default NULL,
31
  `tcpport` int(11) default NULL,
32
  `debug` tinyint(1) default NULL,
33
  PRIMARY KEY  (`id`)
34
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
35
SET character_set_client = @saved_cs_client;
36
37
--
38
-- Dumping data for table `settings_eib`
39
--
40

41
LOCK TABLES `settings_eib` WRITE;
42
/*!40000 ALTER TABLE `settings_eib` DISABLE KEYS */;
43
INSERT INTO `settings_eib` VALUES (0,0,'localhost',6720,1),(1,0,'localhost',6720,-1);
44
/*!40000 ALTER TABLE `settings_eib` ENABLE KEYS */;
45
UNLOCK TABLES;
46
47
--
48
-- Table structure for table `settings_domotica`
49
--
50

51
DROP TABLE IF EXISTS `settings_domotica`;
52
SET @saved_cs_client     = @@character_set_client;
53
SET character_set_client = utf8;
54
CREATE TABLE `settings_domotica` (
55
  `id` int(11) NOT NULL,
56
  `enabled` tinyint(1) default NULL,
57
  `serialport` varchar(32) default NULL,
58
  `debug` tinyint(1) default NULL,
59
  PRIMARY KEY  (`id`)
60
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
61
SET character_set_client = @saved_cs_client;
62
63
--
64
-- Dumping data for table `settings_domotica`
65
--
66

67
LOCK TABLES `settings_domotica` WRITE;
68
/*!40000 ALTER TABLE `settings_domotica` DISABLE KEYS */;
69
INSERT INTO `settings_domotica` VALUES (0,0,'/dev/ttyUSB6',0),(1,0,'/dev/ttyUSB4',0);
70
/*!40000 ALTER TABLE `settings_domotica` ENABLE KEYS */;
71
UNLOCK TABLES;
72
73
--
74
-- Table structure for table `devicetypes`
75
--
76

77
DROP TABLE IF EXISTS `devicetypes`;
78
SET @saved_cs_client     = @@character_set_client;
79
SET character_set_client = utf8;
80
CREATE TABLE `devicetypes` (
81
  `id` bigint(20) unsigned NOT NULL auto_increment,
82
  `name` varchar(32) default NULL,
83
  `description` varchar(32) default NULL,
84
  `type` varchar(32) default NULL,
85
  PRIMARY KEY  (`id`)
86
) ENGINE=MyISAM AUTO_INCREMENT=47 DEFAULT CHARSET=latin1;
87
SET character_set_client = @saved_cs_client;
88
89
--
90
-- Dumping data for table `devicetypes`
91
--
92

93
LOCK TABLES `devicetypes` WRITE;
94
/*!40000 ALTER TABLE `devicetypes` DISABLE KEYS */;
95
INSERT INTO `devicetypes` VALUES (1,'Marmitek DS90','Door/Window Sensor','X10Security'),(2,'Marmitek LW10G','Lamp Module','X10'),(3,'Marmitek LD11','Dimmer Module','X10'),(4,'Marmitek MS13E M','Motion Sensor','X10'),(5,'Marmitek MS13E L','Light Sensor','X10'),(6,'Xanura SAX35','I/O Actor','A10'),(7,'Oregon THGR238N','Temp/Hygro Sensor','Oregon'),(8,'Oregon UV138','UV Light Sensor','Oregon'),(9,'RFXPwr Module','Power Usage Sensor','RFXCom'),(10,'Marmitek TM13','Wireless Tranceiver','X10'),(11,'HDDTemp Item','Temp Monitor','HDDTemp'),(12,'Oregon THR128','Temp Sensor','Oregon'),(13,'Sony AIBO ERS-7 ','Robot Dog','AIBO'),(14,'APC SmartUPS1000','Power Supply','UPS'),(15,'Dallas DS18S20','Temp Sensor','1-Wire'),(16,'Dallas Rain Gauge','Rain Gauge','1-Wire'),(17,'Marmitek SD90','Smoke Detector','X10Security'),(18,'Bluetooth Device','Phone','Bluetooth'),(19,'ITHO ECO Fan','Central Ventilation','Weeder'),(20,'RFXPulse Gas','Gas Usage Sensor','RFXCom'),(21,'RFXPulse Water','Water Usage Sensor','RFXCom'),(22,'Oregon BWR102','Digital Bathroom Scale','Oregon'),(23,'Oregon GR101','Digital Bathroom Scale','Oregon'),(24,'Oregon THC138','Temp Sensor','Oregon'),(25,'Oregon THR138','Temp Sensor','Oregon'),(26,'Oregon THGR810','Temp/Hygro Sensor','Oregon'),(27,'Plugwise Circle','Zigbee Appliance Module','Plugwise'),(28,'Plugwise Circle+','Zigbee Appliance Module','Plugwise'),(29,'KAKU Doorbell','Wireless Doorbell','X10'),(30,'Oregon THN132N','Temp Sensor','Oregon'),(31,'Oregon THWR288','Temp Sensor','Oregon'),(32,'Oregon BTHR918N','Baro/Temp/Hygro Sensor','Oregon'),(33,'Oregon BTHR968','Baro/Temp/Hygro Sensor','Oregon'),(34,'Marmitek AD10','Switch Module','X10'),(35,'Marmitek LM12','Lamp Module','X10'),(36,'Marmitek AM12','Appliance Module','X10'),(38,'Oregon PCR800','Rain Gauge','Oregon'),(39,'Oregon RTGR328N','Temp/Hygro/Time Sensor','Oregon'),(40,'DSC PIR','Motion Sensor','DSC'),(41,'DSC Contact','Door/Window Sensor','DSC'),(42,'DSC Smoke','Smoke Detector','DSC'),(43,'KAKU AWST-8802','Wireless Wallswitch Dual','HE'),(44,'KAKU AMST-606','Door/Window Sensor','HE'),(45,'KNX/EIB (On/Off)','EIS 1','KNX/EIB'),(46,'KNX/EIB (Dim)','EIS 2','KNX/EIB');
96
/*!40000 ALTER TABLE `devicetypes` ENABLE KEYS */;
97
UNLOCK TABLES;
98
99
--
100
-- Table structure for table `interfaces`
101
--
102

103
DROP TABLE IF EXISTS `interfaces`;
104
SET @saved_cs_client     = @@character_set_client;
105
SET character_set_client = utf8;
106
CREATE TABLE `interfaces` (
107
  `id` bigint(20) unsigned NOT NULL auto_increment,
108
  `name` varchar(32) default NULL,
109
  `type` varchar(32) default NULL,
110
  `mode` varchar(32) default NULL,
111
  PRIMARY KEY  (`id`)
112
) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=latin1;
113
SET character_set_client = @saved_cs_client;
114
115
--
116
-- Dumping data for table `interfaces`
117
--
118

119
LOCK TABLES `interfaces` WRITE;
120
/*!40000 ALTER TABLE `interfaces` DISABLE KEYS */;
121
INSERT INTO `interfaces` VALUES (1,'RFXCom Receiver','A10 X10 Oregon KAKU','Read'),(2,'Xanura CTX35','A10 X10','Read Write'),(3,'Midon TEMP08','One-Wire','Read Write'),(4,'HDDTemp Socket','Build-in Module','Read'),(5,'AIBO Socket','Build-in Module','Read'),(6,'UPS Socket','Build-in Module','Read'),(7,'Heyu X10','A10 X10','Write'),(8,'Bluetooth Dongle','Bluetooth','Read Write'),(9,'Weeder I/O Bus','Weeder','Read Write'),(10,'Plugwise Stick','Plugwise','Read Write'),(11,'DSC5401 Interface','DSC','Read Write'),(12,'RFXCom Transmitter','A10 X10 KAKU','Read Write'),(13,'KNX/EIB Interface','KNX EIB','Read Write');
122
/*!40000 ALTER TABLE `interfaces` ENABLE KEYS */;
123
UNLOCK TABLES;
124
125
--
126
-- Table structure for table `weatherfeeds`
127
--
128

129
DROP TABLE IF EXISTS `weatherfeeds`;
130
SET @saved_cs_client     = @@character_set_client;
131
SET character_set_client = utf8;
132
CREATE TABLE `weatherfeeds` (
133
  `id` bigint(20) unsigned NOT NULL auto_increment,
134
  `name` varchar(32) default NULL,
135
  `url` varchar(64) default NULL,
136
  `description` text,
137
  `enabled` tinyint(1) default NULL,
138
  `type` int(11) default NULL,
139
  PRIMARY KEY  (`id`)
140
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
141
SET character_set_client = @saved_cs_client;
142
143
--
144
-- Dumping data for table `weatherfeeds`
145
--
146

147
LOCK TABLES `weatherfeeds` WRITE;
148
/*!40000 ALTER TABLE `weatherfeeds` DISABLE KEYS */;
149
/*!40000 ALTER TABLE `weatherfeeds` ENABLE KEYS */;
150
UNLOCK TABLES;
151
152
--
153
-- Table structure for table `trafficfeeds`
154
--
155

156
DROP TABLE IF EXISTS `trafficfeeds`;
157
SET @saved_cs_client     = @@character_set_client;
158
SET character_set_client = utf8;
159
CREATE TABLE `trafficfeeds` (
160
  `id` bigint(20) unsigned NOT NULL auto_increment,
161
  `name` varchar(32) default NULL,
162
  `url` varchar(64) default NULL,
163
  `description` text,
164
  `enabled` tinyint(1) default NULL,
165
  `type` int(11) default NULL,
166
  PRIMARY KEY  (`id`)
167
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
168
SET character_set_client = @saved_cs_client;
169
170
--
171
-- Dumping data for table `trafficfeeds`
172
--
173

174
LOCK TABLES `trafficfeeds` WRITE;
175
/*!40000 ALTER TABLE `trafficfeeds` DISABLE KEYS */;
176
/*!40000 ALTER TABLE `trafficfeeds` ENABLE KEYS */;
177
UNLOCK TABLES;
178
179
--
180
-- Table structure for table `version`
181
--
182

183
DROP TABLE IF EXISTS `version`;
184
SET @saved_cs_client     = @@character_set_client;
185
SET character_set_client = utf8;
186
CREATE TABLE `version` (
187
  `id` bigint(20) unsigned NOT NULL auto_increment,
188
  `db` varchar(16) default NULL,
189
  PRIMARY KEY  (`id`)
190
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
191
SET character_set_client = @saved_cs_client;
192
193
--
194
-- Dumping data for table `version`
195
--
196

197
LOCK TABLES `version` WRITE;
198
/*!40000 ALTER TABLE `version` DISABLE KEYS */;
199
INSERT INTO `version` VALUES (1,'0.1.166');
200
/*!40000 ALTER TABLE `version` ENABLE KEYS */;
201
UNLOCK TABLES;
202
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
203
204
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
205
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
206
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
207
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
208
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
209
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
210
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
211
212
-- Dump completed on 2009-07-04 12:36:08