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 / 01167to01168.sql @ 816

History | View | Annotate | Download (11.2 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 `devices`
22
--
23

24
ALTER TABLE `devices` ADD COLUMN `calibration` int(11) default NULL AFTER value4;
25
ALTER TABLE `devices` ADD COLUMN `calibration2` int(11) default NULL AFTER calibration;
26
ALTER TABLE `devices` ADD COLUMN `calibration3` int(11) default NULL AFTER calibration2;
27
ALTER TABLE `devices` ADD COLUMN `calibration4` int(11) default NULL AFTER calibration3;
28
29
ALTER TABLE `devices` ADD COLUMN `divider` int(11) default NULL AFTER calibration4;
30
ALTER TABLE `devices` ADD COLUMN `divider2` int(11) default NULL AFTER divider;
31
ALTER TABLE `devices` ADD COLUMN `divider3` int(11) default NULL AFTER divider2;
32
ALTER TABLE `devices` ADD COLUMN `divider4` int(11) default NULL AFTER divider3;
33
34
--
35
-- Table structure for table `settings_digitemp`
36
--
37

38
DROP TABLE IF EXISTS `settings_digitemp`;
39
SET @saved_cs_client     = @@character_set_client;
40
SET character_set_client = utf8;
41
CREATE TABLE `settings_digitemp` (
42
  `id` int(11) NOT NULL,
43
  `enabled` tinyint(1) default NULL,
44
  `command` varchar(32) default NULL,
45
  `config` varchar(32) default NULL,
46
  `polltime` int(11) default NULL,
47
  `readtime` int(11) default NULL,
48
  `debug` tinyint(1) default NULL,
49
  PRIMARY KEY  (`id`)
50
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
51
SET character_set_client = @saved_cs_client;
52
53
--
54
-- Dumping data for table `settings_digitemp`
55
--
56

57
LOCK TABLES `settings_digitemp` WRITE;
58
/*!40000 ALTER TABLE `settings_digitemp` DISABLE KEYS */;
59
INSERT INTO `settings_digitemp` VALUES (0,0,'digitemp_DS9097U','/etc/digitemp.conf',300,1500,0),(1,0,'digitemp_DS9097U','/etc/digitemp.conf',300,1500,0);
60
/*!40000 ALTER TABLE `settings_digitemp` ENABLE KEYS */;
61
UNLOCK TABLES;
62
63
--
64
-- Table structure for table `newsfeeds`
65
--
66

67
DROP TABLE IF EXISTS `newsfeeds`;
68
SET @saved_cs_client     = @@character_set_client;
69
SET character_set_client = utf8;
70
CREATE TABLE `newsfeeds` (
71
  `id` bigint(20) unsigned NOT NULL auto_increment,
72
  `name` varchar(32) default NULL,
73
  `url` varchar(254) default NULL,
74
  `description` text,
75
  `enabled` tinyint(1) default NULL,
76
  PRIMARY KEY  (`id`)
77
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
78
SET character_set_client = @saved_cs_client;
79
80
--
81
-- Dumping data for table `newsfeeds`
82
--
83

84
LOCK TABLES `newsfeeds` WRITE;
85
/*!40000 ALTER TABLE `newsfeeds` DISABLE KEYS */;
86
INSERT INTO `newsfeeds` VALUES (1,'Slashdot','http://rss.slashdot.org/Slashdot/slashdot','News for Nerds. Stuff that Matters.',1),(2,'Tweakers','http://gathering.tweakers.net/rss/list_activetopics','Gathering of Tweakers.',1),(3,'Weather','http://www.buienradar.nl/rssnieuws.aspx','',1);
87
/*!40000 ALTER TABLE `newsfeeds` ENABLE KEYS */;
88
UNLOCK TABLES;
89
90
--
91
-- Table structure for table `trafficfeeds`
92
--
93

94
DROP TABLE IF EXISTS `trafficfeeds`;
95
SET @saved_cs_client     = @@character_set_client;
96
SET character_set_client = utf8;
97
CREATE TABLE `trafficfeeds` (
98
  `id` bigint(20) unsigned NOT NULL auto_increment,
99
  `name` varchar(32) default NULL,
100
  `url` varchar(254) default NULL,
101
  `description` text,
102
  `enabled` tinyint(1) default NULL,
103
  `type` int(11) default NULL,
104
  PRIMARY KEY  (`id`)
105
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
106
SET character_set_client = @saved_cs_client;
107
108
--
109
-- Dumping data for table `trafficfeeds`
110
--
111

112
LOCK TABLES `trafficfeeds` WRITE;
113
/*!40000 ALTER TABLE `trafficfeeds` DISABLE KEYS */;
114
/*!40000 ALTER TABLE `trafficfeeds` ENABLE KEYS */;
115
UNLOCK TABLES;
116
117
--
118
-- Table structure for table `weatherfeeds`
119
--
120

121
DROP TABLE IF EXISTS `weatherfeeds`;
122
SET @saved_cs_client     = @@character_set_client;
123
SET character_set_client = utf8;
124
CREATE TABLE `weatherfeeds` (
125
  `id` bigint(20) unsigned NOT NULL auto_increment,
126
  `name` varchar(32) default NULL,
127
  `url` varchar(254) default NULL,
128
  `description` text,
129
  `enabled` tinyint(1) default NULL,
130
  `type` int(11) default NULL,
131
  PRIMARY KEY  (`id`)
132
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
133
SET character_set_client = @saved_cs_client;
134
135
--
136
-- Dumping data for table `weatherfeeds`
137
--
138

139
LOCK TABLES `weatherfeeds` WRITE;
140
/*!40000 ALTER TABLE `weatherfeeds` DISABLE KEYS */;
141
INSERT INTO `weatherfeeds` VALUES (1,'Sat24','http://www.sat24.com/image.ashx?country=nl','',1,NULL);
142
/*!40000 ALTER TABLE `weatherfeeds` ENABLE KEYS */;
143
UNLOCK TABLES;
144
145
--
146
-- Table structure for table `interfaces`
147
--
148

149
DROP TABLE IF EXISTS `interfaces`;
150
SET @saved_cs_client     = @@character_set_client;
151
SET character_set_client = utf8;
152
CREATE TABLE `interfaces` (
153
  `id` bigint(20) unsigned NOT NULL auto_increment,
154
  `name` varchar(32) default NULL,
155
  `type` varchar(32) default NULL,
156
  `mode` varchar(32) default NULL,
157
  PRIMARY KEY  (`id`)
158
) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=latin1;
159
SET character_set_client = @saved_cs_client;
160
161
--
162
-- Dumping data for table `interfaces`
163
--
164

165
LOCK TABLES `interfaces` WRITE;
166
/*!40000 ALTER TABLE `interfaces` DISABLE KEYS */;
167
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'),(14,'Digitemp','Digitemp','Read');
168
/*!40000 ALTER TABLE `interfaces` ENABLE KEYS */;
169
UNLOCK TABLES;
170
171
--
172
-- Table structure for table `devicetypes`
173
--
174

175
DROP TABLE IF EXISTS `devicetypes`;
176
SET @saved_cs_client     = @@character_set_client;
177
SET character_set_client = utf8;
178
CREATE TABLE `devicetypes` (
179
  `id` bigint(20) unsigned NOT NULL auto_increment,
180
  `name` varchar(32) default NULL,
181
  `description` varchar(32) default NULL,
182
  `type` varchar(32) default NULL,
183
  PRIMARY KEY  (`id`)
184
) ENGINE=MyISAM AUTO_INCREMENT=59 DEFAULT CHARSET=latin1;
185
SET character_set_client = @saved_cs_client;
186
187
--
188
-- Dumping data for table `devicetypes`
189
--
190

191
LOCK TABLES `devicetypes` WRITE;
192
/*!40000 ALTER TABLE `devicetypes` DISABLE KEYS */;
193
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'),(46,'KNX/EIB Dim','EIS 2','KNX/EIB'),(45,'KNX/EIB On/Off','EIS 1','KNX/EIB'),(49,'KNX/EIB Values','EIS 5','KNX/EIB'),(48,'KNX/EIB Date','EIS 4','KNX/EIB'),(47,'KNX/EIB Time','EIS 3','KNX/EIB'),(50,'KNX/EIB Scaling %','EIS 6','KNX/EIB'),(51,'KNX/EIB Motor Drives','EIS 7','KNX/EIB'),(52,'KNX/EIB Forced Control','EIS 8','KNX/EIB'),(53,'KNX/EIB 32bit Float','EIS 9','KNX/EIB'),(54,'KNX/EIB 16bit Int','EIS 10','KNX/EIB'),(55,'KNX/EIB 32bit Int','EIS 11','KNX/EIB'),(56,'KNX/EIB 8bit Int','EIS 14','KNX/EIB'),(57,'KNX/EIB 14byte Text','EIS 15','KNX/EIB'),(58,'Digitemp DS1820','Temp Sensor','Digitemp');
194
/*!40000 ALTER TABLE `devicetypes` ENABLE KEYS */;
195
UNLOCK TABLES;
196
197
--
198
-- Table structure for table `deviceblacklist`
199
--
200

201
DROP TABLE IF EXISTS `deviceblacklist`;
202
SET @saved_cs_client     = @@character_set_client;
203
SET character_set_client = utf8;
204
CREATE TABLE `deviceblacklist` (
205
  `blid` bigint(20) unsigned NOT NULL auto_increment,
206
  `address` varchar(64) default NULL,
207
  `comments` text,
208
  `id` int(11) default NULL,
209
  PRIMARY KEY  (`blid`)
210
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
211
SET character_set_client = @saved_cs_client;
212
213
--
214
-- Dumping data for table `deviceblacklist`
215
--
216

217
LOCK TABLES `deviceblacklist` WRITE;
218
/*!40000 ALTER TABLE `deviceblacklist` DISABLE KEYS */;
219
/*!40000 ALTER TABLE `deviceblacklist` ENABLE KEYS */;
220
UNLOCK TABLES;
221
222
--
223
-- Table structure for table `version`
224
--
225

226
DROP TABLE IF EXISTS `version`;
227
SET @saved_cs_client     = @@character_set_client;
228
SET character_set_client = utf8;
229
CREATE TABLE `version` (
230
  `id` bigint(20) unsigned NOT NULL auto_increment,
231
  `db` varchar(16) default NULL,
232
  PRIMARY KEY  (`id`)
233
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
234
SET character_set_client = @saved_cs_client;
235
236
--
237
-- Dumping data for table `version`
238
--
239

240
LOCK TABLES `version` WRITE;
241
/*!40000 ALTER TABLE `version` DISABLE KEYS */;
242
INSERT INTO `version` VALUES (1,'0.1.166'),(2,'0.1.167'),(3,'0.1.168');
243
/*!40000 ALTER TABLE `version` ENABLE KEYS */;
244
UNLOCK TABLES;
245
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
246
247
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
248
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
249
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
250
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
251
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
252
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
253
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
254
255
-- Dump completed on 2009-09-06 14:10:43