ngraziano / isystem-to-mqtt Goto Github PK
View Code? Open in Web Editor NEWConnect to an ISystem Boiler and report value to MQTT
License: MIT License
Connect to an ISystem Boiler and report value to MQTT
License: MIT License
I tested your code with other boiler - De Dietrich MC25 and Diematic 3 console. It have different Modbus addresses, for example:
"outside/temperature" - 7
"zone-a/day-target-temperature" - 14
"zone-a/night-target-temperature" - 15
"zone-a/mode" - 17
"zone-a/sensor-temperature" - 18
"zone-b/day-target-temperature" - 23
"zone-b/night-target-temperature" - 24
May good option is to parametrize READ/WRITE tables and read sequence with version of boiler?
I'm getting an error:
pi@rPi ~ $ dump_isystem.py --serial /dev/ttyUSB0 --deviceid 10
File "/usr/local/bin/dump_isystem.py", line 62
print("{0:4d} => {1:5d} ".format(address, raw_values[index]), end='')
^
SyntaxError: invalid syntax
What could be the reason?
hi,
i find your git very helpful. Unfortunatelly lastly i started to get some issues. My setup is rpi with dietpi on it, connected with boiler via ftdi rs485 cable (with udev rule thus named tty device).
Could you please point me what is my problem ? I run poll_isystem as a service, below you can find log from status. Neither restarts of service nor whole rpi will not solve the issue. The script can work for few days, then for few days will note send any mqtt messages, and than can start to work properly out of nowhere.
● isystem_mqtt.service - demon komunkacji z kotlem
Loaded: loaded (/etc/systemd/system/isystem_mqtt.service; disabled; vendor preset: enabled)
Active: active (running) since Fri 2021-12-31 21:23:53 CET; 50s ago
Main PID: 2511 (python)
Tasks: 2 (limit: 4915)
CGroup: /system.slice/isystem_mqtt.service
└─2511 /home/dietpi/new_kociol/env/bin/python /home/dietpi/new_kociol/env/bin/poll_isystem_mqtt.py --interval
30 --log DEBUG 192.168.3.2 --serial /dev/ttyUSB_kociol
gru 31 21:24:41 DietPi-kotlownia python[2511]: File "/home/dietpi/new_kociol/env/lib/python3.5/site-packages/minimalmo
dbus.py", line 848, in read_registers
gru 31 21:24:41 DietPi-kotlownia python[2511]: payloadformat=_PAYLOADFORMAT_REGISTERS,
gru 31 21:24:41 DietPi-kotlownia python[2511]: File "/home/dietpi/new_kociol/env/lib/python3.5/site-packages/minimalmo
dbus.py", line 1170, in _generic_command
gru 31 21:24:41 DietPi-kotlownia python[2511]: payload_from_slave = self._perform_command(functioncode, payload_to_s
lave)
gru 31 21:24:41 DietPi-kotlownia python[2511]: File "/home/dietpi/new_kociol/env/lib/python3.5/site-packages/minimalmo
dbus.py", line 1244, in _perform_command
gru 31 21:24:41 DietPi-kotlownia python[2511]: response, self.address, self.mode, functioncode
gru 31 21:24:41 DietPi-kotlownia python[2511]: File "/home/dietpi/new_kociol/env/lib/python3.5/site-packages/minimalmo
dbus.py", line 1756, in _extract_payload
gru 31 21:24:41 DietPi-kotlownia python[2511]: raise InvalidResponseError(text)
gru 31 21:24:41 DietPi-kotlownia python[2511]: minimalmodbus.InvalidResponseError: Checksum error in rtu mode: 'àÜ' inst
ead of 'A\x8d' . The response is: '\x81ð\x00@4\x00\x00ü\x00Áþ\x00\x01\x80\x00\x00ð\x00\x028\x00àÜ' (plain response: '\x8
1ð\x00@4\x00\x00ü\x00Áþ\x00\x01\x80\x00\x00ð\x00\x028\x00àÜ')
gru 31 21:24:41 DietPi-kotlownia python[2511]: DEBUG:__main__:Read take 1.558s
dietpi@DietPi-kotlownia:~/new_kociol$
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.