Eccolo
codice:
  
  $(document).ready(function() {

      $.ajax({
        url        : "http://192.168.1.128/devstat.json",
        type       : 'post',
        dataType   : 'json',
        contentType: 'application/json',
        data       : "",
        complete   : DEVread_status,
        error      : function(error) { console.log( "ERROR:", error ); alert('Impossibile leggere dal dispositivo...');}
      });

    }) ;
quindi se metto stato = {} ; fuori da ogni funzione ho definito la mia variabile globale