|
From: John V. <jva...@gm...> - 2020-10-12 20:40:51
|
Hello Motion Users;
I'm using Motion 4.3.1-1 on a Raspberry Pi 3 Model2 using PiOS
(Raspbian GNU/Linux 10 (buster); Kernel 5.4.51-v7 5.4.51-v7)
All is working as advertised and I have bash code to collect weather and
rainfall stats and put them into the picture using text_left via /curl/.
The problem I'm encountering is trying to include the Percent sign (%)
after the humidity level.
No amount of jiggering will get the % appended to the humidity value.
This is the string I am feeding to string_left that works correctly:
/Partly%20Cloudy%2079F%20Humidity%3A60\nWind:South@{10}mph/
This string gets me an error message from Motion daemon:
/Mostly%20Cloudy%2081F%20Humidity%3A58%25\nWind:South@{11}mph/
The error message is *The server did not understand your request.*
What do I do to protect the /%/ sign or its hex equivalent /%25/ from
having Motion interpret**the string as a hex code other than that of the
percent sign?*
*
--
All the Best…
/John /
|