Page 1 of 1

CMX 2.26.0 build 3248 - new webtag <#EcowittReception> issue

Posted: Thu 10 Aug 2023 8:06 pm
by Gyvate
Can I have a few examples of a context, in which this <#EcowittReception> webtag can/could be used ?
e.g. a http call or an entry in an template etc.
Thanks

Re: CMX 2.26.0 build 3248 - new webtag <#EcowittReception>

Posted: Fri 11 Aug 2023 9:02 am
by davepaterson
The existing web tag <#txbattery>, is for Davis only. is there one for Ecowitt?
I am going to add alarms into my own dashboard if the value drops to 1 or less using the <# EcowittReception>,

Re: CMX 2.26.0 build 3248 - new webtag <#EcowittReception> issue

Posted: Fri 11 Aug 2023 12:18 pm
by Gyvate
I created a Template with the following entries (the processed file posted to my website):
CUtagsT.php --> CUtags.php; processing, realtime, upload tagged

Code: Select all

<?php
$ecowittsig = '<#EcowittReception>';
$test = '<#EcowittReception format=json>';
$test2 = '<#EcowittFirmwareVersion>';
$test3 = '<#GW1000FirmwareVersion>';
?>
however, the result is
$ecowittsig = '';
$test = '';
$test2 = '';
$test3 = 'GW2000A_V3.0.5';

any thoughts ?

the '' is not an upper quote " but two single quotes '' (empty string)
I can't see anything related to the creation in the MXDiags; other sensor webtags provide results

Shouldn't at least <#EcowittFirmwareVersion> provide the same result as <#GW1000FirmwareVersion> ?

worked after restart -
$ecowittsig = 'WH40=4,WH31CH1=4,WH31CH2=4,WH31CH3=4,WH31CH4=4,WH31CH5=4,WH31CH6=4,WH31CH7=4,WH51CH1=4,WH51CH2=4,WH51CH3=4,WH51CH4=4,WH51CH5=4,WH51CH6=4,WH41CH1=4,WH41CH2=4,WH57=4,WH55CH2=4,WH34CH1=4,WH45=4,WH35CH1=4,WH90=4';
$test = '{"WH40":4,"WH31CH1":4,"WH31CH2":4,"WH31CH3":4,"WH31CH4":4,"WH31CH5":4,"WH31CH6":4,"WH31CH7":4,"WH51CH1":4,"WH51CH2":4,"WH51CH3":4,"WH51CH4":4,"WH51CH5":4,"WH51CH6":4,"WH41CH1":4,"WH41CH2":4,"WH57":4,"WH55CH2":4,"WH34CH1":4,"WH45":4,"WH35CH1":4,"WH90":4}';
$test2 = 'GW2000A_V3.0.5';
$test3 = 'GW2000A_V3.0.5';