Compare commits
1 Commits
v0.8.0
...
v0.8.1-rc.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6b3918797b |
2
.github/workflows/python-app.yml
vendored
2
.github/workflows/python-app.yml
vendored
@@ -5,7 +5,7 @@ name: Python application
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "main", "dev-*" ]
|
branches: [ "main", "dev-*", "*/issue*" ]
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '**.md' # Do no build on *.md changes
|
- '**.md' # Do no build on *.md changes
|
||||||
- '**.yml' # Do no build on *.yml changes
|
- '**.yml' # Do no build on *.yml changes
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ class Schedule:
|
|||||||
fnc = getattr(m, "send_modbus_cmd", None)
|
fnc = getattr(m, "send_modbus_cmd", None)
|
||||||
if callable(fnc):
|
if callable(fnc):
|
||||||
await fnc(Modbus.READ_REGS, 0x3008, 21, logging.DEBUG)
|
await fnc(Modbus.READ_REGS, 0x3008, 21, logging.DEBUG)
|
||||||
if 0 == (cls.count % 30):
|
# if 0 == (cls.count % 30):
|
||||||
# logging.info("Regular Modbus Status request")
|
# # logging.info("Regular Modbus Status request")
|
||||||
await fnc(Modbus.READ_REGS, 0x2007, 2, logging.DEBUG)
|
# await fnc(Modbus.READ_REGS, 0x2007, 2, logging.DEBUG)
|
||||||
cls.count += 1
|
cls.count += 1
|
||||||
|
|||||||
Reference in New Issue
Block a user