Compare commits

...

2 Commits

Author SHA1 Message Date
kostas 2e8dab4bbe extarct s3 data with decompression 2024-05-30 13:19:04 +02:00
kostas 5813ecfee3 extarct s3 data with decompression 2024-05-30 12:29:36 +02:00
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 -u
#!/usr/bin/python2 -u
# coding=utf-8
import logging
@ -12,7 +12,7 @@ import signals
import config as cfg
from dbus.mainloop.glib import DBusGMainLoop
from pymodbus.client import ModbusSerialClient as Modbus
from pymodbus.client.sync import ModbusSerialClient as Modbus
from pymodbus.exceptions import ModbusException, ModbusIOException
from pymodbus.other_message import ReportSlaveIdRequest
from pymodbus.pdu import ExceptionResponse
@ -23,7 +23,7 @@ from python_libs.ie_dbus.dbus_service import DBusService
# trick the pycharm type-checker into thinking Callable is in scope, not used at runtime
# noinspection PyUnreachableCode
if False:
from typing import Callable, List, Iterable, NoReturn
from typing import Callable, List, Iterable, NoReturn
RESET_REGISTER = 0x2087
SETTINGS_SERVICE_PREFIX = 'com.victronenergy.settings'