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: Select all
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]]
Code: Select all
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:B3
Sunrise: 07:31 in square brackets 31
Sunset: 18:51 in square brackets 51
Daylenght: 11:20 in square brackets 20
Moonrise: 11:32 in square brackets 32
Dodo