ERROR: empty name in readingsBeginUpdate
2025.06.29 23:03:01.851 1: stacktrace:
2025.06.29 23:03:01.853 1: main::readingsBeginUpdate called by ./FHEM/36_Senec.pm (5198)
2025.06.29 23:03:01.855 1: FHEM::Senec::setStateAPI called by ./FHEM/36_Senec.pm (1660)
2025.06.29 23:03:01.857 1: FHEM::Senec::periodicCallAPI called by fhem.pl (3511)
2025.06.29 23:03:01.859 1: main::HandleTimeout called by fhem.pl (710)
2025.06.29 23:03:01.861 1: readingsUpdate(,ERROR,none) missed to call readingsBeginUpdate first.
2025.06.29 23:03:01.863 1: stacktrace:
2025.06.29 23:03:01.865 1: main::readingsBulkUpdate called by ./FHEM/36_Senec.pm (5199)
2025.06.29 23:03:01.867 1: FHEM::Senec::setStateAPI called by ./FHEM/36_Senec.pm (1660)
2025.06.29 23:03:01.869 1: FHEM::Senec::periodicCallAPI called by fhem.pl (3511)
2025.06.29 23:03:01.871 1: main::HandleTimeout called by fhem.pl (710)
2025.06.29 23:03:01.874 1: readingsUpdate(,lastUpdateAPI,2025-06-29 23:03:01) missed to call readingsBeginUpdate first.
2025.06.29 23:03:01.876 1: stacktrace:
2025.06.29 23:03:01.878 1: main::readingsBulkUpdate called by ./FHEM/36_Senec.pm (5200)
2025.06.29 23:03:01.880 1: FHEM::Senec::setStateAPI called by ./FHEM/36_Senec.pm (1660)
2025.06.29 23:03:01.882 1: FHEM::Senec::periodicCallAPI called by fhem.pl (3511)
2025.06.29 23:03:01.884 1: main::HandleTimeout called by fhem.pl (710)
2025.06.29 23:03:01.887 1: readingsUpdate(,stateAPI,connected) missed to call readingsBeginUpdate first.
2025.06.29 23:03:01.889 1: stacktrace:
2025.06.29 23:03:01.891 1: main::readingsBulkUpdate called by ./FHEM/36_Senec.pm (5201)
2025.06.29 23:03:01.893 1: FHEM::Senec::setStateAPI called by ./FHEM/36_Senec.pm (1660)
2025.06.29 23:03:01.895 1: FHEM::Senec::periodicCallAPI called by fhem.pl (3511)
2025.06.29 23:03:01.897 1: main::HandleTimeout called by fhem.pl (710)
2025.06.29 23:03:11.497 2: [FHEM::Senec::Senec_connect] none
event-on-change-reading
The attribute takes a comma-separated list of readings. You may use regular expressions in that list. If set, only changes of the listed readings create events. In other words, if a reading listed here is updated with the new value identical to the old value, no event is created. If an optional [:threshold] is given after a reading name events are only generated if the change is >= threshold
Zitat von: Adimarantis am 29 Juni 2025, 14:05:15Maybe you should consider learning how to use git/github![]()
ZitatFor now I applied your patch there, but had to do some additional fixes, as you did not consider the case when no option and just "-y" is given. Please check