pymscada 0.1.9__py3-none-any.whl → 0.1.10__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pymscada might be problematic. Click here for more details.
- pymscada/iodrivers/accuweather.py +4 -2
- {pymscada-0.1.9.dist-info → pymscada-0.1.10.dist-info}/METADATA +1 -1
- {pymscada-0.1.9.dist-info → pymscada-0.1.10.dist-info}/RECORD +6 -6
- {pymscada-0.1.9.dist-info → pymscada-0.1.10.dist-info}/WHEEL +1 -1
- {pymscada-0.1.9.dist-info → pymscada-0.1.10.dist-info}/entry_points.txt +2 -0
- {pymscada-0.1.9.dist-info → pymscada-0.1.10.dist-info}/licenses/LICENSE +0 -0
|
@@ -42,7 +42,7 @@ class AccuWeatherClient:
|
|
|
42
42
|
for record in json:
|
|
43
43
|
epoch = record['EpochDateTime']
|
|
44
44
|
hour = int((epoch - time_mod) / 3600)
|
|
45
|
-
logging.
|
|
45
|
+
logging.info(f'epoch {epoch} time_s {time_s} hour {hour}')
|
|
46
46
|
if hour not in self.api['times']:
|
|
47
47
|
continue
|
|
48
48
|
suffix = ''
|
|
@@ -55,11 +55,13 @@ class AccuWeatherClient:
|
|
|
55
55
|
['Rain', 'Rain', None, 'Value'],
|
|
56
56
|
['Snow', 'Snow', None, 'Value']
|
|
57
57
|
]:
|
|
58
|
-
|
|
58
|
+
tagname = f'{site}{parm}{suffix}'
|
|
59
|
+
tag = self.tags[tagname]
|
|
59
60
|
if key2 is None:
|
|
60
61
|
value = record[key1][key]
|
|
61
62
|
else:
|
|
62
63
|
value = record[key1][key2][key]
|
|
64
|
+
logging.info(f'{tagname} was {tag.value} new {value}')
|
|
63
65
|
if tag.value != value:
|
|
64
66
|
tag.value = value, int(epoch * 1e6), self.map_bus
|
|
65
67
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
pymscada-0.1.
|
|
2
|
-
pymscada-0.1.
|
|
3
|
-
pymscada-0.1.
|
|
4
|
-
pymscada-0.1.
|
|
1
|
+
pymscada-0.1.10.dist-info/METADATA,sha256=dlflj5d4bt0yUjw48_ZG2nPXcIdwJpj6kH2AEMQg4TA,2206
|
|
2
|
+
pymscada-0.1.10.dist-info/WHEEL,sha256=Vza3XR51HW1KmFP0iIMUVYIvz0uQuKJpIXKYOBGQyFQ,90
|
|
3
|
+
pymscada-0.1.10.dist-info/entry_points.txt,sha256=j_UgZmqFhNquuFC2M8g5-8X9FCpp2RaDb7NrExzkj1c,72
|
|
4
|
+
pymscada-0.1.10.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
5
5
|
pymscada/__init__.py,sha256=NV_cIIwe66Ugp8ns426rtfJIIyskWbqwImD9p_5p0bQ,739
|
|
6
6
|
pymscada/__main__.py,sha256=WcyVlrYOoDdktJhOoyubTOycMwpayksFdxwelRU5xpQ,272
|
|
7
7
|
pymscada/bus_client.py,sha256=NWumdtLNy4-_LdTumHy687q0ebQX7fdynSp13dZgpYo,8899
|
|
@@ -39,7 +39,7 @@ pymscada/demo/wwwserver.yaml,sha256=MhZbvnxAfkc3OutXyZVaVKif4ZD9VSch5NfBbO0T_-E,
|
|
|
39
39
|
pymscada/files.py,sha256=FSEvFs6gNgErx_B7mtWkt6EsGNSc-TlxEbDW59NxIZs,2439
|
|
40
40
|
pymscada/history.py,sha256=G079gHfzasmGtI5ANS8MdETD4bdZg5vHE_yTKk7atHw,9504
|
|
41
41
|
pymscada/iodrivers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
42
|
-
pymscada/iodrivers/accuweather.py,sha256=
|
|
42
|
+
pymscada/iodrivers/accuweather.py,sha256=p_OYJtCrtbSQYjgf06Yk3Qc9wGpkx8ogn81XNGd19fE,3842
|
|
43
43
|
pymscada/iodrivers/logix_client.py,sha256=eqmiYLYUBHbr7wTljomGIZVNvXe-5WleGKfzwcHXO8w,2829
|
|
44
44
|
pymscada/iodrivers/logix_map.py,sha256=ljjBAMJcw199v1V5u0Yfl38U6zbZzba5mdY4I3ZvdIM,5401
|
|
45
45
|
pymscada/iodrivers/modbus_client.py,sha256=DIGrEPz_Bwwj9CEeog5fQqiAu1UMV7xVL6KxlKgXNPs,9592
|
|
@@ -63,4 +63,4 @@ pymscada/tools/snmp_client2.py,sha256=pdn5dYyEv4q-ubA0zQ8X-3tQDYxGC7f7Xexa7QPaL4
|
|
|
63
63
|
pymscada/tools/walk.py,sha256=OgpprUbKLhEWMvJGfU1ckUt_PFEpwZVOD8HucCgzmOc,1625
|
|
64
64
|
pymscada/validate.py,sha256=VPpAVEwfgori5OREEwWlbPoPxz5Tfqr6dw-O5pINHyI,13125
|
|
65
65
|
pymscada/www_server.py,sha256=LzkT1DiKq6ql66MPncHefYU3qgoi9HxoYLETjjTMNvY,12024
|
|
66
|
-
pymscada-0.1.
|
|
66
|
+
pymscada-0.1.10.dist-info/RECORD,,
|
|
File without changes
|