Initial commit
This commit is contained in:
commit
7aeb601700
|
@ -0,0 +1,7 @@
|
||||||
|
# Enervent-control
|
||||||
|
|
||||||
|
External control of an Enervent Pingvin Kotilämpö residential heating/ventilation
|
||||||
|
unit via RS485 bus using the Modbus protocol.
|
||||||
|
|
||||||
|
Work is my Bachelor's Thesis at Oulu University of Applied Sciences, software development.
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
bin/
|
||||||
|
include/
|
||||||
|
lib/
|
||||||
|
lib64
|
||||||
|
share/
|
|
@ -0,0 +1,3 @@
|
||||||
|
home = /usr/bin
|
||||||
|
include-system-site-packages = false
|
||||||
|
version = 3.9.2
|
|
@ -0,0 +1,14 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
|
import minimalmodbus
|
||||||
|
import logging
|
||||||
|
|
||||||
|
## Logging configuration
|
||||||
|
log = logging.getLogger(__name__)
|
||||||
|
logging.basicConfig(
|
||||||
|
level=logging.INFO,
|
||||||
|
format='%(asctime)s %(message)s',
|
||||||
|
datefmt='%y/%m/%d %H:%M:%S'
|
||||||
|
)
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
log.info("Starting enervent-logger")
|
Loading…
Reference in New Issue