Open jd-salazar opened 1 year ago
I need help running the datalogger demo.
C:\Users\username\...\sunspec-demo>poetry run sunspecdemo datalogger tcp --log-file log.txt --address x.x.x.x yields
C:\Users\username\...\sunspec-demo>poetry run sunspecdemo datalogger tcp --log-file log.txt --address x.x.x.x
No model found by the name 'data_logger' Perhaps you meant one of: common, model_17, inverter, nameplate, settings, status, controls, volt_var, lvrt, hvrt, volt_watt, freq_watt, lfrt, hfrt, lvrtc, hvrtc, lfrtc, hfrtc, ext_settings, model_65000, model_65001, model_65002, model_65003, model_65004, model_65005, model_65006, model_65007, model_65008, model_65009, model_65532, epc_control, watt_pf, model_65530
Modifications made Line 20 of pyproject.toml: python = ">=3.7.9,<3.12"
pyproject.toml
python = ">=3.7.9,<3.12"
Line 40 of ...\sunspec\core\modbus\client.py: Old:
...\sunspec\core\modbus\client.py
deadtime_clock = getattr(time, 'monotonic', time.clock)
New:
try: deadtime_clock = getattr(time, 'monotonic', time.clock) except AttributeError: deadtime_clock = getattr(time, 'monotonic', time.perf_counter())
I need help running the datalogger demo.
C:\Users\username\...\sunspec-demo>poetry run sunspecdemo datalogger tcp --log-file log.txt --address x.x.x.x
yieldsModifications made Line 20 of
pyproject.toml
:python = ">=3.7.9,<3.12"
Line 40 of
...\sunspec\core\modbus\client.py
: Old:New: