Blame view
src/majordome/tasks.py
35.7 KB
5b5566ab added celery |
1 |
|
ce470283 Plc simulator fin... |
2 |
|
5b5566ab added celery |
3 |
|
ce470283 Plc simulator fin... |
4 5 6 |
|
9774228b Date: 22/06/2016 |
7 |
|
abfb02e2 Device Model is n... |
8 |
|
ce470283 Plc simulator fin... |
9 10 11 |
|
c72eb17a Update celery task |
12 13 |
|
ce470283 Plc simulator fin... |
14 |
|
6aec6155 Majordome algorit... |
15 16 17 |
|
65149de7 Update |
18 |
|
ce470283 Plc simulator fin... |
19 |
|
cfc9d09c Added dome simula... |
20 |
|
65149de7 Update |
21 |
|
ce470283 Plc simulator fin... |
22 23 |
|
65149de7 Update |
24 |
|
6aec6155 Majordome algorit... |
25 |
|
cfc9d09c Added dome simula... |
26 |
|
ff448d43 Update |
27 |
|
65149de7 Update |
28 |
|
5b5566ab added celery |
29 |
|
65149de7 Update |
30 |
|
05038bc8 Majordome logic i... |
31 |
|
65149de7 Update |
32 |
|
4cb0ff36 Update |
33 |
|
05038bc8 Majordome logic i... |
34 35 36 |
|
65149de7 Update |
37 38 |
|
0997e1c3 moved main run() ... |
39 |
|
65149de7 Update |
40 41 |
|
05038bc8 Majordome logic i... |
42 43 44 45 46 |
|
cfc9d09c Added dome simula... |
47 |
|
ce470283 Plc simulator fin... |
48 49 |
|
ef60c3ec Majordome and mon... |
50 51 52 |
|
c53a13e0 Updating a lot of... |
53 |
|
678838ed Weather ans insid... |
54 |
|
468a79dc added comments |
55 56 |
|
d0b663be refactorized majo... |
57 |
|
6aec6155 Majordome algorit... |
58 |
|
468a79dc added comments |
59 |
|
6aec6155 Majordome algorit... |
60 |
|
d0b663be refactorized majo... |
61 62 63 64 |
|
6aec6155 Majordome algorit... |
65 |
|
0997e1c3 moved main run() ... |
66 67 68 69 70 71 72 73 74 75 |
|
d0b663be refactorized majo... |
76 |
|
0997e1c3 moved main run() ... |
77 78 79 80 81 82 83 84 85 86 87 |
|
d0b663be refactorized majo... |
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 |
|
0997e1c3 moved main run() ... |
158 |
|
d0b663be refactorized majo... |
159 160 161 162 |
|
0997e1c3 moved main run() ... |
163 164 |
|
6aec6155 Majordome algorit... |
165 166 167 |
|
468a79dc added comments |
168 |
|
6aec6155 Majordome algorit... |
169 |
|
468a79dc added comments |
170 171 |
|
6aec6155 Majordome algorit... |
172 173 |
|
d0b663be refactorized majo... |
174 175 |
|
6aec6155 Majordome algorit... |
176 |
|
d0b663be refactorized majo... |
177 178 |
|
6aec6155 Majordome algorit... |
179 |
|
d0b663be refactorized majo... |
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 |
|
6aec6155 Majordome algorit... |
213 |
|
d0b663be refactorized majo... |
214 |
|
6aec6155 Majordome algorit... |
215 |
|
d0b663be refactorized majo... |
216 |
|
6aec6155 Majordome algorit... |
217 |
|
d0b663be refactorized majo... |
218 219 |
|
6aec6155 Majordome algorit... |
220 221 |
|
d0b663be refactorized majo... |
222 |
|
6aec6155 Majordome algorit... |
223 224 225 226 227 |
|
d0b663be refactorized majo... |
228 |
|
6aec6155 Majordome algorit... |
229 |
|
d0b663be refactorized majo... |
230 231 |
|
6aec6155 Majordome algorit... |
232 233 234 235 236 237 238 239 240 241 242 243 |
|
d0b663be refactorized majo... |
244 |
|
6aec6155 Majordome algorit... |
245 |
|
d0b663be refactorized majo... |
246 |
|
6aec6155 Majordome algorit... |
247 248 249 250 |
|
d0b663be refactorized majo... |
251 |
|
6aec6155 Majordome algorit... |
252 |
|
d0b663be refactorized majo... |
253 |
|
6aec6155 Majordome algorit... |
254 255 256 |
|
d0b663be refactorized majo... |
257 |
|
6aec6155 Majordome algorit... |
258 259 |
|
d0b663be refactorized majo... |
260 261 |
|
6aec6155 Majordome algorit... |
262 263 264 265 266 |
|
d0b663be refactorized majo... |
267 |
|
6aec6155 Majordome algorit... |
268 |
|
d0b663be refactorized majo... |
269 270 |
|
6aec6155 Majordome algorit... |
271 272 273 274 275 276 277 278 279 280 |
|
d0b663be refactorized majo... |
281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 |
|
468a79dc added comments |
303 |
|
0997e1c3 moved main run() ... |
304 |
|
6aec6155 Majordome algorit... |
305 |
|
6aec6155 Majordome algorit... |
306 307 |
|
d0b663be refactorized majo... |
308 |
|
6aec6155 Majordome algorit... |
309 310 |
|
0997e1c3 moved main run() ... |
311 |
|
6aec6155 Majordome algorit... |
312 313 314 315 |
|
d0b663be refactorized majo... |
316 |
|
6aec6155 Majordome algorit... |
317 318 319 |
|
6aec6155 Majordome algorit... |
320 |
|
d0b663be refactorized majo... |
321 |
|
6aec6155 Majordome algorit... |
322 323 |
|
d0b663be refactorized majo... |
324 |
|
6aec6155 Majordome algorit... |
325 326 327 328 329 330 |
|
e8e6f017 Reworked devices ... |
331 332 333 334 335 336 337 338 |
|
65149de7 Update |
339 340 341 342 343 344 |
|
cfc9d09c Added dome simula... |
345 |
|
65149de7 Update |
346 |
|
65149de7 Update |
347 |
|
c72eb17a Update celery task |
348 349 |
|
1a2dc19f nombreux bugfixes... |
350 351 352 |
|
c72eb17a Update celery task |
353 354 355 356 357 358 359 360 361 362 363 364 365 366 |
|
65149de7 Update |
367 368 369 370 371 372 373 374 375 376 377 378 379 380 |
|
ce470283 Plc simulator fin... |
381 |
|
65149de7 Update |
382 383 |
|
ce470283 Plc simulator fin... |
384 385 386 387 388 |
|
65149de7 Update |
389 390 391 392 |
|
257abe9b Added comments |
393 |
|
65149de7 Update |
394 395 396 397 398 399 |
|
ef60c3ec Majordome and mon... |
400 401 |
|
65149de7 Update |
402 |
|
c72eb17a Update celery task |
403 |
|
65149de7 Update |
404 |
|
1aed430d Alert handled + k... |
405 |
|
65149de7 Update |
406 |
|
05038bc8 Majordome logic i... |
407 |
|
65149de7 Update |
408 409 410 411 |
|
4cb0ff36 Update |
412 413 |
|
65149de7 Update |
414 415 |
|
4cb0ff36 Update |
416 417 418 419 420 |
|
c72eb17a Update celery task |
421 422 |
|
4cb0ff36 Update |
423 |
|
ff448d43 Update |
424 |
|
e8e6f017 Reworked devices ... |
425 426 |
|
4cb0ff36 Update |
427 428 429 430 431 432 |
|
c72eb17a Update celery task |
433 434 |
|
65149de7 Update |
435 |
|
65149de7 Update |
436 437 |
|
257abe9b Added comments |
438 439 440 |
|
c72eb17a Update celery task |
441 |
|
05bdcc44 BIG DEMO tests (s... |
442 443 |
|
c72eb17a Update celery task |
444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
|
4cb0ff36 Update |
462 463 464 |
|
bca9a283 Reworked the sche... |
465 466 467 |
|
65149de7 Update |
468 469 |
|
65149de7 Update |
470 471 |
|
d0b663be refactorized majo... |
472 |
|
b4e8963c Each agent (envmo... |
473 |
|
65149de7 Update |
474 475 476 477 |
|
65149de7 Update |
478 479 |
|
4cb0ff36 Update |
480 |
|
bca9a283 Reworked the sche... |
481 |
|
4cb0ff36 Update |
482 |
|
65149de7 Update |
483 |
|
ff448d43 Update |
484 |
|
4cb0ff36 Update |
485 |
|
bca9a283 Reworked the sche... |
486 |
|
ff448d43 Update |
487 |
|
e8e6f017 Reworked devices ... |
488 |
|
075082e1 added start of ag... |
489 490 |
|
05038bc8 Majordome logic i... |
491 492 |
|
257abe9b Added comments |
493 494 495 |
|
4cb0ff36 Update |
496 497 |
|
ce470283 Plc simulator fin... |
498 |
|
4cb0ff36 Update |
499 500 |
|
257abe9b Added comments |
501 502 503 |
|
4cb0ff36 Update |
504 505 |
|
ce470283 Plc simulator fin... |
506 507 508 509 |
|
4cb0ff36 Update |
510 |
|
c72eb17a Update celery task |
511 |
|
4cb0ff36 Update |
512 |
|
257abe9b Added comments |
513 514 515 |
|
4cb0ff36 Update |
516 517 |
|
ff448d43 Update |
518 519 520 |
|
4cb0ff36 Update |
521 522 |
|
257abe9b Added comments |
523 524 525 |
|
4cb0ff36 Update |
526 |
|
ef60c3ec Majordome and mon... |
527 |
|
4cb0ff36 Update |
528 |
|
ff448d43 Update |
529 |
|
ef60c3ec Majordome and mon... |
530 531 532 |
|
ff448d43 Update |
533 |
|
ef60c3ec Majordome and mon... |
534 535 |
|
4cb0ff36 Update |
536 |
|
ef60c3ec Majordome and mon... |
537 538 539 |
|
ff448d43 Update |
540 |
|
ef60c3ec Majordome and mon... |
541 542 |
|
4cb0ff36 Update |
543 544 545 |
|
1aed430d Alert handled + k... |
546 |
|
4cb0ff36 Update |
547 |
|
c53a13e0 Updating a lot of... |
548 549 |
|
4cb0ff36 Update |
550 551 552 553 554 |
|
257abe9b Added comments |
555 |
|
1aed430d Alert handled + k... |
556 557 558 559 560 561 562 563 564 565 566 567 568 569 |
|
257abe9b Added comments |
570 571 |
|
4cb0ff36 Update |
572 |
|
ce470283 Plc simulator fin... |
573 |
|
4cb0ff36 Update |
574 |
|
05bdcc44 BIG DEMO tests (s... |
575 576 577 578 579 580 581 582 |
|
4cb0ff36 Update |
583 584 585 586 |
|
257abe9b Added comments |
587 |
|
ed1bf194 bugfix task major... |
588 |
|
257abe9b Added comments |
589 |
|
4cb0ff36 Update |
590 591 |
|
c72eb17a Update celery task |
592 593 594 595 |
|
05bdcc44 BIG DEMO tests (s... |
596 597 598 599 600 601 602 603 |
|
4cb0ff36 Update |
604 605 |
|
ef60c3ec Majordome and mon... |
606 607 608 |
|
05038bc8 Majordome logic i... |
609 |
|
ef60c3ec Majordome and mon... |
610 611 |
|
ce470283 Plc simulator fin... |
612 |
|
65149de7 Update |
613 614 615 |
|
257abe9b Added comments |
616 |
|
65149de7 Update |
617 618 |
|
c72eb17a Update celery task |
619 |
|
c53a13e0 Updating a lot of... |
620 621 622 |
|
678838ed Weather ans insid... |
623 |
|
c53a13e0 Updating a lot of... |
624 625 626 627 628 |
|
ff448d43 Update |
629 |
|
c53a13e0 Updating a lot of... |
630 |
|
ff448d43 Update |
631 632 |
|
bca9a283 Reworked the sche... |
633 |
|
ff448d43 Update |
634 |
|
bca9a283 Reworked the sche... |
635 |
|
ff448d43 Update |
636 637 |
|
05038bc8 Majordome logic i... |
638 |
|
4cb0ff36 Update |
639 |
|
ff448d43 Update |
640 641 642 |
|
4cb0ff36 Update |
643 |
|
c53a13e0 Updating a lot of... |
644 645 646 647 648 |
|
257abe9b Added comments |
649 650 651 |
|
678838ed Weather ans insid... |
652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 |
|
05bdcc44 BIG DEMO tests (s... |
671 672 673 674 675 676 677 678 |
|
678838ed Weather ans insid... |
679 |
|
05bdcc44 BIG DEMO tests (s... |
680 681 682 683 684 685 686 |
|
678838ed Weather ans insid... |
687 |
|
257abe9b Added comments |
688 689 690 |
|
678838ed Weather ans insid... |
691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 |
|
ce470283 Plc simulator fin... |
719 720 721 |
|
678838ed Weather ans insid... |
722 723 |
|
ce470283 Plc simulator fin... |
724 |
|
678838ed Weather ans insid... |
725 |
|
ce470283 Plc simulator fin... |
726 727 |
|
257abe9b Added comments |
728 729 730 |
|
ce470283 Plc simulator fin... |
731 732 733 |
|
678838ed Weather ans insid... |
734 735 |
|
ce470283 Plc simulator fin... |
736 |
|
678838ed Weather ans insid... |
737 |
|
ce470283 Plc simulator fin... |
738 739 740 741 742 743 744 745 746 747 748 749 750 751 |
|
257abe9b Added comments |
752 753 754 |
|
ce470283 Plc simulator fin... |
755 |
|
c53a13e0 Updating a lot of... |
756 757 |
|
c53a13e0 Updating a lot of... |
758 759 760 |
|
ce470283 Plc simulator fin... |
761 762 |
|
c53a13e0 Updating a lot of... |
763 |
|
ce470283 Plc simulator fin... |
764 765 |
|
c53a13e0 Updating a lot of... |
766 |
|
05038bc8 Majordome logic i... |
767 |
|
257abe9b Added comments |
768 |
|
05038bc8 Majordome logic i... |
769 |
|
c53a13e0 Updating a lot of... |
770 |
|
3224f14a Fixed some simula... |
771 772 773 774 |
|
c53a13e0 Updating a lot of... |
775 |
|
bca9a283 Reworked the sche... |
776 |
|
05038bc8 Majordome logic i... |
777 |
|
05038bc8 Majordome logic i... |
778 779 780 |
|
05bdcc44 BIG DEMO tests (s... |
781 782 783 784 785 786 787 788 789 790 |
|
c53a13e0 Updating a lot of... |
791 792 |
|
05038bc8 Majordome logic i... |
793 |
|
ff448d43 Update |
794 795 |
|
c53a13e0 Updating a lot of... |
796 797 798 |
|
ff448d43 Update |
799 800 |
|
05038bc8 Majordome logic i... |
801 802 803 |
|
05bdcc44 BIG DEMO tests (s... |
804 805 806 807 808 809 810 811 |
|
05038bc8 Majordome logic i... |
812 813 814 |
|
c53a13e0 Updating a lot of... |
815 816 817 |
|
05038bc8 Majordome logic i... |
818 819 |
|
05038bc8 Majordome logic i... |
820 |
|
05038bc8 Majordome logic i... |
821 822 823 824 825 |
|
c53a13e0 Updating a lot of... |
826 |
|
ff448d43 Update |
827 |
|
c53a13e0 Updating a lot of... |
828 829 |
|
ff448d43 Update |
830 |
|
c53a13e0 Updating a lot of... |
831 |
|
05038bc8 Majordome logic i... |
832 833 834 835 836 837 |
|
c53a13e0 Updating a lot of... |
838 |
|
c53a13e0 Updating a lot of... |
839 |
|
05038bc8 Majordome logic i... |
840 |
|
c53a13e0 Updating a lot of... |
841 842 |
|
05038bc8 Majordome logic i... |
843 |
|
678838ed Weather ans insid... |
844 845 |
|
05038bc8 Majordome logic i... |
846 847 848 849 850 |
|
c53a13e0 Updating a lot of... |
851 852 853 |
|
05038bc8 Majordome logic i... |
854 |
|
c53a13e0 Updating a lot of... |
855 |
|
05038bc8 Majordome logic i... |
856 857 858 859 860 |
|
05038bc8 Majordome logic i... |
861 |
|
c53a13e0 Updating a lot of... |
862 |
|
05038bc8 Majordome logic i... |
863 |
|
65149de7 Update |
864 865 866 867 |
|
05038bc8 Majordome logic i... |
868 |
|
05038bc8 Majordome logic i... |
869 870 871 |
|
ce470283 Plc simulator fin... |
872 873 874 |
|
05038bc8 Majordome logic i... |
875 876 877 |
|
ce470283 Plc simulator fin... |
878 879 880 881 882 |
|
bca9a283 Reworked the sche... |
883 884 |
|
65149de7 Update |
885 886 887 |
|
3224f14a Fixed some simula... |
888 |
|
4cb0ff36 Update |
889 |
|
4cb0ff36 Update |
890 |
|
bca9a283 Reworked the sche... |
891 |
|
4cb0ff36 Update |
892 |
|
05bdcc44 BIG DEMO tests (s... |
893 894 895 896 897 898 899 900 |
|
4cb0ff36 Update |
901 902 903 904 905 |
|
65149de7 Update |
906 907 |
|
ce470283 Plc simulator fin... |
908 909 910 911 912 913 914 915 916 917 918 |
|
3224f14a Fixed some simula... |
919 |
|
5b5566ab added celery |
920 |
|
4cb0ff36 Update |
921 |
|
05038bc8 Majordome logic i... |
922 |
|
4cb0ff36 Update |
923 |
|
05038bc8 Majordome logic i... |
924 925 |
|
ff448d43 Update |
926 |
|
05038bc8 Majordome logic i... |
927 |
|
9774228b Date: 22/06/2016 |
928 |
|
7a79e25b Date: 19/05/2016 |
929 |
|
4cb0ff36 Update |
930 931 932 933 |
|
5b5566ab added celery |
934 |
|
6aec6155 Majordome algorit... |
935 |
|