mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
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
This commit is contained in:
parent
d3fa7dec13
commit
9d2585ba0f
@ -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 (<devicename>, <type>, <detailfnfirst>, <imagesize x>, <imagesize y>,<scale x>, <error description>, <path array>, <error array>)
|
||||
function AutomowerConnectUpdateDetail (dev, type, detailfnfirst, picx, picy, scalx, errdesc, pos, erray) {
|
||||
const colorat = {
|
||||
|
Loading…
Reference in New Issue
Block a user