Blame view
src/majordome/tasks.py
39.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 |
|
d51386bf new file majordom... |
26 27 |
|
cfc9d09c Added dome simula... |
28 |
|
03814884 launch majordome ... |
29 30 |
|
ff448d43 Update |
31 |
|
65149de7 Update |
32 |
|
5b5566ab added celery |
33 |
|
65149de7 Update |
34 |
|
05038bc8 Majordome logic i... |
35 |
|
65149de7 Update |
36 |
|
4cb0ff36 Update |
37 |
|
05038bc8 Majordome logic i... |
38 39 40 |
|
65149de7 Update |
41 |
|
3001ec20 majordome small fix |
42 43 44 45 46 |
|
0997e1c3 moved main run() ... |
47 |
|
65149de7 Update |
48 49 |
|
05038bc8 Majordome logic i... |
50 51 52 53 54 |
|
cfc9d09c Added dome simula... |
55 |
|
ce470283 Plc simulator fin... |
56 57 |
|
ef60c3ec Majordome and mon... |
58 59 60 |
|
c53a13e0 Updating a lot of... |
61 |
|
678838ed Weather ans insid... |
62 |
|
468a79dc added comments |
63 64 |
|
d0b663be refactorized majo... |
65 |
|
6aec6155 Majordome algorit... |
66 |
|
468a79dc added comments |
67 |
|
f3534c59 Simulators web pa... |
68 |
|
d0b663be refactorized majo... |
69 70 71 72 |
|
0ca00ebd refactorized and ... |
73 74 75 76 |
|
6aec6155 Majordome algorit... |
77 |
|
0997e1c3 moved main run() ... |
78 79 80 81 82 83 84 85 86 87 |
|
d0b663be refactorized majo... |
88 |
|
0997e1c3 moved main run() ... |
89 90 91 92 93 94 95 96 97 98 99 |
|
d51386bf new file majordom... |
100 101 |
|
0ca00ebd refactorized and ... |
102 |
|
d0b663be refactorized majo... |
103 104 |
|
1179175f Majordome agent c... |
105 |
|
d0b663be refactorized majo... |
106 |
|
f3534c59 Simulators web pa... |
107 108 109 |
|
03814884 launch majordome ... |
110 111 |
|
03814884 launch majordome ... |
112 |
|
03814884 launch majordome ... |
113 114 |
|
f3534c59 Simulators web pa... |
115 |
|
d0b663be refactorized majo... |
116 117 |
|
0ca00ebd refactorized and ... |
118 |
|
d0b663be refactorized majo... |
119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 |
|
0ca00ebd refactorized and ... |
142 |
|
d0b663be refactorized majo... |
143 144 145 146 147 148 |
|
1179175f Majordome agent c... |
149 150 |
|
f3534c59 Simulators web pa... |
151 152 153 154 155 |
|
0ca00ebd refactorized and ... |
156 157 158 |
|
d0b663be refactorized majo... |
159 |
|
0ca00ebd refactorized and ... |
160 161 |
|
03814884 launch majordome ... |
162 |
|
1179175f Majordome agent c... |
163 |
|
d0b663be refactorized majo... |
164 |
|
1179175f Majordome agent c... |
165 |
|
f3534c59 Simulators web pa... |
166 167 168 169 |
|
1179175f Majordome agent c... |
170 |
|
d0b663be refactorized majo... |
171 |
|
0ca00ebd refactorized and ... |
172 173 |
|
d0b663be refactorized majo... |
174 |
|
0ca00ebd refactorized and ... |
175 |
|
d0b663be refactorized majo... |
176 177 |
|
f3534c59 Simulators web pa... |
178 179 |
|
d0b663be refactorized majo... |
180 |
|
0ca00ebd refactorized and ... |
181 |
|
d0b663be refactorized majo... |
182 |
|
0ca00ebd refactorized and ... |
183 184 |
|
d0b663be refactorized majo... |
185 186 187 188 189 190 |
|
0ca00ebd refactorized and ... |
191 192 193 194 |
|
0997e1c3 moved main run() ... |
195 |
|
d0b663be refactorized majo... |
196 |
|
0ca00ebd refactorized and ... |
197 198 199 200 201 202 203 204 205 |
|
d0b663be refactorized majo... |
206 207 |
|
0997e1c3 moved main run() ... |
208 209 |
|
6aec6155 Majordome algorit... |
210 211 212 |
|
468a79dc added comments |
213 |
|
f3534c59 Simulators web pa... |
214 |
|
6aec6155 Majordome algorit... |
215 |
|
468a79dc added comments |
216 217 |
|
6aec6155 Majordome algorit... |
218 219 |
|
d0b663be refactorized majo... |
220 |
|
0ca00ebd refactorized and ... |
221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 |
|
d0b663be refactorized majo... |
236 |
|
0ca00ebd refactorized and ... |
237 |
|
6aec6155 Majordome algorit... |
238 |
|
d0b663be refactorized majo... |
239 240 |
|
6aec6155 Majordome algorit... |
241 |
|
0ca00ebd refactorized and ... |
242 |
|
d0b663be refactorized majo... |
243 244 |
|
0ca00ebd refactorized and ... |
245 |
|
d0b663be refactorized majo... |
246 247 248 249 250 251 252 253 254 255 256 257 258 259 |
|
0ca00ebd refactorized and ... |
260 |
|
d0b663be refactorized majo... |
261 262 |
|
0ca00ebd refactorized and ... |
263 |
|
d0b663be refactorized majo... |
264 265 266 267 |
|
03814884 launch majordome ... |
268 |
|
0ca00ebd refactorized and ... |
269 270 271 272 273 |
|
1179175f Majordome agent c... |
274 275 |
|
d0b663be refactorized majo... |
276 277 |
|
d51386bf new file majordom... |
278 |
|
d0b663be refactorized majo... |
279 280 |
|
0ca00ebd refactorized and ... |
281 |
|
d0b663be refactorized majo... |
282 283 |
|
0ca00ebd refactorized and ... |
284 285 286 287 288 289 290 291 292 |
|
f3534c59 Simulators web pa... |
293 |
|
6aec6155 Majordome algorit... |
294 |
|
d0b663be refactorized majo... |
295 |
|
6aec6155 Majordome algorit... |
296 |
|
0ca00ebd refactorized and ... |
297 |
|
d0b663be refactorized majo... |
298 299 |
|
0ca00ebd refactorized and ... |
300 301 302 303 304 |
|
6aec6155 Majordome algorit... |
305 |
|
0ca00ebd refactorized and ... |
306 |
|
03814884 launch majordome ... |
307 |
|
0ca00ebd refactorized and ... |
308 309 310 311 |
|
d51386bf new file majordom... |
312 |
|
0ca00ebd refactorized and ... |
313 |
|
6aec6155 Majordome algorit... |
314 |
|
0ca00ebd refactorized and ... |
315 316 |
|
6aec6155 Majordome algorit... |
317 |
|
d0b663be refactorized majo... |
318 |
|
6aec6155 Majordome algorit... |
319 |
|
0ca00ebd refactorized and ... |
320 |
|
d0b663be refactorized majo... |
321 322 |
|
0ca00ebd refactorized and ... |
323 324 325 |
|
6aec6155 Majordome algorit... |
326 |
|
0ca00ebd refactorized and ... |
327 328 329 330 331 332 333 334 335 |
|
d0b663be refactorized majo... |
336 |
|
6aec6155 Majordome algorit... |
337 |
|
0ca00ebd refactorized and ... |
338 |
|
d0b663be refactorized majo... |
339 |
|
d0b663be refactorized majo... |
340 |
|
0ca00ebd refactorized and ... |
341 342 |
|
6aec6155 Majordome algorit... |
343 |
|
0ca00ebd refactorized and ... |
344 345 346 347 348 349 350 351 352 353 |
|
d0b663be refactorized majo... |
354 |
|
6aec6155 Majordome algorit... |
355 356 |
|
d0b663be refactorized majo... |
357 358 |
|
0ca00ebd refactorized and ... |
359 360 |
|
6aec6155 Majordome algorit... |
361 |
|
d0b663be refactorized majo... |
362 |
|
6aec6155 Majordome algorit... |
363 |
|
0ca00ebd refactorized and ... |
364 365 366 |
|
d0b663be refactorized majo... |
367 |
|
0ca00ebd refactorized and ... |
368 369 370 371 372 373 374 375 376 377 378 379 380 |
|
d0b663be refactorized majo... |
381 382 383 384 385 |
|
d51386bf new file majordom... |
386 |
|
d0b663be refactorized majo... |
387 388 389 390 |
|
0ca00ebd refactorized and ... |
391 |
|
d0b663be refactorized majo... |
392 |
|
03814884 launch majordome ... |
393 394 |
|
0ca00ebd refactorized and ... |
395 |
|
d0b663be refactorized majo... |
396 397 398 |
|
0ca00ebd refactorized and ... |
399 |
|
d0b663be refactorized majo... |
400 401 |
|
03814884 launch majordome ... |
402 |
|
0ca00ebd refactorized and ... |
403 404 |
|
03814884 launch majordome ... |
405 406 |
|
468a79dc added comments |
407 |
|
0997e1c3 moved main run() ... |
408 |
|
6aec6155 Majordome algorit... |
409 |
|
6aec6155 Majordome algorit... |
410 411 |
|
d0b663be refactorized majo... |
412 |
|
6aec6155 Majordome algorit... |
413 414 |
|
0997e1c3 moved main run() ... |
415 |
|
6aec6155 Majordome algorit... |
416 417 418 419 |
|
d0b663be refactorized majo... |
420 |
|
6aec6155 Majordome algorit... |
421 422 423 |
|
6aec6155 Majordome algorit... |
424 |
|
d0b663be refactorized majo... |
425 |
|
6aec6155 Majordome algorit... |
426 427 |
|
d0b663be refactorized majo... |
428 |
|
6aec6155 Majordome algorit... |
429 430 431 432 |
|
1179175f Majordome agent c... |
433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 |
|
6aec6155 Majordome algorit... |
450 451 |
|
e8e6f017 Reworked devices ... |
452 453 454 455 456 457 458 459 |
|
65149de7 Update |
460 461 462 463 464 465 |
|
cfc9d09c Added dome simula... |
466 |
|
65149de7 Update |
467 |
|
65149de7 Update |
468 |
|
c72eb17a Update celery task |
469 470 |
|
1a2dc19f nombreux bugfixes... |
471 472 473 |
|
c72eb17a Update celery task |
474 475 476 477 478 479 480 481 482 483 484 485 486 487 |
|
65149de7 Update |
488 489 490 491 492 493 494 495 496 497 498 499 500 501 |
|
ce470283 Plc simulator fin... |
502 |
|
65149de7 Update |
503 504 |
|
ce470283 Plc simulator fin... |
505 506 507 508 509 |
|
65149de7 Update |
510 511 512 513 |
|
257abe9b Added comments |
514 |
|
65149de7 Update |
515 516 517 518 519 520 |
|
ef60c3ec Majordome and mon... |
521 522 |
|
65149de7 Update |
523 |
|
c72eb17a Update celery task |
524 |
|
65149de7 Update |
525 |
|
1aed430d Alert handled + k... |
526 |
|
65149de7 Update |
527 |
|
05038bc8 Majordome logic i... |
528 |
|
65149de7 Update |
529 530 531 532 |
|
4cb0ff36 Update |
533 534 |
|
65149de7 Update |
535 536 |
|
4cb0ff36 Update |
537 538 539 540 541 |
|
c72eb17a Update celery task |
542 543 |
|
4cb0ff36 Update |
544 |
|
ff448d43 Update |
545 |
|
e8e6f017 Reworked devices ... |
546 547 |
|
4cb0ff36 Update |
548 549 550 551 552 553 |
|
c72eb17a Update celery task |
554 555 |
|
65149de7 Update |
556 |
|
65149de7 Update |
557 558 |
|
257abe9b Added comments |
559 560 561 |
|
c72eb17a Update celery task |
562 |
|
05bdcc44 BIG DEMO tests (s... |
563 564 |
|
c72eb17a Update celery task |
565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 |
|
4cb0ff36 Update |
583 584 585 |
|
bca9a283 Reworked the sche... |
586 587 588 |
|
65149de7 Update |
589 590 |
|
65149de7 Update |
591 592 |
|
d0b663be refactorized majo... |
593 |
|
b4e8963c Each agent (envmo... |
594 |
|
65149de7 Update |
595 596 597 598 |
|
65149de7 Update |
599 600 |
|
4cb0ff36 Update |
601 |
|
bca9a283 Reworked the sche... |
602 |
|
4cb0ff36 Update |
603 |
|
65149de7 Update |
604 |
|
ff448d43 Update |
605 |
|
4cb0ff36 Update |
606 |
|
bca9a283 Reworked the sche... |
607 |
|
ff448d43 Update |
608 |
|
e8e6f017 Reworked devices ... |
609 |
|
075082e1 added start of ag... |
610 611 |
|
05038bc8 Majordome logic i... |
612 613 |
|
257abe9b Added comments |
614 615 616 |
|
4cb0ff36 Update |
617 618 |
|
ce470283 Plc simulator fin... |
619 |
|
4cb0ff36 Update |
620 621 |
|
257abe9b Added comments |
622 623 624 |
|
4cb0ff36 Update |
625 626 |
|
ce470283 Plc simulator fin... |
627 628 629 630 |
|
4cb0ff36 Update |
631 |
|
c72eb17a Update celery task |
632 |
|
4cb0ff36 Update |
633 |
|
257abe9b Added comments |
634 635 636 |
|
4cb0ff36 Update |
637 638 |
|
ff448d43 Update |
639 640 641 |
|
4cb0ff36 Update |
642 643 |
|
257abe9b Added comments |
644 645 646 |
|
4cb0ff36 Update |
647 |
|
ef60c3ec Majordome and mon... |
648 |
|
4cb0ff36 Update |
649 |
|
ff448d43 Update |
650 |
|
ef60c3ec Majordome and mon... |
651 652 653 |
|
ff448d43 Update |
654 |
|
ef60c3ec Majordome and mon... |
655 656 |
|
4cb0ff36 Update |
657 |
|
ef60c3ec Majordome and mon... |
658 659 660 |
|
ff448d43 Update |
661 |
|
ef60c3ec Majordome and mon... |
662 663 |
|
4cb0ff36 Update |
664 665 666 |
|
1aed430d Alert handled + k... |
667 |
|
4cb0ff36 Update |
668 |
|
c53a13e0 Updating a lot of... |
669 670 |
|
4cb0ff36 Update |
671 672 673 674 675 |
|
257abe9b Added comments |
676 |
|
1aed430d Alert handled + k... |
677 678 679 680 681 682 683 684 685 686 687 688 689 690 |
|
257abe9b Added comments |
691 692 |
|
4cb0ff36 Update |
693 |
|
ce470283 Plc simulator fin... |
694 |
|
4cb0ff36 Update |
695 |
|
05bdcc44 BIG DEMO tests (s... |
696 697 698 699 700 701 702 703 |
|
4cb0ff36 Update |
704 705 706 707 |
|
257abe9b Added comments |
708 |
|
ed1bf194 bugfix task major... |
709 |
|
257abe9b Added comments |
710 |
|
4cb0ff36 Update |
711 712 |
|
c72eb17a Update celery task |
713 714 715 716 |
|
05bdcc44 BIG DEMO tests (s... |
717 718 719 720 721 722 723 724 |
|
4cb0ff36 Update |
725 726 |
|
ef60c3ec Majordome and mon... |
727 728 729 |
|
05038bc8 Majordome logic i... |
730 |
|
ef60c3ec Majordome and mon... |
731 732 |
|
ce470283 Plc simulator fin... |
733 |
|
65149de7 Update |
734 735 736 |
|
257abe9b Added comments |
737 |
|
65149de7 Update |
738 739 |
|
c72eb17a Update celery task |
740 |
|
c53a13e0 Updating a lot of... |
741 742 743 |
|
678838ed Weather ans insid... |
744 |
|
c53a13e0 Updating a lot of... |
745 746 747 748 749 |
|
ff448d43 Update |
750 |
|
c53a13e0 Updating a lot of... |
751 |
|
ff448d43 Update |
752 753 |
|
bca9a283 Reworked the sche... |
754 |
|
ff448d43 Update |
755 |
|
bca9a283 Reworked the sche... |
756 |
|
ff448d43 Update |
757 758 |
|
05038bc8 Majordome logic i... |
759 |
|
4cb0ff36 Update |
760 |
|
ff448d43 Update |
761 762 763 |
|
4cb0ff36 Update |
764 |
|
c53a13e0 Updating a lot of... |
765 766 767 768 769 |
|
257abe9b Added comments |
770 771 772 |
|
678838ed Weather ans insid... |
773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 |
|
05bdcc44 BIG DEMO tests (s... |
792 793 794 795 796 797 798 799 |
|
678838ed Weather ans insid... |
800 |
|
05bdcc44 BIG DEMO tests (s... |
801 802 803 804 805 806 807 |
|
678838ed Weather ans insid... |
808 |
|
257abe9b Added comments |
809 810 811 |
|
678838ed Weather ans insid... |
812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 |
|
ce470283 Plc simulator fin... |
840 841 842 |
|
678838ed Weather ans insid... |
843 844 |
|
ce470283 Plc simulator fin... |
845 |
|
678838ed Weather ans insid... |
846 |
|
ce470283 Plc simulator fin... |
847 848 |
|
257abe9b Added comments |
849 850 851 |
|
ce470283 Plc simulator fin... |
852 853 854 |
|
678838ed Weather ans insid... |
855 856 |
|
ce470283 Plc simulator fin... |
857 |
|
678838ed Weather ans insid... |
858 |
|
ce470283 Plc simulator fin... |
859 860 861 862 863 864 865 866 867 868 869 870 871 872 |
|
257abe9b Added comments |
873 874 875 |
|
ce470283 Plc simulator fin... |
876 |
|
c53a13e0 Updating a lot of... |
877 878 |
|
c53a13e0 Updating a lot of... |
879 880 881 |
|
ce470283 Plc simulator fin... |
882 883 |
|
c53a13e0 Updating a lot of... |
884 |
|
ce470283 Plc simulator fin... |
885 886 |
|
c53a13e0 Updating a lot of... |
887 |
|
05038bc8 Majordome logic i... |
888 |
|
257abe9b Added comments |
889 |
|
05038bc8 Majordome logic i... |
890 |
|
c53a13e0 Updating a lot of... |
891 |
|
3224f14a Fixed some simula... |
892 893 894 895 |
|
c53a13e0 Updating a lot of... |
896 |
|
bca9a283 Reworked the sche... |
897 |
|
05038bc8 Majordome logic i... |
898 |
|
05038bc8 Majordome logic i... |
899 900 901 |
|
05bdcc44 BIG DEMO tests (s... |
902 903 904 905 906 907 908 909 910 911 |
|
c53a13e0 Updating a lot of... |
912 913 |
|
05038bc8 Majordome logic i... |
914 |
|
ff448d43 Update |
915 916 |
|
c53a13e0 Updating a lot of... |
917 918 919 |
|
ff448d43 Update |
920 921 |
|
05038bc8 Majordome logic i... |
922 923 924 |
|
05bdcc44 BIG DEMO tests (s... |
925 926 927 928 929 930 931 932 |
|
05038bc8 Majordome logic i... |
933 934 935 |
|
c53a13e0 Updating a lot of... |
936 937 938 |
|
05038bc8 Majordome logic i... |
939 940 |
|
05038bc8 Majordome logic i... |
941 |
|
05038bc8 Majordome logic i... |
942 943 944 945 946 |
|
c53a13e0 Updating a lot of... |
947 |
|
ff448d43 Update |
948 |
|
c53a13e0 Updating a lot of... |
949 950 |
|
ff448d43 Update |
951 |
|
c53a13e0 Updating a lot of... |
952 |
|
05038bc8 Majordome logic i... |
953 954 955 956 957 958 |
|
c53a13e0 Updating a lot of... |
959 |
|
c53a13e0 Updating a lot of... |
960 |
|
05038bc8 Majordome logic i... |
961 |
|
c53a13e0 Updating a lot of... |
962 963 |
|
05038bc8 Majordome logic i... |
964 |
|
678838ed Weather ans insid... |
965 966 |
|
05038bc8 Majordome logic i... |
967 968 969 970 971 |
|
c53a13e0 Updating a lot of... |
972 973 974 |
|
05038bc8 Majordome logic i... |
975 |
|
c53a13e0 Updating a lot of... |
976 |
|
05038bc8 Majordome logic i... |
977 978 979 980 981 |
|
05038bc8 Majordome logic i... |
982 |
|
c53a13e0 Updating a lot of... |
983 |
|
05038bc8 Majordome logic i... |
984 |
|
65149de7 Update |
985 986 987 988 |
|
05038bc8 Majordome logic i... |
989 |
|
05038bc8 Majordome logic i... |
990 991 992 |
|
ce470283 Plc simulator fin... |
993 994 995 |
|
05038bc8 Majordome logic i... |
996 997 998 |
|
ce470283 Plc simulator fin... |
999 1000 1001 1002 1003 |
|
bca9a283 Reworked the sche... |
1004 1005 |
|
65149de7 Update |
1006 1007 1008 |
|
3224f14a Fixed some simula... |
1009 |
|
4cb0ff36 Update |
1010 |
|
4cb0ff36 Update |
1011 |
|
bca9a283 Reworked the sche... |
1012 |
|
4cb0ff36 Update |
1013 |
|
05bdcc44 BIG DEMO tests (s... |
1014 1015 1016 1017 1018 1019 1020 1021 |
|
4cb0ff36 Update |
1022 1023 1024 1025 1026 |
|
65149de7 Update |
1027 1028 |
|
ce470283 Plc simulator fin... |
1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 |
|
3224f14a Fixed some simula... |
1040 |
|
5b5566ab added celery |
1041 |
|
4cb0ff36 Update |
1042 |
|
05038bc8 Majordome logic i... |
1043 |
|
4cb0ff36 Update |
1044 |
|
05038bc8 Majordome logic i... |
1045 1046 |
|
ff448d43 Update |
1047 |
|
05038bc8 Majordome logic i... |
1048 |
|
9774228b Date: 22/06/2016 |
1049 |
|
7a79e25b Date: 19/05/2016 |
1050 |
|
4cb0ff36 Update |
1051 1052 1053 1054 |
|
5b5566ab added celery |
1055 |
|
1179175f Majordome agent c... |
1056 1057 1058 |
|