Quantcast
Channel: meteohub.de
Viewing all articles
Browse latest Browse all 775

Meteobridge PRO/PRO2/NANOSD/RPI/VM Discussion • Template square brackets Problem

$
0
0
Hello,

I am testing Meteobridge and i have a problem with square brackets.
I want to generate some JSON files with templates and i have to include square brackets in the output.
But for some reason there is a problem in outputs with colons like time or mac address.

The square brackets and all in front of the colon (include the first colon) disappears.
You can see this perfect in the Mac Adress.

Is there a bug or do i don´t understand it? In Meteohub I don´t have this problem.

Here a example:
Template:

Code:

Date:[DD].[MM].[YY] [HH]:[mm][APM] in square brackets [[DD]].[[MM]].[[YY]] [[HH]]:[[mm][APM]]Temp:[th0temp-act] in square brackets [[th0temp-act]]Hum:[th0hum-act] in square brackets [[th0hum-act]]Meteobridge Version:[mbsystem-swversion] in square brackets [[mbsystem-swversion]]MAC:[mbsystem-mac] in square brackets [[mbsystem-mac]]Sunrise:[mbsystem-sunrise] in square brackets [[mbsystem-sunrise]]Sunset:[mbsystem-sunset] in square brackets [[mbsystem-sunset]]Daylenght:[mbsystem-daylength] in square brackets [[mbsystem-daylength]]Moonrise:[mbsystem-moonrise] in square brackets [[mbsystem-moonrise]]
Output:

Code:

Date:06.10.24 10:40AM in square brackets [06].[10].[24] [10]:[40AM]Temp:10.2 in square brackets [10.2]Hum:87.0 in square brackets [87.0]Meteobridge Version:6.0 in square brackets [6.0]MAC:BC:24:11:78:46:B3 in square brackets 24:11:78:46:B3Sunrise:07:31 in square brackets 31Sunset:18:51 in square brackets 51Daylenght:11:20 in square brackets 20Moonrise:11:32 in square brackets 32
Thanks.

Dodo

Statistics: Posted by dodo-dk — Sun Oct 06, 2024 10:54 am



Viewing all articles
Browse latest Browse all 775

Trending Articles