-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlogconfig.log
4937 lines (4937 loc) · 577 KB
/
logconfig.log
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
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
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
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
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
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2019-09-10 10:11:15,829 [DEBUG] __main__: Starting the Data Logger
2019-09-10 10:11:15,842 [DEBUG] PeriodicTimer: PeriodicTimer statrted
2019-09-10 10:11:16,902 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='0123456789'><DT V='2019-09-10 10:11:15'></DT></GATEWAY_ID>
2019-09-10 10:11:16,916 [DEBUG] ModbusDataService: [{'function_id': 4, 'start_register': 8, 'register_count': 1}]
2019-09-10 10:11:16,917 [ERROR] ModbusDataService: Error Getting Serial connection: [Errno 2] could not open port /dev/pts/9: [Errno 2] No such file or directory: '/dev/pts/9'
2019-09-10 10:11:16,917 [DEBUG] ModbusDataService: [{'function_id': 4, 'start_register': 8, 'register_count': 1}]
2019-09-10 10:11:16,918 [ERROR] ModbusDataService: Error Getting Serial connection: [Errno 2] could not open port /dev/pts/9: [Errno 2] No such file or directory: '/dev/pts/9'
2019-09-10 10:11:16,918 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 20, 'device_category': 'inverter', 'device_id': 'DLT001'}
2019-09-10 10:11:16,918 [WARNING] ModbusDecoder: Register data is empty for 04_0008. Default values will be filled.
2019-09-10 10:11:16,919 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 21, 'device_category': 'inverter', 'device_id': 'DLT002'}
2019-09-10 10:11:16,919 [WARNING] ModbusDecoder: Register data is empty for 04_0008. Default values will be filled.
2019-09-10 10:11:24,927 [DEBUG] ModbusDataService: [{'function_id': 4, 'start_register': 8, 'register_count': 1}]
2019-09-10 10:11:24,928 [ERROR] ModbusDataService: Error Getting Serial connection: [Errno 2] could not open port /dev/pts/9: [Errno 2] No such file or directory: '/dev/pts/9'
2019-09-10 10:11:24,928 [DEBUG] ModbusDataService: [{'function_id': 4, 'start_register': 8, 'register_count': 1}]
2019-09-10 10:11:24,928 [ERROR] ModbusDataService: Error Getting Serial connection: [Errno 2] could not open port /dev/pts/9: [Errno 2] No such file or directory: '/dev/pts/9'
2019-09-10 10:11:24,928 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 20, 'device_category': 'inverter', 'device_id': 'DLT001'}
2019-09-10 10:11:24,929 [WARNING] ModbusDecoder: Register data is empty for 04_0008. Default values will be filled.
2019-09-10 10:11:24,929 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 21, 'device_category': 'inverter', 'device_id': 'DLT002'}
2019-09-10 10:11:24,929 [WARNING] ModbusDecoder: Register data is empty for 04_0008. Default values will be filled.
2019-09-10 10:11:25,853 [INFO] MessageSender: Sending Payload
2019-09-10 10:11:25,890 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): localhost
2019-09-10 10:11:25,909 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 20, 'device_category': 'inverter', 'device_id': 'DLT001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'IPPWR': 0, 'DCIP_DCV_1': 0, 'DCIP_DCA_1': 0, 'DCIP_DVW_1': 0, 'DCIP_DCV_2': 0, 'DCIP_DCA_2': 0, 'DCIP_DVW_2': 0, 'DCIP_DCV_3': 0, 'DCIP_DCA_3': 0, 'DCIP_DVW_3': 0, 'DCIP_DCV_4': 0, 'DCIP_DCA_4': 0, 'DCIP_DVW_4': 0, 'DCIP_DCV_5': 0, 'DCIP_DCA_5': 0, 'DCIP_DVW_5': 0, 'DCIP_DCV_6': 0, 'DCIP_DCA_6': 0, 'DCIP_DVW_6': 0, 'MDCIP_DCV_1': 0, 'MDCIP_DCA_1': 0, 'MDCIP_DVW_1': 0, 'MDCIP_DCV_2': 0, 'MDCIP_DCA_2': 0, 'MDCIP_DVW_2': 0, 'MDCIP_DCV_3': 0, 'MDCIP_DCA_3': 0, 'MDCIP_DVW_3': 0, 'MDCIP_DCV_4': 0, 'MDCIP_DCA_4': 0, 'MDCIP_DVW_4': 0, 'MDCIP_DCV_5': 0, 'MDCIP_DCA_5': 0, 'MDCIP_DVW_5': 0, 'MDCIP_DCV_6': 0, 'MDCIP_DCA_6': 0, 'MDCIP_DVW_6': 0, 'OPPWR': 0, 'ACOP_ACV_1': 0, 'ACOP_ACA_1': 0, 'ACOP_ACW_1': 0, 'ACOP_ACV_2': 0, 'ACOP_ACA_2': 0, 'ACOP_ACW_2': 0, 'ACOP_ACV_3': 0, 'ACOP_ACA_3': 0, 'ACOP_ACW_3': 0, 'MACOP_ACV_1': 0, 'MACOP_ACA_1': 0, 'MACOP_ACW_1': 0, 'MACOP_ACV_2': 0, 'MACOP_ACA_2': 0, 'MACOP_ACW_2': 0, 'MACOP_ACV_3': 0, 'MACOP_ACA_3': 0, 'MACOP_ACW_3': 0, 'APP': 0, 'APP1': 0, 'APP2': 0, 'APP3': 0, 'EVT1': 0, 'EVT2': 0, 'EVT3': 0, 'EVT4': 0, 'EVT5': 0, 'EVT6': 0, 'EVT7': 0, 'EVT8': 0, 'EVT9': 0, 'EVT10': 0, 'EVT11': 0, 'RCP': 0, 'COSFi': 0, 'PF': 0, 'STR1': 0, 'STR2': 0, 'STR3': 0, 'STR4': 0, 'STR5': 0, 'STR6': 0, 'STR7': 0, 'STR8': 0, 'STR9': 0, 'STR10': 0, 'STR11': 0, 'STR12': 0, 'STR13': 0, 'STR14': 0, 'STR15': 0, 'STR16': 0, 'STR17': 0, 'STR18': 0, 'STR19': 0, 'STR20': 0, 'STR21': 0, 'STR22': 0, 'STR23': 0, 'STR24': 0, 'WattH_T': 0, 'RunT_T': 0, 'WattH': 0, 'RunT': 0, 'Op_State': 0, 'RecTime': 0}, 'alarm': {}}, {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 21, 'device_category': 'inverter', 'device_id': 'DLT002', 'data': {'WSNSR': 0, 'ANLG1': 0, 'IPPWR': 0, 'DCIP_DCV_1': 0, 'DCIP_DCA_1': 0, 'DCIP_DVW_1': 0, 'DCIP_DCV_2': 0, 'DCIP_DCA_2': 0, 'DCIP_DVW_2': 0, 'DCIP_DCV_3': 0, 'DCIP_DCA_3': 0, 'DCIP_DVW_3': 0, 'DCIP_DCV_4': 0, 'DCIP_DCA_4': 0, 'DCIP_DVW_4': 0, 'DCIP_DCV_5': 0, 'DCIP_DCA_5': 0, 'DCIP_DVW_5': 0, 'DCIP_DCV_6': 0, 'DCIP_DCA_6': 0, 'DCIP_DVW_6': 0, 'MDCIP_DCV_1': 0, 'MDCIP_DCA_1': 0, 'MDCIP_DVW_1': 0, 'MDCIP_DCV_2': 0, 'MDCIP_DCA_2': 0, 'MDCIP_DVW_2': 0, 'MDCIP_DCV_3': 0, 'MDCIP_DCA_3': 0, 'MDCIP_DVW_3': 0, 'MDCIP_DCV_4': 0, 'MDCIP_DCA_4': 0, 'MDCIP_DVW_4': 0, 'MDCIP_DCV_5': 0, 'MDCIP_DCA_5': 0, 'MDCIP_DVW_5': 0, 'MDCIP_DCV_6': 0, 'MDCIP_DCA_6': 0, 'MDCIP_DVW_6': 0, 'OPPWR': 0, 'ACOP_ACV_1': 0, 'ACOP_ACA_1': 0, 'ACOP_ACW_1': 0, 'ACOP_ACV_2': 0, 'ACOP_ACA_2': 0, 'ACOP_ACW_2': 0, 'ACOP_ACV_3': 0, 'ACOP_ACA_3': 0, 'ACOP_ACW_3': 0, 'MACOP_ACV_1': 0, 'MACOP_ACA_1': 0, 'MACOP_ACW_1': 0, 'MACOP_ACV_2': 0, 'MACOP_ACA_2': 0, 'MACOP_ACW_2': 0, 'MACOP_ACV_3': 0, 'MACOP_ACA_3': 0, 'MACOP_ACW_3': 0, 'APP': 0, 'APP1': 0, 'APP2': 0, 'APP3': 0, 'EVT1': 0, 'EVT2': 0, 'EVT3': 0, 'EVT4': 0, 'EVT5': 0, 'EVT6': 0, 'EVT7': 0, 'EVT8': 0, 'EVT9': 0, 'EVT10': 0, 'EVT11': 0, 'RCP': 0, 'COSFi': 0, 'PF': 0, 'STR1': 0, 'STR2': 0, 'STR3': 0, 'STR4': 0, 'STR5': 0, 'STR6': 0, 'STR7': 0, 'STR8': 0, 'STR9': 0, 'STR10': 0, 'STR11': 0, 'STR12': 0, 'STR13': 0, 'STR14': 0, 'STR15': 0, 'STR16': 0, 'STR17': 0, 'STR18': 0, 'STR19': 0, 'STR20': 0, 'STR21': 0, 'STR22': 0, 'STR23': 0, 'STR24': 0, 'WattH_T': 0, 'RunT_T': 0, 'WattH': 0, 'RunT': 0, 'Op_State': 0, 'RecTime': 0}, 'alarm': {}}]
2019-09-10 10:11:25,911 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='0123456789'><DT V='2019-09-10 10:11:24'><SINV id='DLT001' type='INVERTER_DELTA_RPIM3'><WSNSR V='0'/><ANLG1 V='0'/><IPPWR V='0'/><OPPWR V='0'/><APP V='0'/><APP1 V='0'/><APP2 V='0'/><APP3 V='0'/><RCP V='0'/><COSFi V='0'/><PF V='0'/><WattH_T V='0'/><RunT_T V='0'/><WattH V='0'/><RunT V='0'/><Op_State V='0'/><RecTime V='0'/><DCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><MDCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><ACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><MACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP></SINV><SINV id='DLT002' type='INVERTER_DELTA_RPIM3'><WSNSR V='0'/><ANLG1 V='0'/><IPPWR V='0'/><OPPWR V='0'/><APP V='0'/><APP1 V='0'/><APP2 V='0'/><APP3 V='0'/><RCP V='0'/><COSFi V='0'/><PF V='0'/><WattH_T V='0'/><RunT_T V='0'/><WattH V='0'/><RunT V='0'/><Op_State V='0'/><RecTime V='0'/><DCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><MDCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><ACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><MACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP></SINV></DT></GATEWAY_ID>
2019-09-10 10:11:25,918 [ERROR] HttpSender: Error sending payload: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /gateway/api/upload/data/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884db61fd0>: Failed to establish a new connection: [Errno 111] Connection refused',))
2019-09-10 10:11:25,922 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): localhost
2019-09-10 10:11:25,924 [ERROR] HttpSender: Error sending payload: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /gateway/api/upload/data/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884db73780>: Failed to establish a new connection: [Errno 111] Connection refused',))
2019-09-10 10:11:25,927 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): localhost
2019-09-10 10:11:25,928 [ERROR] HttpSender: Error sending payload: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /gateway/api/upload/data/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884db73e48>: Failed to establish a new connection: [Errno 111] Connection refused',))
2019-09-10 10:11:25,929 [WARNING] MessageSender: Payload sending failed
2019-09-10 10:11:34,937 [DEBUG] ModbusDataService: [{'function_id': 4, 'start_register': 8, 'register_count': 1}]
2019-09-10 10:11:34,938 [ERROR] ModbusDataService: Error Getting Serial connection: [Errno 2] could not open port /dev/pts/9: [Errno 2] No such file or directory: '/dev/pts/9'
2019-09-10 10:11:34,938 [INFO] MessageSender: Sending Payload
2019-09-10 10:11:34,939 [DEBUG] ModbusDataService: [{'function_id': 4, 'start_register': 8, 'register_count': 1}]
2019-09-10 10:11:34,940 [ERROR] ModbusDataService: Error Getting Serial connection: [Errno 2] could not open port /dev/pts/9: [Errno 2] No such file or directory: '/dev/pts/9'
2019-09-10 10:11:34,942 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): localhost
2019-09-10 10:11:34,943 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 20, 'device_category': 'inverter', 'device_id': 'DLT001'}
2019-09-10 10:11:34,944 [WARNING] ModbusDecoder: Register data is empty for 04_0008. Default values will be filled.
2019-09-10 10:11:34,944 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 21, 'device_category': 'inverter', 'device_id': 'DLT002'}
2019-09-10 10:11:34,945 [ERROR] HttpSender: Error sending payload: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /gateway/api/upload/data/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884c0f76d8>: Failed to establish a new connection: [Errno 111] Connection refused',))
2019-09-10 10:11:34,945 [WARNING] ModbusDecoder: Register data is empty for 04_0008. Default values will be filled.
2019-09-10 10:11:34,947 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): localhost
2019-09-10 10:11:34,948 [ERROR] HttpSender: Error sending payload: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /gateway/api/upload/data/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884db61198>: Failed to establish a new connection: [Errno 111] Connection refused',))
2019-09-10 10:11:34,951 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): localhost
2019-09-10 10:11:34,952 [ERROR] HttpSender: Error sending payload: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /gateway/api/upload/data/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884db612b0>: Failed to establish a new connection: [Errno 111] Connection refused',))
2019-09-10 10:11:34,952 [WARNING] MessageSender: Payload sending failed
2019-09-10 10:11:35,921 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 20, 'device_category': 'inverter', 'device_id': 'DLT001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'IPPWR': 0, 'DCIP_DCV_1': 0, 'DCIP_DCA_1': 0, 'DCIP_DVW_1': 0, 'DCIP_DCV_2': 0, 'DCIP_DCA_2': 0, 'DCIP_DVW_2': 0, 'DCIP_DCV_3': 0, 'DCIP_DCA_3': 0, 'DCIP_DVW_3': 0, 'DCIP_DCV_4': 0, 'DCIP_DCA_4': 0, 'DCIP_DVW_4': 0, 'DCIP_DCV_5': 0, 'DCIP_DCA_5': 0, 'DCIP_DVW_5': 0, 'DCIP_DCV_6': 0, 'DCIP_DCA_6': 0, 'DCIP_DVW_6': 0, 'MDCIP_DCV_1': 0, 'MDCIP_DCA_1': 0, 'MDCIP_DVW_1': 0, 'MDCIP_DCV_2': 0, 'MDCIP_DCA_2': 0, 'MDCIP_DVW_2': 0, 'MDCIP_DCV_3': 0, 'MDCIP_DCA_3': 0, 'MDCIP_DVW_3': 0, 'MDCIP_DCV_4': 0, 'MDCIP_DCA_4': 0, 'MDCIP_DVW_4': 0, 'MDCIP_DCV_5': 0, 'MDCIP_DCA_5': 0, 'MDCIP_DVW_5': 0, 'MDCIP_DCV_6': 0, 'MDCIP_DCA_6': 0, 'MDCIP_DVW_6': 0, 'OPPWR': 0, 'ACOP_ACV_1': 0, 'ACOP_ACA_1': 0, 'ACOP_ACW_1': 0, 'ACOP_ACV_2': 0, 'ACOP_ACA_2': 0, 'ACOP_ACW_2': 0, 'ACOP_ACV_3': 0, 'ACOP_ACA_3': 0, 'ACOP_ACW_3': 0, 'MACOP_ACV_1': 0, 'MACOP_ACA_1': 0, 'MACOP_ACW_1': 0, 'MACOP_ACV_2': 0, 'MACOP_ACA_2': 0, 'MACOP_ACW_2': 0, 'MACOP_ACV_3': 0, 'MACOP_ACA_3': 0, 'MACOP_ACW_3': 0, 'APP': 0, 'APP1': 0, 'APP2': 0, 'APP3': 0, 'EVT1': 0, 'EVT2': 0, 'EVT3': 0, 'EVT4': 0, 'EVT5': 0, 'EVT6': 0, 'EVT7': 0, 'EVT8': 0, 'EVT9': 0, 'EVT10': 0, 'EVT11': 0, 'RCP': 0, 'COSFi': 0, 'PF': 0, 'STR1': 0, 'STR2': 0, 'STR3': 0, 'STR4': 0, 'STR5': 0, 'STR6': 0, 'STR7': 0, 'STR8': 0, 'STR9': 0, 'STR10': 0, 'STR11': 0, 'STR12': 0, 'STR13': 0, 'STR14': 0, 'STR15': 0, 'STR16': 0, 'STR17': 0, 'STR18': 0, 'STR19': 0, 'STR20': 0, 'STR21': 0, 'STR22': 0, 'STR23': 0, 'STR24': 0, 'WattH_T': 0, 'RunT_T': 0, 'WattH': 0, 'RunT': 0, 'Op_State': 0, 'RecTime': 0}, 'alarm': {}}, {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 21, 'device_category': 'inverter', 'device_id': 'DLT002', 'data': {'WSNSR': 0, 'ANLG1': 0, 'IPPWR': 0, 'DCIP_DCV_1': 0, 'DCIP_DCA_1': 0, 'DCIP_DVW_1': 0, 'DCIP_DCV_2': 0, 'DCIP_DCA_2': 0, 'DCIP_DVW_2': 0, 'DCIP_DCV_3': 0, 'DCIP_DCA_3': 0, 'DCIP_DVW_3': 0, 'DCIP_DCV_4': 0, 'DCIP_DCA_4': 0, 'DCIP_DVW_4': 0, 'DCIP_DCV_5': 0, 'DCIP_DCA_5': 0, 'DCIP_DVW_5': 0, 'DCIP_DCV_6': 0, 'DCIP_DCA_6': 0, 'DCIP_DVW_6': 0, 'MDCIP_DCV_1': 0, 'MDCIP_DCA_1': 0, 'MDCIP_DVW_1': 0, 'MDCIP_DCV_2': 0, 'MDCIP_DCA_2': 0, 'MDCIP_DVW_2': 0, 'MDCIP_DCV_3': 0, 'MDCIP_DCA_3': 0, 'MDCIP_DVW_3': 0, 'MDCIP_DCV_4': 0, 'MDCIP_DCA_4': 0, 'MDCIP_DVW_4': 0, 'MDCIP_DCV_5': 0, 'MDCIP_DCA_5': 0, 'MDCIP_DVW_5': 0, 'MDCIP_DCV_6': 0, 'MDCIP_DCA_6': 0, 'MDCIP_DVW_6': 0, 'OPPWR': 0, 'ACOP_ACV_1': 0, 'ACOP_ACA_1': 0, 'ACOP_ACW_1': 0, 'ACOP_ACV_2': 0, 'ACOP_ACA_2': 0, 'ACOP_ACW_2': 0, 'ACOP_ACV_3': 0, 'ACOP_ACA_3': 0, 'ACOP_ACW_3': 0, 'MACOP_ACV_1': 0, 'MACOP_ACA_1': 0, 'MACOP_ACW_1': 0, 'MACOP_ACV_2': 0, 'MACOP_ACA_2': 0, 'MACOP_ACW_2': 0, 'MACOP_ACV_3': 0, 'MACOP_ACA_3': 0, 'MACOP_ACW_3': 0, 'APP': 0, 'APP1': 0, 'APP2': 0, 'APP3': 0, 'EVT1': 0, 'EVT2': 0, 'EVT3': 0, 'EVT4': 0, 'EVT5': 0, 'EVT6': 0, 'EVT7': 0, 'EVT8': 0, 'EVT9': 0, 'EVT10': 0, 'EVT11': 0, 'RCP': 0, 'COSFi': 0, 'PF': 0, 'STR1': 0, 'STR2': 0, 'STR3': 0, 'STR4': 0, 'STR5': 0, 'STR6': 0, 'STR7': 0, 'STR8': 0, 'STR9': 0, 'STR10': 0, 'STR11': 0, 'STR12': 0, 'STR13': 0, 'STR14': 0, 'STR15': 0, 'STR16': 0, 'STR17': 0, 'STR18': 0, 'STR19': 0, 'STR20': 0, 'STR21': 0, 'STR22': 0, 'STR23': 0, 'STR24': 0, 'WattH_T': 0, 'RunT_T': 0, 'WattH': 0, 'RunT': 0, 'Op_State': 0, 'RecTime': 0}, 'alarm': {}}]
2019-09-10 10:11:35,922 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='0123456789'><DT V='2019-09-10 10:11:34'><SINV id='DLT001' type='INVERTER_DELTA_RPIM3'><WSNSR V='0'/><ANLG1 V='0'/><IPPWR V='0'/><OPPWR V='0'/><APP V='0'/><APP1 V='0'/><APP2 V='0'/><APP3 V='0'/><RCP V='0'/><COSFi V='0'/><PF V='0'/><WattH_T V='0'/><RunT_T V='0'/><WattH V='0'/><RunT V='0'/><Op_State V='0'/><RecTime V='0'/><DCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><MDCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><ACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><MACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP></SINV><SINV id='DLT002' type='INVERTER_DELTA_RPIM3'><WSNSR V='0'/><ANLG1 V='0'/><IPPWR V='0'/><OPPWR V='0'/><APP V='0'/><APP1 V='0'/><APP2 V='0'/><APP3 V='0'/><RCP V='0'/><COSFi V='0'/><PF V='0'/><WattH_T V='0'/><RunT_T V='0'/><WattH V='0'/><RunT V='0'/><Op_State V='0'/><RecTime V='0'/><DCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><MDCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><ACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><MACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP></SINV></DT></GATEWAY_ID>
2019-09-10 10:11:44,957 [DEBUG] ModbusDataService: [{'function_id': 4, 'start_register': 8, 'register_count': 1}]
2019-09-10 10:11:44,959 [ERROR] ModbusDataService: Error Getting Serial connection: [Errno 2] could not open port /dev/pts/9: [Errno 2] No such file or directory: '/dev/pts/9'
2019-09-10 10:11:44,959 [DEBUG] ModbusDataService: [{'function_id': 4, 'start_register': 8, 'register_count': 1}]
2019-09-10 10:11:44,959 [ERROR] ModbusDataService: Error Getting Serial connection: [Errno 2] could not open port /dev/pts/9: [Errno 2] No such file or directory: '/dev/pts/9'
2019-09-10 10:11:44,959 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 20, 'device_category': 'inverter', 'device_id': 'DLT001'}
2019-09-10 10:11:44,960 [WARNING] ModbusDecoder: Register data is empty for 04_0008. Default values will be filled.
2019-09-10 10:11:44,960 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 21, 'device_category': 'inverter', 'device_id': 'DLT002'}
2019-09-10 10:11:44,960 [WARNING] ModbusDecoder: Register data is empty for 04_0008. Default values will be filled.
2019-09-10 10:11:44,961 [INFO] MessageSender: Sending Payload
2019-09-10 10:11:44,963 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): localhost
2019-09-10 10:11:44,964 [ERROR] HttpSender: Error sending payload: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /gateway/api/upload/data/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884db73a90>: Failed to establish a new connection: [Errno 111] Connection refused',))
2019-09-10 10:11:44,965 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): localhost
2019-09-10 10:11:44,966 [ERROR] HttpSender: Error sending payload: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /gateway/api/upload/data/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884db733c8>: Failed to establish a new connection: [Errno 111] Connection refused',))
2019-09-10 10:11:44,967 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): localhost
2019-09-10 10:11:44,968 [ERROR] HttpSender: Error sending payload: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /gateway/api/upload/data/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884c0f7c88>: Failed to establish a new connection: [Errno 111] Connection refused',))
2019-09-10 10:11:44,968 [WARNING] MessageSender: Payload sending failed
2019-09-10 10:11:45,933 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 20, 'device_category': 'inverter', 'device_id': 'DLT001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'IPPWR': 0, 'DCIP_DCV_1': 0, 'DCIP_DCA_1': 0, 'DCIP_DVW_1': 0, 'DCIP_DCV_2': 0, 'DCIP_DCA_2': 0, 'DCIP_DVW_2': 0, 'DCIP_DCV_3': 0, 'DCIP_DCA_3': 0, 'DCIP_DVW_3': 0, 'DCIP_DCV_4': 0, 'DCIP_DCA_4': 0, 'DCIP_DVW_4': 0, 'DCIP_DCV_5': 0, 'DCIP_DCA_5': 0, 'DCIP_DVW_5': 0, 'DCIP_DCV_6': 0, 'DCIP_DCA_6': 0, 'DCIP_DVW_6': 0, 'MDCIP_DCV_1': 0, 'MDCIP_DCA_1': 0, 'MDCIP_DVW_1': 0, 'MDCIP_DCV_2': 0, 'MDCIP_DCA_2': 0, 'MDCIP_DVW_2': 0, 'MDCIP_DCV_3': 0, 'MDCIP_DCA_3': 0, 'MDCIP_DVW_3': 0, 'MDCIP_DCV_4': 0, 'MDCIP_DCA_4': 0, 'MDCIP_DVW_4': 0, 'MDCIP_DCV_5': 0, 'MDCIP_DCA_5': 0, 'MDCIP_DVW_5': 0, 'MDCIP_DCV_6': 0, 'MDCIP_DCA_6': 0, 'MDCIP_DVW_6': 0, 'OPPWR': 0, 'ACOP_ACV_1': 0, 'ACOP_ACA_1': 0, 'ACOP_ACW_1': 0, 'ACOP_ACV_2': 0, 'ACOP_ACA_2': 0, 'ACOP_ACW_2': 0, 'ACOP_ACV_3': 0, 'ACOP_ACA_3': 0, 'ACOP_ACW_3': 0, 'MACOP_ACV_1': 0, 'MACOP_ACA_1': 0, 'MACOP_ACW_1': 0, 'MACOP_ACV_2': 0, 'MACOP_ACA_2': 0, 'MACOP_ACW_2': 0, 'MACOP_ACV_3': 0, 'MACOP_ACA_3': 0, 'MACOP_ACW_3': 0, 'APP': 0, 'APP1': 0, 'APP2': 0, 'APP3': 0, 'EVT1': 0, 'EVT2': 0, 'EVT3': 0, 'EVT4': 0, 'EVT5': 0, 'EVT6': 0, 'EVT7': 0, 'EVT8': 0, 'EVT9': 0, 'EVT10': 0, 'EVT11': 0, 'RCP': 0, 'COSFi': 0, 'PF': 0, 'STR1': 0, 'STR2': 0, 'STR3': 0, 'STR4': 0, 'STR5': 0, 'STR6': 0, 'STR7': 0, 'STR8': 0, 'STR9': 0, 'STR10': 0, 'STR11': 0, 'STR12': 0, 'STR13': 0, 'STR14': 0, 'STR15': 0, 'STR16': 0, 'STR17': 0, 'STR18': 0, 'STR19': 0, 'STR20': 0, 'STR21': 0, 'STR22': 0, 'STR23': 0, 'STR24': 0, 'WattH_T': 0, 'RunT_T': 0, 'WattH': 0, 'RunT': 0, 'Op_State': 0, 'RecTime': 0}, 'alarm': {}}, {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 21, 'device_category': 'inverter', 'device_id': 'DLT002', 'data': {'WSNSR': 0, 'ANLG1': 0, 'IPPWR': 0, 'DCIP_DCV_1': 0, 'DCIP_DCA_1': 0, 'DCIP_DVW_1': 0, 'DCIP_DCV_2': 0, 'DCIP_DCA_2': 0, 'DCIP_DVW_2': 0, 'DCIP_DCV_3': 0, 'DCIP_DCA_3': 0, 'DCIP_DVW_3': 0, 'DCIP_DCV_4': 0, 'DCIP_DCA_4': 0, 'DCIP_DVW_4': 0, 'DCIP_DCV_5': 0, 'DCIP_DCA_5': 0, 'DCIP_DVW_5': 0, 'DCIP_DCV_6': 0, 'DCIP_DCA_6': 0, 'DCIP_DVW_6': 0, 'MDCIP_DCV_1': 0, 'MDCIP_DCA_1': 0, 'MDCIP_DVW_1': 0, 'MDCIP_DCV_2': 0, 'MDCIP_DCA_2': 0, 'MDCIP_DVW_2': 0, 'MDCIP_DCV_3': 0, 'MDCIP_DCA_3': 0, 'MDCIP_DVW_3': 0, 'MDCIP_DCV_4': 0, 'MDCIP_DCA_4': 0, 'MDCIP_DVW_4': 0, 'MDCIP_DCV_5': 0, 'MDCIP_DCA_5': 0, 'MDCIP_DVW_5': 0, 'MDCIP_DCV_6': 0, 'MDCIP_DCA_6': 0, 'MDCIP_DVW_6': 0, 'OPPWR': 0, 'ACOP_ACV_1': 0, 'ACOP_ACA_1': 0, 'ACOP_ACW_1': 0, 'ACOP_ACV_2': 0, 'ACOP_ACA_2': 0, 'ACOP_ACW_2': 0, 'ACOP_ACV_3': 0, 'ACOP_ACA_3': 0, 'ACOP_ACW_3': 0, 'MACOP_ACV_1': 0, 'MACOP_ACA_1': 0, 'MACOP_ACW_1': 0, 'MACOP_ACV_2': 0, 'MACOP_ACA_2': 0, 'MACOP_ACW_2': 0, 'MACOP_ACV_3': 0, 'MACOP_ACA_3': 0, 'MACOP_ACW_3': 0, 'APP': 0, 'APP1': 0, 'APP2': 0, 'APP3': 0, 'EVT1': 0, 'EVT2': 0, 'EVT3': 0, 'EVT4': 0, 'EVT5': 0, 'EVT6': 0, 'EVT7': 0, 'EVT8': 0, 'EVT9': 0, 'EVT10': 0, 'EVT11': 0, 'RCP': 0, 'COSFi': 0, 'PF': 0, 'STR1': 0, 'STR2': 0, 'STR3': 0, 'STR4': 0, 'STR5': 0, 'STR6': 0, 'STR7': 0, 'STR8': 0, 'STR9': 0, 'STR10': 0, 'STR11': 0, 'STR12': 0, 'STR13': 0, 'STR14': 0, 'STR15': 0, 'STR16': 0, 'STR17': 0, 'STR18': 0, 'STR19': 0, 'STR20': 0, 'STR21': 0, 'STR22': 0, 'STR23': 0, 'STR24': 0, 'WattH_T': 0, 'RunT_T': 0, 'WattH': 0, 'RunT': 0, 'Op_State': 0, 'RecTime': 0}, 'alarm': {}}]
2019-09-10 10:11:45,935 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='0123456789'><DT V='2019-09-10 10:11:44'><SINV id='DLT001' type='INVERTER_DELTA_RPIM3'><WSNSR V='0'/><ANLG1 V='0'/><IPPWR V='0'/><OPPWR V='0'/><APP V='0'/><APP1 V='0'/><APP2 V='0'/><APP3 V='0'/><RCP V='0'/><COSFi V='0'/><PF V='0'/><WattH_T V='0'/><RunT_T V='0'/><WattH V='0'/><RunT V='0'/><Op_State V='0'/><RecTime V='0'/><DCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><MDCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><ACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><MACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP></SINV><SINV id='DLT002' type='INVERTER_DELTA_RPIM3'><WSNSR V='0'/><ANLG1 V='0'/><IPPWR V='0'/><OPPWR V='0'/><APP V='0'/><APP1 V='0'/><APP2 V='0'/><APP3 V='0'/><RCP V='0'/><COSFi V='0'/><PF V='0'/><WattH_T V='0'/><RunT_T V='0'/><WattH V='0'/><RunT V='0'/><Op_State V='0'/><RecTime V='0'/><DCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><MDCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><ACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><MACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP></SINV></DT></GATEWAY_ID>
2019-09-10 10:11:54,967 [DEBUG] ModbusDataService: [{'function_id': 4, 'start_register': 8, 'register_count': 1}]
2019-09-10 10:11:54,968 [ERROR] ModbusDataService: Error Getting Serial connection: [Errno 2] could not open port /dev/pts/9: [Errno 2] No such file or directory: '/dev/pts/9'
2019-09-10 10:11:54,968 [DEBUG] ModbusDataService: [{'function_id': 4, 'start_register': 8, 'register_count': 1}]
2019-09-10 10:11:54,969 [ERROR] ModbusDataService: Error Getting Serial connection: [Errno 2] could not open port /dev/pts/9: [Errno 2] No such file or directory: '/dev/pts/9'
2019-09-10 10:11:54,969 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 20, 'device_category': 'inverter', 'device_id': 'DLT001'}
2019-09-10 10:11:54,969 [WARNING] ModbusDecoder: Register data is empty for 04_0008. Default values will be filled.
2019-09-10 10:11:54,969 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 21, 'device_category': 'inverter', 'device_id': 'DLT002'}
2019-09-10 10:11:54,969 [WARNING] ModbusDecoder: Register data is empty for 04_0008. Default values will be filled.
2019-09-10 10:11:54,977 [INFO] MessageSender: Sending Payload
2019-09-10 10:11:54,981 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): localhost
2019-09-10 10:11:54,982 [ERROR] HttpSender: Error sending payload: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /gateway/api/upload/data/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884c0f72b0>: Failed to establish a new connection: [Errno 111] Connection refused',))
2019-09-10 10:11:54,985 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): localhost
2019-09-10 10:11:54,986 [ERROR] HttpSender: Error sending payload: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /gateway/api/upload/data/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884c105400>: Failed to establish a new connection: [Errno 111] Connection refused',))
2019-09-10 10:11:54,988 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): localhost
2019-09-10 10:11:54,990 [ERROR] HttpSender: Error sending payload: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /gateway/api/upload/data/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884c105ac8>: Failed to establish a new connection: [Errno 111] Connection refused',))
2019-09-10 10:11:54,991 [WARNING] MessageSender: Payload sending failed
2019-09-10 10:11:55,941 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 20, 'device_category': 'inverter', 'device_id': 'DLT001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'IPPWR': 0, 'DCIP_DCV_1': 0, 'DCIP_DCA_1': 0, 'DCIP_DVW_1': 0, 'DCIP_DCV_2': 0, 'DCIP_DCA_2': 0, 'DCIP_DVW_2': 0, 'DCIP_DCV_3': 0, 'DCIP_DCA_3': 0, 'DCIP_DVW_3': 0, 'DCIP_DCV_4': 0, 'DCIP_DCA_4': 0, 'DCIP_DVW_4': 0, 'DCIP_DCV_5': 0, 'DCIP_DCA_5': 0, 'DCIP_DVW_5': 0, 'DCIP_DCV_6': 0, 'DCIP_DCA_6': 0, 'DCIP_DVW_6': 0, 'MDCIP_DCV_1': 0, 'MDCIP_DCA_1': 0, 'MDCIP_DVW_1': 0, 'MDCIP_DCV_2': 0, 'MDCIP_DCA_2': 0, 'MDCIP_DVW_2': 0, 'MDCIP_DCV_3': 0, 'MDCIP_DCA_3': 0, 'MDCIP_DVW_3': 0, 'MDCIP_DCV_4': 0, 'MDCIP_DCA_4': 0, 'MDCIP_DVW_4': 0, 'MDCIP_DCV_5': 0, 'MDCIP_DCA_5': 0, 'MDCIP_DVW_5': 0, 'MDCIP_DCV_6': 0, 'MDCIP_DCA_6': 0, 'MDCIP_DVW_6': 0, 'OPPWR': 0, 'ACOP_ACV_1': 0, 'ACOP_ACA_1': 0, 'ACOP_ACW_1': 0, 'ACOP_ACV_2': 0, 'ACOP_ACA_2': 0, 'ACOP_ACW_2': 0, 'ACOP_ACV_3': 0, 'ACOP_ACA_3': 0, 'ACOP_ACW_3': 0, 'MACOP_ACV_1': 0, 'MACOP_ACA_1': 0, 'MACOP_ACW_1': 0, 'MACOP_ACV_2': 0, 'MACOP_ACA_2': 0, 'MACOP_ACW_2': 0, 'MACOP_ACV_3': 0, 'MACOP_ACA_3': 0, 'MACOP_ACW_3': 0, 'APP': 0, 'APP1': 0, 'APP2': 0, 'APP3': 0, 'EVT1': 0, 'EVT2': 0, 'EVT3': 0, 'EVT4': 0, 'EVT5': 0, 'EVT6': 0, 'EVT7': 0, 'EVT8': 0, 'EVT9': 0, 'EVT10': 0, 'EVT11': 0, 'RCP': 0, 'COSFi': 0, 'PF': 0, 'STR1': 0, 'STR2': 0, 'STR3': 0, 'STR4': 0, 'STR5': 0, 'STR6': 0, 'STR7': 0, 'STR8': 0, 'STR9': 0, 'STR10': 0, 'STR11': 0, 'STR12': 0, 'STR13': 0, 'STR14': 0, 'STR15': 0, 'STR16': 0, 'STR17': 0, 'STR18': 0, 'STR19': 0, 'STR20': 0, 'STR21': 0, 'STR22': 0, 'STR23': 0, 'STR24': 0, 'WattH_T': 0, 'RunT_T': 0, 'WattH': 0, 'RunT': 0, 'Op_State': 0, 'RecTime': 0}, 'alarm': {}}, {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 21, 'device_category': 'inverter', 'device_id': 'DLT002', 'data': {'WSNSR': 0, 'ANLG1': 0, 'IPPWR': 0, 'DCIP_DCV_1': 0, 'DCIP_DCA_1': 0, 'DCIP_DVW_1': 0, 'DCIP_DCV_2': 0, 'DCIP_DCA_2': 0, 'DCIP_DVW_2': 0, 'DCIP_DCV_3': 0, 'DCIP_DCA_3': 0, 'DCIP_DVW_3': 0, 'DCIP_DCV_4': 0, 'DCIP_DCA_4': 0, 'DCIP_DVW_4': 0, 'DCIP_DCV_5': 0, 'DCIP_DCA_5': 0, 'DCIP_DVW_5': 0, 'DCIP_DCV_6': 0, 'DCIP_DCA_6': 0, 'DCIP_DVW_6': 0, 'MDCIP_DCV_1': 0, 'MDCIP_DCA_1': 0, 'MDCIP_DVW_1': 0, 'MDCIP_DCV_2': 0, 'MDCIP_DCA_2': 0, 'MDCIP_DVW_2': 0, 'MDCIP_DCV_3': 0, 'MDCIP_DCA_3': 0, 'MDCIP_DVW_3': 0, 'MDCIP_DCV_4': 0, 'MDCIP_DCA_4': 0, 'MDCIP_DVW_4': 0, 'MDCIP_DCV_5': 0, 'MDCIP_DCA_5': 0, 'MDCIP_DVW_5': 0, 'MDCIP_DCV_6': 0, 'MDCIP_DCA_6': 0, 'MDCIP_DVW_6': 0, 'OPPWR': 0, 'ACOP_ACV_1': 0, 'ACOP_ACA_1': 0, 'ACOP_ACW_1': 0, 'ACOP_ACV_2': 0, 'ACOP_ACA_2': 0, 'ACOP_ACW_2': 0, 'ACOP_ACV_3': 0, 'ACOP_ACA_3': 0, 'ACOP_ACW_3': 0, 'MACOP_ACV_1': 0, 'MACOP_ACA_1': 0, 'MACOP_ACW_1': 0, 'MACOP_ACV_2': 0, 'MACOP_ACA_2': 0, 'MACOP_ACW_2': 0, 'MACOP_ACV_3': 0, 'MACOP_ACA_3': 0, 'MACOP_ACW_3': 0, 'APP': 0, 'APP1': 0, 'APP2': 0, 'APP3': 0, 'EVT1': 0, 'EVT2': 0, 'EVT3': 0, 'EVT4': 0, 'EVT5': 0, 'EVT6': 0, 'EVT7': 0, 'EVT8': 0, 'EVT9': 0, 'EVT10': 0, 'EVT11': 0, 'RCP': 0, 'COSFi': 0, 'PF': 0, 'STR1': 0, 'STR2': 0, 'STR3': 0, 'STR4': 0, 'STR5': 0, 'STR6': 0, 'STR7': 0, 'STR8': 0, 'STR9': 0, 'STR10': 0, 'STR11': 0, 'STR12': 0, 'STR13': 0, 'STR14': 0, 'STR15': 0, 'STR16': 0, 'STR17': 0, 'STR18': 0, 'STR19': 0, 'STR20': 0, 'STR21': 0, 'STR22': 0, 'STR23': 0, 'STR24': 0, 'WattH_T': 0, 'RunT_T': 0, 'WattH': 0, 'RunT': 0, 'Op_State': 0, 'RecTime': 0}, 'alarm': {}}]
2019-09-10 10:11:55,942 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='0123456789'><DT V='2019-09-10 10:11:54'><SINV id='DLT001' type='INVERTER_DELTA_RPIM3'><WSNSR V='0'/><ANLG1 V='0'/><IPPWR V='0'/><OPPWR V='0'/><APP V='0'/><APP1 V='0'/><APP2 V='0'/><APP3 V='0'/><RCP V='0'/><COSFi V='0'/><PF V='0'/><WattH_T V='0'/><RunT_T V='0'/><WattH V='0'/><RunT V='0'/><Op_State V='0'/><RecTime V='0'/><DCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><MDCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><ACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><MACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP></SINV><SINV id='DLT002' type='INVERTER_DELTA_RPIM3'><WSNSR V='0'/><ANLG1 V='0'/><IPPWR V='0'/><OPPWR V='0'/><APP V='0'/><APP1 V='0'/><APP2 V='0'/><APP3 V='0'/><RCP V='0'/><COSFi V='0'/><PF V='0'/><WattH_T V='0'/><RunT_T V='0'/><WattH V='0'/><RunT V='0'/><Op_State V='0'/><RecTime V='0'/><DCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><MDCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><ACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><MACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP></SINV></DT></GATEWAY_ID>
2019-09-10 10:12:04,977 [DEBUG] ModbusDataService: [{'function_id': 4, 'start_register': 8, 'register_count': 1}]
2019-09-10 10:12:04,978 [ERROR] ModbusDataService: Error Getting Serial connection: [Errno 2] could not open port /dev/pts/9: [Errno 2] No such file or directory: '/dev/pts/9'
2019-09-10 10:12:04,978 [DEBUG] ModbusDataService: [{'function_id': 4, 'start_register': 8, 'register_count': 1}]
2019-09-10 10:12:04,979 [ERROR] ModbusDataService: Error Getting Serial connection: [Errno 2] could not open port /dev/pts/9: [Errno 2] No such file or directory: '/dev/pts/9'
2019-09-10 10:12:04,980 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 20, 'device_category': 'inverter', 'device_id': 'DLT001'}
2019-09-10 10:12:04,981 [WARNING] ModbusDecoder: Register data is empty for 04_0008. Default values will be filled.
2019-09-10 10:12:04,981 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 21, 'device_category': 'inverter', 'device_id': 'DLT002'}
2019-09-10 10:12:04,982 [WARNING] ModbusDecoder: Register data is empty for 04_0008. Default values will be filled.
2019-09-10 10:12:04,997 [INFO] MessageSender: Sending Payload
2019-09-10 10:12:05,002 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): localhost
2019-09-10 10:12:05,005 [ERROR] HttpSender: Error sending payload: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /gateway/api/upload/data/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884db73978>: Failed to establish a new connection: [Errno 111] Connection refused',))
2019-09-10 10:12:05,007 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): localhost
2019-09-10 10:12:05,008 [ERROR] HttpSender: Error sending payload: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /gateway/api/upload/data/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884c0f7eb8>: Failed to establish a new connection: [Errno 111] Connection refused',))
2019-09-10 10:12:05,010 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): localhost
2019-09-10 10:12:05,011 [ERROR] HttpSender: Error sending payload: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /gateway/api/upload/data/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884c0f71d0>: Failed to establish a new connection: [Errno 111] Connection refused',))
2019-09-10 10:12:05,011 [WARNING] MessageSender: Payload sending failed
2019-09-10 10:12:05,953 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 20, 'device_category': 'inverter', 'device_id': 'DLT001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'IPPWR': 0, 'DCIP_DCV_1': 0, 'DCIP_DCA_1': 0, 'DCIP_DVW_1': 0, 'DCIP_DCV_2': 0, 'DCIP_DCA_2': 0, 'DCIP_DVW_2': 0, 'DCIP_DCV_3': 0, 'DCIP_DCA_3': 0, 'DCIP_DVW_3': 0, 'DCIP_DCV_4': 0, 'DCIP_DCA_4': 0, 'DCIP_DVW_4': 0, 'DCIP_DCV_5': 0, 'DCIP_DCA_5': 0, 'DCIP_DVW_5': 0, 'DCIP_DCV_6': 0, 'DCIP_DCA_6': 0, 'DCIP_DVW_6': 0, 'MDCIP_DCV_1': 0, 'MDCIP_DCA_1': 0, 'MDCIP_DVW_1': 0, 'MDCIP_DCV_2': 0, 'MDCIP_DCA_2': 0, 'MDCIP_DVW_2': 0, 'MDCIP_DCV_3': 0, 'MDCIP_DCA_3': 0, 'MDCIP_DVW_3': 0, 'MDCIP_DCV_4': 0, 'MDCIP_DCA_4': 0, 'MDCIP_DVW_4': 0, 'MDCIP_DCV_5': 0, 'MDCIP_DCA_5': 0, 'MDCIP_DVW_5': 0, 'MDCIP_DCV_6': 0, 'MDCIP_DCA_6': 0, 'MDCIP_DVW_6': 0, 'OPPWR': 0, 'ACOP_ACV_1': 0, 'ACOP_ACA_1': 0, 'ACOP_ACW_1': 0, 'ACOP_ACV_2': 0, 'ACOP_ACA_2': 0, 'ACOP_ACW_2': 0, 'ACOP_ACV_3': 0, 'ACOP_ACA_3': 0, 'ACOP_ACW_3': 0, 'MACOP_ACV_1': 0, 'MACOP_ACA_1': 0, 'MACOP_ACW_1': 0, 'MACOP_ACV_2': 0, 'MACOP_ACA_2': 0, 'MACOP_ACW_2': 0, 'MACOP_ACV_3': 0, 'MACOP_ACA_3': 0, 'MACOP_ACW_3': 0, 'APP': 0, 'APP1': 0, 'APP2': 0, 'APP3': 0, 'EVT1': 0, 'EVT2': 0, 'EVT3': 0, 'EVT4': 0, 'EVT5': 0, 'EVT6': 0, 'EVT7': 0, 'EVT8': 0, 'EVT9': 0, 'EVT10': 0, 'EVT11': 0, 'RCP': 0, 'COSFi': 0, 'PF': 0, 'STR1': 0, 'STR2': 0, 'STR3': 0, 'STR4': 0, 'STR5': 0, 'STR6': 0, 'STR7': 0, 'STR8': 0, 'STR9': 0, 'STR10': 0, 'STR11': 0, 'STR12': 0, 'STR13': 0, 'STR14': 0, 'STR15': 0, 'STR16': 0, 'STR17': 0, 'STR18': 0, 'STR19': 0, 'STR20': 0, 'STR21': 0, 'STR22': 0, 'STR23': 0, 'STR24': 0, 'WattH_T': 0, 'RunT_T': 0, 'WattH': 0, 'RunT': 0, 'Op_State': 0, 'RecTime': 0}, 'alarm': {}}, {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 21, 'device_category': 'inverter', 'device_id': 'DLT002', 'data': {'WSNSR': 0, 'ANLG1': 0, 'IPPWR': 0, 'DCIP_DCV_1': 0, 'DCIP_DCA_1': 0, 'DCIP_DVW_1': 0, 'DCIP_DCV_2': 0, 'DCIP_DCA_2': 0, 'DCIP_DVW_2': 0, 'DCIP_DCV_3': 0, 'DCIP_DCA_3': 0, 'DCIP_DVW_3': 0, 'DCIP_DCV_4': 0, 'DCIP_DCA_4': 0, 'DCIP_DVW_4': 0, 'DCIP_DCV_5': 0, 'DCIP_DCA_5': 0, 'DCIP_DVW_5': 0, 'DCIP_DCV_6': 0, 'DCIP_DCA_6': 0, 'DCIP_DVW_6': 0, 'MDCIP_DCV_1': 0, 'MDCIP_DCA_1': 0, 'MDCIP_DVW_1': 0, 'MDCIP_DCV_2': 0, 'MDCIP_DCA_2': 0, 'MDCIP_DVW_2': 0, 'MDCIP_DCV_3': 0, 'MDCIP_DCA_3': 0, 'MDCIP_DVW_3': 0, 'MDCIP_DCV_4': 0, 'MDCIP_DCA_4': 0, 'MDCIP_DVW_4': 0, 'MDCIP_DCV_5': 0, 'MDCIP_DCA_5': 0, 'MDCIP_DVW_5': 0, 'MDCIP_DCV_6': 0, 'MDCIP_DCA_6': 0, 'MDCIP_DVW_6': 0, 'OPPWR': 0, 'ACOP_ACV_1': 0, 'ACOP_ACA_1': 0, 'ACOP_ACW_1': 0, 'ACOP_ACV_2': 0, 'ACOP_ACA_2': 0, 'ACOP_ACW_2': 0, 'ACOP_ACV_3': 0, 'ACOP_ACA_3': 0, 'ACOP_ACW_3': 0, 'MACOP_ACV_1': 0, 'MACOP_ACA_1': 0, 'MACOP_ACW_1': 0, 'MACOP_ACV_2': 0, 'MACOP_ACA_2': 0, 'MACOP_ACW_2': 0, 'MACOP_ACV_3': 0, 'MACOP_ACA_3': 0, 'MACOP_ACW_3': 0, 'APP': 0, 'APP1': 0, 'APP2': 0, 'APP3': 0, 'EVT1': 0, 'EVT2': 0, 'EVT3': 0, 'EVT4': 0, 'EVT5': 0, 'EVT6': 0, 'EVT7': 0, 'EVT8': 0, 'EVT9': 0, 'EVT10': 0, 'EVT11': 0, 'RCP': 0, 'COSFi': 0, 'PF': 0, 'STR1': 0, 'STR2': 0, 'STR3': 0, 'STR4': 0, 'STR5': 0, 'STR6': 0, 'STR7': 0, 'STR8': 0, 'STR9': 0, 'STR10': 0, 'STR11': 0, 'STR12': 0, 'STR13': 0, 'STR14': 0, 'STR15': 0, 'STR16': 0, 'STR17': 0, 'STR18': 0, 'STR19': 0, 'STR20': 0, 'STR21': 0, 'STR22': 0, 'STR23': 0, 'STR24': 0, 'WattH_T': 0, 'RunT_T': 0, 'WattH': 0, 'RunT': 0, 'Op_State': 0, 'RecTime': 0}, 'alarm': {}}]
2019-09-10 10:12:05,954 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='0123456789'><DT V='2019-09-10 10:12:04'><SINV id='DLT001' type='INVERTER_DELTA_RPIM3'><WSNSR V='0'/><ANLG1 V='0'/><IPPWR V='0'/><OPPWR V='0'/><APP V='0'/><APP1 V='0'/><APP2 V='0'/><APP3 V='0'/><RCP V='0'/><COSFi V='0'/><PF V='0'/><WattH_T V='0'/><RunT_T V='0'/><WattH V='0'/><RunT V='0'/><Op_State V='0'/><RecTime V='0'/><DCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><MDCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><ACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><MACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP></SINV><SINV id='DLT002' type='INVERTER_DELTA_RPIM3'><WSNSR V='0'/><ANLG1 V='0'/><IPPWR V='0'/><OPPWR V='0'/><APP V='0'/><APP1 V='0'/><APP2 V='0'/><APP3 V='0'/><RCP V='0'/><COSFi V='0'/><PF V='0'/><WattH_T V='0'/><RunT_T V='0'/><WattH V='0'/><RunT V='0'/><Op_State V='0'/><RecTime V='0'/><DCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><MDCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><ACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><MACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP></SINV></DT></GATEWAY_ID>
2019-09-10 10:12:14,983 [DEBUG] ModbusDataService: [{'function_id': 4, 'start_register': 8, 'register_count': 1}]
2019-09-10 10:12:14,984 [ERROR] ModbusDataService: Error Getting Serial connection: [Errno 2] could not open port /dev/pts/9: [Errno 2] No such file or directory: '/dev/pts/9'
2019-09-10 10:12:14,984 [DEBUG] ModbusDataService: [{'function_id': 4, 'start_register': 8, 'register_count': 1}]
2019-09-10 10:12:14,984 [ERROR] ModbusDataService: Error Getting Serial connection: [Errno 2] could not open port /dev/pts/9: [Errno 2] No such file or directory: '/dev/pts/9'
2019-09-10 10:12:14,984 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 20, 'device_category': 'inverter', 'device_id': 'DLT001'}
2019-09-10 10:12:14,985 [WARNING] ModbusDecoder: Register data is empty for 04_0008. Default values will be filled.
2019-09-10 10:12:14,985 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 21, 'device_category': 'inverter', 'device_id': 'DLT002'}
2019-09-10 10:12:14,985 [WARNING] ModbusDecoder: Register data is empty for 04_0008. Default values will be filled.
2019-09-10 10:12:15,021 [INFO] MessageSender: Sending Payload
2019-09-10 10:12:15,025 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): localhost
2019-09-10 10:12:15,026 [ERROR] HttpSender: Error sending payload: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /gateway/api/upload/data/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884c0f7cf8>: Failed to establish a new connection: [Errno 111] Connection refused',))
2019-09-10 10:12:15,028 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): localhost
2019-09-10 10:12:15,029 [ERROR] HttpSender: Error sending payload: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /gateway/api/upload/data/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884db56da0>: Failed to establish a new connection: [Errno 111] Connection refused',))
2019-09-10 10:12:15,031 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): localhost
2019-09-10 10:12:15,032 [ERROR] HttpSender: Error sending payload: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /gateway/api/upload/data/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884c1050b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
2019-09-10 10:12:15,033 [WARNING] MessageSender: Payload sending failed
2019-09-10 10:12:15,965 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 20, 'device_category': 'inverter', 'device_id': 'DLT001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'IPPWR': 0, 'DCIP_DCV_1': 0, 'DCIP_DCA_1': 0, 'DCIP_DVW_1': 0, 'DCIP_DCV_2': 0, 'DCIP_DCA_2': 0, 'DCIP_DVW_2': 0, 'DCIP_DCV_3': 0, 'DCIP_DCA_3': 0, 'DCIP_DVW_3': 0, 'DCIP_DCV_4': 0, 'DCIP_DCA_4': 0, 'DCIP_DVW_4': 0, 'DCIP_DCV_5': 0, 'DCIP_DCA_5': 0, 'DCIP_DVW_5': 0, 'DCIP_DCV_6': 0, 'DCIP_DCA_6': 0, 'DCIP_DVW_6': 0, 'MDCIP_DCV_1': 0, 'MDCIP_DCA_1': 0, 'MDCIP_DVW_1': 0, 'MDCIP_DCV_2': 0, 'MDCIP_DCA_2': 0, 'MDCIP_DVW_2': 0, 'MDCIP_DCV_3': 0, 'MDCIP_DCA_3': 0, 'MDCIP_DVW_3': 0, 'MDCIP_DCV_4': 0, 'MDCIP_DCA_4': 0, 'MDCIP_DVW_4': 0, 'MDCIP_DCV_5': 0, 'MDCIP_DCA_5': 0, 'MDCIP_DVW_5': 0, 'MDCIP_DCV_6': 0, 'MDCIP_DCA_6': 0, 'MDCIP_DVW_6': 0, 'OPPWR': 0, 'ACOP_ACV_1': 0, 'ACOP_ACA_1': 0, 'ACOP_ACW_1': 0, 'ACOP_ACV_2': 0, 'ACOP_ACA_2': 0, 'ACOP_ACW_2': 0, 'ACOP_ACV_3': 0, 'ACOP_ACA_3': 0, 'ACOP_ACW_3': 0, 'MACOP_ACV_1': 0, 'MACOP_ACA_1': 0, 'MACOP_ACW_1': 0, 'MACOP_ACV_2': 0, 'MACOP_ACA_2': 0, 'MACOP_ACW_2': 0, 'MACOP_ACV_3': 0, 'MACOP_ACA_3': 0, 'MACOP_ACW_3': 0, 'APP': 0, 'APP1': 0, 'APP2': 0, 'APP3': 0, 'EVT1': 0, 'EVT2': 0, 'EVT3': 0, 'EVT4': 0, 'EVT5': 0, 'EVT6': 0, 'EVT7': 0, 'EVT8': 0, 'EVT9': 0, 'EVT10': 0, 'EVT11': 0, 'RCP': 0, 'COSFi': 0, 'PF': 0, 'STR1': 0, 'STR2': 0, 'STR3': 0, 'STR4': 0, 'STR5': 0, 'STR6': 0, 'STR7': 0, 'STR8': 0, 'STR9': 0, 'STR10': 0, 'STR11': 0, 'STR12': 0, 'STR13': 0, 'STR14': 0, 'STR15': 0, 'STR16': 0, 'STR17': 0, 'STR18': 0, 'STR19': 0, 'STR20': 0, 'STR21': 0, 'STR22': 0, 'STR23': 0, 'STR24': 0, 'WattH_T': 0, 'RunT_T': 0, 'WattH': 0, 'RunT': 0, 'Op_State': 0, 'RecTime': 0}, 'alarm': {}}, {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 21, 'device_category': 'inverter', 'device_id': 'DLT002', 'data': {'WSNSR': 0, 'ANLG1': 0, 'IPPWR': 0, 'DCIP_DCV_1': 0, 'DCIP_DCA_1': 0, 'DCIP_DVW_1': 0, 'DCIP_DCV_2': 0, 'DCIP_DCA_2': 0, 'DCIP_DVW_2': 0, 'DCIP_DCV_3': 0, 'DCIP_DCA_3': 0, 'DCIP_DVW_3': 0, 'DCIP_DCV_4': 0, 'DCIP_DCA_4': 0, 'DCIP_DVW_4': 0, 'DCIP_DCV_5': 0, 'DCIP_DCA_5': 0, 'DCIP_DVW_5': 0, 'DCIP_DCV_6': 0, 'DCIP_DCA_6': 0, 'DCIP_DVW_6': 0, 'MDCIP_DCV_1': 0, 'MDCIP_DCA_1': 0, 'MDCIP_DVW_1': 0, 'MDCIP_DCV_2': 0, 'MDCIP_DCA_2': 0, 'MDCIP_DVW_2': 0, 'MDCIP_DCV_3': 0, 'MDCIP_DCA_3': 0, 'MDCIP_DVW_3': 0, 'MDCIP_DCV_4': 0, 'MDCIP_DCA_4': 0, 'MDCIP_DVW_4': 0, 'MDCIP_DCV_5': 0, 'MDCIP_DCA_5': 0, 'MDCIP_DVW_5': 0, 'MDCIP_DCV_6': 0, 'MDCIP_DCA_6': 0, 'MDCIP_DVW_6': 0, 'OPPWR': 0, 'ACOP_ACV_1': 0, 'ACOP_ACA_1': 0, 'ACOP_ACW_1': 0, 'ACOP_ACV_2': 0, 'ACOP_ACA_2': 0, 'ACOP_ACW_2': 0, 'ACOP_ACV_3': 0, 'ACOP_ACA_3': 0, 'ACOP_ACW_3': 0, 'MACOP_ACV_1': 0, 'MACOP_ACA_1': 0, 'MACOP_ACW_1': 0, 'MACOP_ACV_2': 0, 'MACOP_ACA_2': 0, 'MACOP_ACW_2': 0, 'MACOP_ACV_3': 0, 'MACOP_ACA_3': 0, 'MACOP_ACW_3': 0, 'APP': 0, 'APP1': 0, 'APP2': 0, 'APP3': 0, 'EVT1': 0, 'EVT2': 0, 'EVT3': 0, 'EVT4': 0, 'EVT5': 0, 'EVT6': 0, 'EVT7': 0, 'EVT8': 0, 'EVT9': 0, 'EVT10': 0, 'EVT11': 0, 'RCP': 0, 'COSFi': 0, 'PF': 0, 'STR1': 0, 'STR2': 0, 'STR3': 0, 'STR4': 0, 'STR5': 0, 'STR6': 0, 'STR7': 0, 'STR8': 0, 'STR9': 0, 'STR10': 0, 'STR11': 0, 'STR12': 0, 'STR13': 0, 'STR14': 0, 'STR15': 0, 'STR16': 0, 'STR17': 0, 'STR18': 0, 'STR19': 0, 'STR20': 0, 'STR21': 0, 'STR22': 0, 'STR23': 0, 'STR24': 0, 'WattH_T': 0, 'RunT_T': 0, 'WattH': 0, 'RunT': 0, 'Op_State': 0, 'RecTime': 0}, 'alarm': {}}]
2019-09-10 10:12:15,966 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='0123456789'><DT V='2019-09-10 10:12:14'><SINV id='DLT001' type='INVERTER_DELTA_RPIM3'><WSNSR V='0'/><ANLG1 V='0'/><IPPWR V='0'/><OPPWR V='0'/><APP V='0'/><APP1 V='0'/><APP2 V='0'/><APP3 V='0'/><RCP V='0'/><COSFi V='0'/><PF V='0'/><WattH_T V='0'/><RunT_T V='0'/><WattH V='0'/><RunT V='0'/><Op_State V='0'/><RecTime V='0'/><DCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><MDCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><ACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><MACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP></SINV><SINV id='DLT002' type='INVERTER_DELTA_RPIM3'><WSNSR V='0'/><ANLG1 V='0'/><IPPWR V='0'/><OPPWR V='0'/><APP V='0'/><APP1 V='0'/><APP2 V='0'/><APP3 V='0'/><RCP V='0'/><COSFi V='0'/><PF V='0'/><WattH_T V='0'/><RunT_T V='0'/><WattH V='0'/><RunT V='0'/><Op_State V='0'/><RecTime V='0'/><DCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><MDCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><ACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><MACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP></SINV></DT></GATEWAY_ID>
2019-09-10 10:12:18,250 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in
2019-09-10 10:12:19,298 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "GET /gateway/api/generalconfig/query/0123456789/ HTTP/1.1" 200 None
2019-09-10 10:12:19,341 [INFO] UpgradeFw: Main config update successful with main_config_url_fix
2019-09-10 10:12:19,341 [ERROR] ProcessMonitor: Unable to send payload. Going to reboot
2019-09-10 10:12:24,996 [DEBUG] ModbusDataService: [{'function_id': 4, 'start_register': 8, 'register_count': 1}]
2019-09-10 10:12:24,997 [ERROR] ModbusDataService: Error Getting Serial connection: [Errno 2] could not open port /dev/pts/9: [Errno 2] No such file or directory: '/dev/pts/9'
2019-09-10 10:12:24,997 [DEBUG] ModbusDataService: [{'function_id': 4, 'start_register': 8, 'register_count': 1}]
2019-09-10 10:12:24,997 [ERROR] ModbusDataService: Error Getting Serial connection: [Errno 2] could not open port /dev/pts/9: [Errno 2] No such file or directory: '/dev/pts/9'
2019-09-10 10:12:24,997 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 20, 'device_category': 'inverter', 'device_id': 'DLT001'}
2019-09-10 10:12:24,997 [WARNING] ModbusDecoder: Register data is empty for 04_0008. Default values will be filled.
2019-09-10 10:12:24,998 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 21, 'device_category': 'inverter', 'device_id': 'DLT002'}
2019-09-10 10:12:24,998 [WARNING] ModbusDecoder: Register data is empty for 04_0008. Default values will be filled.
2019-09-10 10:12:25,041 [INFO] MessageSender: Sending Payload
2019-09-10 10:12:25,043 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): localhost
2019-09-10 10:12:25,044 [ERROR] HttpSender: Error sending payload: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /gateway/api/upload/data/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884c105278>: Failed to establish a new connection: [Errno 111] Connection refused',))
2019-09-10 10:12:25,046 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): localhost
2019-09-10 10:12:25,046 [ERROR] HttpSender: Error sending payload: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /gateway/api/upload/data/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884db612b0>: Failed to establish a new connection: [Errno 111] Connection refused',))
2019-09-10 10:12:25,048 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): localhost
2019-09-10 10:12:25,048 [ERROR] HttpSender: Error sending payload: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /gateway/api/upload/data/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884c0f7b70>: Failed to establish a new connection: [Errno 111] Connection refused',))
2019-09-10 10:12:25,048 [WARNING] MessageSender: Payload sending failed
2019-09-10 10:12:25,977 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 20, 'device_category': 'inverter', 'device_id': 'DLT001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'IPPWR': 0, 'DCIP_DCV_1': 0, 'DCIP_DCA_1': 0, 'DCIP_DVW_1': 0, 'DCIP_DCV_2': 0, 'DCIP_DCA_2': 0, 'DCIP_DVW_2': 0, 'DCIP_DCV_3': 0, 'DCIP_DCA_3': 0, 'DCIP_DVW_3': 0, 'DCIP_DCV_4': 0, 'DCIP_DCA_4': 0, 'DCIP_DVW_4': 0, 'DCIP_DCV_5': 0, 'DCIP_DCA_5': 0, 'DCIP_DVW_5': 0, 'DCIP_DCV_6': 0, 'DCIP_DCA_6': 0, 'DCIP_DVW_6': 0, 'MDCIP_DCV_1': 0, 'MDCIP_DCA_1': 0, 'MDCIP_DVW_1': 0, 'MDCIP_DCV_2': 0, 'MDCIP_DCA_2': 0, 'MDCIP_DVW_2': 0, 'MDCIP_DCV_3': 0, 'MDCIP_DCA_3': 0, 'MDCIP_DVW_3': 0, 'MDCIP_DCV_4': 0, 'MDCIP_DCA_4': 0, 'MDCIP_DVW_4': 0, 'MDCIP_DCV_5': 0, 'MDCIP_DCA_5': 0, 'MDCIP_DVW_5': 0, 'MDCIP_DCV_6': 0, 'MDCIP_DCA_6': 0, 'MDCIP_DVW_6': 0, 'OPPWR': 0, 'ACOP_ACV_1': 0, 'ACOP_ACA_1': 0, 'ACOP_ACW_1': 0, 'ACOP_ACV_2': 0, 'ACOP_ACA_2': 0, 'ACOP_ACW_2': 0, 'ACOP_ACV_3': 0, 'ACOP_ACA_3': 0, 'ACOP_ACW_3': 0, 'MACOP_ACV_1': 0, 'MACOP_ACA_1': 0, 'MACOP_ACW_1': 0, 'MACOP_ACV_2': 0, 'MACOP_ACA_2': 0, 'MACOP_ACW_2': 0, 'MACOP_ACV_3': 0, 'MACOP_ACA_3': 0, 'MACOP_ACW_3': 0, 'APP': 0, 'APP1': 0, 'APP2': 0, 'APP3': 0, 'EVT1': 0, 'EVT2': 0, 'EVT3': 0, 'EVT4': 0, 'EVT5': 0, 'EVT6': 0, 'EVT7': 0, 'EVT8': 0, 'EVT9': 0, 'EVT10': 0, 'EVT11': 0, 'RCP': 0, 'COSFi': 0, 'PF': 0, 'STR1': 0, 'STR2': 0, 'STR3': 0, 'STR4': 0, 'STR5': 0, 'STR6': 0, 'STR7': 0, 'STR8': 0, 'STR9': 0, 'STR10': 0, 'STR11': 0, 'STR12': 0, 'STR13': 0, 'STR14': 0, 'STR15': 0, 'STR16': 0, 'STR17': 0, 'STR18': 0, 'STR19': 0, 'STR20': 0, 'STR21': 0, 'STR22': 0, 'STR23': 0, 'STR24': 0, 'WattH_T': 0, 'RunT_T': 0, 'WattH': 0, 'RunT': 0, 'Op_State': 0, 'RecTime': 0}, 'alarm': {}}, {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 21, 'device_category': 'inverter', 'device_id': 'DLT002', 'data': {'WSNSR': 0, 'ANLG1': 0, 'IPPWR': 0, 'DCIP_DCV_1': 0, 'DCIP_DCA_1': 0, 'DCIP_DVW_1': 0, 'DCIP_DCV_2': 0, 'DCIP_DCA_2': 0, 'DCIP_DVW_2': 0, 'DCIP_DCV_3': 0, 'DCIP_DCA_3': 0, 'DCIP_DVW_3': 0, 'DCIP_DCV_4': 0, 'DCIP_DCA_4': 0, 'DCIP_DVW_4': 0, 'DCIP_DCV_5': 0, 'DCIP_DCA_5': 0, 'DCIP_DVW_5': 0, 'DCIP_DCV_6': 0, 'DCIP_DCA_6': 0, 'DCIP_DVW_6': 0, 'MDCIP_DCV_1': 0, 'MDCIP_DCA_1': 0, 'MDCIP_DVW_1': 0, 'MDCIP_DCV_2': 0, 'MDCIP_DCA_2': 0, 'MDCIP_DVW_2': 0, 'MDCIP_DCV_3': 0, 'MDCIP_DCA_3': 0, 'MDCIP_DVW_3': 0, 'MDCIP_DCV_4': 0, 'MDCIP_DCA_4': 0, 'MDCIP_DVW_4': 0, 'MDCIP_DCV_5': 0, 'MDCIP_DCA_5': 0, 'MDCIP_DVW_5': 0, 'MDCIP_DCV_6': 0, 'MDCIP_DCA_6': 0, 'MDCIP_DVW_6': 0, 'OPPWR': 0, 'ACOP_ACV_1': 0, 'ACOP_ACA_1': 0, 'ACOP_ACW_1': 0, 'ACOP_ACV_2': 0, 'ACOP_ACA_2': 0, 'ACOP_ACW_2': 0, 'ACOP_ACV_3': 0, 'ACOP_ACA_3': 0, 'ACOP_ACW_3': 0, 'MACOP_ACV_1': 0, 'MACOP_ACA_1': 0, 'MACOP_ACW_1': 0, 'MACOP_ACV_2': 0, 'MACOP_ACA_2': 0, 'MACOP_ACW_2': 0, 'MACOP_ACV_3': 0, 'MACOP_ACA_3': 0, 'MACOP_ACW_3': 0, 'APP': 0, 'APP1': 0, 'APP2': 0, 'APP3': 0, 'EVT1': 0, 'EVT2': 0, 'EVT3': 0, 'EVT4': 0, 'EVT5': 0, 'EVT6': 0, 'EVT7': 0, 'EVT8': 0, 'EVT9': 0, 'EVT10': 0, 'EVT11': 0, 'RCP': 0, 'COSFi': 0, 'PF': 0, 'STR1': 0, 'STR2': 0, 'STR3': 0, 'STR4': 0, 'STR5': 0, 'STR6': 0, 'STR7': 0, 'STR8': 0, 'STR9': 0, 'STR10': 0, 'STR11': 0, 'STR12': 0, 'STR13': 0, 'STR14': 0, 'STR15': 0, 'STR16': 0, 'STR17': 0, 'STR18': 0, 'STR19': 0, 'STR20': 0, 'STR21': 0, 'STR22': 0, 'STR23': 0, 'STR24': 0, 'WattH_T': 0, 'RunT_T': 0, 'WattH': 0, 'RunT': 0, 'Op_State': 0, 'RecTime': 0}, 'alarm': {}}]
2019-09-10 10:12:25,978 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='0123456789'><DT V='2019-09-10 10:12:24'><SINV id='DLT001' type='INVERTER_DELTA_RPIM3'><WSNSR V='0'/><ANLG1 V='0'/><IPPWR V='0'/><OPPWR V='0'/><APP V='0'/><APP1 V='0'/><APP2 V='0'/><APP3 V='0'/><RCP V='0'/><COSFi V='0'/><PF V='0'/><WattH_T V='0'/><RunT_T V='0'/><WattH V='0'/><RunT V='0'/><Op_State V='0'/><RecTime V='0'/><DCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><MDCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><ACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><MACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP></SINV><SINV id='DLT002' type='INVERTER_DELTA_RPIM3'><WSNSR V='0'/><ANLG1 V='0'/><IPPWR V='0'/><OPPWR V='0'/><APP V='0'/><APP1 V='0'/><APP2 V='0'/><APP3 V='0'/><RCP V='0'/><COSFi V='0'/><PF V='0'/><WattH_T V='0'/><RunT_T V='0'/><WattH V='0'/><RunT V='0'/><Op_State V='0'/><RecTime V='0'/><DCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><MDCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><ACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><ACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></ACOP><MACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP></SINV></DT></GATEWAY_ID>
2019-09-10 10:12:29,648 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in
2019-09-10 10:12:30,330 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "GET /gateway/api/generalconfig/query/0123456789/ HTTP/1.1" 200 None
2019-09-10 10:12:30,332 [INFO] UpgradeFw: Main config update successful with main_config_url_fix
2019-09-10 10:12:30,333 [ERROR] ProcessMonitor: Unable to send payload. Going to reboot
2019-09-10 10:12:30,643 [INFO] ProcessMonitor: Stop signal received from the main module. Going to stop thread.
2019-09-10 10:12:35,009 [INFO] ModbusDataService: Got stop sigal from the main module. Going to stop thread
2019-09-10 10:12:35,057 [INFO] MessageSender: Sending Payload
2019-09-10 10:12:35,061 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): localhost
2019-09-10 10:12:35,062 [ERROR] HttpSender: Error sending payload: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /gateway/api/upload/data/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884c0f7fd0>: Failed to establish a new connection: [Errno 111] Connection refused',))
2019-09-10 10:12:35,064 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): localhost
2019-09-10 10:12:35,064 [ERROR] HttpSender: Error sending payload: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /gateway/api/upload/data/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884db73f28>: Failed to establish a new connection: [Errno 111] Connection refused',))
2019-09-10 10:12:35,065 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): localhost
2019-09-10 10:12:35,066 [ERROR] HttpSender: Error sending payload: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /gateway/api/upload/data/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884db739b0>: Failed to establish a new connection: [Errno 111] Connection refused',))
2019-09-10 10:12:35,066 [WARNING] MessageSender: Payload sending failed
2019-09-10 10:12:35,066 [INFO] MessageSender: Got stop signal from the Main module. Stopping thread
2019-09-10 10:12:35,986 [INFO] MessageComposer: Got stop signal from the main module. Thread will be stopped.
2019-10-04 12:09:26,904 [DEBUG] __main__: Starting the Data Logger
2019-10-04 12:09:26,922 [ERROR] MainConfig: Error reading the main configuration: [Errno 2] No such file or directory: '/home/himanshsu/DataLogger/app/config/config.json'
2019-10-04 12:10:06,096 [DEBUG] __main__: Starting the Data Logger
2019-10-04 12:10:44,686 [DEBUG] __main__: Starting the Data Logger
2019-10-04 12:11:00,000 [DEBUG] PeriodicTimer: PeriodicTimer statrted
2019-10-04 12:11:01,058 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 4097, 'register_count': 61}]
2019-10-04 12:11:01,058 [ERROR] ModbusDataService: Error Getting Serial connection: [Errno 13] could not open port /dev/ttyS3: [Errno 13] Permission denied: '/dev/ttyS3'
2019-10-04 12:11:01,059 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-10-04 12:11:01,060 [ERROR] ModbusDataService: Error Getting Serial connection: [Errno 13] could not open port /dev/ttyS3: [Errno 13] Permission denied: '/dev/ttyS3'
2019-10-04 12:11:01,060 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'INVERTER_CHINT_30KW', 'slave_id': '1', 'device_category': 'inverter', 'device_id': 'CHINT001'}
2019-10-04 12:11:01,060 [WARNING] ModbusDecoder: Register data is empty for 03_1001. Default values will be filled.
2019-10-04 12:11:01,061 [WARNING] ModbusDecoder: Register data is empty for 03_1001. Default values will be filled.
2019-10-04 12:11:01,061 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': '89', 'device_category': 'wst', 'device_id': 'WST001'}
2019-10-04 12:11:01,061 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-10-04 12:11:06,005 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'INVERTER_CHINT_30KW', 'slave_id': '1', 'device_category': 'inverter', 'device_id': 'CHINT001', 'data': {'ACOP_ACV_1': 0, 'ACOP_ACA_1': 0, 'ACOP_ACW_1': 0, 'ACOP_FRQ_1': 0, 'ACOP_ACV_2': 0, 'ACOP_ACA_2': 0, 'ACOP_ACW_2': 0, 'ACOP_FRQ_2': 0, 'ACOP_ACV_3': 0, 'ACOP_ACA_3': 0, 'ACOP_ACW_3': 0, 'ACOP_FRQ_3': 0, 'DCIP_DCV_1': 0, 'DCIP_DCA_1': 0, 'DCIP_DVW_1': 0, 'DCIP_DCV_2': 0, 'DCIP_DCA_2': 0, 'DCIP_DVW_2': 0, 'DCIP_DCV_3': 0, 'DCIP_DCA_3': 0, 'DCIP_DVW_3': 0, 'Op_State': 0, 'WattH': 0, 'RunT': 0, 'WattH_T': 0, 'OPPWR': 0, 'RCP': 0, 'COSFi': 0, 'APP': 0, 'APP1': 0, 'APP2': 0, 'APP3': 0, 'DCIP_DCA_4': 0, 'DCIP_DCA_5': 0, 'DCIP_DCA_6': 0, 'DCIP_DCV_4': 0, 'DCIP_DCV_5': 0, 'DCIP_DCV_6': 0, 'DCIP_DVW_4': 0, 'DCIP_DVW_5': 0, 'DCIP_DVW_6': 0, 'MACOP_ACA_1': 0, 'MACOP_ACA_2': 0, 'MACOP_ACA_3': 0, 'MACOP_ACV_1': 0, 'MACOP_ACV_2': 0, 'MACOP_ACV_3': 0, 'MACOP_ACW_1': 0, 'MACOP_ACW_2': 0, 'MACOP_ACW_3': 0, 'MDCIP_DCA_1': 0, 'MDCIP_DCA_2': 0, 'MDCIP_DCA_3': 0, 'MDCIP_DCA_4': 0, 'MDCIP_DCA_5': 0, 'MDCIP_DCA_6': 0, 'MDCIP_DCV_1': 0, 'MDCIP_DCV_2': 0, 'MDCIP_DCV_3': 0, 'MDCIP_DCV_4': 0, 'MDCIP_DCV_5': 0, 'MDCIP_DCV_6': 0, 'MDCIP_DVW_1': 0, 'MDCIP_DVW_2': 0, 'MDCIP_DVW_3': 0, 'MDCIP_DVW_4': 0, 'MDCIP_DVW_5': 0, 'MDCIP_DVW_6': 0, 'PF': 0, 'RecTime': 0, 'RunT_T': 0, 'STR1': 0, 'STR10': 0, 'STR11': 0, 'STR12': 0, 'STR13': 0, 'STR14': 0, 'STR15': 0, 'STR16': 0, 'STR17': 0, 'STR18': 0, 'STR19': 0, 'STR2': 0, 'STR20': 0, 'STR21': 0, 'STR22': 0, 'STR23': 0, 'STR24': 0, 'STR3': 0, 'STR4': 0, 'STR5': 0, 'STR6': 0, 'STR7': 0, 'STR8': 0, 'STR9': 0}, 'alarm': {'EVT1': 0}}, {'device_type': 'WST_STM8_RS485', 'slave_id': '89', 'device_category': 'wst', 'device_id': 'WST001', 'data': {'TEMP': 0, 'ANLG1': 0, 'WSNSR': 0, 'HUMI': 0, 'RELAY': 0, 'RAIN': 0, 'WINDS': 0, 'WINDD': 0}, 'alarm': {}}]
2019-10-04 12:11:06,033 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='0123456789'><DT V='2019-10-04 12:11:00'><SINV id='CHINT001' type='INVERTER_CHINT_30KW'><OPPWR V='0'/><APP V='0'/><APP1 V='0'/><APP2 V='0'/><APP3 V='0'/><RCP V='0'/><COSFi V='0'/><PF V='0'/><WattH_T V='0'/><RunT_T V='0'/><WattH V='0'/><RunT V='0'/><Op_State V='0'/><RecTime V='0'/><DCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><MDCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><ACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='0'/></ACOP><ACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='0'/></ACOP><ACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='0'/></ACOP><MACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><EVT1 V='0'/></SINV><WST id='WST001' type='WST_STM8_RS485'><WSNSR V='0'/><TEMP V='0'/><HUMI V='0'/><RELAY V='0'/><RAIN V='0'/><WINDS V='0'/><WINDD V='0'/><ANLG1 V='0'/></WST></DT></GATEWAY_ID>
2019-10-04 12:11:14,070 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 4097, 'register_count': 61}]
2019-10-04 12:11:14,071 [ERROR] ModbusDataService: Error Getting Serial connection: [Errno 13] could not open port /dev/ttyS3: [Errno 13] Permission denied: '/dev/ttyS3'
2019-10-04 12:11:14,071 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-10-04 12:11:14,072 [ERROR] ModbusDataService: Error Getting Serial connection: [Errno 13] could not open port /dev/ttyS3: [Errno 13] Permission denied: '/dev/ttyS3'
2019-10-04 12:11:14,072 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'INVERTER_CHINT_30KW', 'slave_id': '1', 'device_category': 'inverter', 'device_id': 'CHINT001'}
2019-10-04 12:11:14,072 [WARNING] ModbusDecoder: Register data is empty for 03_1001. Default values will be filled.
2019-10-04 12:11:14,072 [WARNING] ModbusDecoder: Register data is empty for 03_1001. Default values will be filled.
2019-10-04 12:11:14,072 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': '89', 'device_category': 'wst', 'device_id': 'WST001'}
2019-10-04 12:11:14,072 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-10-04 12:11:15,013 [INFO] MessageSender: Sending Payload
2019-10-04 12:11:15,041 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'INVERTER_CHINT_30KW', 'slave_id': '1', 'device_category': 'inverter', 'device_id': 'CHINT001', 'data': {'ACOP_ACV_1': 0, 'ACOP_ACA_1': 0, 'ACOP_ACW_1': 0, 'ACOP_FRQ_1': 0, 'ACOP_ACV_2': 0, 'ACOP_ACA_2': 0, 'ACOP_ACW_2': 0, 'ACOP_FRQ_2': 0, 'ACOP_ACV_3': 0, 'ACOP_ACA_3': 0, 'ACOP_ACW_3': 0, 'ACOP_FRQ_3': 0, 'DCIP_DCV_1': 0, 'DCIP_DCA_1': 0, 'DCIP_DVW_1': 0, 'DCIP_DCV_2': 0, 'DCIP_DCA_2': 0, 'DCIP_DVW_2': 0, 'DCIP_DCV_3': 0, 'DCIP_DCA_3': 0, 'DCIP_DVW_3': 0, 'Op_State': 0, 'WattH': 0, 'RunT': 0, 'WattH_T': 0, 'OPPWR': 0, 'RCP': 0, 'COSFi': 0, 'APP': 0, 'APP1': 0, 'APP2': 0, 'APP3': 0, 'DCIP_DCA_4': 0, 'DCIP_DCA_5': 0, 'DCIP_DCA_6': 0, 'DCIP_DCV_4': 0, 'DCIP_DCV_5': 0, 'DCIP_DCV_6': 0, 'DCIP_DVW_4': 0, 'DCIP_DVW_5': 0, 'DCIP_DVW_6': 0, 'MACOP_ACA_1': 0, 'MACOP_ACA_2': 0, 'MACOP_ACA_3': 0, 'MACOP_ACV_1': 0, 'MACOP_ACV_2': 0, 'MACOP_ACV_3': 0, 'MACOP_ACW_1': 0, 'MACOP_ACW_2': 0, 'MACOP_ACW_3': 0, 'MDCIP_DCA_1': 0, 'MDCIP_DCA_2': 0, 'MDCIP_DCA_3': 0, 'MDCIP_DCA_4': 0, 'MDCIP_DCA_5': 0, 'MDCIP_DCA_6': 0, 'MDCIP_DCV_1': 0, 'MDCIP_DCV_2': 0, 'MDCIP_DCV_3': 0, 'MDCIP_DCV_4': 0, 'MDCIP_DCV_5': 0, 'MDCIP_DCV_6': 0, 'MDCIP_DVW_1': 0, 'MDCIP_DVW_2': 0, 'MDCIP_DVW_3': 0, 'MDCIP_DVW_4': 0, 'MDCIP_DVW_5': 0, 'MDCIP_DVW_6': 0, 'PF': 0, 'RecTime': 0, 'RunT_T': 0, 'STR1': 0, 'STR10': 0, 'STR11': 0, 'STR12': 0, 'STR13': 0, 'STR14': 0, 'STR15': 0, 'STR16': 0, 'STR17': 0, 'STR18': 0, 'STR19': 0, 'STR2': 0, 'STR20': 0, 'STR21': 0, 'STR22': 0, 'STR23': 0, 'STR24': 0, 'STR3': 0, 'STR4': 0, 'STR5': 0, 'STR6': 0, 'STR7': 0, 'STR8': 0, 'STR9': 0}, 'alarm': {'EVT1': 0}}, {'device_type': 'WST_STM8_RS485', 'slave_id': '89', 'device_category': 'wst', 'device_id': 'WST001', 'data': {'TEMP': 0, 'ANLG1': 0, 'WSNSR': 0, 'HUMI': 0, 'RELAY': 0, 'RAIN': 0, 'WINDS': 0, 'WINDD': 0}, 'alarm': {}}]
2019-10-04 12:11:15,043 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='0123456789'><DT V='2019-10-04 12:11:13'><SINV id='CHINT001' type='INVERTER_CHINT_30KW'><OPPWR V='0'/><APP V='0'/><APP1 V='0'/><APP2 V='0'/><APP3 V='0'/><RCP V='0'/><COSFi V='0'/><PF V='0'/><WattH_T V='0'/><RunT_T V='0'/><WattH V='0'/><RunT V='0'/><Op_State V='0'/><RecTime V='0'/><DCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><MDCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><ACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='0'/></ACOP><ACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='0'/></ACOP><ACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='0'/></ACOP><MACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><MACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='None'/></MACOP><EVT1 V='0'/></SINV><WST id='WST001' type='WST_STM8_RS485'><WSNSR V='0'/><TEMP V='0'/><HUMI V='0'/><RELAY V='0'/><RAIN V='0'/><WINDS V='0'/><WINDD V='0'/><ANLG1 V='0'/></WST></DT></GATEWAY_ID>
2019-10-04 12:11:15,063 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-10-04 12:11:17,479 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-10-04 12:11:17,506 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-10-04 12:11:17,550 [DEBUG] PayloadQueue: Command1 return: 0
2019-10-04 12:11:17,572 [DEBUG] PayloadQueue: Command2 return: 0
2019-10-04 12:11:17,573 [INFO] MessageSender: Payload sent
2019-10-04 12:11:17,582 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-10-04 12:11:18,847 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-10-04 12:11:18,848 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-10-04 12:11:18,853 [DEBUG] PayloadQueue: Command1 return: 0
2019-10-04 12:11:18,858 [DEBUG] PayloadQueue: Command2 return: 0
2019-10-04 12:11:18,858 [INFO] MessageSender: Payload sent
2019-10-04 12:11:18,863 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-13 05:58:23,030 [DEBUG] __main__: Starting the Data Logger
2019-11-13 05:58:23,035 [ERROR] PayloadQueue: Error reading backlog file: [Errno 2] No such file or directory: '/root/DataLogger/logs/upload_data.log'
2019-11-13 05:58:30,009 [DEBUG] PeriodicTimer: PeriodicTimer statrted
2019-11-13 05:58:31,019 [INFO] MessageSender: Sleeping for: 28
2019-11-13 05:58:31,182 [DEBUG] ModbusDataService: [{'function_id': 4, 'start_register': 45055, 'register_count': 19}, {'function_id': 4, 'start_register': 45074, 'register_count': 18}, {'function_id': 4, 'start_register': 49151, 'register_count': 13}, {'function_id': 4, 'start_register': 49214, 'register_count': 12}, {'function_id': 4, 'start_register': 49200, 'register_count': 5}, {'function_id': 4, 'start_register': 1087, 'register_count': 11}, {'function_id': 4, 'start_register': 49247, 'register_count': 3}, {'function_id': 4, 'start_register': 53247, 'register_count': 10}]
2019-11-13 05:58:31,187 [ERROR] ModbusDataService: Error Getting Serial connection: Could not configure port: (5, 'Input/output error')
2019-11-13 05:58:31,190 [DEBUG] ModbusDataService: [{'function_id': 4, 'start_register': 45055, 'register_count': 19}, {'function_id': 4, 'start_register': 45074, 'register_count': 18}, {'function_id': 4, 'start_register': 49151, 'register_count': 13}, {'function_id': 4, 'start_register': 49214, 'register_count': 12}, {'function_id': 4, 'start_register': 49200, 'register_count': 5}, {'function_id': 4, 'start_register': 1087, 'register_count': 11}, {'function_id': 4, 'start_register': 49247, 'register_count': 3}, {'function_id': 4, 'start_register': 53247, 'register_count': 10}]
2019-11-13 05:58:31,195 [ERROR] ModbusDataService: Error Getting Serial connection: Could not configure port: (5, 'Input/output error')
2019-11-13 05:58:31,197 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 20, 'device_category': 'inverter', 'device_id': 'DLT001'}
2019-11-13 05:58:31,199 [WARNING] ModbusDecoder: Register data is empty for 04_AFFF. Default values will be filled.
2019-11-13 05:58:31,201 [WARNING] ModbusDecoder: Register data is empty for 04_B012. Default values will be filled.
2019-11-13 05:58:31,203 [WARNING] ModbusDecoder: Register data is empty for 04_BFFF. Default values will be filled.
2019-11-13 05:58:31,205 [WARNING] ModbusDecoder: Register data is empty for 04_C03E. Default values will be filled.
2019-11-13 05:58:31,206 [WARNING] ModbusDecoder: Register data is empty for 04_C030. Default values will be filled.
2019-11-13 05:58:31,207 [WARNING] ModbusDecoder: Register data is empty for 04_C05F. Default values will be filled.
2019-11-13 05:58:31,209 [WARNING] ModbusDecoder: Register data is empty for 04_D20F. Default values will be filled.
2019-11-13 05:58:31,211 [WARNING] ModbusDecoder: Register data is empty for 04_CFFF. Default values will be filled.
2019-11-13 05:58:31,212 [WARNING] ModbusDecoder: Register data is empty for 04_043F. Default values will be filled.
2019-11-13 05:58:31,214 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 21, 'device_category': 'inverter', 'device_id': 'DLT002'}
2019-11-13 05:58:31,215 [WARNING] ModbusDecoder: Register data is empty for 04_AFFF. Default values will be filled.
2019-11-13 05:58:31,217 [WARNING] ModbusDecoder: Register data is empty for 04_B012. Default values will be filled.
2019-11-13 05:58:31,219 [WARNING] ModbusDecoder: Register data is empty for 04_BFFF. Default values will be filled.
2019-11-13 05:58:31,221 [WARNING] ModbusDecoder: Register data is empty for 04_C03E. Default values will be filled.
2019-11-13 05:58:31,222 [WARNING] ModbusDecoder: Register data is empty for 04_C030. Default values will be filled.
2019-11-13 05:58:31,223 [WARNING] ModbusDecoder: Register data is empty for 04_C05F. Default values will be filled.
2019-11-13 05:58:31,225 [WARNING] ModbusDecoder: Register data is empty for 04_D20F. Default values will be filled.
2019-11-13 05:58:31,227 [WARNING] ModbusDecoder: Register data is empty for 04_CFFF. Default values will be filled.
2019-11-13 05:58:31,228 [WARNING] ModbusDecoder: Register data is empty for 04_043F. Default values will be filled.
2019-11-13 05:58:36,023 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 20, 'device_category': 'inverter', 'device_id': 'DLT001', 'data': {'IPPWR': 0, 'DCIP_DCV_1': 0, 'DCIP_DCA_1': 0, 'DCIP_DVW_1': 0, 'DCIP_DCV_2': 0, 'DCIP_DCA_2': 0, 'DCIP_DVW_2': 0, 'DCIP_DCV_3': 0, 'DCIP_DCA_3': 0, 'DCIP_DVW_3': 0, 'DCIP_DCV_4': 0, 'DCIP_DCA_4': 0, 'DCIP_DVW_4': 0, 'DCIP_DCV_5': 0, 'DCIP_DCA_5': 0, 'DCIP_DVW_5': 0, 'DCIP_DCV_6': 0, 'DCIP_DCA_6': 0, 'DCIP_DVW_6': 0, 'MDCIP_DCV_1': 0, 'MDCIP_DCA_1': 0, 'MDCIP_DVW_1': 0, 'MDCIP_DCV_2': 0, 'MDCIP_DCA_2': 0, 'MDCIP_DVW_2': 0, 'MDCIP_DCV_3': 0, 'MDCIP_DCA_3': 0, 'MDCIP_DVW_3': 0, 'MDCIP_DCV_4': 0, 'MDCIP_DCA_4': 0, 'MDCIP_DVW_4': 0, 'MDCIP_DCV_5': 0, 'MDCIP_DCA_5': 0, 'MDCIP_DVW_5': 0, 'MDCIP_DCV_6': 0, 'MDCIP_DCA_6': 0, 'MDCIP_DVW_6': 0, 'OPPWR': 0, 'ACOP_ACV_1': 0, 'ACOP_ACA_1': 0, 'ACOP_ACW_1': 0, 'ACOP_FRQ_1': 0, 'ACOP_ACV_2': 0, 'ACOP_ACA_2': 0, 'ACOP_ACW_2': 0, 'ACOP_FRQ_2': 0, 'ACOP_ACV_3': 0, 'ACOP_ACA_3': 0, 'ACOP_ACW_3': 0, 'ACOP_FRQ_3': 0, 'MACOP_ACV_1': 0, 'MACOP_ACA_1': 0, 'MACOP_ACW_1': 0, 'MACOP_FRQ_1': 0, 'MACOP_ACV_2': 0, 'MACOP_ACA_2': 0, 'MACOP_ACW_2': 0, 'MACOP_FRQ_2': 0, 'MACOP_ACV_3': 0, 'MACOP_ACA_3': 0, 'MACOP_ACW_3': 0, 'MACOP_FRQ_3': 0, 'APP': 0, 'APP1': 0, 'APP2': 0, 'APP3': 0, 'RCP': 0, 'COSFi': 0, 'PF': 0, 'STR1': 0, 'STR2': 0, 'STR3': 0, 'STR4': 0, 'STR5': 0, 'STR6': 0, 'STR7': 0, 'STR8': 0, 'STR9': 0, 'STR10': 0, 'STR11': 0, 'STR12': 0, 'STR13': 0, 'STR14': 0, 'STR15': 0, 'STR16': 0, 'STR17': 0, 'STR18': 0, 'STR19': 0, 'STR20': 0, 'STR21': 0, 'STR22': 0, 'STR23': 0, 'STR24': 0, 'WattH_T': 0, 'RunT_T': 0, 'WattH': 0, 'RunT': 0, 'Op_State': 0, 'RecTime': 0}, 'alarm': {'EVT1': 0, 'EVT2': 0, 'EVT3': 0, 'EVT4': 0, 'EVT5': 0, 'EVT6': 0, 'EVT7': 0, 'EVT8': 0, 'EVT9': 0, 'EVT10': 0, 'EVT11': 0}}, {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 21, 'device_category': 'inverter', 'device_id': 'DLT002', 'data': {'IPPWR': 0, 'DCIP_DCV_1': 0, 'DCIP_DCA_1': 0, 'DCIP_DVW_1': 0, 'DCIP_DCV_2': 0, 'DCIP_DCA_2': 0, 'DCIP_DVW_2': 0, 'DCIP_DCV_3': 0, 'DCIP_DCA_3': 0, 'DCIP_DVW_3': 0, 'DCIP_DCV_4': 0, 'DCIP_DCA_4': 0, 'DCIP_DVW_4': 0, 'DCIP_DCV_5': 0, 'DCIP_DCA_5': 0, 'DCIP_DVW_5': 0, 'DCIP_DCV_6': 0, 'DCIP_DCA_6': 0, 'DCIP_DVW_6': 0, 'MDCIP_DCV_1': 0, 'MDCIP_DCA_1': 0, 'MDCIP_DVW_1': 0, 'MDCIP_DCV_2': 0, 'MDCIP_DCA_2': 0, 'MDCIP_DVW_2': 0, 'MDCIP_DCV_3': 0, 'MDCIP_DCA_3': 0, 'MDCIP_DVW_3': 0, 'MDCIP_DCV_4': 0, 'MDCIP_DCA_4': 0, 'MDCIP_DVW_4': 0, 'MDCIP_DCV_5': 0, 'MDCIP_DCA_5': 0, 'MDCIP_DVW_5': 0, 'MDCIP_DCV_6': 0, 'MDCIP_DCA_6': 0, 'MDCIP_DVW_6': 0, 'OPPWR': 0, 'ACOP_ACV_1': 0, 'ACOP_ACA_1': 0, 'ACOP_ACW_1': 0, 'ACOP_FRQ_1': 0, 'ACOP_ACV_2': 0, 'ACOP_ACA_2': 0, 'ACOP_ACW_2': 0, 'ACOP_FRQ_2': 0, 'ACOP_ACV_3': 0, 'ACOP_ACA_3': 0, 'ACOP_ACW_3': 0, 'ACOP_FRQ_3': 0, 'MACOP_ACV_1': 0, 'MACOP_ACA_1': 0, 'MACOP_ACW_1': 0, 'MACOP_FRQ_1': 0, 'MACOP_ACV_2': 0, 'MACOP_ACA_2': 0, 'MACOP_ACW_2': 0, 'MACOP_FRQ_2': 0, 'MACOP_ACV_3': 0, 'MACOP_ACA_3': 0, 'MACOP_ACW_3': 0, 'MACOP_FRQ_3': 0, 'APP': 0, 'APP1': 0, 'APP2': 0, 'APP3': 0, 'RCP': 0, 'COSFi': 0, 'PF': 0, 'STR1': 0, 'STR2': 0, 'STR3': 0, 'STR4': 0, 'STR5': 0, 'STR6': 0, 'STR7': 0, 'STR8': 0, 'STR9': 0, 'STR10': 0, 'STR11': 0, 'STR12': 0, 'STR13': 0, 'STR14': 0, 'STR15': 0, 'STR16': 0, 'STR17': 0, 'STR18': 0, 'STR19': 0, 'STR20': 0, 'STR21': 0, 'STR22': 0, 'STR23': 0, 'STR24': 0, 'WattH_T': 0, 'RunT_T': 0, 'WattH': 0, 'RunT': 0, 'Op_State': 0, 'RecTime': 0}, 'alarm': {'EVT1': 0, 'EVT2': 0, 'EVT3': 0, 'EVT4': 0, 'EVT5': 0, 'EVT6': 0, 'EVT7': 0, 'EVT8': 0, 'EVT9': 0, 'EVT10': 0, 'EVT11': 0}}]
2019-11-13 05:58:36,040 [ERROR] PayloadQueue: Error reading backlog file: [Errno 2] No such file or directory: '/root/DataLogger/logs/upload_data.log'
2019-11-13 05:58:36,042 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-13 05:58:30'><UID V='0123456789'/><SINV id='DLT001' type='INVERTER_DELTA_RPIM3'><IPPWR V='0'/><OPPWR V='0'/><APP V='0'/><APP1 V='0'/><APP2 V='0'/><APP3 V='0'/><RCP V='0'/><COSFi V='0'/><PF V='0'/><WattH_T V='0'/><RunT_T V='0'/><WattH V='0'/><RunT V='0'/><Op_State V='0'/><RecTime V='0'/><DCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><MDCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><ACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='0'/></ACOP><ACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='0'/></ACOP><ACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='0'/></ACOP><MACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='0'/></MACOP><MACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='0'/></MACOP><MACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='0'/></MACOP><EVT1 V='0'/><EVT2 V='0'/><EVT3 V='0'/><EVT4 V='0'/><EVT5 V='0'/><EVT6 V='0'/><EVT7 V='0'/><EVT8 V='0'/><EVT9 V='0'/><EVT10 V='0'/><EVT11 V='0'/></SINV><SINV id='DLT002' type='INVERTER_DELTA_RPIM3'><IPPWR V='0'/><OPPWR V='0'/><APP V='0'/><APP1 V='0'/><APP2 V='0'/><APP3 V='0'/><RCP V='0'/><COSFi V='0'/><PF V='0'/><WattH_T V='0'/><RunT_T V='0'/><WattH V='0'/><RunT V='0'/><Op_State V='0'/><RecTime V='0'/><DCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><DCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></DCIP><MDCIP V='1'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='2'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='3'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='4'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='5'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><MDCIP V='6'><DCV V='0'/><DCA V='0'/><DVW V='0'/></MDCIP><ACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='0'/></ACOP><ACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='0'/></ACOP><ACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='0'/></ACOP><MACOP V='1'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='0'/></MACOP><MACOP V='2'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='0'/></MACOP><MACOP V='3'><ACV V='0'/><ACA V='0'/><ACW V='0'/><FRQ V='0'/></MACOP><EVT1 V='0'/><EVT2 V='0'/><EVT3 V='0'/><EVT4 V='0'/><EVT5 V='0'/><EVT6 V='0'/><EVT7 V='0'/><EVT8 V='0'/><EVT9 V='0'/><EVT10 V='0'/><EVT11 V='0'/></SINV></DT></GATEWAY_ID>
2019-11-13 05:58:36,044 [DEBUG] MessageComposer: payload count: 0
2019-11-14 09:34:30,012 [DEBUG] __main__: Starting the Data Logger
2019-11-14 09:47:47,477 [DEBUG] __main__: Starting the Data Logger
2019-11-14 09:50:02,899 [DEBUG] __main__: Starting the Data Logger
2019-11-14 09:50:21,104 [DEBUG] __main__: Starting the Data Logger
2019-11-14 09:53:40,829 [DEBUG] __main__: Starting the Data Logger
2019-11-14 10:03:54,906 [DEBUG] __main__: Starting the Data Logger
2019-11-14 10:04:00,006 [DEBUG] PeriodicTimer: PeriodicTimer statrted
2019-11-14 10:04:01,017 [INFO] MessageSender: Sleeping for: 28
2019-11-14 10:04:01,116 [DEBUG] ModbusDataService: [{'function_id': 4, 'start_register': 45055, 'register_count': 19}, {'function_id': 4, 'start_register': 45074, 'register_count': 18}, {'function_id': 4, 'start_register': 49151, 'register_count': 13}, {'function_id': 4, 'start_register': 49214, 'register_count': 12}, {'function_id': 4, 'start_register': 49200, 'register_count': 5}, {'function_id': 4, 'start_register': 1087, 'register_count': 11}, {'function_id': 4, 'start_register': 49247, 'register_count': 3}, {'function_id': 4, 'start_register': 53247, 'register_count': 10}]
2019-11-14 10:04:01,119 [ERROR] ModbusDataService: Error Getting Serial connection: Could not configure port: (5, 'Input/output error')
2019-11-14 10:04:01,121 [DEBUG] ModbusDataService: [{'function_id': 4, 'start_register': 45055, 'register_count': 19}, {'function_id': 4, 'start_register': 45074, 'register_count': 18}, {'function_id': 4, 'start_register': 49151, 'register_count': 13}, {'function_id': 4, 'start_register': 49214, 'register_count': 12}, {'function_id': 4, 'start_register': 49200, 'register_count': 5}, {'function_id': 4, 'start_register': 1087, 'register_count': 11}, {'function_id': 4, 'start_register': 49247, 'register_count': 3}, {'function_id': 4, 'start_register': 53247, 'register_count': 10}]
2019-11-14 10:04:01,123 [ERROR] ModbusDataService: Error Getting Serial connection: Could not configure port: (5, 'Input/output error')
2019-11-14 10:04:01,124 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 20, 'device_category': 'inverter', 'device_id': 'DLT001'}
2019-11-14 10:04:01,126 [WARNING] ModbusDecoder: Register data is empty for 04_AFFF. Default values will be filled.
2019-11-14 10:04:01,127 [WARNING] ModbusDecoder: Register data is empty for 04_B012. Default values will be filled.
2019-11-14 10:04:01,128 [WARNING] ModbusDecoder: Register data is empty for 04_BFFF. Default values will be filled.
2019-11-14 10:04:01,129 [WARNING] ModbusDecoder: Register data is empty for 04_C03E. Default values will be filled.
2019-11-14 10:04:01,130 [WARNING] ModbusDecoder: Register data is empty for 04_C030. Default values will be filled.
2019-11-14 10:04:01,130 [WARNING] ModbusDecoder: Register data is empty for 04_C05F. Default values will be filled.
2019-11-14 10:04:01,131 [WARNING] ModbusDecoder: Register data is empty for 04_D20F. Default values will be filled.
2019-11-14 10:04:01,132 [WARNING] ModbusDecoder: Register data is empty for 04_CFFF. Default values will be filled.
2019-11-14 10:04:01,133 [WARNING] ModbusDecoder: Register data is empty for 04_043F. Default values will be filled.
2019-11-14 10:04:01,134 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'INVERTER_DELTA_RPIM3', 'slave_id': 21, 'device_category': 'inverter', 'device_id': 'DLT002'}
2019-11-14 10:04:01,135 [WARNING] ModbusDecoder: Register data is empty for 04_AFFF. Default values will be filled.
2019-11-14 10:04:01,135 [WARNING] ModbusDecoder: Register data is empty for 04_B012. Default values will be filled.
2019-11-14 10:04:01,136 [WARNING] ModbusDecoder: Register data is empty for 04_BFFF. Default values will be filled.
2019-11-14 10:04:01,137 [WARNING] ModbusDecoder: Register data is empty for 04_C03E. Default values will be filled.
2019-11-14 10:04:01,138 [WARNING] ModbusDecoder: Register data is empty for 04_C030. Default values will be filled.
2019-11-14 10:04:01,139 [WARNING] ModbusDecoder: Register data is empty for 04_C05F. Default values will be filled.
2019-11-14 10:04:01,139 [WARNING] ModbusDecoder: Register data is empty for 04_D20F. Default values will be filled.
2019-11-14 10:04:01,140 [WARNING] ModbusDecoder: Register data is empty for 04_CFFF. Default values will be filled.
2019-11-14 10:04:01,141 [WARNING] ModbusDecoder: Register data is empty for 04_043F. Default values will be filled.
2019-11-14 10:04:18,330 [DEBUG] __main__: Starting the Data Logger
2019-11-14 10:07:11,202 [DEBUG] __main__: Starting the Data Logger
2019-11-14 10:15:42,111 [DEBUG] __main__: Starting the Data Logger
2019-11-14 09:18:03,291 [DEBUG] __main__: Starting the Data Logger
2019-11-14 09:18:00,818 [DEBUG] __main__: Starting the Data Logger
2019-11-14 10:38:59,324 [DEBUG] __main__: Starting the Data Logger
2019-11-14 10:41:50,531 [DEBUG] __main__: Starting the Data Logger
2019-11-14 10:44:13,419 [DEBUG] __main__: Starting the Data Logger
2019-11-14 10:44:30,013 [DEBUG] PeriodicTimer: PeriodicTimer statrted
2019-11-14 10:44:31,022 [INFO] MessageSender: Sleeping for: 29
2019-11-14 10:44:31,197 [DEBUG] ModbusDataService: [{'function_id': 4, 'start_register': 45055, 'register_count': 19}, {'function_id': 4, 'start_register': 45074, 'register_count': 18}, {'function_id': 4, 'start_register': 49151, 'register_count': 13}, {'function_id': 4, 'start_register': 49214, 'register_count': 12}, {'function_id': 4, 'start_register': 49200, 'register_count': 5}, {'function_id': 4, 'start_register': 1087, 'register_count': 11}, {'function_id': 4, 'start_register': 49247, 'register_count': 3}, {'function_id': 4, 'start_register': 53247, 'register_count': 10}]
2019-11-14 10:44:31,202 [DEBUG] ModbusRtuAcquisition: [{'function_id': 4, 'start_register': 45055, 'register_count': 19}, {'function_id': 4, 'start_register': 45074, 'register_count': 18}, {'function_id': 4, 'start_register': 49151, 'register_count': 13}, {'function_id': 4, 'start_register': 49214, 'register_count': 12}, {'function_id': 4, 'start_register': 49200, 'register_count': 5}, {'function_id': 4, 'start_register': 1087, 'register_count': 11}, {'function_id': 4, 'start_register': 49247, 'register_count': 3}, {'function_id': 4, 'start_register': 53247, 'register_count': 10}]
2019-11-14 10:44:31,204 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 4, 'start_register': 45055, 'register_count': 19}
2019-11-14 10:44:36,405 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-14 10:44:41,622 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-14 10:44:46,830 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-14 10:44:46,832 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 4, 'start_register': 45074, 'register_count': 18}
2019-11-14 10:44:51,042 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-14 10:44:30'><UID V='0123456789'/></DT></GATEWAY_ID>
2019-11-14 10:44:51,046 [DEBUG] MessageComposer: payload count: 0
2019-11-14 10:52:08,359 [DEBUG] __main__: Starting the Data Logger
2019-11-14 10:52:30,013 [DEBUG] PeriodicTimer: PeriodicTimer statrted
2019-11-14 10:52:31,020 [INFO] MessageSender: Sleeping for: 28
2019-11-14 10:52:31,107 [DEBUG] ModbusDataService: [{'function_id': 4, 'start_register': 45055, 'register_count': 19}, {'function_id': 4, 'start_register': 45074, 'register_count': 18}, {'function_id': 4, 'start_register': 49151, 'register_count': 13}, {'function_id': 4, 'start_register': 49214, 'register_count': 12}, {'function_id': 4, 'start_register': 49200, 'register_count': 5}, {'function_id': 4, 'start_register': 1087, 'register_count': 11}, {'function_id': 4, 'start_register': 49247, 'register_count': 3}, {'function_id': 4, 'start_register': 53247, 'register_count': 10}]
2019-11-14 10:52:31,110 [DEBUG] ModbusRtuAcquisition: [{'function_id': 4, 'start_register': 45055, 'register_count': 19}, {'function_id': 4, 'start_register': 45074, 'register_count': 18}, {'function_id': 4, 'start_register': 49151, 'register_count': 13}, {'function_id': 4, 'start_register': 49214, 'register_count': 12}, {'function_id': 4, 'start_register': 49200, 'register_count': 5}, {'function_id': 4, 'start_register': 1087, 'register_count': 11}, {'function_id': 4, 'start_register': 49247, 'register_count': 3}, {'function_id': 4, 'start_register': 53247, 'register_count': 10}]
2019-11-14 10:52:31,111 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 4, 'start_register': 45055, 'register_count': 19}
2019-11-14 10:52:36,317 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-14 10:52:41,536 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-14 10:52:46,745 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-14 10:52:46,747 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 4, 'start_register': 45074, 'register_count': 18}
2019-11-14 10:52:51,052 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-14 10:52:30'><UID V='0123456789'/></DT></GATEWAY_ID>
2019-11-14 10:52:51,055 [DEBUG] MessageComposer: payload count: 0
2019-11-14 10:52:51,961 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-14 10:52:57,169 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-14 10:52:58,060 [INFO] PeriodicTimer: Temp: 28.06060218811035
2019-11-14 10:52:58,064 [DEBUG] PeriodicTimer: Counter Loaded: 31.93939781188965
2019-11-14 10:52:59,051 [INFO] MessageSender: Sending Payload
2019-11-14 10:52:59,108 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-14 10:52:59,987 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-14 10:52:59,992 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-14 10:53:00,010 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-14 10:53:00,030 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-14 10:53:00,032 [INFO] MessageSender: Payload sent
2019-11-14 10:53:00,045 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-14 10:53:00,751 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-14 10:53:00,756 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-14 10:53:00,772 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-14 10:53:00,792 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-14 10:53:00,794 [INFO] MessageSender: Payload sent
2019-11-14 10:53:00,807 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-14 10:40:27,400 [DEBUG] __main__: Starting the Data Logger
2019-11-14 10:41:00,024 [DEBUG] PeriodicTimer: PeriodicTimer statrted
2019-11-14 10:41:01,035 [INFO] MessageSender: Sleeping for: 28
2019-11-14 10:41:01,182 [DEBUG] ModbusDataService: [{'function_id': 4, 'start_register': 45055, 'register_count': 19}, {'function_id': 4, 'start_register': 45074, 'register_count': 18}, {'function_id': 4, 'start_register': 49151, 'register_count': 13}, {'function_id': 4, 'start_register': 49214, 'register_count': 12}, {'function_id': 4, 'start_register': 49200, 'register_count': 5}, {'function_id': 4, 'start_register': 1087, 'register_count': 11}, {'function_id': 4, 'start_register': 49247, 'register_count': 3}, {'function_id': 4, 'start_register': 53247, 'register_count': 10}]
2019-11-14 10:41:01,185 [DEBUG] ModbusRtuAcquisition: [{'function_id': 4, 'start_register': 45055, 'register_count': 19}, {'function_id': 4, 'start_register': 45074, 'register_count': 18}, {'function_id': 4, 'start_register': 49151, 'register_count': 13}, {'function_id': 4, 'start_register': 49214, 'register_count': 12}, {'function_id': 4, 'start_register': 49200, 'register_count': 5}, {'function_id': 4, 'start_register': 1087, 'register_count': 11}, {'function_id': 4, 'start_register': 49247, 'register_count': 3}, {'function_id': 4, 'start_register': 53247, 'register_count': 10}]
2019-11-14 10:41:01,187 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 4, 'start_register': 45055, 'register_count': 19}
2019-11-14 10:40:49,733 [DEBUG] __main__: Starting the Data Logger
2019-11-14 10:41:00,002 [DEBUG] PeriodicTimer: PeriodicTimer statrted
2019-11-14 10:41:01,012 [INFO] MessageSender: Sleeping for: 28
2019-11-14 10:41:01,187 [DEBUG] ModbusDataService: [{'function_id': 4, 'start_register': 45055, 'register_count': 19}, {'function_id': 4, 'start_register': 45074, 'register_count': 18}, {'function_id': 4, 'start_register': 49151, 'register_count': 13}, {'function_id': 4, 'start_register': 49214, 'register_count': 12}, {'function_id': 4, 'start_register': 49200, 'register_count': 5}, {'function_id': 4, 'start_register': 1087, 'register_count': 11}, {'function_id': 4, 'start_register': 49247, 'register_count': 3}, {'function_id': 4, 'start_register': 53247, 'register_count': 10}]
2019-11-14 10:41:01,192 [DEBUG] ModbusRtuAcquisition: [{'function_id': 4, 'start_register': 45055, 'register_count': 19}, {'function_id': 4, 'start_register': 45074, 'register_count': 18}, {'function_id': 4, 'start_register': 49151, 'register_count': 13}, {'function_id': 4, 'start_register': 49214, 'register_count': 12}, {'function_id': 4, 'start_register': 49200, 'register_count': 5}, {'function_id': 4, 'start_register': 1087, 'register_count': 11}, {'function_id': 4, 'start_register': 49247, 'register_count': 3}, {'function_id': 4, 'start_register': 53247, 'register_count': 10}]
2019-11-14 10:41:01,194 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 4, 'start_register': 45055, 'register_count': 19}
2019-11-14 11:22:44,227 [DEBUG] __main__: Starting the Data Logger
2019-11-14 11:23:09,328 [DEBUG] __main__: Starting the Data Logger
2019-11-15 05:35:26,452 [DEBUG] __main__: Starting the Data Logger
2019-11-15 06:37:11,305 [DEBUG] __main__: Starting the Data Logger
2019-11-15 06:37:30,011 [DEBUG] PeriodicTimer: PeriodicTimer statrted
2019-11-15 06:37:31,020 [INFO] MessageSender: Sleeping for: 28
2019-11-15 06:37:31,195 [DEBUG] ModbusDataService: [{'function_id': 4, 'start_register': 45055, 'register_count': 19}, {'function_id': 4, 'start_register': 45074, 'register_count': 18}, {'function_id': 4, 'start_register': 49151, 'register_count': 13}, {'function_id': 4, 'start_register': 49214, 'register_count': 12}, {'function_id': 4, 'start_register': 49200, 'register_count': 5}, {'function_id': 4, 'start_register': 1087, 'register_count': 11}, {'function_id': 4, 'start_register': 49247, 'register_count': 3}, {'function_id': 4, 'start_register': 53247, 'register_count': 10}]
2019-11-15 06:37:31,200 [DEBUG] ModbusRtuAcquisition: [{'function_id': 4, 'start_register': 45055, 'register_count': 19}, {'function_id': 4, 'start_register': 45074, 'register_count': 18}, {'function_id': 4, 'start_register': 49151, 'register_count': 13}, {'function_id': 4, 'start_register': 49214, 'register_count': 12}, {'function_id': 4, 'start_register': 49200, 'register_count': 5}, {'function_id': 4, 'start_register': 1087, 'register_count': 11}, {'function_id': 4, 'start_register': 49247, 'register_count': 3}, {'function_id': 4, 'start_register': 53247, 'register_count': 10}]
2019-11-15 06:37:31,202 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 4, 'start_register': 45055, 'register_count': 19}
2019-11-15 06:37:36,403 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:47:03,316 [DEBUG] __main__: Starting the Data Logger
2019-11-15 06:47:30,018 [DEBUG] PeriodicTimer: PeriodicTimer statrted
2019-11-15 06:47:31,028 [INFO] MessageSender: Sleeping for: 28
2019-11-15 06:47:31,200 [DEBUG] ModbusDataService: [{'function_id': 4, 'start_register': 45055, 'register_count': 19}, {'function_id': 4, 'start_register': 45074, 'register_count': 18}, {'function_id': 4, 'start_register': 49151, 'register_count': 13}, {'function_id': 4, 'start_register': 49214, 'register_count': 12}, {'function_id': 4, 'start_register': 49200, 'register_count': 5}, {'function_id': 4, 'start_register': 1087, 'register_count': 11}, {'function_id': 4, 'start_register': 49247, 'register_count': 3}, {'function_id': 4, 'start_register': 53247, 'register_count': 10}]
2019-11-15 06:47:31,203 [DEBUG] ModbusRtuAcquisition: [{'function_id': 4, 'start_register': 45055, 'register_count': 19}, {'function_id': 4, 'start_register': 45074, 'register_count': 18}, {'function_id': 4, 'start_register': 49151, 'register_count': 13}, {'function_id': 4, 'start_register': 49214, 'register_count': 12}, {'function_id': 4, 'start_register': 49200, 'register_count': 5}, {'function_id': 4, 'start_register': 1087, 'register_count': 11}, {'function_id': 4, 'start_register': 49247, 'register_count': 3}, {'function_id': 4, 'start_register': 53247, 'register_count': 10}]
2019-11-15 06:47:31,205 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 4, 'start_register': 45055, 'register_count': 19}
2019-11-15 06:47:36,401 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:47:41,607 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:47:46,813 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:47:46,816 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 4, 'start_register': 45074, 'register_count': 18}
2019-11-15 06:47:51,049 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-15 06:47:30'><UID V='0123456789'/></DT></GATEWAY_ID>
2019-11-15 06:47:51,051 [DEBUG] MessageComposer: payload count: 0
2019-11-15 06:47:52,021 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:47:57,228 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:47:58,056 [INFO] PeriodicTimer: Temp: 28.05598545074463
2019-11-15 06:47:58,058 [DEBUG] PeriodicTimer: Counter Loaded: 31.94401454925537
2019-11-15 06:47:59,035 [INFO] MessageSender: Sending Payload
2019-11-15 06:47:59,090 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:47:59,895 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:47:59,904 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:47:59,934 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:47:59,968 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:47:59,972 [INFO] MessageSender: Payload sent
2019-11-15 06:47:59,996 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:48:02,479 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:48:02,481 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 4, 'start_register': 49151, 'register_count': 13}
2019-11-15 06:48:02,778 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:48:02,787 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:48:02,815 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:48:02,849 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:48:02,852 [INFO] MessageSender: Payload sent
2019-11-15 06:48:02,877 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:48:03,564 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:48:03,569 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:48:03,586 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:48:03,605 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:48:03,608 [INFO] MessageSender: Payload sent
2019-11-15 06:48:03,621 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:48:04,321 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:48:04,326 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:48:04,343 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:48:04,363 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:48:04,365 [INFO] MessageSender: Payload sent
2019-11-15 06:48:04,378 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:50:25,762 [DEBUG] __main__: Starting the Data Logger
2019-11-15 06:51:00,026 [DEBUG] PeriodicTimer: PeriodicTimer statrted
2019-11-15 06:51:01,037 [INFO] MessageSender: Sleeping for: 28
2019-11-15 06:51:01,168 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 06:51:01,171 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 06:51:01,172 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 06:51:06,374 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:51:11,581 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:51:16,787 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:51:16,790 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001'}
2019-11-15 06:51:16,792 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-11-15 06:51:21,054 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'TEMP': 0, 'HUMI': 0, 'RELAY': 0, 'RAIN': 0, 'WINDS': 0, 'WINDD': 0}, 'alarm': {}}]
2019-11-15 06:51:21,060 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-15 06:51:00'><UID V='0123456789'/><WST id='WST001' type='WST_STM8_RS485'><WSNSR V='0'/><TEMP V='0'/><HUMI V='0'/><RELAY V='0'/><RAIN V='0'/><WINDS V='0'/><WINDD V='0'/><ANLG1 V='0'/></WST></DT></GATEWAY_ID>
2019-11-15 06:51:21,062 [DEBUG] MessageComposer: payload count: 0
2019-11-15 06:51:28,065 [INFO] PeriodicTimer: Temp: 28.064847469329834
2019-11-15 06:51:28,067 [DEBUG] PeriodicTimer: Counter Loaded: 31.935152530670166
2019-11-15 06:51:29,069 [INFO] MessageSender: Sending Payload
2019-11-15 06:51:29,116 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:51:29,790 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:51:29,796 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:51:29,810 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 06:51:29,814 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 06:51:29,815 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:51:29,816 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 06:51:29,836 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:51:29,838 [INFO] MessageSender: Payload sent
2019-11-15 06:51:29,851 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:51:31,060 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:51:31,065 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:51:31,082 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:51:31,102 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:51:31,104 [INFO] MessageSender: Payload sent
2019-11-15 06:51:31,117 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:51:33,910 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:51:33,918 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:51:33,947 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:51:33,981 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:51:33,985 [INFO] MessageSender: Payload sent
2019-11-15 06:51:34,009 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:51:34,727 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:51:34,732 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:51:34,748 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:51:34,768 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:51:34,771 [INFO] MessageSender: Payload sent
2019-11-15 06:51:34,785 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:51:35,070 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:51:35,490 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:51:35,495 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:51:35,512 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:51:35,532 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:51:35,535 [INFO] MessageSender: Payload sent
2019-11-15 06:51:35,548 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:55:15,286 [DEBUG] __main__: Starting the Data Logger
2019-11-15 06:55:30,007 [DEBUG] PeriodicTimer: PeriodicTimer statrted
2019-11-15 06:55:31,016 [INFO] MessageSender: Sleeping for: 28
2019-11-15 06:55:31,178 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 06:55:31,183 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 06:55:31,185 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 06:55:36,386 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:55:41,593 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:55:46,800 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:55:46,803 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001'}
2019-11-15 06:55:46,805 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-11-15 06:55:51,034 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'TEMP': 0, 'HUMI': 0, 'RELAY': 0, 'RAIN': 0, 'WINDS': 0, 'WINDD': 0}, 'alarm': {}}]
2019-11-15 06:55:51,040 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-15 06:55:30'><UID V='0123456789'/><WST id='WST001' type='WST_STM8_RS485'><WSNSR V='0'/><TEMP V='0'/><HUMI V='0'/><RELAY V='0'/><RAIN V='0'/><WINDS V='0'/><WINDD V='0'/><ANLG1 V='0'/></WST></DT></GATEWAY_ID>
2019-11-15 06:55:51,041 [DEBUG] MessageComposer: payload count: 0
2019-11-15 06:55:58,046 [INFO] PeriodicTimer: Temp: 28.046547651290894
2019-11-15 06:55:58,049 [DEBUG] PeriodicTimer: Counter Loaded: 31.953452348709106
2019-11-15 06:55:59,049 [INFO] MessageSender: Sending Payload
2019-11-15 06:55:59,095 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:55:59,821 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 06:55:59,826 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 06:55:59,828 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 06:56:01,926 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:56:01,935 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:56:01,965 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:56:01,999 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:56:02,002 [INFO] MessageSender: Payload sent
2019-11-15 06:56:02,027 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:56:02,774 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:56:02,782 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:56:02,810 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:56:02,844 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:56:02,848 [INFO] MessageSender: Payload sent
2019-11-15 06:56:02,872 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:56:03,588 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:56:03,593 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:56:03,609 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:56:03,629 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:56:03,632 [INFO] MessageSender: Payload sent
2019-11-15 06:56:03,645 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:56:04,369 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:56:04,374 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:56:04,391 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:56:04,411 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:56:04,413 [INFO] MessageSender: Payload sent
2019-11-15 06:56:04,426 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:56:05,112 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:56:05,123 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:56:05,131 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:56:05,159 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:56:05,192 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:56:05,196 [INFO] MessageSender: Payload sent
2019-11-15 06:56:05,219 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:56:05,934 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:56:05,942 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:56:05,970 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:56:06,005 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:56:06,008 [INFO] MessageSender: Payload sent
2019-11-15 06:56:06,032 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:56:06,737 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:56:06,745 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:56:06,774 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:56:06,808 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:56:06,811 [INFO] MessageSender: Payload sent
2019-11-15 06:56:06,835 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:56:07,605 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:56:07,613 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:56:07,642 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:56:07,676 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:56:07,679 [INFO] MessageSender: Payload sent
2019-11-15 06:56:07,703 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:56:08,402 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:56:08,410 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:56:08,439 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:56:08,473 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:56:08,477 [INFO] MessageSender: Payload sent
2019-11-15 06:56:08,501 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:56:10,445 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:56:11,198 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:56:11,206 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:56:11,234 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:56:11,268 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:56:11,272 [INFO] MessageSender: Payload sent
2019-11-15 06:56:11,295 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:56:11,985 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:56:11,993 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:56:12,022 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:56:12,056 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:56:12,059 [INFO] MessageSender: Payload sent
2019-11-15 06:56:12,085 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:56:12,860 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:56:12,865 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:56:12,881 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:56:12,901 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:56:12,903 [INFO] MessageSender: Payload sent
2019-11-15 06:56:12,905 [INFO] MessageSender: Sleeping for: 17.953452348709106
2019-11-15 06:56:15,709 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:56:15,711 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001'}
2019-11-15 06:56:15,713 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-11-15 06:56:20,073 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'TEMP': 0, 'HUMI': 0, 'RELAY': 0, 'RAIN': 0, 'WINDS': 0, 'WINDD': 0}, 'alarm': {}}]
2019-11-15 06:56:20,077 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-15 06:55:58'><UID V='0123456789'/><WST id='WST001' type='WST_STM8_RS485'><WSNSR V='0'/><TEMP V='0'/><HUMI V='0'/><RELAY V='0'/><RAIN V='0'/><WINDS V='0'/><WINDD V='0'/><ANLG1 V='0'/></WST></DT></GATEWAY_ID>
2019-11-15 06:56:20,079 [DEBUG] MessageComposer: payload count: 1
2019-11-15 06:56:29,101 [INFO] PeriodicTimer: Temp: 29.101519346237183
2019-11-15 06:56:29,103 [DEBUG] PeriodicTimer: Counter Loaded: 30.898480653762817
2019-11-15 06:56:30,684 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 06:56:30,688 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 06:56:30,690 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 06:56:30,877 [INFO] MessageSender: Sending Payload
2019-11-15 06:56:30,900 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:56:33,650 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:56:33,658 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:56:33,687 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:56:33,720 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:56:33,724 [INFO] MessageSender: Payload sent
2019-11-15 06:56:33,726 [INFO] MessageSender: Sleeping for: 26.898480653762817
2019-11-15 06:56:35,925 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:56:41,133 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:56:46,341 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:56:46,343 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001'}
2019-11-15 06:56:46,346 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-11-15 06:56:47,055 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'TEMP': 0, 'HUMI': 0, 'RELAY': 0, 'RAIN': 0, 'WINDS': 0, 'WINDD': 0}, 'alarm': {}}]
2019-11-15 06:56:47,059 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-15 06:56:29'><UID V='0123456789'/><WST id='WST001' type='WST_STM8_RS485'><WSNSR V='0'/><TEMP V='0'/><HUMI V='0'/><RELAY V='0'/><RAIN V='0'/><WINDS V='0'/><WINDD V='0'/><ANLG1 V='0'/></WST></DT></GATEWAY_ID>
2019-11-15 06:56:47,061 [DEBUG] MessageComposer: payload count: 2
2019-11-15 06:56:59,134 [INFO] PeriodicTimer: Temp: 29.13428497314453
2019-11-15 06:56:59,136 [DEBUG] PeriodicTimer: Counter Loaded: 30.86571502685547
2019-11-15 06:57:00,261 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 06:57:00,265 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 06:57:00,267 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 06:57:00,654 [INFO] MessageSender: Sending Payload
2019-11-15 06:57:00,677 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:57:01,417 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:57:01,425 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:57:01,453 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:57:01,486 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:57:01,490 [INFO] MessageSender: Payload sent
2019-11-15 06:57:01,492 [INFO] MessageSender: Sleeping for: 28.86571502685547
2019-11-15 06:57:05,503 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:57:10,711 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:57:15,918 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:57:15,921 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001'}
2019-11-15 06:57:15,923 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-11-15 06:57:16,979 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'TEMP': 0, 'HUMI': 0, 'RELAY': 0, 'RAIN': 0, 'WINDS': 0, 'WINDD': 0}, 'alarm': {}}]
2019-11-15 06:57:16,983 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-15 06:56:59'><UID V='0123456789'/><WST id='WST001' type='WST_STM8_RS485'><WSNSR V='0'/><TEMP V='0'/><HUMI V='0'/><RELAY V='0'/><RAIN V='0'/><WINDS V='0'/><WINDD V='0'/><ANLG1 V='0'/></WST></DT></GATEWAY_ID>
2019-11-15 06:57:16,985 [DEBUG] MessageComposer: payload count: 3
2019-11-15 06:57:29,168 [INFO] PeriodicTimer: Temp: 29.16781520843506
2019-11-15 06:57:29,170 [DEBUG] PeriodicTimer: Counter Loaded: 30.83218479156494
2019-11-15 06:57:30,389 [INFO] MessageSender: Sending Payload
2019-11-15 06:57:30,412 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:57:30,796 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 06:57:30,800 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 06:57:30,802 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 06:57:31,165 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:57:31,174 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:57:31,203 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:57:31,236 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:57:31,240 [INFO] MessageSender: Payload sent
2019-11-15 06:57:31,242 [INFO] MessageSender: Sleeping for: 28.83218479156494
2019-11-15 06:57:36,025 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:57:41,235 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:57:46,442 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:57:46,445 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001'}
2019-11-15 06:57:46,447 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-11-15 06:57:46,883 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'TEMP': 0, 'HUMI': 0, 'RELAY': 0, 'RAIN': 0, 'WINDS': 0, 'WINDD': 0}, 'alarm': {}}]
2019-11-15 06:57:46,886 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-15 06:57:29'><UID V='0123456789'/><WST id='WST001' type='WST_STM8_RS485'><WSNSR V='0'/><TEMP V='0'/><HUMI V='0'/><RELAY V='0'/><RAIN V='0'/><WINDS V='0'/><WINDD V='0'/><ANLG1 V='0'/></WST></DT></GATEWAY_ID>
2019-11-15 06:57:46,888 [DEBUG] MessageComposer: payload count: 4
2019-11-15 06:57:59,206 [INFO] PeriodicTimer: Temp: 29.206482648849487
2019-11-15 06:57:59,209 [DEBUG] PeriodicTimer: Counter Loaded: 30.793517351150513
2019-11-15 06:58:00,105 [INFO] MessageSender: Sending Payload
2019-11-15 06:58:00,128 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:58:00,297 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 06:58:00,301 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 06:58:00,303 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 06:58:00,881 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:58:00,889 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:58:00,917 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:58:00,950 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:58:00,954 [INFO] MessageSender: Payload sent
2019-11-15 06:58:00,956 [INFO] MessageSender: Sleeping for: 29.793517351150513
2019-11-15 06:58:05,525 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:58:10,732 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:58:15,939 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:58:15,942 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001'}
2019-11-15 06:58:15,944 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-11-15 06:58:16,753 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'TEMP': 0, 'HUMI': 0, 'RELAY': 0, 'RAIN': 0, 'WINDS': 0, 'WINDD': 0}, 'alarm': {}}]
2019-11-15 06:58:16,757 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-15 06:57:59'><UID V='0123456789'/><WST id='WST001' type='WST_STM8_RS485'><WSNSR V='0'/><TEMP V='0'/><HUMI V='0'/><RELAY V='0'/><RAIN V='0'/><WINDS V='0'/><WINDD V='0'/><ANLG1 V='0'/></WST></DT></GATEWAY_ID>
2019-11-15 06:58:16,758 [DEBUG] MessageComposer: payload count: 5
2019-11-15 06:58:29,239 [INFO] PeriodicTimer: Temp: 29.239274978637695
2019-11-15 06:58:29,241 [DEBUG] PeriodicTimer: Counter Loaded: 30.760725021362305
2019-11-15 06:58:30,756 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 06:58:30,760 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 06:58:30,762 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 06:58:30,782 [INFO] MessageSender: Sending Payload
2019-11-15 06:58:30,804 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:58:33,557 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:58:33,565 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:58:33,594 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:58:33,627 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:58:33,631 [INFO] MessageSender: Payload sent
2019-11-15 06:58:33,633 [INFO] MessageSender: Sleeping for: 26.760725021362305
2019-11-15 06:58:35,980 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:58:41,180 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:58:46,385 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:58:46,388 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001'}
2019-11-15 06:58:46,390 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-11-15 06:58:46,584 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'TEMP': 0, 'HUMI': 0, 'RELAY': 0, 'RAIN': 0, 'WINDS': 0, 'WINDD': 0}, 'alarm': {}}]
2019-11-15 06:58:46,588 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-15 06:58:29'><UID V='0123456789'/><WST id='WST001' type='WST_STM8_RS485'><WSNSR V='0'/><TEMP V='0'/><HUMI V='0'/><RELAY V='0'/><RAIN V='0'/><WINDS V='0'/><WINDD V='0'/><ANLG1 V='0'/></WST></DT></GATEWAY_ID>
2019-11-15 06:58:46,590 [DEBUG] MessageComposer: payload count: 6
2019-11-15 06:58:59,272 [INFO] PeriodicTimer: Temp: 29.272289514541626
2019-11-15 06:58:59,274 [DEBUG] PeriodicTimer: Counter Loaded: 30.727710485458374
2019-11-15 06:59:00,168 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 06:59:00,172 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 06:59:00,174 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 06:59:00,423 [INFO] MessageSender: Sending Payload
2019-11-15 06:59:00,446 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:59:03,239 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:59:03,247 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:59:03,276 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:59:03,312 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:59:03,316 [INFO] MessageSender: Payload sent
2019-11-15 06:59:03,318 [INFO] MessageSender: Sleeping for: 26.727710485458374
2019-11-15 06:59:05,400 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:59:10,608 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:59:15,815 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:59:15,817 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001'}
2019-11-15 06:59:15,820 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-11-15 06:59:16,383 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'TEMP': 0, 'HUMI': 0, 'RELAY': 0, 'RAIN': 0, 'WINDS': 0, 'WINDD': 0}, 'alarm': {}}]
2019-11-15 06:59:16,387 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-15 06:58:59'><UID V='0123456789'/><WST id='WST001' type='WST_STM8_RS485'><WSNSR V='0'/><TEMP V='0'/><HUMI V='0'/><RELAY V='0'/><RAIN V='0'/><WINDS V='0'/><WINDD V='0'/><ANLG1 V='0'/></WST></DT></GATEWAY_ID>
2019-11-15 06:59:16,389 [DEBUG] MessageComposer: payload count: 7
2019-11-15 06:59:29,310 [INFO] PeriodicTimer: Temp: 29.310161113739014
2019-11-15 06:59:29,312 [DEBUG] PeriodicTimer: Counter Loaded: 30.689838886260986
2019-11-15 06:59:30,075 [INFO] MessageSender: Sending Payload
2019-11-15 06:59:30,097 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 06:59:30,565 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 06:59:30,570 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 06:59:30,571 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 06:59:32,842 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 06:59:32,851 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 06:59:32,879 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 06:59:32,912 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 06:59:32,916 [INFO] MessageSender: Payload sent
2019-11-15 06:59:32,918 [INFO] MessageSender: Sleeping for: 27.689838886260986
2019-11-15 06:59:35,798 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:59:41,006 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:59:46,216 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 06:59:46,218 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001'}
2019-11-15 06:59:46,220 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-11-15 06:59:51,154 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'TEMP': 0, 'HUMI': 0, 'RELAY': 0, 'RAIN': 0, 'WINDS': 0, 'WINDD': 0}, 'alarm': {}}]
2019-11-15 06:59:51,158 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-15 06:59:29'><UID V='0123456789'/><WST id='WST001' type='WST_STM8_RS485'><WSNSR V='0'/><TEMP V='0'/><HUMI V='0'/><RELAY V='0'/><RAIN V='0'/><WINDS V='0'/><WINDD V='0'/><ANLG1 V='0'/></WST></DT></GATEWAY_ID>
2019-11-15 06:59:51,159 [DEBUG] MessageComposer: payload count: 8
2019-11-15 06:59:59,344 [INFO] PeriodicTimer: Temp: 29.344653844833374
2019-11-15 06:59:59,346 [DEBUG] PeriodicTimer: Counter Loaded: 30.655346155166626
2019-11-15 07:00:00,638 [INFO] MessageSender: Sending Payload
2019-11-15 07:00:00,660 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 07:00:00,920 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:00:00,924 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:00:00,926 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 07:00:03,589 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 07:00:03,597 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 07:00:03,625 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 07:00:03,659 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 07:00:03,662 [INFO] MessageSender: Payload sent
2019-11-15 07:00:03,665 [INFO] MessageSender: Sleeping for: 26.655346155166626
2019-11-15 07:00:06,158 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:00:11,366 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:00:16,573 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:00:16,576 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001'}
2019-11-15 07:00:16,578 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-11-15 07:00:16,878 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'TEMP': 0, 'HUMI': 0, 'RELAY': 0, 'RAIN': 0, 'WINDS': 0, 'WINDD': 0}, 'alarm': {}}]
2019-11-15 07:00:16,881 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-15 06:59:59'><UID V='0123456789'/><WST id='WST001' type='WST_STM8_RS485'><WSNSR V='0'/><TEMP V='0'/><HUMI V='0'/><RELAY V='0'/><RAIN V='0'/><WINDS V='0'/><WINDD V='0'/><ANLG1 V='0'/></WST></DT></GATEWAY_ID>
2019-11-15 07:00:16,883 [DEBUG] MessageComposer: payload count: 9
2019-11-15 07:00:29,377 [INFO] PeriodicTimer: Temp: 29.377300262451172
2019-11-15 07:00:29,379 [DEBUG] PeriodicTimer: Counter Loaded: 30.622699737548828
2019-11-15 07:00:30,250 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:00:30,254 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:00:30,256 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 07:00:30,349 [INFO] MessageSender: Sending Payload
2019-11-15 07:00:30,372 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 07:00:33,153 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 07:00:33,161 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 07:00:33,189 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 07:00:33,222 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 07:00:33,226 [INFO] MessageSender: Payload sent
2019-11-15 07:00:33,228 [INFO] MessageSender: Sleeping for: 27.622699737548828
2019-11-15 07:00:35,488 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:00:40,696 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:00:45,910 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:00:45,912 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001'}
2019-11-15 07:00:45,914 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-11-15 07:00:46,570 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'TEMP': 0, 'HUMI': 0, 'RELAY': 0, 'RAIN': 0, 'WINDS': 0, 'WINDD': 0}, 'alarm': {}}]
2019-11-15 07:00:46,573 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-15 07:00:29'><UID V='0123456789'/><WST id='WST001' type='WST_STM8_RS485'><WSNSR V='0'/><TEMP V='0'/><HUMI V='0'/><RELAY V='0'/><RAIN V='0'/><WINDS V='0'/><WINDD V='0'/><ANLG1 V='0'/></WST></DT></GATEWAY_ID>
2019-11-15 07:00:46,574 [DEBUG] MessageComposer: payload count: 10
2019-11-15 07:00:59,410 [INFO] PeriodicTimer: Temp: 29.410408973693848
2019-11-15 07:00:59,412 [DEBUG] PeriodicTimer: Counter Loaded: 30.589591026306152
2019-11-15 07:01:00,553 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:01:00,558 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:01:00,559 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 07:01:00,876 [INFO] MessageSender: Sending Payload
2019-11-15 07:01:00,899 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 07:01:03,688 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 07:01:03,696 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 07:01:03,724 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 07:01:03,758 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 07:01:03,761 [INFO] MessageSender: Payload sent
2019-11-15 07:01:03,764 [INFO] MessageSender: Sleeping for: 26.589591026306152
2019-11-15 07:01:05,791 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:01:10,999 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:01:16,206 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:01:16,209 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001'}
2019-11-15 07:01:16,211 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-11-15 07:01:16,215 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'TEMP': 0, 'HUMI': 0, 'RELAY': 0, 'RAIN': 0, 'WINDS': 0, 'WINDD': 0}, 'alarm': {}}]
2019-11-15 07:01:16,219 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-15 07:00:59'><UID V='0123456789'/><WST id='WST001' type='WST_STM8_RS485'><WSNSR V='0'/><TEMP V='0'/><HUMI V='0'/><RELAY V='0'/><RAIN V='0'/><WINDS V='0'/><WINDD V='0'/><ANLG1 V='0'/></WST></DT></GATEWAY_ID>
2019-11-15 07:01:16,221 [DEBUG] MessageComposer: payload count: 11
2019-11-15 07:01:29,443 [INFO] PeriodicTimer: Temp: 29.442840814590454
2019-11-15 07:01:29,445 [DEBUG] PeriodicTimer: Counter Loaded: 30.557159185409546
2019-11-15 07:01:30,382 [INFO] MessageSender: Sending Payload
2019-11-15 07:01:30,405 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 07:01:30,818 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:01:30,823 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:01:30,825 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 07:01:31,126 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 07:01:31,134 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 07:01:31,162 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 07:01:31,196 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 07:01:31,199 [INFO] MessageSender: Payload sent
2019-11-15 07:01:31,202 [INFO] MessageSender: Sleeping for: 29.557159185409546
2019-11-15 07:01:36,045 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:01:41,253 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:01:46,460 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:01:46,464 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001'}
2019-11-15 07:01:46,466 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-11-15 07:01:46,844 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'TEMP': 0, 'HUMI': 0, 'RELAY': 0, 'RAIN': 0, 'WINDS': 0, 'WINDD': 0}, 'alarm': {}}]
2019-11-15 07:01:46,847 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-15 07:01:29'><UID V='0123456789'/><WST id='WST001' type='WST_STM8_RS485'><WSNSR V='0'/><TEMP V='0'/><HUMI V='0'/><RELAY V='0'/><RAIN V='0'/><WINDS V='0'/><WINDD V='0'/><ANLG1 V='0'/></WST></DT></GATEWAY_ID>
2019-11-15 07:01:46,849 [DEBUG] MessageComposer: payload count: 12
2019-11-15 07:01:59,477 [INFO] PeriodicTimer: Temp: 29.477222442626953
2019-11-15 07:01:59,479 [DEBUG] PeriodicTimer: Counter Loaded: 30.522777557373047
2019-11-15 07:02:00,040 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:02:00,044 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:02:00,046 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 07:02:00,763 [INFO] MessageSender: Sending Payload
2019-11-15 07:02:00,787 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 07:02:01,547 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 07:02:01,556 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 07:02:01,584 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 07:02:01,617 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 07:02:01,620 [INFO] MessageSender: Payload sent
2019-11-15 07:02:01,623 [INFO] MessageSender: Sleeping for: 28.522777557373047
2019-11-15 07:02:05,277 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:02:10,485 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:02:15,692 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:02:15,695 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001'}
2019-11-15 07:02:15,697 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-11-15 07:02:16,439 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'TEMP': 0, 'HUMI': 0, 'RELAY': 0, 'RAIN': 0, 'WINDS': 0, 'WINDD': 0}, 'alarm': {}}]
2019-11-15 07:02:16,443 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-15 07:01:59'><UID V='0123456789'/><WST id='WST001' type='WST_STM8_RS485'><WSNSR V='0'/><TEMP V='0'/><HUMI V='0'/><RELAY V='0'/><RAIN V='0'/><WINDS V='0'/><WINDD V='0'/><ANLG1 V='0'/></WST></DT></GATEWAY_ID>
2019-11-15 07:02:16,445 [DEBUG] MessageComposer: payload count: 13
2019-11-15 07:02:29,510 [INFO] PeriodicTimer: Temp: 29.510680437088013
2019-11-15 07:02:29,513 [DEBUG] PeriodicTimer: Counter Loaded: 30.489319562911987
2019-11-15 07:02:30,176 [INFO] MessageSender: Sending Payload
2019-11-15 07:02:30,199 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 07:02:30,224 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:02:30,228 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:02:30,230 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 07:02:32,984 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 07:02:32,992 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 07:02:33,021 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 07:02:33,054 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 07:02:33,057 [INFO] MessageSender: Payload sent
2019-11-15 07:02:33,060 [INFO] MessageSender: Sleeping for: 27.489319562911987
2019-11-15 07:02:35,453 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:02:40,660 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:02:45,867 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:02:45,869 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001'}
2019-11-15 07:02:45,872 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-11-15 07:02:46,990 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'TEMP': 0, 'HUMI': 0, 'RELAY': 0, 'RAIN': 0, 'WINDS': 0, 'WINDD': 0}, 'alarm': {}}]
2019-11-15 07:02:46,994 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-15 07:02:29'><UID V='0123456789'/><WST id='WST001' type='WST_STM8_RS485'><WSNSR V='0'/><TEMP V='0'/><HUMI V='0'/><RELAY V='0'/><RAIN V='0'/><WINDS V='0'/><WINDD V='0'/><ANLG1 V='0'/></WST></DT></GATEWAY_ID>
2019-11-15 07:02:46,996 [DEBUG] MessageComposer: payload count: 14
2019-11-15 07:02:59,544 [INFO] PeriodicTimer: Temp: 29.543980836868286
2019-11-15 07:02:59,546 [DEBUG] PeriodicTimer: Counter Loaded: 30.456019163131714
2019-11-15 07:03:00,379 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:03:00,383 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:03:00,385 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 07:03:00,559 [INFO] MessageSender: Sending Payload
2019-11-15 07:03:00,582 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 07:03:01,320 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 07:03:01,328 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 07:03:01,356 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 07:03:01,389 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 07:03:01,393 [INFO] MessageSender: Payload sent
2019-11-15 07:03:01,396 [INFO] MessageSender: Sleeping for: 29.456019163131714
2019-11-15 07:03:05,619 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:03:10,827 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:03:16,034 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:03:16,036 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001'}
2019-11-15 07:03:16,038 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-11-15 07:03:16,515 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'TEMP': 0, 'HUMI': 0, 'RELAY': 0, 'RAIN': 0, 'WINDS': 0, 'WINDD': 0}, 'alarm': {}}]
2019-11-15 07:03:16,519 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-15 07:02:59'><UID V='0123456789'/><WST id='WST001' type='WST_STM8_RS485'><WSNSR V='0'/><TEMP V='0'/><HUMI V='0'/><RELAY V='0'/><RAIN V='0'/><WINDS V='0'/><WINDD V='0'/><ANLG1 V='0'/></WST></DT></GATEWAY_ID>
2019-11-15 07:03:16,521 [DEBUG] MessageComposer: payload count: 15
2019-11-15 07:03:29,576 [INFO] PeriodicTimer: Temp: 29.57617425918579
2019-11-15 07:03:29,578 [DEBUG] PeriodicTimer: Counter Loaded: 30.42382574081421
2019-11-15 07:03:30,512 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:03:30,516 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:03:30,518 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 07:03:30,876 [INFO] MessageSender: Sending Payload
2019-11-15 07:03:30,899 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 07:03:33,686 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 07:03:33,695 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 07:03:33,723 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 07:03:33,757 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 07:03:33,760 [INFO] MessageSender: Payload sent
2019-11-15 07:03:33,763 [INFO] MessageSender: Sleeping for: 26.42382574081421
2019-11-15 07:03:35,749 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:03:40,956 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:03:46,164 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:03:46,166 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001'}
2019-11-15 07:03:46,168 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-11-15 07:03:47,011 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'TEMP': 0, 'HUMI': 0, 'RELAY': 0, 'RAIN': 0, 'WINDS': 0, 'WINDD': 0}, 'alarm': {}}]
2019-11-15 07:03:47,015 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-15 07:03:29'><UID V='0123456789'/><WST id='WST001' type='WST_STM8_RS485'><WSNSR V='0'/><TEMP V='0'/><HUMI V='0'/><RELAY V='0'/><RAIN V='0'/><WINDS V='0'/><WINDD V='0'/><ANLG1 V='0'/></WST></DT></GATEWAY_ID>
2019-11-15 07:03:47,017 [DEBUG] MessageComposer: payload count: 16
2019-11-15 07:03:59,609 [INFO] PeriodicTimer: Temp: 29.609256744384766
2019-11-15 07:03:59,611 [DEBUG] PeriodicTimer: Counter Loaded: 30.390743255615234
2019-11-15 07:04:00,215 [INFO] MessageSender: Sending Payload
2019-11-15 07:04:00,238 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 07:04:00,608 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:04:00,614 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:04:00,616 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 07:04:02,998 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 07:04:03,007 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 07:04:03,036 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 07:04:03,069 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 07:04:03,072 [INFO] MessageSender: Payload sent
2019-11-15 07:04:03,075 [INFO] MessageSender: Sleeping for: 27.390743255615234
2019-11-15 07:04:05,839 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:04:11,046 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:04:16,253 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:04:16,256 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001'}
2019-11-15 07:04:16,258 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-11-15 07:04:16,468 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'TEMP': 0, 'HUMI': 0, 'RELAY': 0, 'RAIN': 0, 'WINDS': 0, 'WINDD': 0}, 'alarm': {}}]
2019-11-15 07:04:16,472 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-15 07:03:59'><UID V='0123456789'/><WST id='WST001' type='WST_STM8_RS485'><WSNSR V='0'/><TEMP V='0'/><HUMI V='0'/><RELAY V='0'/><RAIN V='0'/><WINDS V='0'/><WINDD V='0'/><ANLG1 V='0'/></WST></DT></GATEWAY_ID>
2019-11-15 07:04:16,473 [DEBUG] MessageComposer: payload count: 17
2019-11-15 07:04:29,644 [INFO] PeriodicTimer: Temp: 29.64404845237732
2019-11-15 07:04:29,646 [DEBUG] PeriodicTimer: Counter Loaded: 30.35595154762268
2019-11-15 07:04:30,496 [INFO] MessageSender: Sending Payload
2019-11-15 07:04:30,519 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 07:04:30,667 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:04:30,671 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:04:30,673 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 07:04:31,625 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 07:04:31,633 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 07:04:31,662 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 07:04:31,696 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 07:04:31,700 [INFO] MessageSender: Payload sent
2019-11-15 07:04:31,702 [INFO] MessageSender: Sleeping for: 28.35595154762268
2019-11-15 07:04:35,890 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:04:41,098 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:04:46,305 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:04:46,307 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001'}
2019-11-15 07:04:46,309 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-11-15 07:04:46,889 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'TEMP': 0, 'HUMI': 0, 'RELAY': 0, 'RAIN': 0, 'WINDS': 0, 'WINDD': 0}, 'alarm': {}}]
2019-11-15 07:04:46,892 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-15 07:04:29'><UID V='0123456789'/><WST id='WST001' type='WST_STM8_RS485'><WSNSR V='0'/><TEMP V='0'/><HUMI V='0'/><RELAY V='0'/><RAIN V='0'/><WINDS V='0'/><WINDD V='0'/><ANLG1 V='0'/></WST></DT></GATEWAY_ID>
2019-11-15 07:04:46,894 [DEBUG] MessageComposer: payload count: 18
2019-11-15 06:17:58,412 [DEBUG] __main__: Starting the Data Logger
2019-11-15 07:10:23,937 [DEBUG] PeriodicTimer: PeriodicTimer statrted
2019-11-15 07:10:24,948 [INFO] MessageSender: Sleeping for: 28
2019-11-15 07:10:25,085 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:10:25,088 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:10:25,089 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 07:10:30,288 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:10:35,497 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:10:40,701 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:10:40,704 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001'}
2019-11-15 07:10:40,706 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-11-15 07:10:44,966 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'TEMP': 0, 'HUMI': 0, 'RELAY': 0, 'RAIN': 0, 'WINDS': 0, 'WINDD': 0}, 'alarm': {}}]
2019-11-15 07:10:44,972 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-15 07:10:23'><UID V='0123456789'/><WST id='WST001' type='WST_STM8_RS485'><WSNSR V='0'/><TEMP V='0'/><HUMI V='0'/><RELAY V='0'/><RAIN V='0'/><WINDS V='0'/><WINDD V='0'/><ANLG1 V='0'/></WST></DT></GATEWAY_ID>
2019-11-15 07:10:44,974 [DEBUG] MessageComposer: payload count: 0
2019-11-15 07:10:51,979 [INFO] PeriodicTimer: Temp: 21.978962421417236
2019-11-15 07:10:51,982 [DEBUG] PeriodicTimer: Counter Loaded: 38.021037578582764
2019-11-15 07:10:52,981 [INFO] MessageSender: Sending Payload
2019-11-15 07:10:53,014 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 07:10:53,722 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:10:53,725 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:10:53,726 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 07:10:53,729 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 07:10:53,735 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 07:10:53,758 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 07:10:53,777 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 07:10:53,779 [INFO] MessageSender: Payload sent
2019-11-15 07:10:53,793 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 07:10:54,510 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 07:10:54,515 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 07:10:54,532 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 07:10:54,551 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 07:10:54,553 [INFO] MessageSender: Payload sent
2019-11-15 07:10:54,555 [INFO] MessageSender: Sleeping for: 36.021037578582764
2019-11-15 07:10:58,969 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:11:04,191 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:11:09,390 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:11:09,392 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001'}
2019-11-15 07:11:09,395 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-11-15 07:11:13,998 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'TEMP': 0, 'HUMI': 0, 'RELAY': 0, 'RAIN': 0, 'WINDS': 0, 'WINDD': 0}, 'alarm': {}}]
2019-11-15 07:11:14,003 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-15 07:10:51'><UID V='0123456789'/><WST id='WST001' type='WST_STM8_RS485'><WSNSR V='0'/><TEMP V='0'/><HUMI V='0'/><RELAY V='0'/><RAIN V='0'/><WINDS V='0'/><WINDD V='0'/><ANLG1 V='0'/></WST></DT></GATEWAY_ID>
2019-11-15 07:11:14,006 [DEBUG] MessageComposer: payload count: 1
2019-11-15 07:11:30,020 [INFO] PeriodicTimer: Temp: 0.02030181884765625
2019-11-15 07:11:30,022 [DEBUG] PeriodicTimer: Counter Loaded: 30.020301818847656
2019-11-15 07:11:30,440 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:11:30,444 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:11:30,446 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 07:11:30,583 [INFO] MessageSender: Sending Payload
2019-11-15 07:11:30,606 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 07:11:31,309 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 07:11:31,317 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 07:11:31,346 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 07:11:31,379 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 07:11:31,382 [INFO] MessageSender: Payload sent
2019-11-15 07:11:31,385 [INFO] MessageSender: Sleeping for: 29.020301818847656
2019-11-15 07:11:35,680 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:11:40,889 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:11:46,107 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:11:46,109 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001'}
2019-11-15 07:11:46,110 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-11-15 07:19:30,824 [DEBUG] __main__: Starting the Data Logger
2019-11-15 07:20:00,021 [DEBUG] PeriodicTimer: PeriodicTimer statrted
2019-11-15 07:20:01,029 [INFO] MessageSender: Sleeping for: 29
2019-11-15 07:20:01,192 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:20:01,196 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:20:01,198 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 07:20:06,396 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:20:11,606 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:20:16,813 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:20:16,816 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001'}
2019-11-15 07:20:16,818 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-11-15 07:20:21,048 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'TEMP': 0, 'HUMI': 0, 'RELAY': 0, 'RAIN': 0, 'WINDS': 0, 'WINDD': 0}, 'alarm': {}}]
2019-11-15 07:20:21,052 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-15 07:20:00'><UID V='0123456789'/><WST id='WST001' type='WST_STM8_RS485'><WSNSR V='0'/><TEMP V='0'/><HUMI V='0'/><RELAY V='0'/><RAIN V='0'/><WINDS V='0'/><WINDD V='0'/><ANLG1 V='0'/></WST></DT></GATEWAY_ID>
2019-11-15 07:20:21,055 [DEBUG] MessageComposer: payload count: 0
2019-11-15 07:20:28,064 [INFO] PeriodicTimer: Temp: 28.063985109329224
2019-11-15 07:20:28,066 [DEBUG] PeriodicTimer: Counter Loaded: 31.936014890670776
2019-11-15 07:20:29,063 [INFO] MessageSender: Sending Payload
2019-11-15 07:20:29,111 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 07:20:29,834 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:20:29,837 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:20:29,838 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 07:20:29,922 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 07:20:29,927 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 07:20:29,945 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 07:20:29,965 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 07:20:29,967 [INFO] MessageSender: Payload sent
2019-11-15 07:20:29,980 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 07:20:30,717 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 07:20:30,722 [ERROR] HttpSender: Error parsing response: Expecting value: line 1 column 1 (char 0)
2019-11-15 07:20:30,739 [DEBUG] PayloadQueue: Command1 return: 0
2019-11-15 07:20:30,758 [DEBUG] PayloadQueue: Command2 return: 0
2019-11-15 07:20:30,760 [INFO] MessageSender: Payload sent
2019-11-15 07:20:30,762 [INFO] MessageSender: Sleeping for: 29.936014890670776
2019-11-15 07:20:35,063 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:20:40,271 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:20:45,479 [WARNING] ModbusRtuAcquisition: No data received for the modbus query.
2019-11-15 07:20:45,481 [DEBUG] ModbusDecoder: Modbus response: {'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001'}
2019-11-15 07:20:45,484 [WARNING] ModbusDecoder: Register data is empty for 03_0000. Default values will be filled.
2019-11-15 07:20:50,087 [DEBUG] MessageComposer: Modbus data from queue: [{'device_type': 'WST_STM8_RS485', 'slave_id': 68, 'device_category': 'wst', 'device_id': 'WST001', 'data': {'WSNSR': 0, 'ANLG1': 0, 'TEMP': 0, 'HUMI': 0, 'RELAY': 0, 'RAIN': 0, 'WINDS': 0, 'WINDD': 0}, 'alarm': {}}]
2019-11-15 07:20:50,093 [DEBUG] MessageComposer: Payload: <GATEWAY_ID V='WBETESTGTWY0000'><DT V='2019-11-15 07:20:28'><UID V='0123456789'/><WST id='WST001' type='WST_STM8_RS485'><WSNSR V='0'/><TEMP V='0'/><HUMI V='0'/><RELAY V='0'/><RAIN V='0'/><WINDS V='0'/><WINDD V='0'/><ANLG1 V='0'/></WST></DT></GATEWAY_ID>
2019-11-15 07:20:50,095 [DEBUG] MessageComposer: payload count: 1
2019-11-15 07:20:59,102 [INFO] PeriodicTimer: Temp: 29.102091312408447
2019-11-15 07:20:59,104 [DEBUG] PeriodicTimer: Counter Loaded: 30.897908687591553
2019-11-15 07:21:00,438 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:21:00,442 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:21:00,444 [DEBUG] ModbusRtuAcquisition: Querying: {'function_id': 3, 'start_register': 0, 'register_count': 2}
2019-11-15 07:21:00,723 [INFO] MessageSender: Sending Payload
2019-11-15 07:21:00,746 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): whirlybird.in:80
2019-11-15 07:21:03,537 [DEBUG] urllib3.connectionpool: http://whirlybird.in:80 "POST /gateway/upload_data.php HTTP/1.1" 200 0
2019-11-15 07:34:07,016 [DEBUG] __main__: Starting the Data Logger
2019-11-15 07:34:30,015 [DEBUG] PeriodicTimer: PeriodicTimer statrted
2019-11-15 07:34:31,026 [INFO] MessageSender: Sleeping for: 28
2019-11-15 07:34:31,189 [DEBUG] ModbusDataService: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]
2019-11-15 07:34:31,192 [DEBUG] ModbusRtuAcquisition: [{'function_id': 3, 'start_register': 0, 'register_count': 2}]