Retrieve setpoint and temp from evohome Topic is solved

Moderator: leecollings

Post Reply
JuanUil
Posts: 497
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

Retrieve setpoint and temp from evohome

Post by JuanUil »

Hi guys,

I have been searching the forum over and over but I can not find an answer.
Since yesterday I have an EvoHome system installed with four TRV's.
I want to retrieve the setpoint and temperature from each device.
When I try

Code: Select all

setpoint=otherdevices_svalues['Kerkstraat: Hal']
print(setpoint)
I get

Code: Select all

2018-04-02 12:37:28.398 LUA: 19.0;19.0;Auto;2018-04-02T19:30:00Z
can anybody help me to retrieve the different values.

thanx in advance
Jan
Your mind is like a parachute,
It only works when it is opened!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Retrieve setpoint and temp from evohome

Post by waaren »

Hi Jan,

would it be an option for you to use dzVents for this ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
JuanUil
Posts: 497
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

Re: Retrieve setpoint and temp from evohome

Post by JuanUil »

Hi Waaren,

I'm not familiar with DzEvents. I prefer LUA.
But is you have a way to retrieve with DzEvents I could try to translate to LUA.

Thnx

Jan
Your mind is like a parachute,
It only works when it is opened!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
mrf68

Re: Retrieve setpoint and temp from evohome

Post by mrf68 »

The WIKI shows an example of retrieving wheaterstation data:

sWeatherTemp, sWeatherHumidity, sWeatherUV, sWeatherPressure, sWeatherUV2 = otherdevices_svalues['Weerstation']:match("([^;]+);([^;]+);([^;]+);([^;]+);([^;]+)")

You define several variables from an output that holds multiple values. I think you could use that.

Martin
JuanUil
Posts: 497
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

Re: Retrieve setpoint and temp from evohome

Post by JuanUil »

Hi Martin,

thnx for the tip!!

I programmed:

Code: Select all

sTemp, sSetpoint = otherdevices_svalues['Kerkstraat: Hal']:match("([^;]+);([^;]+)")

print(sSetpoint.."  "..sTemp)
and the result:

Code: Select all

 2018-04-02 15:12:16.531 LUA: 17.5 18.5 
thanx for the help!!

Jan
Your mind is like a parachute,
It only works when it is opened!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest