The goal of the project is to control our IRD1345 satellite decoder, from a Q-SYS User Control Interface (UCI)
We have an IRD1345 satellite decoder in a small fotball pub!
The WEB interface for that recover sucks...
Therefor we have reverse engineered the actual commands that the decoder is running from its webpage, into curl commands. Everything works fine from Terminal on a Mac / Linux laptop, and from a simple webpage.
Example Curl Command:
curl -vvv -u admin:PASSWORD --data "apply=submit" --data "tunerIndex=0" --data "tuner_type=4" --data "LnbFreq=9750" --data "SateFreq=10716" --data "SateSr=24500" --data "lnbVol=2" --data "lnb22k=0" --data "diseqcport=0" [login to view URL]
But we want a TCPv4 Socket interface, instead of this Curl Command.
This is because of the Q-SYS User Control Interface (UCI) ( PDF Attachments )
So then what's the plan ?
To switch Channels on the Satellite Tuner, there must be run 3 Curl commands.
First is to set the Frequency
Second is to set the Channel ( there are multiple channels per frequency )
Third is to set the Decoder settings. ( there are multiple decoding options per channel )
Those commands needs a 3 sek pause interval.
I have a google sheet with all commands, but I also need somewhere that I can change the commands,
in case of changes in the frequency list. Maybe the commands should be read from an XML file ?
Then the newest XML file is always master.
The commands must be run on a raspberry pi.
The input to the raspberry pi, will be a TCP socket event using a singe event handler.
The title of the Event can also be from the XML file..
If TCP Event is
address = [login to view URL]
port = 1234
sendData = 'TV2'
Then app looks up TV2 in the XML sheet,
and runs the three commands connected to TV2.
21 威客就此工作平均出价 €545
Wow, Wonderful! I met the first Rasberry project in freelancer :) I am Rasberry expert! so I can help you. I 'd like discuss with you via chatting. I will wait. Thank you! From Apollo!~