Đã hoàn thành

Linux Script - Send POST command from Raspberry Pi

I have a function on a residential solar inverter that needs be activated by a POST command. I use a Loxone home automation system to control many aspects of the solar inverter, however this particular function requires DIGEST authentication for sending the username/password and subsequent command. The home automation system is only capable of using BASIC authentication.

I need to use an intermediary device that does have the capability to send a POST command with DIGEST authentication.

I already have a Raspberry Pi with a custom firmware called 'Loxberry'. This is a minimalist version of Raspbian that has been developed by Loxone enthusiasts to 'fill the gaps' in the capabilities of the Loxone system.

The end-state is to send a command from the home automation system to the Raspberry Pi that will activate the bash script.

What I need is a bash script that will send the following command -

http://<ip>/servicecgi-bin/suspend_battery_calibration/

PAYLOAD - {"suspension_time_seconds": 10800}

<ip> is the address of the solar inverter in the home network.

I know how to program the home automation system to activate bash scripts.

I don't know anything about Linux, Python or how to write bash scripts.

I have received some feedback in a forum for the Loxone enthusiasts. In this they say that the task should be a simple 'one-liner'. A call to 'stdout' and possibly adding a header may be required.

Unfortunately they haven't provided the 'one-liner'!

Kĩ năng: Lập trình C, Điện tử, Linux, Shell Script, Kiến trúc phần mềm

Xem nhiều hơn: linux script send email smtp, linux script send messages skype, linux script send text file bluetooth, raspberry pi urllib, raspberry pi communicate with web server, raspberry pi web app, raspberry pi http post, raspberry pi send data to mysql, raspberry pi web client, sending data from raspberry pi to server, how to send data to raspberry pi, project management, writing, technical writing, data entry, cms, design, seo, php, android

Về Bên Thuê:
( 1 Nhận xét ) Mandurah, Australia

ID dự án: #16682540

Được trao cho:

thewebscraper

Hi, I am an expert web scraper and API Specialist. I do a lot of scripting for my IoT things and server to client communication. I'll just use Python for it's much more powerful compared to bash in case you wi Thêm

$150 AUD trong 3 ngày
(35 Đánh Giá)
5.5

14 freelancer đang chào giá trung bình $115 cho công việc này

rishiajmera

Hello, Greetings! With a proven track record of successful achievements, I am pleased to present my application for your consideration as a Freelancer. Please have a look at my profile and portfolio to get an idea a Thêm

$155 AUD trong 3 ngày
(35 Nhận xét)
5.0
grtdeveloper

rich experience in bash scripting, python. can do it in few hours.

$166 AUD trong 1 ngày
(18 Nhận xét)
5.0
gurtajs4

Hi, I am a multimedia expert with Audio Video encoding/decoding experience in Linux/Android Domain. Delivered several projects on RPI, You can see my history. Actually working on a project right now which uses libcu Thêm

$250 AUD trong 3 ngày
(15 Nhận xét)
4.2
steve1112

Able to complete within 2 days starting from now :) Drop me a message, thanks! ~ Stefano -------------------

$100 AUD trong 2 ngày
(15 Nhận xét)
4.0
djpeka

Hello there. I'm a programmer with academic background. I can certainly help you with this. Cheers!!

$100 AUD trong 0 ngày
(5 Nhận xét)
3.2
soltracker

How r u?Buddy,,,Me doing work on Raspberry pie this time. If u say i can test ur project live this time..........U will feel brotherhood............

$80 AUD trong 3 ngày
(12 Nhận xét)
3.2
warwickchapman

I have 10 Raspberry Pi's on my desk as we speak as well as an Orange Pi and a 7" LCD Display Board. I primarily use RPi's as display board devices, but also use them in my home to perform tasks. I am currently wo Thêm

$166 AUD trong 3 ngày
(2 Nhận xét)
2.6
dbwebsolutions

Hi, I have done similar project with a different home automation system and Raspberry Pi. Please ping me back for more details. Thanks

$55 AUD trong 1 ngày
(1 Nhận xét)
2.4
bc1freelance

I have experience in Linux administration (I first messed with Linux as a hobby many years ago) as well as recently during a college course. I also have PHP programming experience, and I think a PHP script would suit f Thêm

$30 AUD trong 3 ngày
(1 Nhận xét)
2.5
fledged

Greetings, RaspberryPI experienced here Going through with the requirements in project description, I would like to take your project on board. I am an independent and professional developer with 100% completion rate. Thêm

$150 AUD trong 6 ngày
(14 Nhận xét)
0.0
fabiopozzi11

Can you give some more informations about the tools available on the loxberry system? Can you install packages on it ? Do you need also a way to convert the request from the home automation system into the POST reque Thêm

$111 AUD trong 2 ngày
(0 Nhận xét)
0.0
adairtech18

I am an experience Linux systems administrator who has written many scripts. It would not be a problem to provide what you are asking for.

$71 AUD trong 1 ngày
(0 Nhận xét)
0.0
laozhao0aozhao0

Hi, I am familiar with python and bash script, I also wrote some IOT projects with remote control function.

$30 AUD trong 1 ngày
(0 Nhận xét)
0.0