Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team

Question
AlexRiga 0
Hello fellow community!
Want to ask question, maybe someone can point me to the right direction.
I have Trendcontol HVAC controller with possibility to respond to sensor status/value requests. The result is XML.
Let's say, i make GET request:
Please login or register to see this link.
as a result i got:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- written by IQ4E32 Iss3.44 Jan 16 2017 Saved 2018-3-29T16:27:59TZD -->
<TrendProject>
<Site CncAddress="9" TuaString="T/IQ3 - 00:10:70:XX:XX:XX/TCP,,,XX.XX.XX.XX,10009///1/1/">
<Lan IsLocal="True" LanNumber="1">
<Device DeviceNumber="1" VersionString="IQ4E32 Iss3.44 Jan 16 2017">
<DeviceOverview DeviceType="q" MajorVersion="3" MinorVersion="4" HexEncoded="711B1B1B41333434" Revision="4"></DeviceOverview>
<Module Name="S4" SubTypeNumber="-1">
<Param Name="V" Type="1" Value="3.044735" />
</Module>
</Device>
</Lan>
</Site>
</TrendProject>
where i'm asking controller to give me S4 sensor value, which is outside temperature.
Is there are any possibility to decode this XML string with HC2? Any directions to dig about XML to JSON decoders written in LUA?
Any help will be appreciated!
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.