electrodacus-esp32
electrodacus-esp32 copied to clipboard
Uncaught ReferenceError in legacy page
Just flashed the latest release (fixing the stale invalid varables).
Seems like the fix also introduced some regressions. sbms.html now throws:
sbms.html:353 Uncaught ReferenceError: Ld is not defined at sbms.html:357:23
Varable definition for Ld is indeed missing in /rawData
I added var Ld="#"; to the output from jsvarstore dump as a workaround and it now threw:
sbms.html:353 Uncaught ReferenceError: PV1 is not defined at sbms.html:353:23
After adding again var PV1="#"; the legacy page works again.
As you probably can tell I am not using a PV input shunt so I guess thats why those varables are empty.
Hi,
I'm seeing similar things after updating my sbms0 today:
Uncaught SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
all http://192.168.92.250/sbms.html:122
rawData output:
var Btn="##############################################################################################################<'########H###?}###################################################'#&2011.+)(%###############$##&##'&%(##########################";
var Btp="###########################################################################################################f}b##A[G:>79.#179##3331000/111:=?>;>5./3776-,,+.222,&&)..-,++1323)$#%##########%')+++.-(,($(&#$########}|z{|yyzwyyxzyxzzx{zxxrux?";
var ELd="##############################################################################################################[C####$##G###Ag#################################$$##############&%&#&0/00-('%###############$##&##&&$'##########################";
var PV1="###########################################################################################################e}qgcZa``]_cliktvqnkida___
bcdhmggkjhhffgfeeghebbccdfhfeeeeeffghhiiiik}wiijkkmnprtvxyz||}|{zyxvutsrrqqqqqpponnmmlllkklllllmmmlmmmmll";
var PV2="################################################################################################################################################################################################################################################";
var dmppt="############################################################";
var eA="####Ip###%WN###############%WN###$'r####Il";
var eW="####,z####J################J####;b####,y";
var gsbms="%]0%E\%c7%^H(gQ%?R%f1*n9%T#########";
var s1=['Ah','A','SBMS0 '];
var s2=[0,0,0,1,0,0,0,0,3,4,1,1];
var sbms="#$$$7I#VKLKUKzJ##KRKSKP)h##+%#T%6{##################$DZ%N(";
var xsbms="#6JQ1Br%#(d";