Closed Spyky closed 1 year ago
Hey,
I have no idea why Domoticz crashes. 3.7.3 is a bit of old Python version but should be OK (I'm running 3.9.2 without any issues). I propose to create an issue in the Domoticz forum, someone might be able to provide an idea (you'd need to provide also which hardware platform and OS version you're running on)
There are currently 2 hardware types:
The second one is the one that is working (this plugin). I created an issue in Domoticz 5393 to have the first one removed but Gizmocuz is reluctant.....
Hey,
I have no idea why Domoticz crashes. 3.7.3 is a bit of old Python version but should be OK (I'm running 3.9.2 without any issues). I propose to create an issue in the Domoticz forum, someone might be able to provide an idea (you'd need to provide also which hardware platform and OS version you're running on)
There are currently 2 hardware types:
- GoodWe solar inverter via Web API
- GoodWe solar inverter via SEMS API
The second one is the one that is working (this plugin). I created an issue in Domoticz 5393 to have the first one removed but Gizmocuz is reluctant.....
Thnks for thw quick reply.
Can try to update the python version. Already posted in the forum and then it looked like it was the Growatt plugin. But it happens again so something else.
i have 2 hardware types GoodWe solar inverter via SEMS API en one GoodWe solar inverter via Web API.
you have to use the GoodWe solar inverter via SEMS API
you have to use the GoodWe solar inverter via SEMS API
I know but i have two :)
Will look into it.
Thanks until so far...
It might be causing problems to run both? Can you share a screenshot of your HW page?
Think you mean this
Op di 7 mrt. 2023 16:49 schreef Jan-Jaap Kostelijk @.***
:
It might be causing problems to run both? Can you share a screenshot of your HW page?
— Reply to this email directly, view it on GitHub https://github.com/JanJaapKo/domoticz-GoodWeSEMS/issues/24#issuecomment-1458401178, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI2UKP4WGXGM65Q7JAYD5YDW25KJJANCNFSM6AAAAAAVSOVHOQ . You are receiving this because you authored the thread.Message ID: @.***>
And the plugins
Op di 7 mrt. 2023 16:55 schreef jsth @.***>:
Think you mean this
Op di 7 mrt. 2023 16:49 schreef Jan-Jaap Kostelijk < @.***>:
It might be causing problems to run both? Can you share a screenshot of your HW page?
— Reply to this email directly, view it on GitHub https://github.com/JanJaapKo/domoticz-GoodWeSEMS/issues/24#issuecomment-1458401178, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI2UKP4WGXGM65Q7JAYD5YDW25KJJANCNFSM6AAAAAAVSOVHOQ . You are receiving this because you authored the thread.Message ID: @.***>
I don't see anything. I think this doesn't work by replying the mail.......
Think you mean this Op di 7 mrt. 2023 16:49 schreef Jan-Jaap Kostelijk @. … : It might be causing problems to run both? Can you share a screenshot of your HW page? — Reply to this email directly, view it on GitHub <#24 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI2UKP4WGXGM65Q7JAYD5YDW25KJJANCNFSM6AAAAAAVSOVHOQ . You are receiving this because you authored the thread.Message ID: @.>
Ah right so there are 2 HW modules available but you have only 1 running.
There may be a problem with the "olddomoticz etc" folder, as Domoticz goes through all folders looking for plugin.py files and takes from there the name of the plugin. And it can't really deal with twice the same plugin, even in a different folder, so propose you delete that folder.
The same may apply to the zigbee2Mqtt folder, if that holds the zigebee2mqtt plugin.
Ok, thanks Have also stuff in backup. Wil remove them. 👍
Op di 7 mrt. 2023 21:28 schreef Jan-Jaap Kostelijk @.***
:
Ah right so there are 2 HW modules available but you have only 1 running.
There may be a problem with the "olddomoticz etc" folder, as Domoticz goes through all folders looking for plugin.py files and takes from there the name of the plugin. And it can't really deal with twice the same plugin, even in a different folder, so propose you delete that folder.
— Reply to this email directly, view it on GitHub https://github.com/JanJaapKo/domoticz-GoodWeSEMS/issues/24#issuecomment-1458825667, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI2UKPYRD3IE2MG6XY3BLMTW26K7NANCNFSM6AAAAAAVSOVHOQ . You are receiving this because you authored the thread.Message ID: @.***>
Ok, thanks Have also stuff in backup. Wil remove them. 👍 Op di 7 mrt. 2023 21:28 schreef Jan-Jaap Kostelijk @. … : Ah right so there are 2 HW modules available but you have only 1 running. There may be a problem with the "olddomoticz etc" folder, as Domoticz goes through all folders looking for plugin.py files and takes from there the name of the plugin. And it can't really deal with twice the same plugin, even in a different folder, so propose you delete that folder. — Reply to this email directly, view it on GitHub <#24 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI2UKPYRD3IE2MG6XY3BLMTW26K7NANCNFSM6AAAAAAVSOVHOQ . You are receiving this because you authored the thread.Message ID: @.>
After deleting, one left. But also my history of de inverter gone.
The historical data is stored in the database of Domoticz so deleteing the folders should not hurt, as long as the plugin isn't used....... If you know what you're doing you can copy the historical data from your backed up database into the actual database. I've done that once after a corrupted SD card. Was a bit of a hassle but worked out ok (I even put in some old data based on my energy bills......)
But most importantly: are the crashes gone?
The historical data is stored in the database of Domoticz so deleteing the folders should not hurt, as long as the plugin isn't used....... If you know what you're doing you can copy the historical data from your backed up database into the actual database. I've done that once after a corrupted SD card. Was a bit of a hassle but worked out ok (I even put in some old data based on my energy bills......)
But most importantly: are the crashes gone?
The database correction is indeed a thing in domoticz. Will what i will do. Until now no craches. So lets hope this was the dolution.
Thanks for the support.
Several times a day domoticz crashes.
When i look in the crash log i find:
23 Thread 0x6a0f7200 (LWP 1046) "Goodwe Uitbouw" __waitpid (options=0, stat _loc=0x6a0f5690, pid=31108) at ../sysdeps/unix/sysv/linux/waitpid.c:30
Thread 23 (Thread 0x6a0f7200 (LWP 1046)):
0 __waitpid (options=0, stat_loc=0x6a0f5690, pid=31108) at ../sysdeps/unix/sys v/linux/waitpid.c:30
1 __waitpid (pid=31108, stat_loc=0x6a0f5690, options=0) at ../sysdeps/unix/sys v/linux/waitpid.c:25
2 0x002868cc in dumpstack_gdb(bool) ()
3 0x00286e98 in signal_handler(int, siginfo_t, void) ()
4
5 raise (sig=11) at ../sysdeps/unix/sysv/linux/raise.c:50
6
7 0x75ccbd0c in ?? () from /usr/lib/arm-linux-gnueabihf/libpython3.7m.so
8 0x75ccc17c in ?? () from /usr/lib/arm-linux-gnueabihf/libpython3.7m.so
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
The strange thing is that i first had the same problem with a Growatt inverter plugin. I delete everything from that inverter and after 2 days it started with the Goodwe inverter plugin.
Als deleted the Goodwe plugin and downloaded a the last version. Same problem.
Any ideau what is cousing this problem?
In hardware is see 2 SemsApi types.. How do i know what is the good one or doesn't it matter which i choose.
.
Domoticz environment (please complete the following information):