[Dxspider-support] Local.pm / $orignode

Tobias Wellnitz tobias.wellnitz at gmail.com
Tue May 6 23:44:48 BST 2014


Ok,

I'm pushing now the needed PCxx messages into Redis and process them
further in Python. In case someone needs my version of Local.pm:
https://gist.github.com/dh1tw/e22611228a9c8954e655

In case you want the python lib, let me know.

73 Tobias
DH1TW




On Tue, May 6, 2014 at 9:48 PM, Tobias Wellnitz
<tobias.wellnitz at gmail.com>wrote:

> Hey,
>
> I would really appreciate if somebody with a deeper knowledge about the DX
> Spider architecture & Perl could help me out.
> Resulting source code will be made public, of course.
>
> Thanks,
> Tobias, DH1TW
>
>
>
>
> On Mon, May 5, 2014 at 12:19 AM, Tobias Wellnitz <
> tobias.wellnitz at gmail.com> wrote:
>
>> Hi Dirk et all,
>>
>> I've started implementing a routine which pushes the DX Spots as a JSON
>> String into Redis (Pub/Sub).
>> In Redis I have several listeners which then process the spots in other
>> languages (mainly Python).
>>
>> I think this is more elegant than connecting through Telnet or reading
>> from the file system. Redis is also blazingly fast (I also use it heavily
>> for caching).
>>
>> I put the code in ../local/Local.pm
>> here is the snippet: http://pastebin.com/aVMQS6sr
>>
>> The code works. But I've seen that $orignode only contains an number
>> which is presumably a reference to the Node Object.
>>
>> How do I get the Node's callsign?
>>
>> DXChannel has a method get_all_node_calls but I guess it would be way too
>> much overhead to retrieve with each spot the entire list.
>>
>> Is there also a possibility to get the Spotter's IP Address?
>>
>> Thanks & 73,
>> Tobias
>> DH1TW
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20140507/0b9057e3/attachment.html>


More information about the Dxspider-support mailing list