Retrieve setpoint and temp from evohome Topic is solved

Post Reply
JuanUil
Posts: 307
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi
Domoticz version: 2.xx
Location: Asten NB Nederland
Contact:

Retrieve setpoint and temp from evohome

Post by JuanUil » Monday 02 April 2018 12:38

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!

User avatar
waaren
Posts: 908
Joined: Tuesday 03 January 2017 15:18
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Retrieve setpoint and temp from evohome

Post by waaren » Monday 02 April 2018 14:09

Hi Jan,

would it be an option for you to use dzVents for this ?
Raspberry (debian stretch via berryboot on Synology DS916+) , Domoticz (almost) latest Beta, , dzVents 2.6, RFLink, RFXtrx433e, P1, Youless, Harmony, Hue, Yeelight, Xiaomi, HomeWizard, Zwave, Amazon echo

JuanUil
Posts: 307
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi
Domoticz version: 2.xx
Location: Asten NB Nederland
Contact:

Re: Retrieve setpoint and temp from evohome

Post by JuanUil » Monday 02 April 2018 14:43

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!

User avatar
mrf68
Posts: 269
Joined: Monday 23 February 2015 13:45
Target OS: Windows
Domoticz version: 3.4834
Location: Netherlands
Contact:

Re: Retrieve setpoint and temp from evohome

Post by mrf68 » Monday 02 April 2018 14:52

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: 307
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi
Domoticz version: 2.xx
Location: Asten NB Nederland
Contact:

Re: Retrieve setpoint and temp from evohome

Post by JuanUil » Monday 02 April 2018 15:13

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!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests