christianTF/LoxBerry-Plugin-Any

Udp output not complete

Opened this issue · 7 comments

Hi,
Thank you very much for the plugin.
I use the plugin to launch a python script that i placed in de commands dir.
Script "https://pypi.org/project/pcomfortcloud/"
The Set command from the script works ok, i can turn my panasonic airco on and off from within Loxone.
The Get command apparently gets everything from panasonic comfort cloud but the UDP output in AnyPlugin is halted halfway, not all parameters are getting through.
Is the problem the script or the plugin?
I am a novice in this so could you help me?
Thank you,
Filip

py script pcomfortcloud

Thanks for the Input. I need to check that.

Loxone Miniserver has a limit of 255 chars for udp input, therefore the plugin (as far as I remember) tries to split up the output to 250
chars each.

I need to check, if the plugin doesn’t catch all the tcp input, or stumbles with splitting the udp output.

Do you have the actual (real) length of the output, or could you copy a full output of the tcp response to the issue?

Hi Christian,
Thank you for the info, i think the problem could be the length of the output from the pcomfortcloud.py script.
I think the actual lenght is 219.
Is this screenshot helping you?
udp input AnyPlugin pcomfortcloud

Not really - I would need the raw length/output from the script, to check against the plugin.

PS: In the former answer I mixed up this plugin with the TCP2UDP plugin. This plugin doesn’t use any tcp connection 😉

Christian,
Here the raw output from within terminal.
pcomfortcloud raw output

Hard to copy/paste for testing...

Sorry, i am new at this.
Now RAW output in txt format

Raw output pcomfortcloud.txt

I modified the tcp2shell2.pl so that i have all the RAW input that i need.
tcp2shell2 aangepast voor RAW output
The input stream contains the data from both my airco's. I can extract the first "operate" variable from the string but not the second.
RAW output modifief tcp2shell2.txt
What udp virtual command recognition do i use?
Thanks,
Filip