Author
Topic: Strange temperature alert (Read 1461 times)

If I send the following message to Vera Alerts from PLEG I get a strange answer from Google Home:God morgon, temperaturen utomhus ?r: {Device([1026].TemperatureSensor.CurrentTemperature)} Translate from Swedish to english: Good morning, Temperature outside is

Answer from Google Home (translated to english):Good morning, the temperature outside is time 5 degrees.

It worked while it used () around the expression: ({Device([1026].TemperatureSensor.CurrentTemperature)})However, I am now trying to include humiditysensor without success, what am I missing: ({Device([1868].HumiditySensor.CurrentLevel)})

UPDATE: It does not always work (depend of what type of temperature sensor is used)...

It's impossible to answer your question because you need to have the proper info in the query string.That information is DATA dependent.

To access any variable in Vera you need 3 pieces of information: 1) Device ID (I do not know if the device ID you provided is correct) 2) Service ID (Using my shortcut service IDs are probably correct, but you need to verify 3) Variable Name

Find the Variable you want in by using the Advanced Tab on a Device.At the top is Device #XXXX is the device IDGoto the variable tab. Find your variable, hover over the variable name ... it will provide the service ID.

You now have all the informaion you need: {Device[XX].ServiceIDName.VariableName}ServiceIDName can be one of my shortcut names