Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReGa pong support #44

Open
hobbyquaker opened this issue Apr 13, 2017 · 5 comments
Open

ReGa pong support #44

hobbyquaker opened this issue Apr 13, 2017 · 5 comments

Comments

@hobbyquaker
Copy link
Contributor

ReGa always logs an error no exists device object with address= CENTRAL when receiving a PONG.

@hobbyquaker hobbyquaker changed the title ReGa PONG support ReGa pong support Apr 13, 2017
@jens-maus
Copy link

Can you please provide example code how you send the ping so that ReGaHss responds with a PONG so that everyone can reproduce the issue himself.

@hobbyquaker
Copy link
Contributor Author

I don't send ping to the ReGa, I send it to rfd and rfd generates a pong event - and this event leads to the ReGa error. It's just a simple RPC ping with 1 irrelevant string param. Example code really neccessary? :)

@hobbyquaker
Copy link
Contributor Author

hobbyquaker commented Apr 13, 2017

a bit more information: The ReGa receives an event from the rfd with following 4 parameters:

  • some string (can be anything, this is what an subscriber set as id when doing an init on rfd)
  • the string CENTRAL
  • the string PONG
  • some string (can be anything, this is what was send as param of the ping command to rfd)

i would say: rega should just ignore that event.

further information can be found in chapter 4.3.37 here http://www.eq-3.de/Downloads/eq3/download%20bereich/hm_web_ui_doku/HM_XmlRpc_API.pdf

hth

@jens-maus
Copy link

@hobbyquaker Thanks for this information. However, just for convenience it would still be good to have a handy example to be able to directly and quickly reproduce the issue. So please modify the following single line example so that you ping/pong can be reproduced:

$ echo "load tclrpc.so; puts [xmlrpc 'xmlrpc_bin://127.0.0.1:2001' rssiInfo]" | tclsh

This is an example of how to query the RSSI info of all devices.

@hobbyquaker
Copy link
Contributor Author

hobbyquaker commented Apr 13, 2017

echo "load tclrpc.so; puts [xmlrpc 'xmlrpc_bin://127.0.0.1:2001' ping test]" | tclsh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants