Python plugin: Modbus RTU / ASCII / TCP/IP Topic is solved

Python and python framework

Moderator: leecollings

Allras82
Posts: 20
Joined: Thursday 26 October 2017 19:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python plugin: Modbus RTU / ASCII / TCP/IP

Post by Allras82 »

Hi.

I found the github page...
But not that much info.

Can you share an example of how your commands looks
Thanks.
User avatar
andrehj
Posts: 44
Joined: Sunday 06 January 2019 14:26
Target OS: -
Domoticz version:
Contact:

Re: Python plugin: Modbus RTU / ASCII / TCP/IP

Post by andrehj »

Some more info:
I used to read my ABB B23 and B21 energy meters with this plugin, but had two problems:
1. Depending on the sensor type I selected, the measured values would be read as "1, value". See this post and some below.
2. After some days Domoticz would freeze and had to be restarted.[/list]

Since this plugin is no longer supported, I started looking for an alternative, and found MBRTU, which I run from a PHP-script started by crontab.
I now only use this Modbus plugin to read my SMA PV inverter via Modbus TCP-IP, since MBRTU doesn't support Modbus over TCP/IP.
I'm very happy with MBRTU, since it solved both my problems described above.
This is the command I send for energy consumption (in 0.01 kWh):
/mbrtu/mbrtu -d /dev/ttyUSB-RS485 -P -a2 -f3 -tuint64 -n4 -r0x5000
And this one for power (in 0.01W)
/mbrtu/mbrtu -d /dev/ttyUSB-RS485 -P -a2 -f3 -tint32 -n2 -r0x5B14

But some knowledge of PHP scripting (or whatever language you want to use) is needed.

These were the commands I used to get mbrtu running:

Code: Select all

sudo apt update
sudo apt install libmodbus-dev
sudo git clone https://github.com/gitaeuber/mbrtu.git
cd /mbrtu
sudo make
sudo make install
Allras82
Posts: 20
Joined: Thursday 26 October 2017 19:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python plugin: Modbus RTU / ASCII / TCP/IP

Post by Allras82 »

Thanks.
I'm afraid it is a bit to much og different coding for me.
I'm og with simple code inside domoticz event... but I believe this needs a bit more than that.

I'm thinking of maybe have a modbus to mqtt converter instead!

Sendt fra min SM-G981B med Tapatalk

User avatar
Copitano
Posts: 49
Joined: Friday 28 June 2019 1:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: NL
Contact:

Re: Python plugin: Modbus RTU / ASCII / TCP/IP

Post by Copitano »

Thanks to @Domoticx and everyone else who contributed to the development of this plugin. I now have a SEM228T pyranometer running on it. The first test from the balcony is promising.
Attachments
Schermafbeelding 2021-11-19 181744.jpg
Schermafbeelding 2021-11-19 181744.jpg (54.05 KiB) Viewed 5642 times
IMG_8387 klein.jpg
IMG_8387 klein.jpg (60.87 KiB) Viewed 5642 times
JPSke
Posts: 32
Joined: Wednesday 11 November 2020 11:37
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Sint-Gillis-Waas, Belgium
Contact:

Re: Python plugin: Modbus RTU / ASCII / TCP/IP

Post by JPSke »

Hello Everybody,

did anyone succeed to integrate the plugin "Modbus RTU/ASCII/TCP - WRITE using User Variable v1.0.9" from "https://pastebin.com/raw/5zwiepyu"?
I can load the plugin and use it as hardware but when I try to execute it, all other plugins stop working, giving a message in the log: "thread seems to have ended unexpectedly" for all active plugins.

Thanks for any help,
JP

Update: is it possible that the plugin has only been adapted for RTU over serial and not for TCP/IP?
Mazzokun
Posts: 89
Joined: Thursday 28 April 2016 23:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Milan, Italy
Contact:

Re: Python plugin: Modbus RTU / ASCII / TCP/IP

Post by Mazzokun »

andrehj wrote: Tuesday 16 November 2021 18:12 If you want to read such a value, simply use MBRTU in a script (I use PHP scripts). It is much more flexible.
Since I'm familiar with MBRTU, I only use this Python plugin for Modbus over TCP/IP.
My system support only TCP/IP Modbus not RTU..
There isn't any possibility to read a 16 bit binary number without any conversion?
jatitsku
Posts: 7
Joined: Sunday 10 April 2022 19:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Finland
Contact:

Re: Python plugin: Modbus RTU / ASCII / TCP/IP

Post by jatitsku »

Alain wrote: Thursday 01 July 2021 0:39
KrisWp wrote: Saturday 17 April 2021 21:38
andrehj wrote: Saturday 17 April 2021 20:16
What error do you get when "the modbus flips"?
I also had many unexplained modbus errors. Sometimes there were hours without them, and then they would reappear at 12 minute intervals. Could not find an explanation, but all of these errors disappeared when I installed a 120 Ohm resistor on both ends of the RS485 bus, even though my bus is only 6 meters long (I use AWG23 twisted pair).
Everywhere you read that these resistors are only needed for very long lengths, but in my case they solved all modbus errors.
No specific error. But the values I received are sometimes 0.
With another commandline tool (sdm120c), also bad results at the moment Domoticz return zero’s.
Resistors are also in place...
Is there a way to tune the polling? Or to disable autopolling and initiate it from script?
I'm getting these errors too (at least every day at random times). I have already set the polling rate to different intervals for each hardware device and I just added a 120 ohm resistor (although the lengths are short), but that didn't help either. I'm thinking about disabling the autopolling (disable the heartbeat part in the script) too and calling from a separate script. I currently have 15 devices reading from 2 different heat pumps.
I also get these random modbus errors, but I'm using modbus TCP.
Alain
Posts: 164
Joined: Sunday 26 April 2020 5:27
Target OS: Linux
Domoticz version: 2022.1
Location: Netherlands
Contact:

Re: Python plugin: Modbus RTU / ASCII / TCP/IP

Post by Alain »

I "solved" my problems by setting a crontab to restart Domoticz every 6 hours. This works for me, but I have to say that I don't run any other process on this pc. It's a remote server that only runs modbus for the heat pumps.

Restarting Domoticz every 6 hours ensures I don't have any errors from requests running simultaneously. This shows that that is the problem I and others have/had.
Hue | Zigbee2Mqtt | MQTT | P1 | Xiaomi | RFXCom | Modbus | Qlima | Solaredge
TP-Link | Plugwise | Thermosmart | Node-Red | Grafana | Master and 5 remote servers
jatitsku
Posts: 7
Joined: Sunday 10 April 2022 19:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Finland
Contact:

Re: Python plugin: Modbus RTU / ASCII / TCP/IP

Post by jatitsku »

Alain wrote: Monday 25 April 2022 10:52 I "solved" my problems by setting a crontab to restart Domoticz every 6 hours. This works for me, but I have to say that I don't run any other process on this pc. It's a remote server that only runs modbus for the heat pumps.

Restarting Domoticz every 6 hours ensures I don't have any errors from requests running simultaneously. This shows that that is the problem I and others have/had.
My problem seem to be different. I tried restart, but got lots of errors. So what I did I set different polling rates for different parameters, prime numbers from 11 to 43 seconds. I suspect PLC (Siemens LOGO!) doesn't handle well several modbus request at same time. Mostly works. I only get errors when multiple parameters are read about the same time.

EDIT:
I ended up putting some random sleep in plugin, like this:

Code: Select all

@@ -173,6 +173,8 @@
import Domoticz
import sys
import pymodbus
import time
import random

from pymodbus.client.sync import ModbusSerialClient # RTU
from pymodbus.client.sync import ModbusTcpClient    # RTU over TCP
@@ -324,6 +326,7 @@ def onDisconnect(self, Connection):
        Domoticz.Log("onDisconnect called")

    def onHeartbeat(self):
	time.sleep(random.random()*5)
        Domoticz.Log("onHeartbeat called")

jatitsku
Posts: 7
Joined: Sunday 10 April 2022 19:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Finland
Contact:

Re: Python plugin: Modbus RTU / ASCII / TCP/IP

Post by jatitsku »

From https://www.domoticz.com/wiki/Developin ... hon_plugin
The following things should not be attempted using the Python Framework:

Waiting or sleepingin Domoticz callbacks. Plugin callbacks are single threaded so the whole plugin system will wait.
Is this true anymore? If I add constant sleep (for example 1 second) in onHeartbeat call I still get these errors. IMO this indicates that multiple plugin threads are running at same time. Is there a way to prevent an plugin instance from executing if another one is already running?
errors.PNG
errors.PNG (25.62 KiB) Viewed 3739 times
Ayep
Posts: 15
Joined: Friday 27 March 2020 8:16
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: France
Contact:

Re: Python plugin: Modbus RTU / ASCII / TCP/IP

Post by Ayep »

Hi all,

Firstly, thanks to those who have worked on this ; I'm hoping I can make use of this neat device soon!

I've been struggling to get things running, and have thoroughly read through this entire thread twice now.

The device :
rpi4 with lastest distro, uptodate and upgraded etc.
Stable Domoticz 2022.1


First thing I'd like to point out, it that in my case, I've also had to install python3-dev for the "Modbus RTU etc" devices to show up in the hardware list. Hope that'll be of use to someone.

Now, my next issue, is simply that a Modbus hardware is getting the whole domoticz to hang. Actually, it still lists as "+" in the sudo service --status-all commandline, but this is what I then have to do to regain control :

Code: Select all

sudo service domoticz stop
sudo sqlite3  -header -list /home/pi/domoticz/domoticz.db "UPDATE Hardware set Enabled = 0 where ID = 8"
sudo servive domoticz start
Now, here comes the nasty log file :
Spoiler: show
2022-06-13 17:28:58.482 SDM230 - Voltage: Worker thread started.
2022-06-13 17:28:58.482 Status: SDM230 - Voltage: Entering work loop.
2022-06-13 17:28:58.482 Status: SDM230 - Voltage: Started.
2022-06-13 17:28:58.752 Status: SDM230 - Voltage: Initialized version 2021.7, author 'S. Ebeltjes / DomoticX.nl'
2022-06-13 17:28:58.754 SDM230 - Voltage: onStart called
2022-06-13 17:28:58.754 SDM230 - Voltage: Modbus RTU/ASCII/TCP - Universal READ loaded!, using python v3.9.2 and pymodbus v2.5.3
2022-06-13 17:28:58.754 SDM230 - Voltage: Debug logging mask set to: PYTHON PLUGIN QUEUE IMAGE DEVICE CONNECTION MESSAGE ALL
2022-06-13 17:28:58.754 SDM230 - Voltage: 'HardwareID':'8'
2022-06-13 17:28:58.754 SDM230 - Voltage: 'HomeFolder':'/home/pi/domoticz/plugins/modbus-read/'
2022-06-13 17:28:58.754 SDM230 - Voltage: 'StartupFolder':'/home/pi/domoticz/'
2022-06-13 17:28:58.754 SDM230 - Voltage: 'UserDataFolder':'/home/pi/domoticz/'
2022-06-13 17:28:58.754 SDM230 - Voltage: 'Database':'/home/pi/domoticz/domoticz.db'
2022-06-13 17:28:58.754 SDM230 - Voltage: 'Language':'en'
2022-06-13 17:28:58.754 SDM230 - Voltage: 'Version':'2021.7'
2022-06-13 17:28:58.754 SDM230 - Voltage: 'Author':'S. Ebeltjes / DomoticX.nl'
2022-06-13 17:28:58.754 SDM230 - Voltage: 'Name':'SDM230 - Voltage'
2022-06-13 17:28:58.754 SDM230 - Voltage: 'Address':'192.168.1.170:502'
2022-06-13 17:28:58.754 SDM230 - Voltage: 'Port':'0'
2022-06-13 17:28:58.754 SDM230 - Voltage: 'SerialPort':'/dev/serial1'
2022-06-13 17:28:58.754 SDM230 - Voltage: 'Username':'4'
2022-06-13 17:28:58.754 SDM230 - Voltage: 'Password':'1:10'
2022-06-13 17:28:58.754 SDM230 - Voltage: 'Key':'ModbusREAD'
2022-06-13 17:28:58.754 SDM230 - Voltage: 'Mode1':'tcpip:debug'
2022-06-13 17:28:58.754 SDM230 - Voltage: 'Mode2':'9600'
2022-06-13 17:28:58.754 SDM230 - Voltage: 'Mode3':'S1B8PN'
2022-06-13 17:28:58.754 SDM230 - Voltage: 'Mode4':'Voltage'
2022-06-13 17:28:58.754 SDM230 - Voltage: 'Mode5':'div0'
2022-06-13 17:28:58.754 SDM230 - Voltage: 'Mode6':'float32'
2022-06-13 17:28:58.754 SDM230 - Voltage: 'DomoticzVersion':'2022.1'
2022-06-13 17:28:58.755 SDM230 - Voltage: 'DomoticzHash':'c9526851b'
2022-06-13 17:28:58.755 SDM230 - Voltage: 'DomoticzBuildTime':'2022-01-31 09:34:32'
2022-06-13 17:28:58.755 SDM230 - Voltage: Device count: 0
2022-06-13 17:28:58.755 SDM230 - Voltage: ***** NOTIFICATION: Debug enabled!
2022-06-13 17:28:58.755 SDM230 - Voltage: Pushing 'PollIntervalDirective' on to queue
2022-06-13 17:28:58.755 SDM230 - Voltage: ***** NOTIFICATION: Pollrate (heartbeat): 10 seconds.
2022-06-13 17:28:58.755 Error: Domoticz(pid:5919, tid:7626('SDM230 - Voltag')) received fatal signal 11 (Segmentation fault)
2022-06-13 17:28:58.755 Error: siginfo address=0x171f, address=(nil)
2022-06-13 17:29:00.471 Error: Did not find stack frame for thread (LWP 7626)), printing full gdb output:

2022-06-13 17:29:00.471 Error: > gdb: warning: Couldn't determine a path for the index cache directory.
2022-06-13 17:29:00.472 Error: > [New LWP 5920]
2022-06-13 17:29:00.472 Error: > [New LWP 5921]
2022-06-13 17:29:00.472 Error: > [New LWP 5922]
2022-06-13 17:29:00.472 Error: > [New LWP 5923]
2022-06-13 17:29:00.472 Error: > [New LWP 5924]
2022-06-13 17:29:00.472 Error: > [New LWP 5925]
2022-06-13 17:29:00.472 Error: > [New LWP 5926]
2022-06-13 17:29:00.472 Error: > [New LWP 5927]
2022-06-13 17:29:00.472 Error: > [New LWP 5928]
2022-06-13 17:29:00.472 Error: > [New LWP 5929]
2022-06-13 17:29:00.472 Error: > [New LWP 5930]
2022-06-13 17:29:00.472 Error: > [New LWP 5931]
2022-06-13 17:29:00.472 Error: > [New LWP 5932]
2022-06-13 17:29:00.472 Error: > [New LWP 5933]
2022-06-13 17:29:00.472 Error: > [New LWP 5934]
2022-06-13 17:29:00.472 Error: > [New LWP 5935]
2022-06-13 17:29:00.472 Error: > [New LWP 5941]
2022-06-13 17:29:00.472 Error: > [New LWP 5942]
2022-06-13 17:29:00.472 Error: > [New LWP 5943]
2022-06-13 17:29:00.472 Error: > [New LWP 5944]
2022-06-13 17:29:00.472 Error: > [New LWP 5945]
2022-06-13 17:29:00.472 Error: > [New LWP 5946]
2022-06-13 17:29:00.472 Error: > [New LWP 5955]
2022-06-13 17:29:00.472 Error: > [New LWP 5956]
2022-06-13 17:29:00.472 Error: > [New LWP 5957]
2022-06-13 17:29:00.472 Error: > [New LWP 5958]
2022-06-13 17:29:00.472 Error: > [New LWP 5959]
2022-06-13 17:29:00.472 Error: > [New LWP 5960]
2022-06-13 17:29:00.472 Error: > [New LWP 5961]
2022-06-13 17:29:00.472 Error: > [New LWP 7626]
2022-06-13 17:29:00.472 Error: > [Thread debugging using libthread_db enabled]
2022-06-13 17:29:00.472 Error: > Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
2022-06-13 17:29:00.472 Error: > 0xb68d7f8c in __GI___clock_nanosleep_time64 (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0xbe839978, req@entry=0xbe839970, rem=0xbe839988, rem@entry=0xbe839980) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:52
2022-06-13 17:29:00.472 Error: > 52 ../sysdeps/unix/sysv/linux/clock_nanosleep.c: No such file or directory.
2022-06-13 17:29:00.473 Error: > Id Target Id Frame
2022-06-13 17:29:00.473 Error: > * 1 Thread 0xb5ddd010 (LWP 5919) "domoticz" 0xb68d7f8c in __GI___clock_nanosleep_time64 (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0xbe839978, req@entry=0xbe839970, rem=0xbe839988, rem@entry=0xbe839980) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:52
2022-06-13 17:29:00.473 Error: > 2 Thread 0xb58cf220 (LWP 5920) "Watchdog" 0xb68d7f8c in __GI___clock_nanosleep_time64 (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0xb58ceb90, req@entry=0xb58ceb88, rem=0xb58ceba0, rem@entry=0xb58ceb98) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:52
2022-06-13 17:29:00.473 Error: > 3 Thread 0xb50c6220 (LWP 5921) "SQLHelper" syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
2022-06-13 17:29:00.473 Error: > 4 Thread 0xb48c5220 (LWP 5922) "PluginMgr" syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
2022-06-13 17:29:00.473 Error: > 5 Thread 0xb3b22220 (LWP 5923) "InfluxPush" syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
2022-06-13 17:29:00.473 Error: > 6 Thread 0xb3321220 (LWP 5924) "Webem_ssncleane" 0xb691763c in epoll_wait (epfd=23, events=0xb3320378, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
2022-06-13 17:29:00.473 Error: > 7 Thread 0xb2b20220 (LWP 5925) "WebServer_8080" 0xb691763c in epoll_wait (epfd=19, events=0xb2b1f348, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
2022-06-13 17:29:00.473 Error: > 8 Thread 0xb21ff220 (LWP 5926) "Webem_ssncleane" 0xb691763c in epoll_wait (epfd=30, events=0xb21fe378, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
2022-06-13 17:29:00.473 Error: > 9 Thread 0xb19fe220 (LWP 5927) "WebServer_443" 0xb691763c in epoll_wait (epfd=26, events=0xb19fd348, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
2022-06-13 17:29:00.473 Error: > 10 Thread 0xb0fff220 (LWP 5928) "Scheduler" syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
2022-06-13 17:29:00.473 Error: > 11 Thread 0xb07fe220 (LWP 5929) "TCPServer" 0xb691763c in epoll_wait (epfd=33, events=0xb07fd378, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
2022-06-13 17:29:00.473 Error: > 12 Thread 0xafdff220 (LWP 5930) "MainWorker" syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
2022-06-13 17:29:00.473 Error: > 13 Thread 0xaf5fe220 (LWP 5931) "MainWorkerRxMsg" futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0xaf5fdba0, clockid=<optimized out>, expected=0, futex_word=0xa8e3b0 <m_mainworker+3984>) at ../sysdeps/nptl/futex-internal.h:323
2022-06-13 17:29:00.473 Error: > 14 Thread 0xaebff220 (LWP 5932) "WebServer_8080" syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
2022-06-13 17:29:00.473 Error: > 15 Thread 0xae1ff220 (LWP 5933) "RFXCOM" syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
2022-06-13 17:29:00.473 Error: > 16 Thread 0xad9fe220 (LWP 5934) "ZWaveBase" syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
2022-06-13 17:29:00.473 Error: > 17 Thread 0xacfff220 (LWP 5935) "DarkSky" syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
2022-06-13 17:29:00.473 Error: > 18 Thread 0xac5ff220 (LWP 5941) "Pi motherboard " syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
2022-06-13 17:29:00.473 Error: > 19 Thread 0xabdfe220 (LWP 5942) "MainWorker" 0xb691763c in epoll_wait (epfd=16, events=0xabdfd360, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
2022-06-13 17:29:00.473 Error: > 20 Thread 0xab5fd220 (LWP 5943) "Domoticz_HBWork" syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
2022-06-13 17:29:00.473 Error: > 21 Thread 0xaadfc220 (LWP 5944) "NotificationSys" futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0xaadfbbd0, clockid=<optimized out>, expected=0, futex_word=0xa8de7c <m_mainworker+2652>) at ../sysdeps/nptl/futex-internal.h:323
2022-06-13 17:29:00.473 Error: > 22 Thread 0xaa5fb220 (LWP 5945) "EventSystem" syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
2022-06-13 17:29:00.473 Error: > 23 Thread 0xa9dfa220 (LWP 5946) "EventSystemQueu" futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0xa9df9ae0, clockid=<optimized out>, expected=0, futex_word=0xa8d578 <m_mainworker+344>) at ../sysdeps/nptl/futex-internal.h:323
2022-06-13 17:29:00.473 Error: > 24 Thread 0xa95f9220 (LWP 5955) "Plugin_ASIO" futex_wait_cancelable (private=0, expected=0, futex_word=0x29a9478) at ../sysdeps/nptl/futex-internal.h:186
2022-06-13 17:29:00.473 Error: > 25 Thread 0xa8bff220 (LWP 5956) "RFXCOM" 0xb691763c in epoll_wait (epfd=13, events=0xa8bfe360, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
2022-06-13 17:29:00.473 Error: > 26 Thread 0xa83fe220 (LWP 5957) "OZW-driver" futex_wait_cancelable (private=0, expected=0, futex_word=0xa4d5fad8) at ../sysdeps/nptl/futex-internal.h:186
2022-06-13 17:29:00.473 Error: > 27 Thread 0xa7bfd220 (LWP 5958) "OZW-dns" futex_wait_cancelable (private=0, expected=0, futex_word=0xafebbf28) at ../sysdeps/nptl/futex-internal.h:186
2022-06-13 17:29:00.473 Error: > 28 Thread 0xa73fc220 (LWP 5959) "OZW-timer" futex_wait_cancelable (private=0, expected=0, futex_word=0xb1001ad8) at ../sysdeps/nptl/futex-internal.h:186
2022-06-13 17:29:00.473 Error: > 29 Thread 0xa6bfb220 (LWP 5960) "OZW-driver" 0xb69102a8 in __GI___select (nfds=42, readfds=0xa6bfa9c8, writefds=0x0, exceptfds=0xa6bfaa48, timeout=0x0) at ../sysdeps/unix/sysv/linux/select.c:41
2022-06-13 17:29:00.473 Error: > 30 Thread 0xa63fa220 (LWP 5961) "OZW-poll" futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0xa63f9b10, clockid=<optimized out>, expected=0, futex_word=0xb2203840) at ../sysdeps/nptl/futex-internal.h:323
2022-06-13 17:29:00.473 Error: > 31 Thread 0xa3dff220 (LWP 7626) "SDM230 - Voltag" 0xb68de4d4 in __GI___wait4 (pid=7646, stat_loc=0xb102a508, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27
2022-06-13 17:29:00.473 Error: >
2022-06-13 17:29:00.473 Error: > Thread 31 (Thread 0xa3dff220 (LWP 7626) "SDM230 - Voltag"):
2022-06-13 17:29:00.473 Error: > #0 0xb68de4d4 in __GI___wait4 (pid=7646, stat_loc=0xb102a508, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27
2022-06-13 17:29:00.474 Error: > #1 0x0029121c in dumpstack_gdb(bool) ()
2022-06-13 17:29:00.474 Error: > #2 0x002917e8 in signal_handler(int, siginfo_t*, void*) ()
2022-06-13 17:29:00.474 Error: > #3 <signal handler called>
2022-06-13 17:29:00.474 Error: > #4 raise (sig=11) at ../sysdeps/unix/sysv/linux/raise.c:50
2022-06-13 17:29:00.474 Error: > #5 <signal handler called>
2022-06-13 17:29:00.474 Error: > #6 0x00000014 in ?? ()
2022-06-13 17:29:00.474 Error: > #7 0xb595247c in _PyEval_EvalFrameDefault () from /lib/arm-linux-gnueabihf/libpython3.9.so
2022-06-13 17:29:00.474 Error: > #8 0xafff843c in ?? ()
2022-06-13 17:29:00.474 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.474 Error: >
2022-06-13 17:29:00.474 Error: > Thread 30 (Thread 0xa63fa220 (LWP 5961) "OZW-poll"):
2022-06-13 17:29:00.474 Error: > #0 futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0xa63f9b10, clockid=<optimized out>, expected=0, futex_word=0xb2203840) at ../sysdeps/nptl/futex-internal.h:323
2022-06-13 17:29:00.474 Error: > #1 __pthread_cond_wait_common (abstime=0xa63f9b10, clockid=<optimized out>, mutex=0x0, cond=0xb2203818) at pthread_cond_wait.c:520
2022-06-13 17:29:00.474 Error: > #2 __pthread_cond_timedwait (cond=0xb2203818, mutex=0x0, abstime=0xa63f9b10) at pthread_cond_wait.c:656
2022-06-13 17:29:00.474 Error: > #3 0x00837068 in OpenZWave::Internal::Platform::EventImpl::Wait(int) ()
2022-06-13 17:29:00.474 Error: > #4 0x00830fe0 in OpenZWave::Internal::Platform::Wait::Multiple(OpenZWave::Internal::Platform::Wait**, unsigned int, int) ()
2022-06-13 17:29:00.474 Error: > #5 0x007b7a84 in OpenZWave::Driver::PollThreadProc(OpenZWave::Internal::Platform::Event*) ()
2022-06-13 17:29:00.474 Error: > #6 0x00834fe8 in OpenZWave::Internal::Platform::ThreadImpl::Run() ()
2022-06-13 17:29:00.474 Error: > #7 0x00835004 in OpenZWave::Internal::Platform::ThreadImpl::ThreadProc(void*) ()
2022-06-13 17:29:00.474 Error: > #8 0xb6a53300 in start_thread (arg=0xa63fa220) at pthread_create.c:477
2022-06-13 17:29:00.474 Error: > #9 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.474 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.474 Error: >
2022-06-13 17:29:00.474 Error: > Thread 29 (Thread 0xa6bfb220 (LWP 5960) "OZW-driver"):
2022-06-13 17:29:00.474 Error: > #0 0xb69102a8 in __GI___select (nfds=42, readfds=0xa6bfa9c8, writefds=0x0, exceptfds=0xa6bfaa48, timeout=0x0) at ../sysdeps/unix/sysv/linux/select.c:41
2022-06-13 17:29:00.474 Error: > #1 0x00836ab8 in OpenZWave::Internal::Platform::SerialControllerImpl::Read(OpenZWave::Internal::Platform::Event*) ()
2022-06-13 17:29:00.474 Error: > #2 0x00836b10 in OpenZWave::Internal::Platform::SerialControllerImpl::ReadThreadProc(OpenZWave::Internal::Platform::Event*) ()
2022-06-13 17:29:00.474 Error: > #3 0x00834fe8 in OpenZWave::Internal::Platform::ThreadImpl::Run() ()
2022-06-13 17:29:00.474 Error: > #4 0x00835004 in OpenZWave::Internal::Platform::ThreadImpl::ThreadProc(void*) ()
2022-06-13 17:29:00.474 Error: > #5 0xb6a53300 in start_thread (arg=0xa6bfb220) at pthread_create.c:477
2022-06-13 17:29:00.474 Error: > #6 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.474 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.474 Error: >
2022-06-13 17:29:00.474 Error: > Thread 28 (Thread 0xa73fc220 (LWP 5959) "OZW-timer"):
2022-06-13 17:29:00.474 Error: > #0 futex_wait_cancelable (private=0, expected=0, futex_word=0xb1001ad8) at ../sysdeps/nptl/futex-internal.h:186
2022-06-13 17:29:00.474 Error: > #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x0, cond=0xb1001ab0) at pthread_cond_wait.c:508
2022-06-13 17:29:00.474 Error: > #2 __pthread_cond_wait (cond=0xb1001ab0, mutex=0x0) at pthread_cond_wait.c:638
2022-06-13 17:29:00.474 Error: > #3 0x00836ee8 in OpenZWave::Internal::Platform::EventImpl::Wait(int) ()
2022-06-13 17:29:00.475 Error: > #4 0x00830fe0 in OpenZWave::Internal::Platform::Wait::Multiple(OpenZWave::Internal::Platform::Wait**, unsigned int, int) ()
2022-06-13 17:29:00.475 Error: > #5 0x007d4a60 in OpenZWave::Internal::TimerThread::TimerThreadProc(OpenZWave::Internal::Platform::Event*) ()
2022-06-13 17:29:00.475 Error: > #6 0x00834fe8 in OpenZWave::Internal::Platform::ThreadImpl::Run() ()
2022-06-13 17:29:00.475 Error: > #7 0x00835004 in OpenZWave::Internal::Platform::ThreadImpl::ThreadProc(void*) ()
2022-06-13 17:29:00.475 Error: > #8 0xb6a53300 in start_thread (arg=0xa73fc220) at pthread_create.c:477
2022-06-13 17:29:00.475 Error: > #9 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.475 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.475 Error: >
2022-06-13 17:29:00.475 Error: > Thread 27 (Thread 0xa7bfd220 (LWP 5958) "OZW-dns"):
2022-06-13 17:29:00.475 Error: > #0 futex_wait_cancelable (private=0, expected=0, futex_word=0xafebbf28) at ../sysdeps/nptl/futex-internal.h:186
2022-06-13 17:29:00.475 Error: > #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x0, cond=0xafebbf00) at pthread_cond_wait.c:508
2022-06-13 17:29:00.475 Error: > #2 __pthread_cond_wait (cond=0xafebbf00, mutex=0x0) at pthread_cond_wait.c:638
2022-06-13 17:29:00.475 Error: > #3 0x00836ee8 in OpenZWave::Internal::Platform::EventImpl::Wait(int) ()
2022-06-13 17:29:00.475 Error: > #4 0x00830fe0 in OpenZWave::Internal::Platform::Wait::Multiple(OpenZWave::Internal::Platform::Wait**, unsigned int, int) ()
2022-06-13 17:29:00.475 Error: > #5 0x007e4068 in OpenZWave::Internal::DNSThread::DNSThreadProc(OpenZWave::Internal::Platform::Event*) ()
2022-06-13 17:29:00.475 Error: > #6 0x00834fe8 in OpenZWave::Internal::Platform::ThreadImpl::Run() ()
2022-06-13 17:29:00.475 Error: > #7 0x00835004 in OpenZWave::Internal::Platform::ThreadImpl::ThreadProc(void*) ()
2022-06-13 17:29:00.475 Error: > #8 0xb6a53300 in start_thread (arg=0xa7bfd220) at pthread_create.c:477
2022-06-13 17:29:00.475 Error: > #9 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.475 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.475 Error: >
2022-06-13 17:29:00.475 Error: > Thread 26 (Thread 0xa83fe220 (LWP 5957) "OZW-driver"):
2022-06-13 17:29:00.475 Error: > #0 futex_wait_cancelable (private=0, expected=0, futex_word=0xa4d5fad8) at ../sysdeps/nptl/futex-internal.h:186
2022-06-13 17:29:00.475 Error: > #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x0, cond=0xa4d5fab0) at pthread_cond_wait.c:508
2022-06-13 17:29:00.475 Error: > #2 __pthread_cond_wait (cond=0xa4d5fab0, mutex=0x0) at pthread_cond_wait.c:638
2022-06-13 17:29:00.475 Error: > #3 0x00836ee8 in OpenZWave::Internal::Platform::EventImpl::Wait(int) ()
2022-06-13 17:29:00.475 Error: > #4 0x00830fe0 in OpenZWave::Internal::Platform::Wait::Multiple(OpenZWave::Internal::Platform::Wait**, unsigned int, int) ()
2022-06-13 17:29:00.475 Error: > #5 0x007c89a4 in OpenZWave::Driver::DriverThreadProc(OpenZWave::Internal::Platform::Event*) ()
2022-06-13 17:29:00.475 Error: > #6 0x00834fe8 in OpenZWave::Internal::Platform::ThreadImpl::Run() ()
2022-06-13 17:29:00.475 Error: > #7 0x00835004 in OpenZWave::Internal::Platform::ThreadImpl::ThreadProc(void*) ()
2022-06-13 17:29:00.475 Error: > #8 0xb6a53300 in start_thread (arg=0xa83fe220) at pthread_create.c:477
2022-06-13 17:29:00.475 Error: > #9 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.475 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.475 Error: >
2022-06-13 17:29:00.475 Error: > Thread 25 (Thread 0xa8bff220 (LWP 5956) "RFXCOM"):
2022-06-13 17:29:00.475 Error: > #0 0xb691763c in epoll_wait (epfd=13, events=0xa8bfe360, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
2022-06-13 17:29:00.475 Error: > #1 0x003d519c in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
2022-06-13 17:29:00.475 Error: > #2 0x003d7194 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
2022-06-13 17:29:00.475 Error: > #3 0x003d9520 in boost::detail::thread_data<AsyncSerial::open(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, boost::asio::serial_port_base::parity, boost::asio::serial_port_base::character_size, boost::asio::serial_port_base::flow_control, boost::asio::serial_port_base::stop_bits)::{lambda()#2}>::run() ()
2022-06-13 17:29:00.476 Error: > #4 0x0077d374 in thread_proxy ()
2022-06-13 17:29:00.476 Error: > #5 0xb6a53300 in start_thread (arg=0xa8bff220) at pthread_create.c:477
2022-06-13 17:29:00.476 Error: > #6 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.476 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.476 Error: >
2022-06-13 17:29:00.476 Error: > Thread 24 (Thread 0xa95f9220 (LWP 5955) "Plugin_ASIO"):
2022-06-13 17:29:00.476 Error: > #0 futex_wait_cancelable (private=0, expected=0, futex_word=0x29a9478) at ../sysdeps/nptl/futex-internal.h:186
2022-06-13 17:29:00.476 Error: > #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x0, cond=0x29a9450) at pthread_cond_wait.c:508
2022-06-13 17:29:00.476 Error: > #2 __pthread_cond_wait (cond=0x29a9450, mutex=0x0) at pthread_cond_wait.c:638
2022-06-13 17:29:00.476 Error: > #3 0x003d727c in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
2022-06-13 17:29:00.476 Error: > #4 0x00683e74 in Plugins::BoostWorkers() ()
2022-06-13 17:29:00.476 Error: > #5 0x0077d374 in thread_proxy ()
2022-06-13 17:29:00.476 Error: > #6 0xb6a53300 in start_thread (arg=0xa95f9220) at pthread_create.c:477
2022-06-13 17:29:00.476 Error: > #7 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.476 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.476 Error: >
2022-06-13 17:29:00.476 Error: > Thread 23 (Thread 0xa9dfa220 (LWP 5946) "EventSystemQueu"):
2022-06-13 17:29:00.476 Error: > #0 futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0xa9df9ae0, clockid=<optimized out>, expected=0, futex_word=0xa8d578 <m_mainworker+344>) at ../sysdeps/nptl/futex-internal.h:323
2022-06-13 17:29:00.476 Error: > #1 __pthread_cond_wait_common (abstime=0xa9df9ae0, clockid=<optimized out>, mutex=0x403e0000, cond=0xa8d550 <m_mainworker+304>) at pthread_cond_wait.c:520
2022-06-13 17:29:00.476 Error: > #2 __pthread_cond_timedwait (cond=0xa8d550 <m_mainworker+304>, mutex=0x403e0000, abstime=0xa9df9ae0) at pthread_cond_wait.c:656
2022-06-13 17:29:00.476 Error: > #3 0x00213404 in CEventSystem::EventQueueThread() ()
2022-06-13 17:29:00.476 Error: > #4 0x00906734 in execute_native_thread_routine ()
2022-06-13 17:29:00.476 Error: > #5 0xb6a53300 in start_thread (arg=0xa9dfa220) at pthread_create.c:477
2022-06-13 17:29:00.476 Error: > #6 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.476 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.476 Error: >
2022-06-13 17:29:00.476 Error: > Thread 22 (Thread 0xaa5fb220 (LWP 5945) "EventSystem"):
2022-06-13 17:29:00.476 Error: > #0 syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
2022-06-13 17:29:00.476 Error: > #1 0x008e41a4 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
2022-06-13 17:29:00.476 Error: > #2 0x0020a438 in CEventSystem::Do_Work() ()
2022-06-13 17:29:00.476 Error: > #3 0x00906734 in execute_native_thread_routine ()
2022-06-13 17:29:00.476 Error: > #4 0xb6a53300 in start_thread (arg=0xaa5fb220) at pthread_create.c:477
2022-06-13 17:29:00.476 Error: > #5 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.476 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.476 Error: >
2022-06-13 17:29:00.476 Error: > Thread 21 (Thread 0xaadfc220 (LWP 5944) "NotificationSys"):
2022-06-13 17:29:00.476 Error: > #0 futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0xaadfbbd0, clockid=<optimized out>, expected=0, futex_word=0xa8de7c <m_mainworker+2652>) at ../sysdeps/nptl/futex-internal.h:323
2022-06-13 17:29:00.476 Error: > #1 __pthread_cond_wait_common (abstime=0xaadfbbd0, clockid=<optimized out>, mutex=0x0, cond=0xa8de50 <m_mainworker+2608>) at pthread_cond_wait.c:520
2022-06-13 17:29:00.476 Error: > #2 __pthread_cond_timedwait (cond=0xa8de50 <m_mainworker+2608>, mutex=0x0, abstime=0xaadfbbd0) at pthread_cond_wait.c:656
2022-06-13 17:29:00.476 Error: > #3 0x00277298 in CNotificationSystem::QueueThread() ()
2022-06-13 17:29:00.477 Error: > #4 0x00906734 in execute_native_thread_routine ()
2022-06-13 17:29:00.477 Error: > #5 0xb6a53300 in start_thread (arg=0xaadfc220) at pthread_create.c:477
2022-06-13 17:29:00.477 Error: > #6 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.477 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.477 Error: >
2022-06-13 17:29:00.477 Error: > Thread 20 (Thread 0xab5fd220 (LWP 5943) "Domoticz_HBWork"):
2022-06-13 17:29:00.477 Error: > #0 syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
2022-06-13 17:29:00.477 Error: > #1 0x008e41a4 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
2022-06-13 17:29:00.477 Error: > #2 0x0042e664 in CDomoticzHardwareBase::Do_Heartbeat_Work() ()
2022-06-13 17:29:00.477 Error: > #3 0x00906734 in execute_native_thread_routine ()
2022-06-13 17:29:00.477 Error: > #4 0xb6a53300 in start_thread (arg=0xab5fd220) at pthread_create.c:477
2022-06-13 17:29:00.477 Error: > #5 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.477 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.477 Error: >
2022-06-13 17:29:00.477 Error: > Thread 19 (Thread 0xabdfe220 (LWP 5942) "MainWorker"):
2022-06-13 17:29:00.477 Error: > #0 0xb691763c in epoll_wait (epfd=16, events=0xabdfd360, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
2022-06-13 17:29:00.477 Error: > #1 0x003d519c in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
2022-06-13 17:29:00.477 Error: > #2 0x003d7194 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
2022-06-13 17:29:00.477 Error: > #3 0x003d9520 in boost::detail::thread_data<AsyncSerial::open(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, boost::asio::serial_port_base::parity, boost::asio::serial_port_base::character_size, boost::asio::serial_port_base::flow_control, boost::asio::serial_port_base::stop_bits)::{lambda()#2}>::run() ()
2022-06-13 17:29:00.477 Error: > #4 0x0077d374 in thread_proxy ()
2022-06-13 17:29:00.477 Error: > #5 0xb6a53300 in start_thread (arg=0xabdfe220) at pthread_create.c:477
2022-06-13 17:29:00.477 Error: > #6 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.477 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.477 Error: >
2022-06-13 17:29:00.477 Error: > Thread 18 (Thread 0xac5ff220 (LWP 5941) "Pi motherboard "):
2022-06-13 17:29:00.477 Error: > #0 syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
2022-06-13 17:29:00.477 Error: > #1 0x008e41a4 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
2022-06-13 17:29:00.477 Error: > #2 0x004adec8 in CHardwareMonitor::Do_Work() ()
2022-06-13 17:29:00.477 Error: > #3 0x00906734 in execute_native_thread_routine ()
2022-06-13 17:29:00.477 Error: > #4 0xb6a53300 in start_thread (arg=0xac5ff220) at pthread_create.c:477
2022-06-13 17:29:00.477 Error: > #5 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.477 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.477 Error: >
2022-06-13 17:29:00.477 Error: > Thread 17 (Thread 0xacfff220 (LWP 5935) "DarkSky"):
2022-06-13 17:29:00.477 Error: > #0 syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
2022-06-13 17:29:00.477 Error: > #1 0x008e41a4 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
2022-06-13 17:29:00.477 Error: > #2 0x00416634 in CDarkSky::Do_Work() ()
2022-06-13 17:29:00.477 Error: > #3 0x00906734 in execute_native_thread_routine ()
2022-06-13 17:29:00.477 Error: > #4 0xb6a53300 in start_thread (arg=0xacfff220) at pthread_create.c:477
2022-06-13 17:29:00.477 Error: > #5 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.478 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.478 Error: >
2022-06-13 17:29:00.478 Error: > Thread 16 (Thread 0xad9fe220 (LWP 5934) "ZWaveBase"):
2022-06-13 17:29:00.478 Error: > #0 syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
2022-06-13 17:29:00.478 Error: > #1 0x008e41a4 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
2022-06-13 17:29:00.478 Error: > #2 0x0066f6d4 in ZWaveBase::Do_Work() ()
2022-06-13 17:29:00.478 Error: > #3 0x00906734 in execute_native_thread_routine ()
2022-06-13 17:29:00.478 Error: > #4 0xb6a53300 in start_thread (arg=0xad9fe220) at pthread_create.c:477
2022-06-13 17:29:00.478 Error: > #5 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.478 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.478 Error: >
2022-06-13 17:29:00.478 Error: > Thread 15 (Thread 0xae1ff220 (LWP 5933) "RFXCOM"):
2022-06-13 17:29:00.478 Error: > #0 syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
2022-06-13 17:29:00.478 Error: > #1 0x008e41a4 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
2022-06-13 17:29:00.478 Error: > #2 0x005da878 in RFXComSerial::Do_Work() ()
2022-06-13 17:29:00.478 Error: > #3 0x00906734 in execute_native_thread_routine ()
2022-06-13 17:29:00.478 Error: > #4 0xb6a53300 in start_thread (arg=0xae1ff220) at pthread_create.c:477
2022-06-13 17:29:00.478 Error: > #5 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.478 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.478 Error: >
2022-06-13 17:29:00.478 Error: > Thread 14 (Thread 0xaebff220 (LWP 5932) "WebServer_8080"):
2022-06-13 17:29:00.478 Error: > #0 syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
2022-06-13 17:29:00.478 Error: > #1 0x008e41a4 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
2022-06-13 17:29:00.478 Error: > #2 0x0073412c in http::server::CWebsocketHandler::Do_Work() ()
2022-06-13 17:29:00.478 Error: > #3 0x00906734 in execute_native_thread_routine ()
2022-06-13 17:29:00.478 Error: > #4 0xb6a53300 in start_thread (arg=0xaebff220) at pthread_create.c:477
2022-06-13 17:29:00.478 Error: > #5 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.478 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.478 Error: >
2022-06-13 17:29:00.478 Error: > Thread 13 (Thread 0xaf5fe220 (LWP 5931) "MainWorkerRxMsg"):
2022-06-13 17:29:00.478 Error: > #0 futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0xaf5fdba0, clockid=<optimized out>, expected=0, futex_word=0xa8e3b0 <m_mainworker+3984>) at ../sysdeps/nptl/futex-internal.h:323
2022-06-13 17:29:00.478 Error: > #1 __pthread_cond_wait_common (abstime=0xaf5fdba0, clockid=<optimized out>, mutex=0xb6a4ea1c, cond=0xa8e388 <m_mainworker+3944>) at pthread_cond_wait.c:520
2022-06-13 17:29:00.478 Error: > #2 __pthread_cond_timedwait (cond=0xa8e388 <m_mainworker+3944>, mutex=0xb6a4ea1c, abstime=0xaf5fdba0) at pthread_cond_wait.c:656
2022-06-13 17:29:00.478 Error: > #3 0x00263724 in MainWorker::Do_Work_On_Rx_Messages() ()
2022-06-13 17:29:00.478 Error: > #4 0x00906734 in execute_native_thread_routine ()
2022-06-13 17:29:00.478 Error: > #5 0xb6a53300 in start_thread (arg=0xaf5fe220) at pthread_create.c:477
2022-06-13 17:29:00.478 Error: > #6 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.478 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.478 Error: >
2022-06-13 17:29:00.479 Error: > Thread 12 (Thread 0xafdff220 (LWP 5930) "MainWorker"):
2022-06-13 17:29:00.479 Error: > #0 syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
2022-06-13 17:29:00.479 Error: > #1 0x008e41a4 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
2022-06-13 17:29:00.479 Error: > #2 0x0025f5fc in MainWorker::Do_Work() ()
2022-06-13 17:29:00.479 Error: > #3 0x00906734 in execute_native_thread_routine ()
2022-06-13 17:29:00.479 Error: > #4 0xb6a53300 in start_thread (arg=0xafdff220) at pthread_create.c:477
2022-06-13 17:29:00.479 Error: > #5 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.479 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.479 Error: >
2022-06-13 17:29:00.479 Error: > Thread 11 (Thread 0xb07fe220 (LWP 5929) "TCPServer"):
2022-06-13 17:29:00.479 Error: > #0 0xb691763c in epoll_wait (epfd=33, events=0xb07fd378, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
2022-06-13 17:29:00.479 Error: > #1 0x003d519c in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
2022-06-13 17:29:00.479 Error: > #2 0x003d7194 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
2022-06-13 17:29:00.479 Error: > #3 0x006e0d80 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<tcp::server::CTCPServer::StartServer(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::{lambda()#1}> > >::_M_run() ()
2022-06-13 17:29:00.479 Error: > #4 0x00906734 in execute_native_thread_routine ()
2022-06-13 17:29:00.479 Error: > #5 0xb6a53300 in start_thread (arg=0xb07fe220) at pthread_create.c:477
2022-06-13 17:29:00.479 Error: > #6 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.479 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.479 Error: >
2022-06-13 17:29:00.479 Error: > Thread 10 (Thread 0xb0fff220 (LWP 5928) "Scheduler"):
2022-06-13 17:29:00.479 Error: > #0 syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
2022-06-13 17:29:00.479 Error: > #1 0x008e41a4 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
2022-06-13 17:29:00.479 Error: > #2 0x00288690 in CScheduler::Do_Work() ()
2022-06-13 17:29:00.479 Error: > #3 0x00906734 in execute_native_thread_routine ()
2022-06-13 17:29:00.479 Error: > #4 0xb6a53300 in start_thread (arg=0xb0fff220) at pthread_create.c:477
2022-06-13 17:29:00.479 Error: > #5 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.479 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.479 Error: >
2022-06-13 17:29:00.479 Error: > Thread 9 (Thread 0xb19fe220 (LWP 5927) "WebServer_443"):
2022-06-13 17:29:00.479 Error: > #0 0xb691763c in epoll_wait (epfd=26, events=0xb19fd348, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
2022-06-13 17:29:00.479 Error: > #1 0x003d519c in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
2022-06-13 17:29:00.479 Error: > #2 0x003d7194 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
2022-06-13 17:29:00.479 Error: > #3 0x0072bc88 in http::server::server_base::run() ()
2022-06-13 17:29:00.479 Error: > #4 0x002d9bfc in std::thread::_State_impl<std::thread::_Invoker<std::tuple<http::server::CWebServer::StartServer(http::server::server_settings&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)::{lambda()#280}> > >::_M_run() ()
2022-06-13 17:29:00.479 Error: > #5 0x00906734 in execute_native_thread_routine ()
2022-06-13 17:29:00.479 Error: > #6 0xb6a53300 in start_thread (arg=0xb19fe220) at pthread_create.c:477
2022-06-13 17:29:00.479 Error: > #7 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.479 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.479 Error: >
2022-06-13 17:29:00.479 Error: > Thread 8 (Thread 0xb21ff220 (LWP 5926) "Webem_ssncleane"):
2022-06-13 17:29:00.479 Error: > #0 0xb691763c in epoll_wait (epfd=30, events=0xb21fe378, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
2022-06-13 17:29:00.480 Error: > #1 0x003d519c in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
2022-06-13 17:29:00.480 Error: > #2 0x003d7194 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
2022-06-13 17:29:00.480 Error: > #3 0x006fc0b4 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<http::server::cWebem::cWebem(http::server::server_settings const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::{lambda()#2}> > >::_M_run() ()
2022-06-13 17:29:00.480 Error: > #4 0x00906734 in execute_native_thread_routine ()
2022-06-13 17:29:00.480 Error: > #5 0xb6a53300 in start_thread (arg=0xb21ff220) at pthread_create.c:477
2022-06-13 17:29:00.480 Error: > #6 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.480 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.480 Error: >
2022-06-13 17:29:00.480 Error: > Thread 7 (Thread 0xb2b20220 (LWP 5925) "WebServer_8080"):
2022-06-13 17:29:00.480 Error: > #0 0xb691763c in epoll_wait (epfd=19, events=0xb2b1f348, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
2022-06-13 17:29:00.480 Error: > #1 0x003d519c in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
2022-06-13 17:29:00.480 Error: > #2 0x003d7194 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
2022-06-13 17:29:00.480 Error: > #3 0x0072bc88 in http::server::server_base::run() ()
2022-06-13 17:29:00.480 Error: > #4 0x002d9bfc in std::thread::_State_impl<std::thread::_Invoker<std::tuple<http::server::CWebServer::StartServer(http::server::server_settings&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)::{lambda()#280}> > >::_M_run() ()
2022-06-13 17:29:00.480 Error: > #5 0x00906734 in execute_native_thread_routine ()
2022-06-13 17:29:00.480 Error: > #6 0xb6a53300 in start_thread (arg=0xb2b20220) at pthread_create.c:477
2022-06-13 17:29:00.480 Error: > #7 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.480 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.480 Error: >
2022-06-13 17:29:00.480 Error: > Thread 6 (Thread 0xb3321220 (LWP 5924) "Webem_ssncleane"):
2022-06-13 17:29:00.480 Error: > #0 0xb691763c in epoll_wait (epfd=23, events=0xb3320378, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
2022-06-13 17:29:00.480 Error: > #1 0x003d519c in boost::asio::detail::epoll_reactor::run(long, boost::asio::detail::op_queue<boost::asio::detail::scheduler_operation>&) ()
2022-06-13 17:29:00.480 Error: > #2 0x003d7194 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
2022-06-13 17:29:00.480 Error: > #3 0x006fc0b4 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<http::server::cWebem::cWebem(http::server::server_settings const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::{lambda()#2}> > >::_M_run() ()
2022-06-13 17:29:00.480 Error: > #4 0x00906734 in execute_native_thread_routine ()
2022-06-13 17:29:00.480 Error: > #5 0xb6a53300 in start_thread (arg=0xb3321220) at pthread_create.c:477
2022-06-13 17:29:00.480 Error: > #6 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.480 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.480 Error: >
2022-06-13 17:29:00.480 Error: > Thread 5 (Thread 0xb3b22220 (LWP 5923) "InfluxPush"):
2022-06-13 17:29:00.480 Error: > #0 syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
2022-06-13 17:29:00.480 Error: > #1 0x008e41a4 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
2022-06-13 17:29:00.480 Error: > #2 0x00393ed0 in CInfluxPush::Do_Work() ()
2022-06-13 17:29:00.480 Error: > #3 0x00906734 in execute_native_thread_routine ()
2022-06-13 17:29:00.480 Error: > #4 0xb6a53300 in start_thread (arg=0xb3b22220) at pthread_create.c:477
2022-06-13 17:29:00.481 Error: > #5 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.481 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.481 Error: >
2022-06-13 17:29:00.481 Error: > Thread 4 (Thread 0xb48c5220 (LWP 5922) "PluginMgr"):
2022-06-13 17:29:00.481 Error: > #0 syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
2022-06-13 17:29:00.481 Error: > #1 0x008e41a4 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
2022-06-13 17:29:00.481 Error: > #2 0x00684684 in Plugins::CPluginSystem::Do_Work() ()
2022-06-13 17:29:00.481 Error: > #3 0x00906734 in execute_native_thread_routine ()
2022-06-13 17:29:00.481 Error: > #4 0xb6a53300 in start_thread (arg=0xb48c5220) at pthread_create.c:477
2022-06-13 17:29:00.481 Error: > #5 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.481 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.481 Error: >
2022-06-13 17:29:00.481 Error: > Thread 3 (Thread 0xb50c6220 (LWP 5921) "SQLHelper"):
2022-06-13 17:29:00.481 Error: > #0 syscall () at ../sysdeps/unix/sysv/linux/arm/syscall.S:37
2022-06-13 17:29:00.481 Error: > #1 0x008e41a4 in std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >) ()
2022-06-13 17:29:00.481 Error: > #2 0x002a8698 in CSQLHelper::Do_Work() ()
2022-06-13 17:29:00.481 Error: > #3 0x00906734 in execute_native_thread_routine ()
2022-06-13 17:29:00.481 Error: > #4 0xb6a53300 in start_thread (arg=0xb50c6220) at pthread_create.c:477
2022-06-13 17:29:00.481 Error: > #5 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.481 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.481 Error: >
2022-06-13 17:29:00.481 Error: > Thread 2 (Thread 0xb58cf220 (LWP 5920) "Watchdog"):
2022-06-13 17:29:00.481 Error: > #0 0xb68d7f8c in __GI___clock_nanosleep_time64 (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0xb58ceb90, req@entry=0xb58ceb88, rem=0xb58ceba0, rem@entry=0xb58ceb98) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:52
2022-06-13 17:29:00.481 Error: > #1 0xb68d8080 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=<optimized out>, rem=0xb58cebd0) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:92
2022-06-13 17:29:00.481 Error: > #2 0xb68de830 in __GI___nanosleep (requested_time=<optimized out>, remaining=<optimized out>) at nanosleep.c:27
2022-06-13 17:29:00.481 Error: > #3 0x00224e2c in sleep_milliseconds(long) ()
2022-06-13 17:29:00.481 Error: > #4 0x00291950 in Do_Watchdog_Work() ()
2022-06-13 17:29:00.481 Error: > #5 0x00906734 in execute_native_thread_routine ()
2022-06-13 17:29:00.481 Error: > #6 0xb6a53300 in start_thread (arg=0xb58cf220) at pthread_create.c:477
2022-06-13 17:29:00.481 Error: > #7 0xb6917208 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
2022-06-13 17:29:00.481 Error: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
2022-06-13 17:29:00.481 Error: >
2022-06-13 17:29:00.481 Error: > Thread 1 (Thread 0xb5ddd010 (LWP 5919) "domoticz"):
2022-06-13 17:29:00.481 Error: > #0 0xb68d7f8c in __GI___clock_nanosleep_time64 (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0xbe839978, req@entry=0xbe839970, rem=0xbe839988, rem@entry=0xbe839980) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:52
2022-06-13 17:29:00.481 Error: > #1 0xb68d8080 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=<optimized out>, rem=0xbe8399b8) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:92
2022-06-13 17:29:00.481 Error: > #2 0xb68de830 in __GI___nanosleep (requested_time=<optimized out>, remaining=<optimized out>) at nanosleep.c:27
2022-06-13 17:29:00.481 Error: > #3 0x00224d98 in sleep_seconds(long) ()
2022-06-13 17:29:00.481 Error: > #4 0x001af740 in main ()
2022-06-13 17:29:00.481 Error: >
2022-06-13 17:29:00.481 Error: > Main thread:
2022-06-13 17:29:00.482 Error: > #0 0xb68d7f8c in __GI___clock_nanosleep_time64 (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0xbe839978, req@entry=0xbe839970, rem=0xbe839988, rem@entry=0xbe839980) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:52
2022-06-13 17:29:00.482 Error: > #1 0xb68d8080 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=<optimized out>, rem=0xbe8399b8) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:92
2022-06-13 17:29:00.482 Error: > #2 0xb68de830 in __GI___nanosleep (requested_time=<optimized out>, remaining=<optimized out>) at nanosleep.c:27
2022-06-13 17:29:00.482 Error: > #3 0x00224d98 in sleep_seconds(long) ()
2022-06-13 17:29:00.482 Error: > #4 0x001af740 in main ()
2022-06-13 17:29:00.482 Error: > [Inferior 1 (process 5919) detached]
I've tried installing (and defaulting) Python 3.9.0, as I had somewhere found this could have been an issue. No change though

Any ideas to what might be going on?
Attachments
Hardware.png
Hardware.png (77.48 KiB) Viewed 3632 times
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Python plugin: Modbus RTU / ASCII / TCP/IP

Post by waltervl »

There is a known issue with Domoticz stable 2022 on RPi on bullseye OS and python plugins.
Things are mostly solved in beta version of Domoticz.
See also wiki https://www.domoticz.com/wiki/Raspberry_Pi
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Ayep
Posts: 15
Joined: Friday 27 March 2020 8:16
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: France
Contact:

Re: Python plugin: Modbus RTU / ASCII / TCP/IP

Post by Ayep »

Hi

Many thanks for your response.
I had not realised this was a bullseye / python issue, but that now makes a lot more sense.
I'll try the beta and if not I'll roll back to buster and stick with stable.

Many thanks for the input.
jono
Posts: 21
Joined: Saturday 09 July 2016 8:27
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: U.K.-England
Contact:

Re: Python plugin: Modbus RTU / ASCII / TCP/IP

Post by jono »

Is this the most reliable Modbus ? Or is they other options
Alain
Posts: 164
Joined: Sunday 26 April 2020 5:27
Target OS: Linux
Domoticz version: 2022.1
Location: Netherlands
Contact:

Re: Python plugin: Modbus RTU / ASCII / TCP/IP

Post by Alain »

jono wrote: Friday 22 July 2022 19:38 Is this the most reliable Modbus ? Or is they other options
Works fine for me. Only issue is you have to add new hardware for each device, or register and if a hardware device polls its slave at the same time as another hardware device does this, you get errors. You can set a different poll rate for each hardware device but 10 seconds is not always precisely 10 seconds so after a while, they cross. I solved this by restarting Domoticz 4 times a day via a crontab. Works for me because I run Modbus on a dedicated remote server computer.
Hue | Zigbee2Mqtt | MQTT | P1 | Xiaomi | RFXCom | Modbus | Qlima | Solaredge
TP-Link | Plugwise | Thermosmart | Node-Red | Grafana | Master and 5 remote servers
sq3reg
Posts: 3
Joined: Sunday 01 July 2018 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python plugin: Modbus RTU / ASCII / TCP/IP

Post by sq3reg »

Hi everyone, from update system i have a problem with pymodbus.client.sync. The plugin did no see localisation. Second problem is multitasking- when pooling interval is same for 4, 5 nodes there is lots of errors .


2022-11-06 12:57:55.000 Error: test: (ModbusREAD) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/modbus-read/:/usr/lib/python39.zip:/usr/lib/python3.9:/usr/lib/python3.9/lib-dynload:/usr/local/lib/python3.9/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.9/dist-packages'.
2022-11-06 12:57:55.002 Error: test: Traceback (most recent call last):
2022-11-06 12:57:55.002 Error: test: File "/home/pi/domoticz/plugins/modbus-read/plugin.py", line 172, in <module>
2022-11-06 12:57:55.002 Error: test: from pymodbus.client.sync import ModbusSerialClient # RTU
2022-11-06 12:57:55.002 Error: test: ModuleNotFoundError: No module named 'pymodbus.client.sync
Alain
Posts: 164
Joined: Sunday 26 April 2020 5:27
Target OS: Linux
Domoticz version: 2022.1
Location: Netherlands
Contact:

Re: Python plugin: Modbus RTU / ASCII / TCP/IP

Post by Alain »

Have you installed module pymodbus?

https://pypi.org/project/pymodbus/
Hue | Zigbee2Mqtt | MQTT | P1 | Xiaomi | RFXCom | Modbus | Qlima | Solaredge
TP-Link | Plugwise | Thermosmart | Node-Red | Grafana | Master and 5 remote servers
simat
Posts: 33
Joined: Thursday 04 November 2021 21:17
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: UK
Contact:

Re: Python plugin: Modbus RTU / ASCII / TCP/IP

Post by simat »

I get something very similar - must be something to do with the multitasking as it initially complained about the port not being open - now i get this

2022-11-06 17:10:35.102 Error: SDM120M-ID7: Call to function 'onHeartbeat' failed, exception details:
2022-11-06 17:10:35.103 Error: SDM120M-ID7: Traceback (most recent call last):
2022-11-06 17:10:35.103 Error: SDM120M-ID7: File "/home/pi/domoticz/plugins/SDM120Modbus/plugin.py", line 134, in onHeartbeat
2022-11-06 17:10:35.103 Error: SDM120M-ID7: _plugin.onHeartbeat()
2022-11-06 17:10:35.104 Error: SDM120M-ID7: File "/home/pi/domoticz/plugins/SDM120Modbus/plugin.py", line 85, in onHeartbeat
2022-11-06 17:10:35.104 Error: SDM120M-ID7: Total_System_Power = self.rs485.read_float(12, functioncode=4, numberOfRegisters=2)
2022-11-06 17:10:35.104 Error: SDM120M-ID7: File "/home/pi/domoticz/plugins/SDM120Modbus/minimalmodbus.py", line 392, in read_float
2022-11-06 17:10:35.104 Error: SDM120M-ID7: return self._genericCommand(functioncode, registeraddress, numberOfRegisters=numberOfRegisters, payloadformat='float')
2022-11-06 17:10:35.104 Error: SDM120M-ID7: File "/home/pi/domoticz/plugins/SDM120Modbus/minimalmodbus.py", line 697, in _genericCommand
2022-11-06 17:10:35.104 Error: SDM120M-ID7: payloadFromSlave = self._performCommand(functioncode, payloadToSlave)
2022-11-06 17:10:35.104 Error: SDM120M-ID7: File "/home/pi/domoticz/plugins/SDM120Modbus/minimalmodbus.py", line 795, in _performCommand
2022-11-06 17:10:35.104 Error: SDM120M-ID7: response = self._communicate(request, number_of_bytes_to_read)
2022-11-06 17:10:35.104 Error: SDM120M-ID7: File "/home/pi/domoticz/plugins/SDM120Modbus/minimalmodbus.py", line 930, in _communicate
2022-11-06 17:10:35.104 Error: SDM120M-ID7: raise IOError('No communication with the instrument (no answer)')
2022-11-06 17:10:35.104 Error: SDM120M-ID7: OSError: No communication with the instrument (no answer)

My temp fix at the moment is to disable the device in the hardware tab and re enabled it, this works until a reboot.

I editted "CLOSE_PORT_AFTER_EACH_CALL = True" in domoticz/plugins/SDM120Modbus/minimalmodbus.py - from the following plugin https://github.com/remcovanvugt/SDM120M ... icz-plugin to get rid of the open port issue.

This plugin has been running fine for over a year.
Raspberry Pi4, Sunny Boy 4000TL, Victron Multiplus II 10kw ESS, 44kWh LiFEPO4, Batrium BMS, NodeRED on Cerbo GX
Alain
Posts: 164
Joined: Sunday 26 April 2020 5:27
Target OS: Linux
Domoticz version: 2022.1
Location: Netherlands
Contact:

Re: Python plugin: Modbus RTU / ASCII / TCP/IP

Post by Alain »

simat wrote: Sunday 06 November 2022 18:18
I editted "CLOSE_PORT_AFTER_EACH_CALL = True" in domoticz/plugins/SDM120Modbus/minimalmodbus.py - from the following plugin https://github.com/remcovanvugt/SDM120M ... icz-plugin to get rid of the open port issue.

This plugin has been running fine for over a year.
Sorry, I don't have any experience with this repository. I use the repository from user Domoticx.
Hue | Zigbee2Mqtt | MQTT | P1 | Xiaomi | RFXCom | Modbus | Qlima | Solaredge
TP-Link | Plugwise | Thermosmart | Node-Red | Grafana | Master and 5 remote servers
sq3reg
Posts: 3
Joined: Sunday 01 July 2018 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python plugin: Modbus RTU / ASCII / TCP/IP

Post by sq3reg »

Alain wrote: Sunday 06 November 2022 18:00 Have you installed module pymodbus?

https://pypi.org/project/pymodbus/
Yes, thats was installed.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest