OK, it looks like the initial post request is timing out sometimes. Is your InfluxDB server the same machine as your Homeseer server or is it remote? Does it always throw errors when logging the same devices or does it change?
In the example you posted, it looks like the post requests are valid with no errant spaces or commas.
To answer your question, the line "postdata = postdata.Replace(" ", "\ ")" replaces the space character " " with a backslash and a space "\ " every time a space appears inside the postdata variable.
Could the logging script be causing your other issues? I don't know. It stands to reason that it might but I don't know the intricacies of Homeseer scripting. I seem to recall running into similar issues when debugging the script on my own system.
Code:
Mar-28 2:53:30 PM L2DB-InfluxDB Error: System.Net.WebException: [B]The operation has timed[/B] out at Microsoft.VisualBasic.CompilerServices.Symbols.Container.Inv okeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags) at Microsoft.VisualBasic.CompilerServices.NewLateBinding.Object LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack) at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGe t(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack) at scriptcode7.VBWrapper.Main(Object Parms)
Code:
388,name=Pushover\ 3P\ Application\ Messages\ Remaining,location=Pushover,location2=System,type=Pushover\ 3P\ Device,address=P-4-Remaining value=6059 571,name=CC-UPS-01\ Last\ Updated,location=APCUPSD,location2=Power\ Systems,type=Timestamp,address=UPS1_003 value=1522248725 523,name=Front\ Walk\ Sensor\ Binary\ Motion,location=Front\ Walk,location2=Motion\ Sensor,type=Z-Wave\ Sensor\ Binary,address=E1D61766-011-Q52 value=255
Could the logging script be causing your other issues? I don't know. It stands to reason that it might but I don't know the intricacies of Homeseer scripting. I seem to recall running into similar issues when debugging the script on my own system.
Comment