Ooh, that’s weird. I needed Wireshark to figure that out.
Your request is going through fine. But the response is coming back as Chunked Transfer Encoding and it seems that luasocket doesn’t know how to decode it.
You can probably prevent Vera from using chunked transfer encoding with appropriate request header, bet that’s going to force you to use the messy LTN12 interface. Ick.
Maybe time to rethink the language you use? Perl, Python, shell script?
(Use & not & by the way. Ampersand encoding is for HTML, which this isn’t.)
[quote=“futzle, post:4, topic:170309”]Ooh, that’s weird. I needed Wireshark to figure that out.
Your request is going through fine. But the response is coming back as Chunked Transfer Encoding and it seems that luasocket doesn’t know how to decode it.[/quote]
I understand that vera don’t get the right message. Unfortunatly, I’m not the king of http interface.
I’m not sure to use it correctly, but I could try . I think ap15e do an example in the forum.
I prefer not use many languages. In my project, I already use lamp on ubuntu for my onewire temperature. As I do some lua code on my vera, I would use lua in ubuntu.
Do you think it’s a bad idea ? I prefer limit language as I’m not a developper. I know a little bit shell.
Your right I just see my error the output format isn’t xml.
Do you know how to procede ? As it’s linux shell could be cool.