GithubHelp home page GithubHelp logo

isystem-to-mqtt's People

Contributors

ngraziano avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

isystem-to-mqtt's Issues

Compatibility with Diematic BUS

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?

SyntaxError? / Python 2.7 incompatibility?

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?

Checksum error in rtu mode

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$

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.