From 9d2585ba0f9f1cf39fc79c74085adc2e08ac6bb6 Mon Sep 17 00:00:00 2001 From: Ellert <> Date: Wed, 28 Jun 2023 18:12:04 +0000 Subject: [PATCH] 74_AutomowerConnect: automowerconnect.js add extra map update function for FTUI2 git-svn-id: https://svn.fhem.de/fhem/trunk@27712 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/www/pgm2/automowerconnect.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/fhem/www/pgm2/automowerconnect.js b/fhem/www/pgm2/automowerconnect.js index 36ac63fcc..859aeab77 100644 --- a/fhem/www/pgm2/automowerconnect.js +++ b/fhem/www/pgm2/automowerconnect.js @@ -283,6 +283,16 @@ function AutomowerConnectUpdateJson ( path ) { } +function AutomowerConnectUpdateJsonFtui ( path ) { + $.getJSON( path, function( data, textStatus ) { + console.log( 'AutomowerConnectUpdateJsonFtui ( \''+path+'\' ): status '+textStatus ); + if ( textStatus == 'success') + AutomowerConnectUpdateDetail ( data.name, data.type, 1, data.picx, data.picy, data.scalx, data.errdesc, data.posxy, data.poserrxy ); + + }); + +} + //AutomowerConnectUpdateDetail (, , , , ,, , , ) function AutomowerConnectUpdateDetail (dev, type, detailfnfirst, picx, picy, scalx, errdesc, pos, erray) { const colorat = {