Initial commit

This commit is contained in:
Jarno Rankinen 2023-01-15 13:15:05 +02:00
commit 7aeb601700
4 changed files with 29 additions and 0 deletions

7
README.md Normal file
View File

@ -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.

5
enervent-ctrl-python/.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
bin/
include/
lib/
lib64
share/

View File

@ -0,0 +1,3 @@
home = /usr/bin
include-system-site-packages = false
version = 3.9.2

View File

@ -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")