2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-15 04:20:56 +00:00

36_Shelly: reading ble fixed

git-svn-id: https://svn.fhem.de/fhem/trunk@29099 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Starkstrombastler 2024-08-23 22:18:16 +00:00
parent 9f203c9c88
commit 2c077973b2
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it
- bugfix: 36_Shelly.pm: reading 'ble' (bluetooth) fixed
- change: 70_PylonLowVoltage: internal code changes
- feature: 70_PylonLowVoltage: extend battery addresses up to 16
- change: 76_SolarForecast: attr ctrlWeatherDevX to setupWeatherDevX,

View File

@ -101,6 +101,7 @@
# new: attr timeout controls write out readings with response times
# 6.00 fix some details in commandref (german only)
# 6.00.1 fix: selection of readings for command 'set clear responsetimes' improved; Debug commands removed
# 6.00.2 fix: reading ble (bluetooth) may be set to disabled
# to do roller: get maxtime open/close from shelly
# get status on stopp even when interval == 0
@ -123,7 +124,7 @@ sub Log($$);
sub Shelly_Set ($@);
#-- globals on start
my $version = "6.00.1 18.08.2024";
my $version = "6.00.2 24.08.2024";
my $defaultINTERVAL = 60;
my $multiplyIntervalOnError = 1.0; # mechanism disabled if value=1
@ -4423,7 +4424,7 @@ sub Shelly_settings2G {
### checking bluetooth ble
my $ble = $jhash->{ble}{enable};
$ble = defined($ble) ? "enabled" : " disabled";
$ble = defined($ble) ? ($ble == 1 ? "enabled" : "disabled"):"error";
readingsBulkUpdateIfChanged($hash,"ble",$ble);
### Cloud