Hi,
I'm trying to get the full value of rawData which should be something like "19.0 C, (5.0 C), HeatingOff"
but it's only giving "19.0" and missing the rest off.
Is that because it's an array or lookup table that needs to be processed differently?
How can I fetch the whole value as a string or separate values please?
Thanks
rawData cutting off value [Solved]
Moderator: leecollings
- smartypantsuk
- Posts: 12
- Joined: Friday 21 January 2022 16:17
- Target OS: Windows
- Domoticz version: 2021.1
- Location: North Yorkshire, UK
- Contact:
rawData cutting off value
Software:
Windows 10 Pro
Domoticz & Homeseer Home Assistant
HA-Bridge & Traccar
Jellfin Media Server
Hardware:
ASUS Mini Core i5 / 8GB RAM
Heating: Honeywell Evohome + HGS80
Fibaro Z-Wave Dimmers/Switches
Windows 10 Pro
Domoticz & Homeseer Home Assistant
HA-Bridge & Traccar
Jellfin Media Server
Hardware:
ASUS Mini Core i5 / 8GB RAM
Heating: Honeywell Evohome + HGS80
Fibaro Z-Wave Dimmers/Switches
- waltervl
- Posts: 5858
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: rawData cutting off value
So you are referring to evohome data? From what device type (controller, relay, zone)?
Did you check the evohome dzvents documentation? https://www.domoticz.com/wiki/DzVents:_ ... troller.29
To get the mode you can use the .mode function.
Did you check the evohome dzvents documentation? https://www.domoticz.com/wiki/DzVents:_ ... troller.29
To get the mode you can use the .mode function.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- smartypantsuk
- Posts: 12
- Joined: Friday 21 January 2022 16:17
- Target OS: Windows
- Domoticz version: 2021.1
- Location: North Yorkshire, UK
- Contact:
Re: rawData cutting off value
In this instance I'm trying to pull the whole value of the Data key which is in rawData. I am using evohome but it's not specific to evohome. I
Software:
Windows 10 Pro
Domoticz & Homeseer Home Assistant
HA-Bridge & Traccar
Jellfin Media Server
Hardware:
ASUS Mini Core i5 / 8GB RAM
Heating: Honeywell Evohome + HGS80
Fibaro Z-Wave Dimmers/Switches
Windows 10 Pro
Domoticz & Homeseer Home Assistant
HA-Bridge & Traccar
Jellfin Media Server
Hardware:
ASUS Mini Core i5 / 8GB RAM
Heating: Honeywell Evohome + HGS80
Fibaro Z-Wave Dimmers/Switches
- waltervl
- Posts: 5858
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: rawData cutting off value [Solved]
Did you try .sValue ?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- smartypantsuk
- Posts: 12
- Joined: Friday 21 January 2022 16:17
- Target OS: Windows
- Domoticz version: 2021.1
- Location: North Yorkshire, UK
- Contact:
Re: rawData cutting off value
Software:
Windows 10 Pro
Domoticz & Homeseer Home Assistant
HA-Bridge & Traccar
Jellfin Media Server
Hardware:
ASUS Mini Core i5 / 8GB RAM
Heating: Honeywell Evohome + HGS80
Fibaro Z-Wave Dimmers/Switches
Windows 10 Pro
Domoticz & Homeseer Home Assistant
HA-Bridge & Traccar
Jellfin Media Server
Hardware:
ASUS Mini Core i5 / 8GB RAM
Heating: Honeywell Evohome + HGS80
Fibaro Z-Wave Dimmers/Switches
- waltervl
- Posts: 5858
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: rawData cutting off value
Check the dzvents documentation and then the general devices part https://www.domoticz.com/wiki/DzVents:_ ... ll_devices
To use example:
svaluedata = domoticz.devices('your device').sValue
To use example:
svaluedata = domoticz.devices('your device').sValue
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- smartypantsuk
- Posts: 12
- Joined: Friday 21 January 2022 16:17
- Target OS: Windows
- Domoticz version: 2021.1
- Location: North Yorkshire, UK
- Contact:
Re: rawData cutting off value
That actually provides what I need.waltervl wrote: ↑Sunday 07 May 2023 18:51 Check the dzvents documentation and then the general devices part https://www.domoticz.com/wiki/DzVents:_ ... ll_devices
To use example:
svaluedata = domoticz.devices('your device').sValue
It reads as a string with the values separated by semi-colons, but that's fine.
This is what I get "20.16;5.00;HeatingOff" so I can work with that.
Thanks for you help @waltervl
Software:
Windows 10 Pro
Domoticz & Homeseer Home Assistant
HA-Bridge & Traccar
Jellfin Media Server
Hardware:
ASUS Mini Core i5 / 8GB RAM
Heating: Honeywell Evohome + HGS80
Fibaro Z-Wave Dimmers/Switches
Windows 10 Pro
Domoticz & Homeseer Home Assistant
HA-Bridge & Traccar
Jellfin Media Server
Hardware:
ASUS Mini Core i5 / 8GB RAM
Heating: Honeywell Evohome + HGS80
Fibaro Z-Wave Dimmers/Switches
- waltervl
- Posts: 5858
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: rawData cutting off value
You are welcome. Still wondering why you are doing this as you seem to want to split the again. And dzvents already does this splitting for you.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- smartypantsuk
- Posts: 12
- Joined: Friday 21 January 2022 16:17
- Target OS: Windows
- Domoticz version: 2021.1
- Location: North Yorkshire, UK
- Contact:
Re: rawData cutting off value
When any of the three values change, I send the updated values to home assistant. Being able to monitor a single string for changes is easier and simpler than monitoring three values.
I simply have a variable that records the string and if it hasn't changed when the script is called it doesn't send the values.
Software:
Windows 10 Pro
Domoticz & Homeseer Home Assistant
HA-Bridge & Traccar
Jellfin Media Server
Hardware:
ASUS Mini Core i5 / 8GB RAM
Heating: Honeywell Evohome + HGS80
Fibaro Z-Wave Dimmers/Switches
Windows 10 Pro
Domoticz & Homeseer Home Assistant
HA-Bridge & Traccar
Jellfin Media Server
Hardware:
ASUS Mini Core i5 / 8GB RAM
Heating: Honeywell Evohome + HGS80
Fibaro Z-Wave Dimmers/Switches
Who is online
Users browsing this forum: No registered users and 1 guest