add wlanConnected reading

This commit is contained in:
Marko Oldenburg 2021-11-26 11:49:43 +01:00
parent 980c105268
commit 1bc18d3263

View File

@ -959,6 +959,8 @@ sub WriteReadings {
::readingsBulkUpdate( $hash, 'currentGMTime', $decode_json->{currentTime} ); ::readingsBulkUpdate( $hash, 'currentGMTime', $decode_json->{currentTime} );
::readingsBulkUpdate( $hash, 'serverConnected', ::readingsBulkUpdate( $hash, 'serverConnected',
$decode_json->{serverConnected} ); $decode_json->{serverConnected} );
::readingsBulkUpdate( $hash, 'wlanConnected',
$decode_json->{wlanConnected} );
::readingsEndUpdate( $hash, 1 ); ::readingsEndUpdate( $hash, 1 );
return; return;