You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a small typo on line 203 of Tasmota_HTTP_Item.pm which throws an error if using async mode, it should read
$self->send_cmd($cmd);
and not
$self->send_cmnd($cmd);
It changes the set_by value to 'process item' if you use the async mode, making debugging much more difficult. I got around this by adding
$self->{this_set_by} = $set_by;
at the beginning of the set subroutine and
in process_check changing
#$self->SUPER::set( $state, "process item") unless (lc $state eq lc $self->state());
to
$self->SUPER::set( $state, $self->{this_set_by}) unless (lc $state eq lc $self->state());
The text was updated successfully, but these errors were encountered:
There is a small typo on line 203 of Tasmota_HTTP_Item.pm which throws an error if using async mode, it should read
$self->send_cmd($cmd);
and not
$self->send_cmnd($cmd);
It changes the set_by value to 'process item' if you use the async mode, making debugging much more difficult. I got around this by adding
$self->{this_set_by} = $set_by;
at the beginning of the set subroutine and
in process_check changing
#$self->SUPER::set( $state, "process item") unless (lc $state eq lc $self->state());
to
$self->SUPER::set( $state, $self->{this_set_by}) unless (lc $state eq lc $self->state());
The text was updated successfully, but these errors were encountered: