did not do the trick unfortunately…:-(
error [pimatic]: Could not get attribute value of Badkamer.luchtvochtigheid: Could not parse expression
[solved]Temperature data from ESP to pimatic
did not do the trick unfortunately…:-(
error [pimatic]: Could not get attribute value of Badkamer.luchtvochtigheid: Could not parse expression
Did you make a seperate variable with the name of temperature and luchtvochtigheid?
This is my config:
{
"id": "esp01",
"name": "Werk Kamer Temp.",
"class": "VariablesDevice",
"variables": [
{
"name": "Temperature",
"expression": "$WERK_TEMP",
"type": "number",
"unit": "°C"
}
]
“variables”: [
{
“name”: “WERK_TEMP”,
“value”: 21.5
}
]
Did you install the ESPimatic as well?? I wonder if i need to create the variable in config.json as well…
the vqriables section in my config.json is empty now…
Yes I have the ESPimatic running and it is updating the WERK_TEMP value every minute
yes, you need to create the variable in pimatic, otherwise the data from espimatic cannot be assigned. imagine the variable in pimatic as a container for the espimatic data that are pushed over via api.
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebook
make it so !
@leader21 I created the variable, in my config is stated now:
“variables”: [
{
“name”: “temperature”,
“value”: null
}
]
Temperature is the attribute i entered in ESPimatic at the config of the sensor. driving me nuts…:-(
Try it like this with the dollar sign:
“id”: “badkamersensor”,
“name”: “Badkamer”,
“class”: “VariablesDevice”,
“variables”: [
{
“name”: “temperatuur”,
“expression”: “$temperatuur”,
“type”: “number”,
“unit”: “°C”
},
{
“name”: “luchtvochtigheid”,
“expression”: “$luchtvochtigheid”,
“type”: “number”
}
]
},
check the naming of your variables pls!
at the variables device you are having temperatuur but you created temperature
check what you have entered at espimatic as well.
if espimatic and the pimatic variables match, you can see data at the variables menu of pimatic!
also - check your variables device expression! you need to set the variable with a $
"expression": "$temperatuur",
or "expression": "$temperature",
depending on your variables name…
if your variables match, all should work fine
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebook
make it so !
With the help of @dynamite all is working fine now.
All connections from ESP to pimatic through 80 instead of 443…!
thread can be closed!
ESPimatic does not support SSL connections, and probably will never do unless the current secureclient lib stops consuming a huge amount of memory.
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm