verwijderd. Moet beter leren lezen
[ Voor 97% gewijzigd door fjux op 09-12-2014 14:41 . Reden: stom ]
[ Voor 97% gewijzigd door fjux op 09-12-2014 14:41 . Reden: stom ]
[ Voor 53% gewijzigd door dj-dano op 10-12-2014 20:40 ]
Ik ben op dit moment bezig om de opentherm gateway te koppelen aan pimatic.dj-dano schreef op maandag 08 december 2014 @ 18:20:
Dan heb ik ook een leuke uitdaging.
Hoe koppel je een smartmeter ( http://blog.bwired.nl/?p=913 en http://blog.bwired.nl/?p=913 ) met pimatic.
Dit wel als device hoe dit er grafisch uit kan komen zien laat ik even in het midden.
Heb deze zelf al werken via een link.
Hoe koppel je de opentherm-gateway ( http://www.opentherm-gate...kits/gateway-kit-usb.html ).
Dan heb je alle controle via Pimatic.![]()
nog steeds bezig met zenders te koppelen via debug komt niets binnen.
pilight daemon geeft wel data dus hardware werkt. Nu een nieuwe install met pimatic zonder pilight.
*used parts Rpi B plus zender en ontvanger 2x dht11 en bmp180. *
Sinds de 2 dagen regel reageer ik hier niet meer
Sinds de 2 dagen regel reageer ik hier niet meer
ik denk dat ik niet geheel duidelijk ben geweest.CurlyMo schreef op donderdag 11 december 2014 @ 18:43:
In welke taal moet die server werken?
[ Voor 7% gewijzigd door fjux op 12-12-2014 17:04 ]
Sinds de 2 dagen regel reageer ik hier niet meer
+1incmve schreef op vrijdag 12 december 2014 @ 10:32:
Nee geen ad-hoc netwerk maar met 2 pimatic installaties kan je ze wel "laten praten" d.m.v. de API.
Zwembad (te koop) - Braaihok (te koop) - Bouwproject -BraaiTV - Funda
Site is niet geweldig, maar alle info is hier te vinden van de opentherm gateway:CurlyMo schreef op vrijdag 12 december 2014 @ 17:05:
Heb je misschien een link naar die applicatie?
ja ik krijg geen enkel bericht binnen van mijn HAMA 290. Welk protocol ik ook gebruik. weather1 tm weather5. Mijn kaku berichten krijg ik dan wel weer binnenhtca schreef op zondag 14 december 2014 @ 10:01:
Zijn er meer mensen die problemen ondervinden met de weather plug-in?
Beter remmen=sneller racen: loadcellmod
Ja komt geen info meer binnen. Dit wel na de update van afglopen week. Ik heb deze plugin nog niet aan het werk zelfs niet na doorlezen en updaten.htca schreef op zondag 14 december 2014 @ 10:01:
Zijn er meer mensen die problemen ondervinden met de weather plug-in?
[ Voor 13% gewijzigd door dj-dano op 14-12-2014 20:22 ]
Mogelijk stopt je service niet goed.dj-dano schreef op zondag 14 december 2014 @ 22:10:
Val bijna van mijn stoel, elke wijziging die ik maak word automatisch na een paar minuten weer terug gezet naar de oude instelling.
voorbeeld: ik wijzig de naam van een device herstart de boel en na een paar klikken staat de oude naam er weer.
Via ssh een service pimatic stop gedaan config aan gepast en reboot gedaan.
Via /#config boel aangepast resultaat nope.
alle devices verwijderd, rules weggehaalt en dan renamed resultaat nope.
Ben nu aan het einde van mijn opties niets helpt.
anyone seen this before
Zwembad (te koop) - Braaihok (te koop) - Bouwproject -BraaiTV - Funda
Ben erg nieuwschierig hoe je de temperatuursensor realtime laat pushen naar een andere pimatic.Koffie schreef op vrijdag 12 december 2014 @ 17:53:
[...]
+1
Van de week even zitten prutsen om de ene pimatic een temperatuursensor realtime te laten pushen naar een andere pimatic. Werkt prima.
1
2
| IF $waterin.temperature changes THEN execute "curl --silent -X PATCH --header \"Content-Type:application/json\" --user \"usr:pwd\" --data '\{\"type\": \"value\", \"valueOrExpression\": $waterin.temperature\}' http://192.168.2.118:82/api/variables/ZwembadWaterIn > /dev/null" |
Zwembad (te koop) - Braaihok (te koop) - Bouwproject -BraaiTV - Funda
Sinds de 2 dagen regel reageer ik hier niet meer
[ Voor 172% gewijzigd door dj-dano op 20-12-2014 16:05 ]
Heb ik ook nooit gezegd
Zwembad (te koop) - Braaihok (te koop) - Bouwproject -BraaiTV - Funda
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| gas: 0.000 water: 0.018 electriciteit: 1.344 update lucht: 2014-12-22 16:46:45 O3: no_data NO: no_data NO2: no_data SO2: no_data benzeen: no_data tolueen: no_data PM 10: no_data PM 2.5: no_data Waterstand: -9 Hoog water tijd: 2014-12-23 03:53:00 Hoog water niv: 125 Laag water tijd: 2014-12-23 08:55:00 Laag water niv: -54 |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| { "id": "Waterstand", "name": "Waterstand", "class": "LogWatcher", "file": "/home/pi/log/server.log", "attributes": [ { "name": "Waterstand", "type": "number", "unit": "cm" } ], "lines": [ { "match": "Waterstand: (.+)", "Waterstand": "$1" } ] } |
[ Voor 75% gewijzigd door Kodess op 24-12-2014 12:08 ]
Enyaq iV 80 - 5135 Wp
Beter remmen=sneller racen: loadcellmod
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| root@raspberrypi:~# cat /home/pi/log/server.log gas: 0.000 water: 0.000 electriciteit: 0.141 update lucht: 2014-12-25 00:46:41 O3: no_data NO: no_data NO2: no_data SO2: no_data benzeen: no_data tolueen: no_data PM 10: no_data PM 2.5: no_data Waterstand: 29 Hoog water tijd: 2014-12-26 06:15:00 Hoog water niv: 112 Laag water tijd: 2014-12-26 01:14:00 Laag water niv: -33 root@raspberrypi:~# |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
| # On ervery new line in the log file env.logger.error(@config.lines) @tail.on 'line', (data) => env.logger.error("entering lines!") # check all lines in config for line in @config.lines env.logger.error(@line) # for a match. matches = new RegExp(line.match).exec(data) if matches? # If a match occures then emit a "match"-event. @emit 'match', line, data, matches return env.logger.error("after") |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| { "id": "waterlog", "name": "Waterstand", "class": "LogWatcher", "file": "/home/pi/log/server.log", "attributes": [ { "name": "Waterstand", "type": "number", "unit": "cm" } ], "lines": [ { "match": "Waterstand: +(.+)", "Waterstand": "$1" } ] } |
1
2
3
4
| error [pimatic-log-reader]: after 21:18:41error [pimatic-log-reader]: [ { match: 'Waterstand: +(.+)', Waterstand: '$1' } ] 21:18:41error [pimatic-log-reader]: { Waterstand: { description: 'Waterstand', type: 'number', unit: 'cm' } } 21:18:41error [pimatic-log-reader]: { id: 'waterlog', name: 'Waterstand', class: 'LogWatcher', file: '/home/pi/log/server.log', attributes: [ { name: 'Waterstand', type: 'number', unit: 'cm' } ], lines: [ { match: 'Waterstand: +(.+)', Waterstand: '$1' } ] } |
Ziet er veel belovend uit. Heb helaas zelf geen youless maar lees mijn meter uit via de p1 poort.K-Jay schreef op woensdag 24 december 2014 @ 19:26:
Ik heb een plugin gemaakt waarmee je een Youless aan pimatic kunt koppelen. Het actuele energieverbruik en de stand van het totaaltelwerk worden getoond. Iemand hier die een Youless heeft en mijn plugin wil testen? Je vindt de plugin op github.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
| { "light": { "name": "Verlichting", "1": { "name": "Boekenplank", "protocol": [ "kaku_switch" ], "id": [{ "id": 8934706, "unit": 0 }], "state": "on" } } } |
1
2
3
4
5
6
7
8
9
10
| "devices": [ { "id": "pilight-light-1", "name": "Boekenplank", "class": "PilightSwitch", "inPilightConfig": true, "location": "light", "device": "1", "lastState": false }, |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
| pilight config: { "light": { "name": "Verlichting", "1": { "name": "Boekenplank", "protocol": [ "kaku_switch" ], "id": [{ "id": 8934706, "unit": 0 }], "state": "on" } } } pimatic config: "devices": [ { "id": "pilight-light-1", "name": "Boekenplank", "class": "PilightSwitch", "inPilightConfig": true, "location": "light", "device": "1", "lastState": false }, |
[ Voor 17% gewijzigd door Koffie op 27-12-2014 09:34 ]
Zwembad (te koop) - Braaihok (te koop) - Bouwproject -BraaiTV - Funda
[ Voor 43% gewijzigd door dj-dano op 27-12-2014 10:36 ]
Nee, de code tags van het forum: Overzicht van UBB-codes #tag_codedj-dano schreef op zaterdag 27 december 2014 @ 10:31:
Juiste [ code ] tags ? dit zijn de juiste.
Voorbeeld staat letterlijk in de link die ik je gegeven heb: https://github.com/pimatic/pimatic-homeduino -> https://github.com/pimatic/pimatic-homeduino#switch-exampleDaarnaast heb ik ze al zoveel opgezocht hoe ze aan te maken, ze werken niet bij mij.
contact1
Type: contact
Brands: KlikAanKlikUit
Protocol Options:
id (binary)
unit (number)
Supports:
state
all
Maar waar zijn de voorbeelden voor als het fout gaat.
Zwembad (te koop) - Braaihok (te koop) - Bouwproject -BraaiTV - Funda
Zwembad (te koop) - Braaihok (te koop) - Bouwproject -BraaiTV - Funda
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| { "protocols": [ { "name": "switch1", "options": { "id": "xxxx4978", "unit": "1" } } ], "xConfirm": false, "xLink": "", "xOnLabel": "Aan", "xOffLabel": "Uit", "id": "woonkamer-dressoir-lamp", "name": "Dressoir lamp", "class": "HomeduinoRFSwitch" }, |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| 15:39:00.486 [pimatic-pilight] info: pilight: trying to find pilight via SSDP 15:39:00.822 [pimatic-pilight] debug: SSDP notify: Location = 192.168.1.16:5000 SERVER = Debian/0.0 UPnP/1.1 pilight (Pimatic)/5.0 15:39:00.862 [pimatic-pilight] info: pilight: found pilight server 192.168.1.16:5000, trying to connect 15:39:00.925 [pimatic-pilight] info: connected to pilight-daemon 15:39:00.977 [pimatic-pilight] debug: startHeartbeat 20000 15:39:01.932 [pimatic-mobile-frontend] info: packing static assets 15:39:04.633 [pimatic-mobile-frontend] info: packing static assets finished 15:39:04.699 [pimatic-mobile-frontend] info: rendering html 15:39:26.844 [pimatic-mobile-frontend] info: rendering html finished 15:39:26.993 [pimatic] info: listening for http-request on port 5002... 15:39:27.053 [pimatic-weather] error: err 15:39:27.290 [pimatic-pilight] debug: pilight: skipping ssdp, already found pilight 15:40:14.391 [pimatic-pilight] warn: heartbeat to pilight-daemon timedout after 6000ms. 15:40:40.438 [pimatic-pilight] warn: heartbeat to pilight-daemon timedout after 6000ms. 15:41:06.484 [pimatic-pilight] warn: heartbeat to pilight-daemon timedout after 6000ms. 15:41:32.528 [pimatic-pilight] warn: heartbeat to pilight-daemon timedout after 6000ms. 15:41:58.569 [pimatic-pilight] warn: heartbeat to pilight-daemon timedout after 6000ms. 15:42:24.614 [pimatic-pilight] warn: heartbeat to pilight-daemon timedout after 6000ms. |
Ja, zie de eerder gelinkte paginas voor config bij GPIO: https://github.com/pimati...th-attiny45--85-prefilterdj-dano schreef op zaterdag 27 december 2014 @ 12:55:
Dus als ik het goed begrijp moet ik gewoon pimatic installeren plugin pimatic-homeduine installeren. Plugin in de config plaatsen en de gpio pinnen wijzigen. Dan kan ik de rfswitch wel gebruiken.
1
2
3
4
5
6
7
| { "plugin": "homeduino", "driver": "gpio", "driverOptions": {}, "receiverPin": 0, "transmitterPin": 4 } |
Post eens een stukje van je debug log van het ontvangen ?Nelus82 schreef op zaterdag 27 december 2014 @ 13:58:
Ik heb een probleem met mijn nieuwe configuratie.
Ik ben inmiddels over naar een alleen maar pimatic opstelling en die bevalt tot op heden prima.
Alleen ik krijg geen feedback in mijn gui.
Wat bedoel ik hiermee;
- Wanneer ik schakel in mijn gui werkt alles perfect en snel
- Wanneer ik mijn kaku afstandsbediening gebruik zie ik in de log files ook dat de pi de pulsen ontvangt, en de verlichting schakeld.
Alleen in de gui past hij niet de status aan.
code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 { "protocols": [ { "name": "switch1", "options": { "id": "xxxx4978", "unit": "1" } } ], "xConfirm": false, "xLink": "", "xOnLabel": "Aan", "xOffLabel": "Uit", "id": "woonkamer-dressoir-lamp", "name": "Dressoir lamp", "class": "HomeduinoRFSwitch" },
Zwembad (te koop) - Braaihok (te koop) - Bouwproject -BraaiTV - Funda
1
2
3
4
5
6
7
8
| 08:41:16.980 [pimatic-homeduino] debug: data: "RF receive 204 2664 328 1325 10092 0 0 0 010203020303020302020302030203020302030302030203020203030203020302020302030302030202030302020302030302020302030302020302030203030204" 08:41:17.021 [pimatic-homeduino] debug: received: [ 204, 328, 1325, 2664, 10092 ] 030102010202010201010201020102010201020201020102010102020102010201010201020201020101020201010201020201010201020201010201020102020104 08:41:17.064 [pimatic-homeduino] debug: switch1: { id: 12704978, all: false, state: true, unit: 1 } 08:41:17.101 [pimatic-homeduino] debug: contact1: { id: 12704978, all: false, state: true, unit: 1 } 08:41:19.903 [pimatic-homeduino] debug: data: "RF receive 207 2668 324 1323 10088 0 0 0 010203020303020302020302030203020302030302030203020203030203020302020302030302030202030302020302030302020302030203020302030203030204" 08:41:19.943 [pimatic-homeduino] debug: received: [ 207, 324, 1323, 2668, 10088 ] 030102010202010201010201020102010201020201020102010102020102010201010201020201020101020201010201020201010201020102010201020102020104 08:41:19.984 [pimatic-homeduino] debug: switch1: { id: 12704978, all: false, state: false, unit: 1 } 08:41:20.019 [pimatic-homeduino] debug: contact1: { id: 12704978, all: false, state: false, unit: 1 } |
1
2
3
4
5
6
7
8
9
10
11
12
| { "id": "woonkamer-dressoir-lamp", "name": "Dressoir lamp", "class": "HomeduinoRFSwitch", "protocols": [{ "name": "switch1", "options": { "id": 12704978, "unit": 1 } }] } |
Zwembad (te koop) - Braaihok (te koop) - Bouwproject -BraaiTV - Funda
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| { "id": "woonkamer-dressoir-lamp", "name": "Dressoir lamp", "class": "HomeduinoRFSwitch", "protocols": [ { "name": "switch1", "options": { "id": "12704978", "unit": "1" } } ], "xConfirm": false, "xLink": "", "xOnLabel": "Aan", "xOffLabel": "Uit" }, |
Zwembad (te koop) - Braaihok (te koop) - Bouwproject -BraaiTV - Funda
1
2
3
4
5
6
7
8
9
10
11
12
13
14
| { "light": { "name": "Verlichting", "1": { "name": "Boekenplank", "protocol": [ "kaku_switch" ], "id": [{ "id": 8934706, "unit": 0 }], "state": "on" } } } |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
| { "plugin": "gpio" }, { "plugin": "homeduino", "driver": "gpio", "driverOptions": {}, "receiverPin": 0, "transmitterPin": 1 } ], "devices": [ { "id": "rfswitch", "name": "RFSwitch", "class": "HomeduinoRFSwitch", "protocols": [ { "name": "switch1", "options": { "id": 8934706, "unit": 0 } } ] } |
Zwembad (te koop) - Braaihok (te koop) - Bouwproject -BraaiTV - Funda
[ Voor 36% gewijzigd door dj-dano op 29-12-2014 14:38 ]
Sinds de 2 dagen regel reageer ik hier niet meer
1
| ... and its not 31 december |
1
| it is not December 31-2014 |
Zwembad (te koop) - Braaihok (te koop) - Bouwproject -BraaiTV - Funda
Koffie schreef op dinsdag 30 december 2014 @ 20:44:
probeer dit eens:
code:
1 it is not December 31-2014
1
| Could not find an provider that decides next predicate of "it is not December 31-2014". |
Zwembad (te koop) - Braaihok (te koop) - Bouwproject -BraaiTV - Funda
1
| IF ... AND (datetime.day != 31 AND datetime.month == 12) THEN ... |
Sinds de 2 dagen regel reageer ik hier niet meer
1
| IF it is before December 31 or after January 1 THEN log "het is vandaag niet 31 december" |
Zwembad (te koop) - Braaihok (te koop) - Bouwproject -BraaiTV - Funda
Sinds de 2 dagen regel reageer ik hier niet meer
Koffie schreef op dinsdag 30 december 2014 @ 21:52:
is not zit er blijkbaar niet in, dus dan blijft before en after als enige optie over:
code:
1 IF it is before December 31 or after January 1 THEN log "het is vandaag niet 31 december"
1
| its before 31 december |
Mwa, kost wat meer tekst, maar deze rule werkt toch echt:CurlyMo schreef op dinsdag 30 december 2014 @ 21:55:
@Koffie
Verbaasde me eerlijk gezegd dat het niet mogelijk is om een device voor x tijd aan te zetten if not vergelijking te doen. [...]
1
| IF it is before December 31 or after January 1 THEN log turn lamp on for 10 minutes |
Zwembad (te koop) - Braaihok (te koop) - Bouwproject -BraaiTV - Funda
Alleen before december 31 is voldoende.Koffie schreef op dinsdag 30 december 2014 @ 22:18:
[...]
Mwa, kost wat meer tekst, maar deze rule werkt toch echt:
code:
1 IF it is before December 31 or after January 1 THEN log turn lamp on for 10 minutes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
| { "settings": { "debug": true, "logLevel": "debug", "httpServer": { "enabled": true, "port": 5002 }, "database": { "deviceAttributeLogging": [ { "deviceId": "*", "attributeName": "*", "time": "7d" }, { "deviceId": "*", "attributeName": "temperature", "time": "1y" }, { "deviceId": "*", "attributeName": "humidity", "time": "1y" } ], "messageLogging": [ { "level": "*", "tags": [], "time": "7d" } ] }, "authentication": { "secret": "xxxxx" }, "httpsServer": {}, "gui": {} }, "plugins": [ { "plugin": "homeduino", "driver": "serialport", "driverOptions": { "serialDevice": "/dev/ttyUSB0", "baudrate": 115200 }, "receiverPin": 0, "transmitterPin": 4 }, { "plugin": "cron" }, { "plugin": "mobile-frontend", "theme": "graphite/water", "flat": false, "debug": false, "mode": "production" }, { "plugin": "weather" }, { "plugin": "sunrise", "latitude": 53.2xxxxx, "longitude": 5.7xxxxx }, { "plugin": "pushover", "user": "xxxxx7gJzvKxxxxxBENhegz8Hxxxxx", "token": "xxxxxJ4HKxZcxxxxxw4qGyEcFxxxxx" }, { "plugin": "sysinfo" }, { "plugin": "ping" } ], "devices": [ { "values": [ "temperature", "humidity" ], "protocols": [ { "name": "weather1", "options": { "id": "72", "channel": "1" } } ], "xLink": "", "id": "woonkamer-klimaat", "name": "Klimaat", "class": "HomeduinoRFWeatherStation" }, { "protocols": [ { "name": "dimmer1", "options": { "id": "12704978", "unit": "0" }, "send": true, "receive": true } ], "xConfirm": false, "id": "woonkamer-booglamp", "name": "Booglamp", "class": "HomeduinoRFDimmer" }, { "id": "woonkamer-dressoir-lamp", "name": "Dressoir lamp", "class": "HomeduinoRFSwitch", "protocols": [ { "name": "switch1", "options": { "id": "12704978", "unit": "1" } } ], "xConfirm": false, "xLink": "", "xOnLabel": "Aan", "xOffLabel": "Uit" }, { "protocols": [ { "name": "dimmer1", "options": { "id": "12704978", "unit": "2" }, "send": true, "receive": true }, { "name": "dimmer1", "options": { "id": "10796222", "unit": "11" }, "send": false, "receive": true } ], "xConfirm": false, "id": "woonkamer-eettafel-lamp", "name": "Eettafel lamp", "class": "HomeduinoRFDimmer" }, { "protocols": [ { "name": "switch1", "options": { "id": "12704978", "unit": "3" } } ], "xConfirm": false, "xLink": "", "xOnLabel": "Aan", "xOffLabel": "Uit", "id": "woonkamer-beeld-en-audio", "name": "Beeld en Audio", "class": "HomeduinoRFSwitch" }, { "protocols": [ { "name": "dimmer1", "options": { "id": "12704978", "unit": "4" }, "send": true, "receive": true } ], "xConfirm": false, "id": "keuken-plafondlamp", "name": "Plafondlamp", "class": "HomeduinoRFDimmer" }, { "protocols": [ { "name": "switch1", "options": { "id": "12704978", "unit": "5" } } ], "xConfirm": false, "xLink": "", "xOnLabel": "Aan", "xOffLabel": "Uit", "id": "keuken-muurlamp", "name": "Muurlamp", "class": "HomeduinoRFSwitch" }, { "protocols": [ { "name": "switch1", "options": { "id": "12704978", "unit": "6", "send": false, "receive": true } } ], "xConfirm": false, "xLink": "", "xOnLabel": "Aan", "xOffLabel": "Uit", "id": "hal-plafonniere", "name": "Plafonniere", "class": "HomeduinoRFSwitch" }, { "protocols": [], "xConfirm": false, "id": "slaapkamer-plaffoniere", "name": "Plaffoniere", "class": "HomeduinoRFDimmer" }, { "xConfirm": false, "xLink": "", "xOnLabel": "Aan", "xOffLabel": "uit", "id": "slaapkamer-wakeuplight-06-30", "name": "WakeupLight 06:30", "class": "DummySwitch" }, { "xConfirm": false, "xLink": "", "xOnLabel": "Aan", "xOffLabel": "uit", "id": "slaapkamer-wakeuplight-09-00", "name": "WakeupLight 09:00", "class": "DummySwitch" }, { "degreeType": "C", "timeout": "60000", "id": "weer", "name": "Leeuwarden, Netherlands", "class": "WeatherDevice" }, { "protocols": [ { "name": "switch1", "options": { "id": "12704978", "unit": "12" } } ], "xConfirm": false, "xLink": "", "xOnLabel": "Aan", "xOffLabel": "Uit", "id": "buitenlamp-voor", "name": "Buitenlamp - Voor", "class": "HomeduinoRFSwitch" }, { "protocols": [ { "name": "switch1", "options": { "id": "12704978", "unit": "13" } } ], "xConfirm": false, "xLink": "", "xOnLabel": "Aan", "xOffLabel": "Uit", "id": "buitenlamp-achter", "name": "Buitenlamp - Achter", "class": "HomeduinoRFSwitch" }, { "protocols": [ { "name": "switch1", "options": { "id": "12704979", "unit": "1" } } ], "xConfirm": false, "xLink": "", "xOnLabel": "Water", "xOffLabel": "", "id": "water-geven-kruidentuin", "name": "Water geven - Kruidentuin", "class": "HomeduinoRFSwitch" }, { "protocols": [ { "name": "switch1", "options": { "id": "12704979", "unit": "2" } } ], "xConfirm": false, "xLink": "", "xOnLabel": "Water", "xOffLabel": "", "id": "water-geven-tuin", "name": "Water geven - Tuin", "class": "HomeduinoRFSwitch" }, { "class": "SystemSensor", "id": "syssensor", "name": "System", "attributes": [ { "name": "cpu" }, { "name": "temperature" }, { "name": "memory" } ] }, { "host": "192.168xxxxx", "interval": 60000, "timeout": 2000, "retries": 4, "xLink": "", "xPresentLabel": "Aanwezig", "xAbsentLabel": "", "id": "niels-phone", "name": "Niels", "class": "PingPresence" }, { "host": "192.168.xxxxx", "interval": 60000, "timeout": 2000, "retries": 4, "xLink": "", "xPresentLabel": "Aanwezig", "xAbsentLabel": "", "id": "johanneke-phone", "name": "Johanneke", "class": "PingPresence" }, { "protocols": [ { "name": "switch1", "options": { "id": "12704978", "unit": "15" } } ], "id": "test", "name": "Test", "class": "HomeduinoRFSwitch" } ], "rules": [], "pages": [ { "id": "test", "name": "Begane grond", "devices": [ { "deviceId": "hal-plafonniere" }, { "deviceId": "keuken-plafondlamp" }, { "deviceId": "keuken-muurlamp" }, { "deviceId": "woonkamer-klimaat" }, { "deviceId": "woonkamer-booglamp" }, { "deviceId": "woonkamer-dressoir-lamp" }, { "deviceId": "woonkamer-eettafel-lamp" }, { "deviceId": "woonkamer-beeld-en-audio" } ] }, { "id": "eerste-verdieping", "name": "Eerste verdieping", "devices": [ { "deviceId": "slaapkamer-plaffoniere" }, { "deviceId": "slaapkamer-wakeuplight-06-30" }, { "deviceId": "slaapkamer-wakeuplight-09-00" } ] }, { "id": "buiten", "name": "Buiten", "devices": [ { "deviceId": "water-geven-kruidentuin" }, { "deviceId": "water-geven-tuin" }, { "deviceId": "weer" }, { "deviceId": "buitenlamp-voor" }, { "deviceId": "buitenlamp-achter" } ] }, { "id": "overige", "name": "Overige", "devices": [ { "deviceId": "niels-phone" }, { "deviceId": "johanneke-phone" }, { "deviceId": "syssensor" }, { "deviceId": "test" } ] } ], "groups": [ { "id": "woonkamer", "name": "Woonkamer", "devices": [ "woonkamer-klimaat", "woonkamer-booglamp", "woonkamer-dressoir-lamp", "woonkamer-eettafel-lamp", "woonkamer-beeld-en-audio" ], "rules": [], "variables": [] }, { "id": "keuken", "name": "Keuken", "devices": [ "keuken-plafondlamp", "keuken-muurlamp" ], "rules": [], "variables": [] }, { "id": "hal", "name": "Hal", "devices": [ "hal-plafonniere" ], "rules": [], "variables": [] }, { "id": "buiten", "name": "Buiten", "devices": [ "weer", "buitenlamp-voor", "buitenlamp-achter" ], "rules": [], "variables": [] }, { "id": "bewatering", "name": "Bewatering", "devices": [ "water-geven-kruidentuin", "water-geven-tuin" ], "rules": [], "variables": [] }, { "id": "slaapkamer", "name": "Slaapkamer", "devices": [ "slaapkamer-plaffoniere", "slaapkamer-wakeuplight-06-30", "slaapkamer-wakeuplight-09-00" ], "rules": [], "variables": [] }, { "id": "raspberry", "name": "Raspberry", "devices": [ "syssensor" ], "rules": [], "variables": [] }, { "id": "aanwezig", "name": "Aanwezig", "devices": [ "niels-phone", "johanneke-phone" ], "rules": [], "variables": [] }, { "id": "test", "name": "Test", "devices": [ "test" ], "rules": [], "variables": [] } ], "users": [ { "username": "xxxxx", "password": "xxxxx", "role": "admin" } ], "roles": [ { "name": "admin", "permissions": { "pages": "write", "rules": "write", "variables": "write", "messages": "write", "events": "write", "devices": "write", "config": "write", "groups": "write", "plugins": "write", "updates": "write", "controlDevices": true, "restart": true } } ], "variables": [] } |
Zwembad (te koop) - Braaihok (te koop) - Bouwproject -BraaiTV - Funda
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| { "id": "woonkamer-dressoir-lamp", "name": "Dressoir lamp", "class": "HomeduinoRFSwitch", "protocols": [ { "name": "switch1", "options": { "id": "12704978", "unit": "1" } } ], "xConfirm": false, "xLink": "", "xOnLabel": "Aan", "xOffLabel": "Uit" }, |
1
2
3
4
5
6
7
8
| 10:12:14.791 [pimatic-homeduino] debug: data: "RF receive 251 2660 1310 324 10104 0 0 0 010002000202000200000200020002000200020200020002000002020002000203000200020200020000020200000200020200000200020200000200020002020004" 10:12:14.832 [pimatic-homeduino] debug: received: [ 251, 324, 1310, 2660, 10104 ] 030002000202000200000200020002000200020200020002000002020002000201000200020200020000020200000200020200000200020200000200020002020004 10:12:14.875 [pimatic-homeduino] debug: switch1: { id: 12704978, all: false, state: true, unit: 1 } 10:12:14.913 [pimatic-homeduino] debug: contact1: { id: 12704978, all: false, state: true, unit: 1 } 10:12:16.641 [pimatic-homeduino] debug: data: "RF receive 251 2660 1308 324 10104 0 0 0 010002000202030200000200020002000200020200020002000002020002000203000200020200020000020200000200020200000200020002000200020002020004" 10:12:16.684 [pimatic-homeduino] debug: received: [ 251, 324, 1308, 2660, 10104 ] 030002000202010200000200020002000200020200020002000002020002000201000200020200020000020200000200020200000200020002000200020002020004 10:12:16.727 [pimatic-homeduino] debug: switch1: { id: 12704978, all: false, state: false, unit: 1 } 10:12:16.765 [pimatic-homeduino] debug: contact1: { id: 12704978, all: false, state: false, unit: 1 } |
1
2
3
4
5
6
7
8
9
10
| 10:14:46.829 [pimatic-homeduino] debug: data: "ACK" 10:14:46.892 [pimatic-homeduino] debug: data: "RF receive 310 2608 1252 10188 0 0 0 0 010002000202000200000200020002000200020200020002000002020002000200000200020200020000020200000200020200000200020200000200020002020003" 10:14:46.934 [pimatic-homeduino] debug: received: [ 310, 1252, 2608, 10188 ] 020001000101000100000100010001000100010100010001000001010001000100000100010100010000010100000100010100000100010100000100010001010003 10:14:46.977 [pimatic-homeduino] debug: switch1: { id: 12704978, all: false, state: true, unit: 1 } 10:14:47.014 [pimatic-homeduino] debug: contact1: { id: 12704978, all: false, state: true, unit: 1 } 10:14:48.452 [pimatic-homeduino] debug: data: "ACK" 10:14:48.519 [pimatic-homeduino] debug: data: "RF receive 311 2604 1249 10192 0 0 0 0 010002000202000200000200020002000200020200020002000002020002000200000200020200020000020200000200020200000200020002000200020002020003" 10:14:48.564 [pimatic-homeduino] debug: received: [ 311, 1249, 2604, 10192 ] 020001000101000100000100010001000100010100010001000001010001000100000100010100010000010100000100010100000100010001000100010001010003 10:14:48.608 [pimatic-homeduino] debug: switch1: { id: 12704978, all: false, state: false, unit: 1 } 10:14:48.646 [pimatic-homeduino] debug: contact1: { id: 12704978, all: false, state: false, unit: 1 } |
Zwembad (te koop) - Braaihok (te koop) - Bouwproject -BraaiTV - Funda
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
| { "//": "Please only change this file when pimatic is NOT running else pimatic will overwrite your changes.", "settings": { "httpServer": { "enabled": true, "port": 80 }, "database": { "deviceAttributeLogging": [ { "deviceId": "*", "attributeName": "*", "time": "7d" }, { "deviceId": "*", "attributeName": "temperature", "time": "1y" }, { "deviceId": "*", "attributeName": "humidity", "time": "1y" } ], "messageLogging": [ { "level": "*", "tags": [], "time": "7d" } ] }, "authentication": { "secret": "xxxxx" }, "httpsServer": {}, "gui": {} }, "plugins": [ { "plugin": "cron" }, { "plugin": "mobile-frontend" }, { "plugin": "homeduino", "driver": "serialport", "driverOptions": { "serialDevice": "/dev/ttyUSB0", "baudrate": 115200 }, "receiverPin": 0, "transmitterPin": 4 } ], "devices": [ { "id": "rfswitch", "name": "RFSwitch", "class": "HomeduinoRFSwitch", "protocols": [ { "name": "switch1", "options": { "id": 12704978, "unit": 1 } } ] } ], "rules": [], "pages": [ { "id": "favourite", "name": "Favourites", "devices": [ { "deviceId": "rfswitch" } ] } ], "groups": [], "users": [ { "username": "admin", "password": "xxxxx", "role": "admin" } ], "roles": [ { "name": "admin", "permissions": { "pages": "write", "rules": "write", "variables": "write", "messages": "write", "events": "write", "devices": "write", "groups": "write", "plugins": "write", "updates": "write", "controlDevices": true, "restart": true } } ], "variables": [] } |
1
2
| debug [pimatic-homeduino]: contact1: { id: 12704978, all: false, state: false, unit: 2 } debug [pimatic-homeduino]: switch1: { id: 12704978, all: false, state: false, unit: 2 } |
1
2
| debug [pimatic-homeduino]: contact1: { id: 12704978, all: false, state: true, unit: 2 } debug [pimatic-homeduino]: switch1: { id: 12704978, all: false, state: true, unit: 2 } |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| { "id": "woonkamer-eettafel-lamp", "name": "Eettafel lamp", "class": "HomeduinoRFDimmer", "protocols": [ { "name": "dimmer1", "options": { "id": 12704978, "unit": 2 }, "send": true, "receive": false }, { "name": "switch1", "options": { "id": 12704978, "unit": 2 }, "send": false, "receive": true } ] |
Anoniem: 493704
1
2
| debug [pimatic-homeduino]: switch8: { systemcode: 17, programcode: 'C0', state: false } debug [pimatic-homeduino]: switch6: { systemcode: 19, programcode: 6, state: true } |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
| { "id": "Deurbel", "name": "Deurbel", "class": "HomeduinoRFSwitch", "protocols": [ { "name": "switch6", "options": { "systemcode": 19, "programcode": 6 } } ] }, { "id": "Deurbel8", "name": "Deurbel8", "class": "HomeduinoRFSwitch", "protocols": [ { "name": "switch8", "options": { "systemcode": 19, "programcode": "C0" } } ] }, |
1
2
| debug [pimatic-homeduino]: switch8: { systemcode: 0, programcode: 'F12', state: false } debug [pimatic-homeduino]: switch6: { systemcode: 19, programcode: 6, state: false } |
1
2
3
4
5
| debug [pimatic-homeduino]: switch8: { systemcode: 17, programcode: 'C0', state: true } debug [pimatic-homeduino]: switch6: { systemcode: 17, programcode: 4, state: true } debug [pimatic-homeduino]: switch8: { systemcode: 17, programcode: 'C0', state: false } debug [pimatic-homeduino]: switch6: { systemcode: 17, programcode: 4, state: true } |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| { "id": "switchmp", "name": "deurbelcombi", "class": "HomeduinoRFSwitch", "protocols": [ { "name": "switch6", "options": { "systemcode": 19, "programcode": 6 }, "state":"false" }, { "name": "switch8", "options": { "systemcode": 17, "programcode": "C0" } } ] }, |
1
2
| debug [pimatic-homeduino]: switch8: { systemcode: 17, programcode: 'C0', state: false } debug [pimatic-homeduino]: switch6: { systemcode: 19, programcode: 6, state: true } |
1
2
| debug [pimatic-homeduino]: switch8: { systemcode: 0, programcode: 'F12', state: false } debug [pimatic-homeduino]: switch6: { systemcode: 19, programcode: 6, state: false } |
1
2
3
4
5
| debug [pimatic-homeduino]: switch8: { systemcode: 17, programcode: 'C0', state: true } debug [pimatic-homeduino]: switch6: { systemcode: 17, programcode: 4, state: true } debug [pimatic-homeduino]: switch8: { systemcode: 17, programcode: 'C0', state: false } debug [pimatic-homeduino]: switch6: { systemcode: 17, programcode: 4, state: true } |
[ Voor 41% gewijzigd door skipper79 op 08-01-2015 13:55 ]
Zwembad (te koop) - Braaihok (te koop) - Bouwproject -BraaiTV - Funda
Zwembad (te koop) - Braaihok (te koop) - Bouwproject -BraaiTV - Funda
1
2
3
4
5
6
7
8
9
10
| { "plugin": "homeduino", "driver": "serialport", "driverOptions": { "serialDevice": "/dev/ttyUSB0", "baudrate": 115200 }, "receiverPin": 0, "transmitterPin": 4 } |
1
2
3
4
5
6
7
| { "plugin": "homeduino", "driver": "gpio", "driverOptions": {}, "receiverPin": 0, "transmitterPin": 4 } |
Zwembad (te koop) - Braaihok (te koop) - Bouwproject -BraaiTV - Funda
1
2
3
4
| "kerstboom-on": { "rule": "IF ((sunriseset.sunset == (datetime.hour + (datetime.minute / 100)) AND kerstboom.state IS off) AND datetime.second == 0) THEN switch DEVICE kerstboom TO on", "active": 1 }, |
Sinds de 2 dagen regel reageer ik hier niet meer
Een variabele toevoegen kun je gewoon via het menu variables doen.mcgaag schreef op zondag 11 januari 2015 @ 09:36:
Ik ben bezig met pimatic en heb al een en ander voor elkaar. Ds18b20's worden weergegeven en de kaku schakelaars bediend. Ik wil ook graag de thermostaat oplossing gebruiken maar ht lukt mij niet om een variabele zoals $temp_instelling toe te voegen in de config.json. Kan iemand mij wijzen op een plek waar dat wordt uitgelegd? Of even het gedeelte van zijn werkende config.json laten zien?
Maak je al gebruik van de nieuwe thermostaat device?mcgaag schreef op zondag 11 januari 2015 @ 09:36:
Ik ben bezig met pimatic en heb al een en ander voor elkaar. Ds18b20's worden weergegeven en de kaku schakelaars bediend. Ik wil ook graag de thermostaat oplossing gebruiken maar ht lukt mij niet om een variabele zoals $temp_instelling toe te voegen in de config.json. Kan iemand mij wijzen op een plek waar dat wordt uitgelegd? Of even het gedeelte van zijn werkende config.json laten zien?
1
2
3
4
5
6
7
| { "id": "thermostaat", "class": "DummyHeatingThermostat", "name": "Thermostaat", "comfyTemp": 20, "ecoTemp": 18 }, |
1
| IF it is before 06:00 and mode of thermostaat = auto THEN set temp of thermostaat to 18°C |
Zwembad (te koop) - Braaihok (te koop) - Bouwproject -BraaiTV - Funda
1
| IF $probe-woonkamer.temperature < $thermostaat.temperatureSetpoint THEN turn warmte on |
1
| IF $probe-woonkamer.temperature < ($thermostaat.temperatureSetpoint + $BenedenThermostaatMarge) and warmte is turned off and $BenedenWarmtOp = 0 and $BenedenStopWarmte = 0 for 5 minutes THEN turn warmte on after 10 seconds |
Zwembad (te koop) - Braaihok (te koop) - Bouwproject -BraaiTV - Funda
Ik snap het. Het werkt prima. Dank voor de tips!Koffie schreef op zondag 11 januari 2015 @ 21:49:
Eigenlijk is het relatief simpel. Het is, zoals de naam al zegt, een dummy device.
Uit zichzelf doet het niets. Maar je kunt de 3 modi detecteren met een rule: mode if thermostaat = auto/manu/boost,
De temperatuur kun je ook uitlezen : temperatureSetpoint of thermostaat = xx.
Vervolgens kun je zowel modus als temperatuur ook weer wijzigen met een rule : set mode of thermostaat to "auto" en: set temp of thermostaat to 18
Zodra de temperatuur op een waarde van de setting eco of comfy komt (handmatig of via een rule) word automatisch de betreffende knop (eco of comfy) blauw.
Ik gebruik zelf auto als equivalent van 'volg programma'. De knop auto is dus een 'temperatuur continu'. Zodra de modus op boost staat, word de huidige temperatuur setting in een variable gezet, om vervolgens de setting met 2 graden te verhogen. 1 uur later word de vorige waarde weer teruggezet.
Schakelen op basis van de setting en een gemeten temperatuur kan van enorm simpel:
code:
1 IF $probe-woonkamer.temperature < $thermostaat.temperatureSetpoint THEN turn warmte on
Tot wat complexer:
code:
1 IF $probe-woonkamer.temperature < ($thermostaat.temperatureSetpoint + $BenedenThermostaatMarge) and warmte is turned off and $BenedenWarmtOp = 0 and $BenedenStopWarmte = 0 for 5 minutes THEN turn warmte on after 10 seconds
Apple iPhone 16e LG OLED evo G5 Google Pixel 10 Samsung Galaxy S25 Star Wars: Outlaws Nintendo Switch 2 Apple AirPods Pro (2e generatie) Sony PlayStation 5 Pro
Tweakers is onderdeel van
DPG Media B.V.
Alle rechten voorbehouden - Auteursrecht © 1998 - 2025
•
Hosting door TrueFullstaq